summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b967d34c5f9fbe6c7dcb9bc6d735288742bac3c (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
30
31
32
33
34
# Maintainer: Andy Botting <andy@andybotting.com>

pkgname=python-futurist
pkgver='1.10.0'
pkgrel='2'
pkgdesc='Code from the future, delivered to you in the now.'
arch=('any')
url='https://docs.openstack.org/futurist/'
license=('Apache')
depends=('python-pbr' 'python-six' 'python-monotonic' 'python-prettytable'
         'python-wheel')
checkdepends=('python-eventlet' 'python-oslotest' 'python-testrepository'
              'python-testscenarios' 'python-testtools')
source=("https://github.com/openstack/futurist/archive/$pkgver.tar.gz")
sha512sums=('ae9eb05b895b48dcd71774594b1a8261ba86bf7ae4b0cb30f70edaa75249fe8179ed7e92bec0cb4f9889edbf6e69299adfa5938b7fe45684ecf290be7fae5bc4')

export PBR_VERSION=$pkgver

build() {
  cd futurist-$pkgver
  python setup.py build
}

check() {
  cd futurist-$pkgver
  python setup.py test
}

package() {
  cd futurist-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
}

# vim:set ts=2 sw=2 et: