diff --git a/dev-python/tblib/Manifest b/dev-python/tblib/Manifest index ae7418165359b..b7fbd4b1a2d73 100644 --- a/dev-python/tblib/Manifest +++ b/dev-python/tblib/Manifest @@ -1 +1,2 @@ DIST tblib-3.0.0.tar.gz 30616 BLAKE2B 4e2ea0e0f09894f1a8dee4d0dbdc61c054964e4ec5a8a1fbb31f3793268ab8607b5b6e547f7771264c9863522b01cdd39ef6aa4a91d757f1c37f9fac37d6cbaf SHA512 9914709846a4a9b0d9fe0f58eb321085f69e11ce364930f67cc5fec008d6ca57963b17699b0a136e2de91ff01004275fc43a38f318b9faab7cb2fac861108297 +DIST tblib-3.1.0.tar.gz 30766 BLAKE2B aa28e1f4a851b8562d0545643afc7293e3c0cf173a4a0ca04927958b143ace94ad36f449401fd237797a7f978d10f3080f4419fdc89f0e07503f5dbe7ad1f05f SHA512 619e3a45322da4833e839e1af92231fee515f88fadf31f2544ba04d994f203778e4bb7c83abb937d89ff8fa1aa6949d3769cc7d828daf600833801f479bdfd33 diff --git a/dev-python/tblib/tblib-3.1.0.ebuild b/dev-python/tblib/tblib-3.1.0.ebuild new file mode 100644 index 0000000000000..1b66839fbc610 --- /dev/null +++ b/dev-python/tblib/tblib-3.1.0.ebuild @@ -0,0 +1,43 @@ +# 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_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Traceback fiddling library for Python" +HOMEPAGE=" + https://github.com/ionelmc/python-tblib/ + https://pypi.org/project/tblib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--benchmark-disable/d' pytest.ini || die +} + +python_test() { + local EPYTEST_IGNORE=( + tests/test_perf.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTHONNODEBUGRANGES=yes + epytest +}