archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-retrying / trunk / PKGBUILD
blobaefd2090eeef4b151cd435bf5931f9eebc32d9c3
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Arvedui <arvedui@posteo.de>
4 pkgname=python-retrying
5 pkgver=1.3.3
6 pkgrel=13
7 pkgdesc="A general purpose Python retyring library"
8 arch=('any')
9 url="https://github.com/rholder/retrying/releases"
10 license=('Apache')
11 depends=('python-six')
12 makedepends=('python-setuptools' 'python-six')
13 source=("https://github.com/rholder/retrying/archive/v$pkgver.tar.gz")
14 md5sums=(85ccf5a3a8b32d4091bcde8dabfce060)
16 prepare() {
17   cd "$srcdir"
20 build() {
21   cd "$srcdir"/retrying-$pkgver
22   python setup.py build
25 check() {
26   cd "$srcdir"/retrying-$pkgver
27   python setup.py test
30 package() {
31   cd "$srcdir/retrying-$pkgver"
32   python setup.py install --root="$pkgdir/" --optimize=1
35 # vim:set ts=2 sw=2 et: