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() {