dev-python/bluepy: Revbump for PEP517 and other QA

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2022-11-22 22:38:12 +01:00
parent a2347b5ee1
commit 1dbf854935
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 6 additions and 10 deletions

View File

@ -3,8 +3,8 @@
EAPI="8" EAPI="8"
PYTHON_COMPAT=( python3_10 ) DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="Python module for interfacing with BLE devices through Bluez" DESCRIPTION="Python module for interfacing with BLE devices through Bluez"
@ -19,12 +19,7 @@ RESTRICT="!test? ( test )"
BDEPEND=" BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}]
test? ( "
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() { distutils_enable_tests nose
nosetests --verbose || die distutils_enable_tests pytest
py.test -v -v || die
}

View File

@ -7,6 +7,7 @@
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="pypi">bluepy</remote-id> <remote-id type="pypi">bluepy</remote-id>
<remote-id type="github">IanHarvey/bluepy</remote-id>
<maintainer status="unknown"> <maintainer status="unknown">
<email>website-contact@fenditton.org</email> <email>website-contact@fenditton.org</email>
<name>Ian Harvey</name> <name>Ian Harvey</name>