[arch-commits] Commit in python-oslo-i18n/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 28 17:40:49 UTC 2018
Date: Wednesday, November 28, 2018 @ 17:40:49
Author: felixonmars
Revision: 410439
archrelease: copy trunk to community-any
Added:
python-oslo-i18n/repos/community-any/PKGBUILD
(from rev 410438, python-oslo-i18n/trunk/PKGBUILD)
Deleted:
python-oslo-i18n/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-28 17:40:31 UTC (rev 410438)
+++ PKGBUILD 2018-11-28 17:40:49 UTC (rev 410439)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-i18n
-pkgname=(python-oslo-i18n python2-oslo-i18n)
-pkgver=3.22.1
-pkgrel=1
-pkgdesc="Oslo i18n library"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
- 'python2-babel')
-checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
- 'python2-oslo-config')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
-sha512sums=('e616d97d58a7e13652075684aa56a77a46779447a06a5a38f912295119861e9666e3b5651a3c64fbb854750ceecd639f03d863bd4615facce1638c685904c877')
-
-prepare() {
- cp -a oslo.i18n-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/oslo.i18n-$pkgver
- python setup.py build
-
- cd "$srcdir"/oslo.i18n-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/oslo.i18n-$pkgver
- stestr run
-
- cd "$srcdir"/oslo.i18n-$pkgver-py2
- PYTHON=python2 stestr2 run
-}
-
-package_python-oslo-i18n() {
- depends=('python-six' 'python-pbr' 'python-babel')
-
- cd "$srcdir"/oslo.i18n-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-oslo-i18n() {
- depends=('python2-six' 'python2-pbr' 'python2-babel')
-
- cd "$srcdir"/oslo.i18n-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslo-i18n/repos/community-any/PKGBUILD (from rev 410438, python-oslo-i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-28 17:40:49 UTC (rev 410439)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-i18n
+pkgname=(python-oslo-i18n python2-oslo-i18n)
+pkgver=3.23.0
+pkgrel=1
+pkgdesc="Oslo i18n library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
+ 'python2-babel')
+checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
+ 'python2-oslo-config')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
+sha512sums=('3191ea88e73ad283c91ac57c4ab4999265daa9f33f6b3c5b8e9f04679ff435844ae380947192738c1466ffb4d03e65e436895a3deb89dbd31c846a6ff9759cb9')
+
+prepare() {
+ cp -a oslo.i18n-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/oslo.i18n-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/oslo.i18n-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/oslo.i18n-$pkgver
+ stestr run
+
+ cd "$srcdir"/oslo.i18n-$pkgver-py2
+ PYTHON=python2 stestr2 run
+}
+
+package_python-oslo-i18n() {
+ depends=('python-six' 'python-pbr' 'python-babel')
+
+ cd "$srcdir"/oslo.i18n-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-oslo-i18n() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel')
+
+ cd "$srcdir"/oslo.i18n-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list