diff options
Diffstat (limited to 'pcr/setuptools_darcs')
-rw-r--r-- | pcr/setuptools_darcs/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/setuptools_darcs/PKGBUILD b/pcr/setuptools_darcs/PKGBUILD new file mode 100644 index 000000000..7fbbdcaa8 --- /dev/null +++ b/pcr/setuptools_darcs/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Peter Simons <simons@cryp.to> +# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com> +pkgname=setuptools_darcs +pkgver=1.2.11 +pkgrel=3 +pkgdesc="Python setuptools plugin for darcs" +arch=('any') +url='http://pypi.python.org/pypi/setuptools_darcs' +license=('BSD') +depends=('python2') +makedepends=('setuptools' 'darcsver') +source=( http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz ) +md5sums=('79451a8e77b9692861a655e53df094f0') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py test +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm644 PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |