1 |
commit: fe01686ae1dadd42efe8da952a1093ed4b005bc1 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 18 20:57:03 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 18 20:57:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe01686a |
7 |
|
8 |
dev-python/python-debian: fix debian.__version__ |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-debian/python-debian-0.1.42.ebuild | 7 +++++++ |
13 |
1 file changed, 7 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild b/dev-python/python-debian/python-debian-0.1.42.ebuild |
16 |
index c237932970e..0064ad2018f 100644 |
17 |
--- a/dev-python/python-debian/python-debian-0.1.42.ebuild |
18 |
+++ b/dev-python/python-debian/python-debian-0.1.42.ebuild |
19 |
@@ -24,7 +24,14 @@ BDEPEND=" |
20 |
|
21 |
distutils_enable_tests unittest |
22 |
|
23 |
+python_prepare_all() { |
24 |
+ # See debian/rules. |
25 |
+ sed -e "s/__CHANGELOG_VERSION__/${PV}/" lib/debian/_version.py.in > lib/debian/_version.py || die |
26 |
+ distutils-r1_python_prepare_all |
27 |
+} |
28 |
+ |
29 |
python_compile_all() { |
30 |
+ # See debian/rules. |
31 |
${EPYTHON} lib/debian/doc-debtags > README.debtags || die |
32 |
} |