dev-python/pylacrosse: remove olds, cleanup, enable pytest, exclude tests

This commit is contained in:
Andreas Billmeier 2022-10-16 18:07:18 +02:00 committed by Andreas Billmeier
parent 4357587802
commit 54d78e2a77
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,3 @@
DIST pylacrosse-0.4.tar.gz 8287 BLAKE2B fa8fae8bb0cae0ebf7669ae5977b2a107328272e8c8ddc5b839cf84dcd62bcd7d544f44723444b66c72b8ad8b526a9cd4d1eb03e19dc0776ed10c2edf2147952 SHA512 3b638aa8569fae6056d4d6d872d864e5b6215fbe2e6f11ef50e2cdc630aa173ec9beff3705a144857242490b13147b8604fb4b54813ae35f29443bd62d117d8a
EBUILD pylacrosse-0.4.ebuild 733 BLAKE2B 5881fa93be1cb73e925cdc0eb8eb8ea5c76cf7ee106a152fc457da3c0a0e5f3265549d68fc181bb8d27a56ce0d7ef10fdd494666417514a5e755e63d8655b4dd SHA512 51755c5443dcff4bb3b3655ce330946b688204c94770b174a22dfdd9048c1030da0c4dec7f2905b15f459f1815076043b3ae8490f6fd777de54610831057c364
EBUILD pylacrosse-0.4.ebuild 857 BLAKE2B 0d6d2af065e65a5efd39a006b402158d050ac7f07336f9a4780a4aba46b725b83118f6c6cd5e53eed292d8b4bef603845167b2ca78d549a00051e6ca915dcc3a SHA512 b71b7774e765f9bc28f52de7da5a8ed277f6879e63f6885707c71bc971f968a62ae76e3be51ff1f6bf572f9e725b59fb98f7a3b9fa4e7ea4e564f89af07973ff
MISC metadata.xml 457 BLAKE2B 3759937fa32b1067bfaef7d349a5dea3a9d9f5c3063173355fb1c0c3e62c22bc4ca33f7c4ac1b99560bd7dfad90f0bffd3e90462e37fceb3854cc991d60bb7a0 SHA512 78ed55bf0c1455e4cb6fac959674230ce6536bd3d80dcfb7a7bc4da701b6d7af1ba36666f66c05ddc25d9dd6b39fdab88285261d351e9d636592d2658a24cd1a

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..9} )
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-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -29,3 +29,10 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
src_prepare() {
sed "s/find_packages()/find_packages(exclude=('tests', 'tests.*'))/g" -i setup.py || die
eapply_user
}
distutils_enable_tests pytest