Date: Thursday, May 22, 2014 @ 23:43:53 Author: dwallace Revision: 111731
archrelease: copy trunk to community-any Added: python2-argparse/repos/community-any/ python2-argparse/repos/community-any/PKGBUILD (from rev 111730, python2-argparse/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python2-argparse/repos/community-any/PKGBUILD (from rev 111730, python2-argparse/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-05-22 21:43:53 UTC (rev 111731) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Nicolas Pouillard (http://nicolaspouillard.fr) +# Contributor: Lukas Linhart <b...@almad.net> +# Contributor: Changaco <changaco ατ changaco δοτ net> +# Contributor: Nicolas Pouillard <nicolas.pouill...@gmail.com> +# Contributor: James Bulmer <neki...@gmail.com> + +pkgname="python2-argparse" +pkgver=1.2.1 +pkgrel=3 +pkgdesc="Python command-line parsing library" +arch=(any) +url="https://code.google.com/p/argparse/" +license=("PSF") +depends=("python2") +makedepends=("python2-setuptools") +source=("http://argparse.googlecode.com/files/argparse-${pkgver}.tar.gz") +md5sums=("2fbef8cb61e506c706957ab6e135840c") + +build() { + cd "${srcdir}/argparse-${pkgver}/" + python2 setup.py build +} + +package() { + cd "${srcdir}/argparse-${pkgver}/" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +}