diff options
author | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-15 03:58:26 -0800 |
commit | 130aa30d45bf33a5ce926be8697a0e0c077cdc22 (patch) | |
tree | 93a245c570dfdf214e8376cda0624facef2ffe15 /pcr/python-prettytable | |
parent | 2264379d37a6a00a3ecec1fd03c5dd4796078d49 (diff) |
Thu Nov 15 03:58:25 PST 2012
Diffstat (limited to 'pcr/python-prettytable')
-rw-r--r-- | pcr/python-prettytable/PKGBUILD | 29 |
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/" +} |