dev-python/upcloud-api: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-18 01:16:29 +02:00 committed by Andreas Billmeier
parent b34f4c083f
commit 6e906f6501
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
DIST upcloud-api-2.0.0.tar.gz 57275 BLAKE2B 40a56381fc037fbe10e3eee7db8e55f4191089ec977d692207309a782458e28f6a2798f13f06ec9b357ac5f7701bef8d49b59ae444538ee88bd44ba40a950156 SHA512 a1d8a5b737621384a16b08d0527ebe778eb6b4a17d979e1b203ac301c3754a484273a9126c12c66da2c76571eccb27ce068f735f4e8c9e79b5419b6e566a8050
EBUILD upcloud-api-2.0.0.ebuild 856 BLAKE2B 5a23e0614bb02ae978a799bc8bc3a29a83bd3323a8d95f4a2b538130e4ea17ce18814be529fc8f2613cbaaf3685a02319e054989716d8b502f25e0cbc320d47a SHA512 88aa243455feb684f3ddae3f72bcfe66133e413dcd3e8d192e4ae2446fcedbd62274fc4a2ba9ae866b31d399ff46da79933ce78a8df82044154b0ef296caa8d2
EBUILD upcloud-api-2.0.0.ebuild 793 BLAKE2B 14a844a2c93cbfaab4dc04e97cb098c80836f9b4d1592fe18f5b07ce494684aead750eee77ad2b0692075ec250901c7e6588fab5a0911a0fab7e8c3dc30b8e5a SHA512 704ae73ce69b42bafa6acaddd9952128c1188414c42cdba3791470373cc3ff64f1dc05ce3c8f51f505d2a61bf8b46711e3f16586dad2956c508d7f52737dcb2a
MISC metadata.xml 448 BLAKE2B 53730eabb7afbe87d2d52e27b9320b0047c0bdf2078c1e9fcbf49d3d1d5068f46add5183addc65bdcd1ded7d8f3440031f1573c893f20b9a04dad9a07735d268 SHA512 f881a4689ad3f673000d32454f7f0c4cc112c64b55de494054f1413a33dfdd329d2899854552b0418db96fc48199493457a4101e0776f5bb55c10d9be903c53d

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
@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -26,11 +26,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