main/py3-dbusmock: rebuild against python3.7 (!568)

This commit is contained in:
Luca Weiss 2019-08-21 10:36:36 +02:00 committed by Oliver Smith
parent 3a6e078480
commit 61232b3257
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB

View File

@ -2,7 +2,7 @@
pkgname=py3-dbusmock pkgname=py3-dbusmock
_pkgname=python-dbusmock _pkgname=python-dbusmock
pkgver=0.18 pkgver=0.18
pkgrel=0 pkgrel=1
pkgdesc="Mock D-Bus objects for tests" pkgdesc="Mock D-Bus objects for tests"
url="https://github.com/martinpitt/python-dbusmock/" url="https://github.com/martinpitt/python-dbusmock/"
arch="x86_64" arch="x86_64"
@ -15,17 +15,14 @@ builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # See https://github.com/martinpitt/python-dbusmock/issues/46 options="!check" # See https://github.com/martinpitt/python-dbusmock/issues/46
build() { build() {
cd "$builddir"
python3 setup.py build python3 setup.py build
} }
check() { check() {
cd "$builddir"
python3 setup.py test python3 setup.py test
} }
package() { package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir"
} }