summaryrefslogtreecommitdiff
path: root/pcr/setuptools_darcs/PKGBUILD
blob: 5db2428d942ab1c53ca3900efe793026afcf73e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor (Arch): Peter Simons <simons@cryp.to>
# Contributor (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
pkgname=setuptools_darcs
pkgver=1.2.11
pkgrel=3.1
pkgdesc="Python setuptools plugin for darcs"
arch=('any')
url='http://pypi.python.org/pypi/setuptools_darcs'
license=('BSD')
depends=('python2' 'setuptools')
makedepends=('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
}