updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / python3-argparse / PKGBUILD
blobde50c49ce3aef47eaae3b2892363f11c13bd18f5
1 # Contributor: Lukas Linhart <bugs@almad.net>
2 # Contributor: Changaco <changaco ατ changaco δοτ net>
4 pkgname=python3-argparse
5 pkgver=1.1
6 pkgrel=2
7 pkgdesc="Command line parsing library for python3 (using 2to3)"
8 arch=('any')
9 url='http://code.google.com/p/argparse/'
10 license=('Apache')
11 depends=('python>=3.0' 'python<3.2')
12 source=("http://argparse.googlecode.com/files/argparse-$pkgver.zip")
13 md5sums=('e62565cde81a8deb61f90dcb5e8861a4')
15 build() {
16         cd ${srcdir}/argparse-$pkgver
17         2to3 -w argparse.py
18         python setup.py build || return 1
19         python setup.py install --root=${pkgdir} || return 1