summaryrefslogtreecommitdiff
path: root/dev-python/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/testtools')
-rw-r--r--dev-python/testtools/Manifest3
-rw-r--r--dev-python/testtools/testtools-2.7.1.ebuild (renamed from dev-python/testtools/testtools-2.6.0-r1.ebuild)20
2 files changed, 5 insertions, 18 deletions
diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest
index 65e9f23394da..5aedece9ad24 100644
--- a/dev-python/testtools/Manifest
+++ b/dev-python/testtools/Manifest
@@ -1,4 +1,5 @@
DIST testtools-2.6.0.tar.gz 237864 BLAKE2B 1540c3b6d0f98adccf69e281778cf5ce685cf5b63102f0ee260bc6d1a8cedef0f57a81506e13b705a452f22dd75858da08a7f577b39279b2ae05643b4e96338e SHA512 309893693b2ae63ff75395bf543bd42caa9aee3b1208ce5921d893b3635012f6aa8ed5e797b4d130d83e1b530778e87b91e57b901e8351f86d44f3289d54d04b
-EBUILD testtools-2.6.0-r1.ebuild 1269 BLAKE2B abd28e1b7026dd11d4be94887dc2bbcf67a394b963c3b0e6e40afa2e295b11f88cf011e0363eecd0ba4aefffc3690ec50eeae3e5a92998dadc26ff0766a4f489 SHA512 533ef7990de7db15659820bf4db5cd6ee63f876605a47538c24adfed8095864cb29b3d4f4119eb82b831d5628579ed51b53c944ed1a16ca311cf9df2a9e084c3
+DIST testtools-2.7.1.tar.gz 200953 BLAKE2B b410735faf153749e3996c8889f56fbffab67a8f49b52f21afa60e72af201a12891d4db00b808324d52159b02e9212b81ab958c1dcf0cae5551471540f8fec0b SHA512 78af1c2af6f93671074dafedeaaf3ddbcc806e78c3153a3b90f88874c967e34a18cb85e5649b08fabb4ba4ae649eeb401e79c77c3b9233d9eee2a3c2267a4596
EBUILD testtools-2.6.0-r2.ebuild 1227 BLAKE2B 994d089aede446199f1caea42e1aaa48133de888e1992616691abc511c2794ee7d413027ea4721e255037665a5272c21271f319a1d6e880a35cab673d66e6cb3 SHA512 bc081234c2b44f42341797c5032ef9c0ddc919aac3777b844e72f754792d3d0a3be0832b76aae7f637274cb9869c43900b89e0570869a0507e09040ac0a99865
+EBUILD testtools-2.7.1.ebuild 967 BLAKE2B ac53876add358106c7f049fc3321d130867ded7a2e53118b2b7c6854990e2a3f8d8ba67c2fbad9d49858c11a8277d87335e08a09722c13bf44a38a6895e341e8 SHA512 556cec890f2a594f2436d4bf06421aa4ca081532cae72afeaa85f43db0fbd7294d7ace1da3ea6b51e6b5d92f764604ffe9603bdc1b1b8a545cd83d13528d71a6
MISC metadata.xml 580 BLAKE2B 5068f4abc80612e7a92fb65865612d93cc4d4803a9cda3555cee34eab48da20f6fb22734b09adeaa068cff135d592b5fbd607157a60052a68e127750f6082b24 SHA512 5807608ef5c6d3fa1a86c715c59afb7c4f3913f69739a0c4ea9b6cf85976077280da6ce019ec4fda6dd6bd490379ee0570d5c98f9d719c0cdaf60a550e01e555
diff --git a/dev-python/testtools/testtools-2.6.0-r1.ebuild b/dev-python/testtools/testtools-2.7.1.ebuild
index e67dc2887647..e9ef441e46fa 100644
--- a/dev-python/testtools/testtools-2.6.0-r1.ebuild
+++ b/dev-python/testtools/testtools-2.7.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..12} pypy3 )
PYTHON_REQ_USE="threads(+)"
@@ -17,35 +17,21 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
-RDEPEND="
- >=dev-python/pbr-0.11[${PYTHON_USEDEP}]
- >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
-"
BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
>=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}]
dev-python/testscenarios[${PYTHON_USEDEP}]
dev-python/testresources[${PYTHON_USEDEP}]
)
"
-PDEPEND="
- >=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}]
-"
distutils_enable_sphinx doc
-src_prepare() {
- # very fragile to formatting changes (broken on py3.10 & pypy3)
- sed -i -e 's:test_syntax_error(:_&:' \
- testtools/tests/test_testresult.py || die
-
- distutils-r1_src_prepare
-}
-
python_test() {
"${PYTHON}" -m testtools.run testtools.tests.test_suite ||
die "tests failed under ${EPYTHON}"