diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-26 16:40:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-26 16:40:49 +0100 |
commit | 5c50b9bc472e08cc3f0fc07f5237add7f7fe12a0 (patch) | |
tree | d0cb47f7350175745d446c8fe0697bfcba399c3b /dev-python/trio | |
parent | sci-mathematics/coq: drop old 8.11.2-r1 (diff) | |
download | gentoo-5c50b9bc472e08cc3f0fc07f5237add7f7fe12a0.tar.gz gentoo-5c50b9bc472e08cc3f0fc07f5237add7f7fe12a0.tar.bz2 gentoo-5c50b9bc472e08cc3f0fc07f5237add7f7fe12a0.zip |
dev-python/trio: Fix incorrect version in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/trio')
-rw-r--r-- | dev-python/trio/trio-0.22.0-r1.ebuild (renamed from dev-python/trio/trio-0.22.0.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/trio/trio-0.22.0.ebuild b/dev-python/trio/trio-0.22.0-r1.ebuild index 88fa5db8d5e3..08ba007b088a 100644 --- a/dev-python/trio/trio-0.22.0.ebuild +++ b/dev-python/trio/trio-0.22.0-r1.ebuild @@ -47,6 +47,13 @@ distutils_enable_sphinx docs/source \ dev-python/sphinx_rtd_theme \ dev-python/towncrier +src_prepare() { + # fix incorrect version + # https://github.com/python-trio/trio/issues/2485 + sed -i -e "s:0.21.0+dev:${PV}:" trio/_version.py || die + distutils-r1_src_prepare +} + python_test() { local EPYTEST_IGNORE=( # these tests require internet access |