db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / python-retrying / trunk / PKGBUILD
blob8e14bee6a4a405ef0842ce1de897f01d49f8cac5
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Arvedui <arvedui@posteo.de>
4 pkgname=python-retrying
5 pkgver=1.3.3
6 pkgrel=16
7 pkgdesc="A general-purpose retrying library"
8 arch=('any')
9 url="https://github.com/rholder/retrying"
10 license=('Apache')
11 depends=('python-six')
12 makedepends=('python-setuptools')
13 source=("https://github.com/rholder/retrying/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
14 sha512sums=('e053e62cb71b31573b89b8fffa706c3410794b5cced829582c373a09af78158f7a16948e6ce52078589cf7d8f5bba726c889180588a2628be343f242bc40c035')
16 build() {
17   cd retrying-$pkgver
18   python setup.py build
21 check() {
22   cd retrying-$pkgver
23   python setup.py test
26 package() {
27   cd retrying-$pkgver
28   python setup.py install --root="$pkgdir/" --optimize=1
31 # vim:set ts=2 sw=2 et: