dev-python/SmartHab: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-17 23:43:26 +02:00
committed by onkelbeh
parent 0a5f735569
commit d1c5435e73
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
DIST SmartHab-0.21.tar.gz 7185 BLAKE2B b2fa2c821339a52dbf36c91e95f99d3d07c98c08d380ea1f957939a59f0aef4fbdd2e231f1dc661484ab846860a464cc49f69b23f065287a27ffab77986955f0 SHA512 986e830ad177896a4e752a87fb415badecb59589d250e7d626e5d8d5d4e07f647d530dbdc5a909005332785414e23ef7d829fc1b3cba29c6633f69341a533b8c
EBUILD SmartHab-0.21.ebuild 789 BLAKE2B c37d4f653d474a9b1049084941020e5865acf49a982378453d02f9b9aac811f0c374eea7a54fc4ae11a3724895936998ad080118c8f25882b7e2d31a607915a8 SHA512 12228e2ba38dba56059688fa40938f3178e9745109f1283f83f398cf6a15cb5309c63e4470c379de220ea8396e2acf5c7b800ec35b1f07fd81168064621b4222
EBUILD SmartHab-0.21.ebuild 730 BLAKE2B f125c5f4533ed0f80cba66cc90e63a2985c0e9860786504b34e3104ec7573a72349da01cac0898c38e2c7ffec5be2dd91be193aebb05222ef0a60b9171becded SHA512 5f8f6e0462b220b270ce04aba0866cba93ff60899df12cf1ada3492fe2207699ef19ae7ddd3c0fed6126191f88dc0075ab3bf4be2fff08a049d61391a7f141d9
MISC metadata.xml 457 BLAKE2B daa514f363d80f8110bae15f07e6da98c50f700b6c9b3285bd38293e4b08b4b1636f8551d7a05cfe3046d133b3cdea88f92cc40fdbc7ea9fb4c70df9bc1d9d0d SHA512 05ad7ce74a90344a9b9a944cff666c450a57fb13ccfec899894a2e2bdb4e78ff5900893c3e191ca25a3a84b65c9b6da7cb3180733179161e203654c1ee38ed83
+6 -6
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -23,11 +23,11 @@ RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest