dev-python/trio: Strip +dev from version in snapshot

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-08 07:07:22 +02:00
parent e6b100f6a6
commit c2f53fb930

View File

@@ -52,6 +52,12 @@ distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme \
dev-python/towncrier
src_prepare() {
# strip +dev from version, as it is breaking poorly written packages
sed -i -e 's:+dev::' trio/_version.py || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_IGNORE=(
# these tests require internet access