summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-24 13:30:51 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-24 13:39:08 +0200
commit767cb735ea09265d18d486765a608f33e01f1cda (patch)
treea0c24e4f856a3490b4841e755b048f8da1bc75d8 /dev-python/dirty-equals
parentnet-libs/nghttp2: Stabilize 1.47.0 arm, #854057 (diff)
downloadgentoo-767cb735ea09265d18d486765a608f33e01f1cda.tar.gz
gentoo-767cb735ea09265d18d486765a608f33e01f1cda.tar.bz2
gentoo-767cb735ea09265d18d486765a608f33e01f1cda.zip
dev-python/dirty-equals: Fix version number in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/dirty-equals')
-rw-r--r--dev-python/dirty-equals/dirty-equals-0.4-r1.ebuild (renamed from dev-python/dirty-equals/dirty-equals-0.4.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/dirty-equals/dirty-equals-0.4.ebuild b/dev-python/dirty-equals/dirty-equals-0.4-r1.ebuild
index 59aabadc9e4a..a3764d74a643 100644
--- a/dev-python/dirty-equals/dirty-equals-0.4.ebuild
+++ b/dev-python/dirty-equals/dirty-equals-0.4-r1.ebuild
@@ -34,6 +34,11 @@ BDEPEND="
distutils_enable_tests pytest
+src_prepare() {
+ sed -i -e "/version/s:0:${PV}:" pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
python_test() {
local -x TZ=UTC
epytest