mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-python/testtools: Bump to 2.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST testtools-2.7.2.tar.gz 201430 BLAKE2B d827d8e66c85908f4d16aa0762c3b0a454d374a0d23323fc3c123027f55f0e85f4fea9a24b5d1d0279266af2185f08abbcbbdcb785014b237df45a6448587611 SHA512 5815519d2b72d6b1e9f453c02793c70eb7d3b6580a211fb3708cd6121aed3c6100ceb1e35321f481a63b1f999ede030e43f1ae91d3621faf461c1908db767551
|
||||
DIST testtools-2.8.0.tar.gz 201854 BLAKE2B 1ab2643e5ec7c9b56c01227a6fd8d8626cb8b8440c3353cf1a04af91476b139b0cf50895bcca177e6798b167414833fd59a5cede4e89698ea1f6c563ecce7b22 SHA512 409f67de2e307eca3fe266822bd6fa0b98dcccc8dcfc26a9e696f345a8f3339b6b4463a738f28fe9505e11585722d8d1d7a3aa2319727679adb172e4d105938e
|
||||
|
||||
44
dev-python/testtools/testtools-2.8.0.ebuild
Normal file
44
dev-python/testtools/testtools-2.8.0.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Extensions to the Python standard library unit testing framework"
|
||||
HOMEPAGE="
|
||||
https://github.com/testing-cabal/testtools/
|
||||
https://pypi.org/project/testtools/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
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}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx doc
|
||||
|
||||
python_test() {
|
||||
cp testtools/tests/__init__.py test_suite.py || die
|
||||
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
|
||||
sed -i -e '/twistedsupport/d' test_suite.py || die
|
||||
fi
|
||||
|
||||
"${EPYTHON}" -m testtools.run test_suite.test_suite ||
|
||||
die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user