summaryrefslogtreecommitdiff
path: root/pcr/python-prettytable/PKGBUILD
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2012-11-15 10:12:55 +0100
committeraurelien <aurelien@cwb.io>2012-11-15 10:12:55 +0100
commit0cd9adb532064d3784120e8ef2df1631d83b96fb (patch)
tree760701073c0487ae60b88d8c3b5de601cd2af76e /pcr/python-prettytable/PKGBUILD
parentc0ac35ad0f06c2e9a9f1263caea279cb9f8fc423 (diff)
downloadabslibre-0cd9adb532064d3784120e8ef2df1631d83b96fb.tar.gz
abslibre-0cd9adb532064d3784120e8ef2df1631d83b96fb.tar.bz2
abslibre-0cd9adb532064d3784120e8ef2df1631d83b96fb.zip
+ python2-cheetah (i686) python-prettytable (any) python2-argparse (any)
Diffstat (limited to 'pcr/python-prettytable/PKGBUILD')
-rw-r--r--pcr/python-prettytable/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python-prettytable/PKGBUILD b/pcr/python-prettytable/PKGBUILD
new file mode 100644
index 000000000..92d42f18e
--- /dev/null
+++ b/pcr/python-prettytable/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+# Contributor: Xiao Er <xia0er@gmail.com>
+# Contributor: Victor Noel <victor.noel@crazydwarves.org>
+
+# Hack for AUR
+pkgname='python2-prettytable'
+true && pkgname=('python-prettytable' 'python2-prettytable')
+
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="A simple Python library for easily displaying tabular data in a visually appealing ASCII table format"
+url="http://pypi.python.org/pypi/PrettyTable"
+arch=('any')
+license=('BSD')
+makedepends=('python-distribute' 'python2-distribute')
+source=(http://pypi.python.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz)
+md5sums=('8f97da999f52e47e28ec4ffe7f25c4d8')
+
+package_python-prettytable() {
+ depends=('python')
+ cd $srcdir/prettytable-$pkgver
+ python setup.py install --root="$pkgdir/"
+}
+
+package_python2-prettytable() {
+ depends=('python2')
+ cd $srcdir/prettytable-$pkgver
+ python2 setup.py install --root="$pkgdir/"
+}