From b9d8a4db6d3d90474c5b6b72ec651a1595788612 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Tue, 22 Nov 2022 22:38:12 +0100 Subject: [PATCH] dev-python/btlewrap: Revbump for PEP517 and other QA Signed-off-by: Nils Freydank --- ...-0.1.1.ebuild => btlewrap-0.1.1-r1.ebuild} | 14 ++++------- dev-python/btlewrap/metadata.xml | 23 ++++++++++--------- 2 files changed, 16 insertions(+), 21 deletions(-) rename dev-python/btlewrap/{btlewrap-0.1.1.ebuild => btlewrap-0.1.1-r1.ebuild} (78%) diff --git a/dev-python/btlewrap/btlewrap-0.1.1.ebuild b/dev-python/btlewrap/btlewrap-0.1.1-r1.ebuild similarity index 78% rename from dev-python/btlewrap/btlewrap-0.1.1.ebuild rename to dev-python/btlewrap/btlewrap-0.1.1-r1.ebuild index f4430d6..fb2c6d5 100644 --- a/dev-python/btlewrap/btlewrap-0.1.1.ebuild +++ b/dev-python/btlewrap/btlewrap-0.1.1-r1.ebuild @@ -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 diff --git a/dev-python/btlewrap/metadata.xml b/dev-python/btlewrap/metadata.xml index a1ca49a..f5ccd85 100644 --- a/dev-python/btlewrap/metadata.xml +++ b/dev-python/btlewrap/metadata.xml @@ -1,15 +1,16 @@ - - b@edevau.net - Andreas Billmeier - - - btlewrap - - christian.kuehnel@gmail.com - Christian Kuehnel - - + + b@edevau.net + Andreas Billmeier + + + btlewrap + ChristianKuehnel/btlewrap + + christian.kuehnel@gmail.com + Christian Kuehnel + +