From 030fa3c044bb896abf87864720400688d3a24487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 24 Jun 2022 20:20:45 +0200 Subject: [PATCH] dev-python/watchgod: Fix version number in metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../{watchgod-0.8.2.ebuild => watchgod-0.8.2-r1.ebuild} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename dev-python/watchgod/{watchgod-0.8.2.ebuild => watchgod-0.8.2-r1.ebuild} (89%) diff --git a/dev-python/watchgod/watchgod-0.8.2.ebuild b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild similarity index 89% rename from dev-python/watchgod/watchgod-0.8.2.ebuild rename to dev-python/watchgod/watchgod-0.8.2-r1.ebuild index c855cb747b3ad..a19fe1d0b4f5f 100644 --- a/dev-python/watchgod/watchgod-0.8.2.ebuild +++ b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild @@ -39,10 +39,12 @@ BDEPEND=" distutils_enable_tests pytest src_prepare() { - # increase timeout - sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die - distutils-r1_src_prepare + + # increase timeout + sed -i -e '/sleep/s/0.01/1.0/' tests/test_watch.py || die + # fix version number in metadata + sed -i -e "s:0\.0\.dev0:${PV}:" watchgod/version.py || die } python_test() {