From 0cd9adb532064d3784120e8ef2df1631d83b96fb Mon Sep 17 00:00:00 2001 From: aurelien Date: Thu, 15 Nov 2012 10:12:55 +0100 Subject: + python2-cheetah (i686) python-prettytable (any) python2-argparse (any) --- pcr/python2-argparse/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/python2-argparse/PKGBUILD (limited to 'pcr/python2-argparse/PKGBUILD') diff --git a/pcr/python2-argparse/PKGBUILD b/pcr/python2-argparse/PKGBUILD new file mode 100644 index 000000000..cda95c0e2 --- /dev/null +++ b/pcr/python2-argparse/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Lukas Linhart +# Contributor: Changaco +# Contributor: Nicolas Pouillard +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=python2-argparse +pkgver=1.2.1 +pkgrel=1 +pkgdesc="Command line parsing library for python" +arch=('any') +url='http://code.google.com/p/argparse/' +conflicts=('argparse') +license=('Apache') +depends=('python2') +makedepends=('setuptools') +source=("http://argparse.googlecode.com/files/argparse-$pkgver.tar.gz") + +# While python 2.7 has a builtin argparse module, +# packages built with setuptools still needs this one. + +build() { + cd ${srcdir}/argparse-$pkgver + python2 setup.py build || return 1 + python2 setup.py install --root=${pkgdir} || return 1 +} -- cgit v1.2.3