[arch-commits] Commit in python-os-service-types/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 10:39:39 UTC 2020
Date: Thursday, February 13, 2020 @ 10:39:39
Author: felixonmars
Revision: 570042
upgpkg: python-os-service-types 1.7.0-4: disable tests for python2
Modified:
python-os-service-types/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 10:38:42 UTC (rev 570041)
+++ PKGBUILD 2020-02-13 10:39:39 UTC (rev 570042)
@@ -4,23 +4,23 @@
pkgbase=python-os-service-types
pkgname=(python-os-service-types python2-os-service-types)
pkgver=1.7.0
-pkgrel=3
+pkgrel=4
pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
arch=('any')
url="https://pypi.python.org/pypi/os-service-types/$pkgver"
license=('Apache')
makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock')
+checkdepends=('python-oslotest' 'python-requests-mock')
options=('!emptydirs')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
+export PBR_VERSION=$pkgver
+
prepare() {
echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
cp -a os-service-types-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
}
build() {
@@ -32,11 +32,8 @@
}
check() {
- cd "$srcdir"/os-service-types-$pkgver
+ cd os-service-types-$pkgver
stestr run
-
- cd "$srcdir"/os-service-types-$pkgver-py2
- PYTHON=python2 stestr2 run
}
package_python-os-service-types() {
More information about the arch-commits
mailing list