summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 971ba7759196a37557922b4fc8c7acfd5c6a32f6 (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=2.4.1
pkgrel=1
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-stestr'
              'python-testrepository' 'python-testscenarios' 'python-testtools')
source=("https://github.com/openstack/futurist/archive/$pkgver.tar.gz")
sha512sums=('843dddb5aacde60772be4e92b7c514393ccc51849da8c34ce0bdfa77155bcd4d002a1986143f2ba575ff6eb4f2cae036536da484ed0cc494caaf26b417ebb8e1')

export PBR_VERSION=$pkgver

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

check() {
  cd futurist-$pkgver
  stestr run
}

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

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