1 |
commit: 030fa3c044bb896abf87864720400688d3a24487 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 24 18:20:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 24 18:35:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030fa3c0 |
7 |
|
8 |
dev-python/watchgod: Fix version number in metadata |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../watchgod/{watchgod-0.8.2.ebuild => watchgod-0.8.2-r1.ebuild} | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/watchgod/watchgod-0.8.2.ebuild b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild |
16 |
similarity index 89% |
17 |
rename from dev-python/watchgod/watchgod-0.8.2.ebuild |
18 |
rename to dev-python/watchgod/watchgod-0.8.2-r1.ebuild |
19 |
index c855cb747b3a..a19fe1d0b4f5 100644 |
20 |
--- a/dev-python/watchgod/watchgod-0.8.2.ebuild |
21 |
+++ b/dev-python/watchgod/watchgod-0.8.2-r1.ebuild |
22 |
@@ -39,10 +39,12 @@ BDEPEND=" |
23 |
distutils_enable_tests pytest |
24 |
|
25 |
src_prepare() { |
26 |
- # increase timeout |
27 |
- sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die |
28 |
- |
29 |
distutils-r1_src_prepare |
30 |
+ |
31 |
+ # increase timeout |
32 |
+ sed -i -e '/sleep/s/0.01/1.0/' tests/test_watch.py || die |
33 |
+ # fix version number in metadata |
34 |
+ sed -i -e "s:0\.0\.dev0:${PV}:" watchgod/version.py || die |
35 |
} |
36 |
|
37 |
python_test() { |