dev-python/miflora: Revbump for PEP517 and other QA
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
aac40ecfc0
commit
a9978ce848
@ -6,6 +6,7 @@
|
||||
<name>Nils Freydank</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">miflora</remote-id>
|
||||
<remote-id type="github">basnijholt/miflora</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library to read data from Mi Flora sensor"
|
||||
@ -26,10 +26,6 @@ RDEPEND="
|
||||
BDEPEND="
|
||||
${REDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@ -37,7 +33,5 @@ src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
distutils_enable_tests nose
|
||||
distutils_enable_tests pytest
|
Loading…
Reference in New Issue
Block a user