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>
|
<name>Nils Freydank</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
|
<remote-id type="pypi">miflora</remote-id>
|
||||||
<remote-id type="github">basnijholt/miflora</remote-id>
|
<remote-id type="github">basnijholt/miflora</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -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="Library to read data from Mi Flora sensor"
|
DESCRIPTION="Library to read data from Mi Flora sensor"
|
||||||
@ -26,10 +26,6 @@ RDEPEND="
|
|||||||
BDEPEND="
|
BDEPEND="
|
||||||
${REDEPEND}
|
${REDEPEND}
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
@ -37,7 +33,5 @@ src_prepare() {
|
|||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
python_test() {
|
distutils_enable_tests nose
|
||||||
nosetests --verbose || die
|
distutils_enable_tests pytest
|
||||||
py.test -v -v || die
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user