dev-python/tblib: Bump to 3.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-01 09:14:58 +02:00
parent 5c9177bc9f
commit 464490c290
2 changed files with 44 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}