summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:42:50 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:42:50 -0500
commit2a1b8374564fe09d46553b515c196c4a226a35e0 (patch)
tree1f851c7eeebb16051c38d71b2d8c032b31b83ec3 /pcr
parent17b2e5b0e7df650a41b358ee217563b911ee1733 (diff)
downloadabslibre-2a1b8374564fe09d46553b515c196c4a226a35e0.tar.gz
abslibre-2a1b8374564fe09d46553b515c196c4a226a35e0.tar.bz2
abslibre-2a1b8374564fe09d46553b515c196c4a226a35e0.zip
python-oslo-i18n: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-oslo-i18n/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/python-oslo-i18n/PKGBUILD b/pcr/python-oslo-i18n/PKGBUILD
new file mode 100644
index 000000000..937cd44b0
--- /dev/null
+++ b/pcr/python-oslo-i18n/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer (Arch): Troy C < rstrox -ta yahoo -tod com >
+# Maintainer: Omar Veg Ramos <ovruni@gnu.org.pe>
+
+pkgname=('python-oslo-i18n' 'python2-oslo-i18n')
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="OpenStack Common Libraries - Internationalization and translation library"
+arch=('any')
+url="https://github.com/openstack/oslo.i18n"
+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.i18n/oslo.i18n-$pkgver.tar.gz")
+md5sums=('c109e20b99bb0ec8d85a583bf503e6a5')
+
+build() {
+ cd "$srcdir/oslo.i18n-$pkgver"
+ python setup.py build
+ python2 setup.py build
+ echo ${pkgver} > versioninfo
+}
+
+package_python-oslo-i18n() {
+
+ depends=('python' 'python-babel>=1.3' 'python-six>=1.9.0' 'python-pbr>=0.8')
+
+ cd "$srcdir/oslo.i18n-$pkgver"
+ python setup.py install --root=${pkgdir}
+}
+
+package_python2-oslo-i18n() {
+
+ depends=('python2' 'python2-babel>=1.3' 'python2-six>=1.9.0' 'python2-pbr>=0.8')
+
+ cd "$srcdir/oslo.i18n-$pkgver"
+ python2 setup.py install --root=${pkgdir}
+}