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

This commit is contained in:
Andreas Billmeier 2022-10-17 22:43:32 +02:00 committed by Andreas Billmeier
parent b36b9d114b
commit f09022b34f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,3 @@
DIST readlike-0.1.2.tar.gz 5068 BLAKE2B c716b4a36a2933b48ed43b2c5830dc922cf800bd4c4c83119a1b0b705bb2ff91e0a20bbc7e762eca37da306e428fe809207ebf67d40b8a9acb86d854af4c7e95 SHA512 4ecd694c69c615ec37da05341596af4ec26abeeda78ecf10fc3019533a7ab092ed1e1e4f8910a7835d7ffb157b203cb0395a2eba135d3aba861abb75d466980e
EBUILD readlike-0.1.2.ebuild 717 BLAKE2B 1520f06e8bfb4ea82747a941c4735f43fc9e35b08518156f207ed421b929884d14a9ab22aa8f0d81328bdd19de5697058cc989b9fdba4419ab31c7797bbebc3a SHA512 7256752d6922b59a1fd10d404102092f53b6d77ba0a566433c7b79d72b599d2a0b0f61a4f6196a9a45ba267d52cef90631478d6a2b71836724af97d21a90e27c
EBUILD readlike-0.1.2.ebuild 643 BLAKE2B 0ce46a159c3d63fceeb89eec01a759f1f61415822935018ce516ebc1c687f84eb505810fdd1e68e6b17de2ef8341e2db0c51c2303232dc6cea656cfa0231168e SHA512 4dc17a7aac3f67c80683c943f121d7874b01f7296f97a53439b3fff1c9532644581f26372af9b803d6640b276ecd71016a8b0d4d07724b2a9e107d8fc4bd3ad8
MISC metadata.xml 458 BLAKE2B bcbc4277a0fb1cb41eb8261628e59c0afbdb7b4f7e153838059e9e03554e3da8a2adc6701a235080d3d37c2056a518ec981ea8cbc6432f53ae53970be9600aa2 SHA512 de86d421b01c8faa792b81385bd3caefa3cc5d3fceaa2b903fe3012c31279a3927db1fb0c9f271924ee0a4cc112ca4f0ce6c89cb60334ae31b584d3040667310

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,21 +13,20 @@ 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 )"
DOCS="README.rst"
RDEPEND=""
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