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

This commit is contained in:
2022-10-18 01:48:26 +02:00
committed by Andreas Billmeier
parent 124b66e773
commit eaf96f2eb0
2 changed files with 7 additions and 7 deletions

View File

@@ -1,3 +1,3 @@
DIST xboxapi-2.0.1.tar.gz 6002 BLAKE2B eda01a828a94c56bb15224cb08a67a83c02eef59860a6d1a5ab6e3329dad1a5d883ae95bbcf6a44e57445cb295f891e2f80252274e8089f8b777f7f29c1d6b43 SHA512 ba042017e8d8084800631e2211a2ba1b5e49ff07c36153d0790137491dff04e3cd4021a68b809a32ca153498955eaacc5662f87566dce994aa0adbd009b4094f
EBUILD xboxapi-2.0.1.ebuild 749 BLAKE2B 67ea067b30896ea1ce48596bcb6666ea5f7ce13aef92c12392414042c8cd603c9ecda14555c2c2e7d03be44a7049d6256585ace692c36da24775e6b89c49798f SHA512 bd6cf7a85f7ef7217964284b0c210a6a5308b5b58b0165ae5431325552cef254f217b2594a6680d87f97b283f48762c1ee992fe72f2e321dd836d50762778d01
EBUILD xboxapi-2.0.1.ebuild 690 BLAKE2B 31245d9baffc816bd18074fdba59b3e46479bcafcfe94d9bf536af220ad718ada542f3556f629790c66b9979a8c902d7d3f3927f7259ccd54e0e239ab9a7e76a SHA512 7b8503861f44711c4491afd2869e68775e7b0e6a848a90f2d90a1003eef1f14c6d1122f8f498d4cae6ecc4230b442f5acd3b50752a6f7616990dcbb95c8253b5
MISC metadata.xml 326 BLAKE2B e68d8175cb3bc8ba31ba9ddd71d329f806d25cbdb70a0a38efe0663f5d4b14e4d70abee5d0e0819297a8c55f77db01d2064068f5c109681891dfb7e2ae46b8fa SHA512 b783b06613b336bd20306cd38ac220b82723aa02a04b6c7652c1f65bffc266008db5e63b216476d304c661f74494c34debf0eb43c531f569ae36eef0246b207e

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="MIT"
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