mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/testfixtures: Bump to 12.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST testfixtures-11.0.0.tar.gz 152532 BLAKE2B 1fd28fe724366e6fee16b33eaf445dd22
|
||||
DIST testfixtures-11.0.0.tar.gz.provenance 9482 BLAKE2B 18c78ac06436207820c190be8d978eb0ca39e59a2ff990573755407de3541d2309546954b44551638ae69649f3844b4cde50d464df9b06014abf020e4fbc7aac SHA512 77cbdc7987351977432c81e1f9ea7b3b83a60d9f9936dbde025a22ca344d2eedd9a9329b1d0575dcfecf49d1712414d53e2f3aebab9cb85e615774ee24f963a9
|
||||
DIST testfixtures-12.0.0.tar.gz 177327 BLAKE2B d60c59aef027fd63d144ed9156ccd3a740c54e522955080c0f4549d5eff41d907aa3ebd14683a0204620afb3a516c401e730422f4703b060bd5711352c9af3d4 SHA512 07a35147b2feed74f0d0c64d755abf11d0b2fcadcc990939a5ccdf30530cd63f2fa0e265dc9836ddc2d7c85413a5f0dd9c67fd91f7444630db758b91327f0ebc
|
||||
DIST testfixtures-12.0.0.tar.gz.provenance 9763 BLAKE2B f5d5a5f0274f0052fa9903d2ea63b289cad8f2a8f44a69880f4ac99ac4ab02146a88dcea3bc5ff2bac7951fa48e138b375e6548198161d4fdc3ae09f2186defe SHA512 f5bc80317beca8c5d5275bde2519ed6088bfdb9f9d6484afefd434387e52701ae8a848029e20189b0b77a0f9cb809e542154c56368dfd1fe81fb7cc173b9822a
|
||||
DIST testfixtures-12.0.1.tar.gz 177474 BLAKE2B cb27b968a41b764823b0129c6649e97e1784ecce21ba7e70c8b588dab5d822cfc9e810c91135702e39f45c15cb187652d6640b1deac8d0c4a005c9ad8295f813 SHA512 bf33a03f6a7c9ff0c28b7dcc631510a8e85d937ab477ec15a5c4040eb6ddac14566340349fb0cc025af35e6983f26e36b0383ed684ab817282a1f133c8abc566
|
||||
DIST testfixtures-12.0.1.tar.gz.provenance 9776 BLAKE2B 9046c0b27e325408f40ea423afe4707f602b4e57f74a969744ac4b7dd77ca233f4fd444b4cc8f387e8e9480d87a70787ce17a8ef5bb064781bc87b7b7a7fa950 SHA512 77a053b56e72ea73f4a5f064d6356fc5ba7b35883b9f61b6a215ae7f3209de96054e9f701a34dd280fee116780b6faa2014b1066e8632057f63e661d81eea10d
|
||||
|
||||
52
dev-python/testfixtures/testfixtures-12.0.1.ebuild
Normal file
52
dev-python/testfixtures/testfixtures-12.0.1.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/simplistix/testfixtures
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
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=tests.test_django.settings
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing
|
||||
tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
|
||||
)
|
||||
local EPYTEST_IGNORE=()
|
||||
if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_IGNORE+=(
|
||||
tests/test_twisted.py
|
||||
)
|
||||
fi
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user