summaryrefslogtreecommitdiff
path: root/pcr/python-oslo-utils
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:55:01 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:55:01 -0500
commit7d4b452186dd3476ac7b9c6a772ca1f2734bbe72 (patch)
tree1cb1d1bf406b549813595a485202e5a66aab0588 /pcr/python-oslo-utils
parent9a63e8ce7538ec33193d75e3587ddf4f46aab655 (diff)
downloadabslibre-7d4b452186dd3476ac7b9c6a772ca1f2734bbe72.tar.gz
abslibre-7d4b452186dd3476ac7b9c6a772ca1f2734bbe72.tar.bz2
abslibre-7d4b452186dd3476ac7b9c6a772ca1f2734bbe72.zip
python-oslo-utils: add new package to [pcr]
Diffstat (limited to 'pcr/python-oslo-utils')
-rw-r--r--pcr/python-oslo-utils/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/python-oslo-utils/PKGBUILD b/pcr/python-oslo-utils/PKGBUILD
new file mode 100644
index 000000000..8ba29308a
--- /dev/null
+++ b/pcr/python-oslo-utils/PKGBUILD
@@ -0,0 +1,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}
+}