[arch-commits] Commit in python-oslo-i18n/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 10:36:14 UTC 2020
Date: Thursday, February 13, 2020 @ 10:36:14
Author: felixonmars
Revision: 570034
upgpkg: python-oslo-i18n 3.25.1-2: disable python2 tests
Modified:
python-oslo-i18n/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 10:35:52 UTC (rev 570033)
+++ PKGBUILD 2020-02-13 10:36:14 UTC (rev 570034)
@@ -4,7 +4,7 @@
pkgbase=python-oslo-i18n
pkgname=(python-oslo-i18n python2-oslo-i18n)
pkgver=3.25.1
-pkgrel=1
+pkgrel=2
pkgdesc="Oslo i18n library"
arch=('any')
url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"
@@ -11,16 +11,15 @@
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')
+checkdepends=('python-mock' 'python-oslotest' 'python-oslo-config')
options=('!emptydirs')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
sha512sums=('77d1cf755dd6fb26bb38ba648309114f38472ed97a43d777b5a4bb4c665b6336ef579ff71ed8a01aecb24b1cbaf187d671be4f01a0b8480dcc4e3687745689b0')
+export PBR_VERSION=$pkgver
+
prepare() {
cp -a oslo.i18n-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
}
build() {
@@ -32,11 +31,8 @@
}
check() {
- cd "$srcdir"/oslo.i18n-$pkgver
+ cd oslo.i18n-$pkgver
stestr run
-
- cd "$srcdir"/oslo.i18n-$pkgver-py2
- PYTHON=python2 stestr2 run
}
package_python-oslo-i18n() {
More information about the arch-commits
mailing list