updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-argparse / PKGBUILD
blobacf204d9ffa64cd9b62c33f2e30fd5f63c5e2ce7
1 # Contributor: Lukas Linhart <bugs@almad.net>
2 # Contributor: Changaco <changaco ατ changaco δοτ net>
3 # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
5 pkgname=python2-argparse
6 pkgver=1.2.1
7 pkgrel=1
8 pkgdesc="Command line parsing library for python"
9 arch=('any')
10 url='http://code.google.com/p/argparse/'
11 conflicts=('argparse')
12 license=('Apache')
13 depends=('python2')
14 makedepends=('setuptools')
15 source=("http://argparse.googlecode.com/files/argparse-$pkgver.tar.gz")
16 md5sums=('2fbef8cb61e506c706957ab6e135840c')
18 # While python 2.7 has a builtin argparse module,
19 # packages built with setuptools still needs this one.
21 build() {
22   cd ${srcdir}/argparse-$pkgver
23   python2 setup.py build || return 1
24   python2 setup.py install --root=${pkgdir} || return 1