summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-06-09 17:19:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-06-09 17:19:23 (GMT)
commit5fd4aff1d2cfc9f496af54f0fdde2c0099010022 (patch)
tree777c381f4c5bf9a40ca13ad236b1d37732404819 /abs/core/python_modules
parent5ccbff782652c0b198226f9105f313cde82b0d6e (diff)
downloadlinhes_pkgbuild-5fd4aff1d2cfc9f496af54f0fdde2c0099010022.zip
linhes_pkgbuild-5fd4aff1d2cfc9f496af54f0fdde2c0099010022.tar.gz
linhes_pkgbuild-5fd4aff1d2cfc9f496af54f0fdde2c0099010022.tar.bz2
python-configobj: initial inclusion, dep of certbot
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r--abs/core/python_modules/python-configobj/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-configobj/PKGBUILD b/abs/core/python_modules/python-configobj/PKGBUILD
new file mode 100644
index 0000000..df251f7
--- /dev/null
+++ b/abs/core/python_modules/python-configobj/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Manuel "ekerazha" C. (www.ekerazha.com)
+
+pkgbase=python-configobj
+pkgname=('python-configobj' 'python2-configobj')
+pkgver=5.0.6
+pkgrel=4
+pkgdesc='Simple but powerful config file reader and writer for Python'
+arch=('any')
+url='https://github.com/DiffSK/configobj'
+license=('BSD')
+makedepends=('python' 'python2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/DiffSK/configobj/archive/v$pkgver.tar.gz")
+sha256sums=('2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e')
+
+package_python-configobj() {
+ depends=('python-six')
+ cd "configobj-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-configobj() {
+ depends=('python2-six')
+ cd "configobj-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: