main/py3-dbusmock: rebuild against python3.7 (!568)
This commit is contained in:
parent
3a6e078480
commit
61232b3257
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user