summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-terminaltables
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-12-09 14:34:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-12-09 14:34:12 (GMT)
commitf06d8e1bedfcf6d424a4736d43f366d95fb33690 (patch)
treea78baa8ac9914820a0c470c391772bcdb9e17b4d /abs/core/python_modules/python-terminaltables
parentada13c3f17134c5885f686509d128080450efa1b (diff)
parente4b0dec19f02e6d8e995b19a22110cac26f07ac4 (diff)
downloadlinhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.zip
linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.gz
linhes_pkgbuild-f06d8e1bedfcf6d424a4736d43f366d95fb33690.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules/python-terminaltables')
-rw-r--r--abs/core/python_modules/python-terminaltables/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-terminaltables/PKGBUILD b/abs/core/python_modules/python-terminaltables/PKGBUILD
new file mode 100644
index 0000000..b5a1b69
--- /dev/null
+++ b/abs/core/python_modules/python-terminaltables/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+pkgbase=python-terminaltables
+_pyname=terminaltables
+pkgname=('python2-terminaltables')
+makedepends=('python2' 'python2-setuptools')
+pkgver=3.1.0
+pkgrel=3
+pkgdesc="Generate simple tables in terminals from a nested list of strings"
+arch=('any')
+url="https://github.com/Robpol86/terminaltables"
+license=('MIT')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/Robpol86/${_pyname}/archive/v${pkgver}.tar.gz")
+sha512sums=('dc49458652fff8bc6094d316d84c9b8e9fca1a26e3230c0b668bc03ec8528793f4ef024e8032d4a56fbfabfdfd4a1142870f550f0b373ba6a42dd2e3ead3f501')
+
+package_python-terminaltables() {
+ depends=('python')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+}
+
+package_python2-terminaltables() {
+ depends=('python2')
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python2 setup.py install -O1 --root="${pkgdir}"
+}
+
+# vim:set et sw=2 ts=2 tw=79: