2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-15 00:10:55 +03:00

dev-python/testfixtures: Bump to 10.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-30 07:21:41 +01:00
parent b9579f6675
commit 7cf6abe228
2 changed files with 52 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST testfixtures-10.0.0.tar.gz 147464 BLAKE2B 9bd52f612441d4cb44ef35174155cfe10b02a7f243c418957969e1d65075af20e9fd4aba4aa92786924e0620c710cb51bb210382ca7c83e8c8e3bece924d8c51 SHA512 64585315fb9a05957f262f9da289256d3155d41ced026388f7d8efc0c42052bfb24dbb1573609d2909321d62e5fc833e2fce6623615661ed8689147746ef2d70
DIST testfixtures-9.1.0.tar.gz 88605 BLAKE2B 0ff23f49f24b5bf94cce28b828ffb0f6549f74a4a969c8c65a3abfde44c9903a1d9680b051438b1e3771332e6801f35f7d066de1b7ae8615372583a04a8663c3 SHA512 f1f16be2fb21475e4852f6a1e80eb53d3a702c4748f3bb5abb9dd955020ba0bc823ee910bfec87bd93a4aaa94bd20eff6f061af668219f916b8bb4771ec8f103
DIST testfixtures-9.2.0.tar.gz 90563 BLAKE2B 3debb106323ba167e818c3ca29028d0729d6be3a82b18120c79855a946ba0c1718c9161b67c735680aa9fd9288fda1b7b6b695bf04947dbcc552e4e69ab5bae8 SHA512 ba678629b3fc68b56b283ee9073f251179fe9d8f15ea75ccefce57389e14b33a9172a3a9a46f78e47fbc327bdf49d5d36850393298c6cc0602d7812e7b8715c9

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests"
HOMEPAGE="
https://pypi.org/project/testfixtures/
https://github.com/Simplistix/testfixtures/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
dev-python/django[${PYTHON_USEDEP}]
>=dev-python/sybil-6[${PYTHON_USEDEP}]
>=dev-python/twisted-18[${PYTHON_USEDEP}]
sys-libs/timezone-data
)
"
EPYTEST_PLUGINS=( pytest-django )
distutils_enable_tests pytest
python_test() {
local -x PYTHONPATH="."
local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings
local EPYTEST_DESELECT=(
# TODO
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
)
local EPYTEST_IGNORE=()
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=(
testfixtures/tests/test_twisted.py
)
fi
epytest
}