[arch-commits] Commit in python-oslo-i18n/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Nov 2 21:44:09 UTC 2019
Date: Saturday, November 2, 2019 @ 21:44:09
Author: felixonmars
Revision: 522227
archrelease: copy trunk to community-staging-any
Added:
python-oslo-i18n/repos/community-staging-any/PKGBUILD
(from rev 522226, python-oslo-i18n/trunk/PKGBUILD)
Deleted:
python-oslo-i18n/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-02 21:43:53 UTC (rev 522226)
+++ PKGBUILD 2019-11-02 21:44:09 UTC (rev 522227)
@@ -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.24.0
-pkgrel=2
-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=('7734a46ec186073978d804a44ac8f97f474c5873e54e5443345db583f365627b7f0756cf559086dcc5b2612a4f7871491fac1029d85d1b0a3a9a1d6ab69fa628')
-
-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-staging-any/PKGBUILD (from rev 522226, python-oslo-i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-02 21:44:09 UTC (rev 522227)
@@ -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.24.0
+pkgrel=3
+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=('7734a46ec186073978d804a44ac8f97f474c5873e54e5443345db583f365627b7f0756cf559086dcc5b2612a4f7871491fac1029d85d1b0a3a9a1d6ab69fa628')
+
+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