summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD24
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7a02cb5e71e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-kconfiglib
+ pkgdesc = A flexible Python Kconfig implementation
+ pkgver = 14.1.0
+ pkgrel = 1
+ url = https://pypi.org/project/kconfiglib/
+ arch = any
+ license = ISC License
+ makedepends = python-setuptools
+ makedepends = python2-setuptools
+ source = https://github.com/ulfalizer/kconfiglib/archive/v14.1.0.tar.gz
+ sha512sums = 929a75f9b9f74ad7d4190c15d7178b94ee0a6d1fb71d85e2942935e3a9370a4f2483d8b49123d41d6610841ad9efde1dc4c14fc5231a08379d438a486ed3f97c
+
+pkgname = python-kconfiglib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e31b1ee0754
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Popolon <popolon@popolon.org>
+
+pkgname=python-kconfiglib
+_name=kconfiglib
+_dir=Kconfiglib
+pkgver=14.1.0
+pkgrel=1
+pkgdesc="A flexible Python Kconfig implementation"
+arch=('any')
+url="https://pypi.org/project/kconfiglib/"
+license=('ISC License')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/ulfalizer/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('929a75f9b9f74ad7d4190c15d7178b94ee0a6d1fb71d85e2942935e3a9370a4f2483d8b49123d41d6610841ad9efde1dc4c14fc5231a08379d438a486ed3f97c')
+
+build() {
+ cd "${srcdir}/${_dir}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_dir}-${pkgver}"
+ python setup.py install --skip-build --root="${pkgdir}" --optimize=1
+}