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

This commit is contained in:
Andreas Billmeier 2022-10-18 01:42:31 +02:00 committed by Andreas Billmeier
parent 434f2cccd3
commit ed840d6adc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
DIST WSDiscovery-2.0.0.tar.gz 23495 BLAKE2B 09b3cd9ae88ed75a08ca355df9cf4e1796d1c2612dc3b6dea75a10b2662c859f44bd199d6322c28b5559f237b7cc6f71a9d16b4ff88bd15dc6359129438f7d6e SHA512 3d767ded77c298442d3c3b46fdfe0cb3ae906478eedb10cf66c519d0b02e297a2fb9fdf66dd7f114fc2b13119a5979942c02ba3b9190e6e1ab6b13da95475d9d
EBUILD WSDiscovery-2.0.0.ebuild 850 BLAKE2B 75d3616a7f96d984163f435d195024c14a5f668376ae0be78cce1c5ee572f9a2d5200d7b137816948a4a800489b9d5598913f16c22828faa57a53587c0cdc9a4 SHA512 6dd3eb6f536d46bc7b673f5833ee3005c464cd1c29af4158f330df511d573838c9ec08987d425abeddd0df587481098a35103cc0b0fa9cf9910ce81a688222dd
EBUILD WSDiscovery-2.0.0.ebuild 787 BLAKE2B 9d56131106d21bdace07a22a44cc0274801d0b8462cf03ec047bc1b56021fe58e2ccd3a544b1efa63f496a2acf040c20fcb24cacbfdd916711a7ea703929c36f SHA512 6818dac17465ab300644e2dcb80b9a66b82b22a20cc6f7407daca2f210e0d117e53438770251a7f4cf2976e6eebc675cb57ce1cf8898520e3a12601301d5e94f
MISC metadata.xml 460 BLAKE2B 80f82e52261ae73e36d999b690e5cc1c336072e06c44148b2d8f3300c6dabb9742acb0034fe1984de74154aa77cec759e82967f0e3bb484aab3dbe3fca20d05f SHA512 34a8b8c51905b66e4ead6b8fae075e27ae08b8041139c22c311afd14e6215de03906302feb99b8b712b3c55bd2dd9642e38045d3c8d16669a4a62169f0dc8a0d

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="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -24,12 +24,12 @@ RDEPEND="dev-python/click[${PYTHON_USEDEP}]
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest