[arch-commits] Commit in python-oslo-i18n/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jul 20 03:32:17 UTC 2018
Date: Friday, July 20, 2018 @ 03:32:17
Author: felixonmars
Revision: 362504
archrelease: copy trunk to community-staging-any
Added:
python-oslo-i18n/repos/community-staging-any/PKGBUILD
(from rev 362503, python-oslo-i18n/trunk/PKGBUILD)
Deleted:
python-oslo-i18n/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-20 03:31:59 UTC (rev 362503)
+++ PKGBUILD 2018-07-20 03:32:17 UTC (rev 362504)
@@ -1,57 +0,0 @@
-# $Id$
-# 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.20.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' 'python-testrepository' 'python2-testrepository')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
-sha512sums=('d639970e657340db7df50e884ffa69d02168875b5085d056ab4112523877ac93ca55cc5c14c73f3bff1d68fb2ecd581d91a30437acec51678ff3b47e6c8716ce')
-
-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
- python setup.py testr
-
- cd "$srcdir"/oslo.i18n-$pkgver-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-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 362503, python-oslo-i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-20 03:32:17 UTC (rev 362504)
@@ -0,0 +1,57 @@
+# $Id$
+# 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.21.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=('e6335b700280bc4b6f6484a08b006735b4a178236d62f3e857fe1d59bd60fc03627282d5ec748a1ba09a4b44a58d29e0b2523cf01fddcc328b50e3f0685347e7')
+
+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