dev-python/btlewrap: 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 1dbf854935
commit b9d8a4db6d
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 16 additions and 21 deletions

View File

@ -3,8 +3,8 @@
EAPI="8"
PYTHON_COMPAT=( python3_10 )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="wrapper around different bluetooth low energy backends"
@ -24,10 +24,6 @@ RDEPEND="
"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"
src_prepare() {
@ -35,7 +31,5 @@ src_prepare() {
default
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests nose
distutils_enable_tests pytest

View File

@ -7,6 +7,7 @@
</maintainer>
<upstream>
<remote-id type="pypi">btlewrap</remote-id>
<remote-id type="github">ChristianKuehnel/btlewrap</remote-id>
<maintainer status="unknown">
<email>christian.kuehnel@gmail.com</email>
<name>Christian Kuehnel</name>