python-mpd2: fix tests
This commit is contained in:
parent
e83340b578
commit
0430125102
1 changed files with 2 additions and 3 deletions
|
@ -6,6 +6,7 @@ noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="mpd"
|
pycompile_module="mpd"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
checkdepends="python-Twisted python-mock"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Python2 MPD client library"
|
short_desc="Python2 MPD client library"
|
||||||
maintainer="Jens E. Becker <v2px@v2px.de>"
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
||||||
|
@ -15,9 +16,7 @@ distfiles="https://github.com/Mic92/python-mpd2/archive/v${version}.tar.gz"
|
||||||
checksum=877fa1685a56815107cb0b1eb004e7fe261b620fafd4d38cdaa2b6f3edd35928
|
checksum=877fa1685a56815107cb0b1eb004e7fe261b620fafd4d38cdaa2b6f3edd35928
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# Requires Twisted but fails to detect system installed one, downloads it from PYPI
|
python2 -m unittest mpd.tests
|
||||||
# and tries to compile it
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-mpd2_package() {
|
python3-mpd2_package() {
|
||||||
|
|
Loading…
Reference in a new issue