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

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

View File

@ -1,3 +1,3 @@
DIST spidev-3.5.tar.gz 10866 BLAKE2B 8e249438ddb815c846d31c7eb7b0890869974bf142900808964c60e57a764e7bd7f0ada421adc7cb597d77499a554597858a33939dba34f1b37f83beba7f8525 SHA512 e0f3f3d2ee8f128c56e3611547ce6cbcbacfcda82e96621708f2b26fe437d7b0f65e2001a1dc87e2605d63075d7716627aa082ed79281cbaaac0e0ca79620723
EBUILD spidev-3.5.ebuild 724 BLAKE2B cb7f042bf16a359bfc995a6c346ea2ebeea1d3d3c471161a6cc5a0bc5dac65187a1406c318f40047108355c3246bf2fd7de8aec338a100d90c0f8319db406a4c SHA512 43d6cb234b43271c521e1a03c763e16ace871b2ff4023cf6d6e4a046b7a1c987bade350c800ed6905284ed4488413311077c04eff573059cf5eecedaeb3fe627
EBUILD spidev-3.5.ebuild 654 BLAKE2B 53469eebaa3ca77c5641affd2b5349dd65a9857b6fa5936d6502344e50361a9a0b38e3f214fdeeb029d9f7874c3f0184135a886a691d2c09c696a33b56b521f7 SHA512 31d614019e941763309510cd938ead089e187705344eff4b054577ac5057ae07cdcc61ac355da211b0ebf6201a55a342e075237f8b1430405b86921988b364b6
MISC metadata.xml 451 BLAKE2B 9df8ee20f8b5cdd3d493d0bbcc9edd76632b32976f5acb67c329220e8d18dd397ef70c8375577ca074aea0f94851266b3b1454896e5209656d36335efcf28dcc SHA512 64f0771c3049e71aefd360d3a28959998446971993f5783b28b26aeb48cbaf449376decf4010d22fe63e502be90b08ffce1985814fc888ac0394b8b67f5112a1

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.md"
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