blob: 8ba29308a38e4a0080bbd651c44a3a3363aed5f1 (
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
35
36
|
# Maintainer (Arch): Troy C < rstrox -ta yahoo -tod com >
# Maintainer: Omar Veg Ramos <ovruni@gnu.org.pe>
pkgname=('python-oslo-utils' 'python2-oslo-utils')
pkgver=1.5.0
pkgrel=1
pkgdesc="OpenStack Common Libraries - A library of various low-level utility modules"
arch=('any')
url="https://github.com/openstack/oslo.utils"
license=('GPL')
provides=("$pkgname=$pkgver")
makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr>=0.8' 'python2-pbr>=0.8')
source=("https://pypi.python.org/packages/source/o/oslo.utils/oslo.utils-$pkgver.tar.gz")
md5sums=('bdbd06d47e3200479297bb901a361f6f')
build() {
cd "$srcdir/oslo.utils-$pkgver"
python setup.py build
python2 setup.py build
}
package_python-oslo-utils() {
depends=('python' 'python-babel>=1.3' 'python-iso8601>=0.1.9' 'python-six>=1.9.0' 'python-oslo-i18n>=1.5.0' 'python-netaddr>=0.7.12' 'python-netifaces>=0.10.4' 'python-pbr>=0.8')
cd "$srcdir/oslo.utils-$pkgver"
python setup.py install --root=${pkgdir}
}
package_python2-oslo-utils() {
depends=('python2' 'python2-babel>=1.3' 'python2-iso8601>=0.1.9' 'python2-six>=1.9.0' 'python2-oslo-i18n>=1.5.0' 'python2-netaddr>=0.7.12' 'python2-netifaces>=0.10.4' 'python2-pbr>=0.8')
cd "$srcdir/oslo.utils-$pkgver"
python2 setup.py install --root=${pkgdir}
}
|