commit: fe01686ae1dadd42efe8da952a1093ed4b005bc1
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 18 20:57:03 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct 18 20:57:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe01686a
dev-python/python-debian: fix debian.__version__
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
dev-python/python-debian/python-debian-0.1.42.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/python-debian/python-debian-0.1.42.ebuild
b/dev-python/python-debian/python-debian-0.1.42.ebuild
index c237932970e..0064ad2018f 100644
--- a/dev-python/python-debian/python-debian-0.1.42.ebuild
+++ b/dev-python/python-debian/python-debian-0.1.42.ebuild
@@ -24,7 +24,14 @@ BDEPEND="
distutils_enable_tests unittest
+python_prepare_all() {
+ # See debian/rules.
+ sed -e "s/__CHANGELOG_VERSION__/${PV}/" lib/debian/_version.py.in >
lib/debian/_version.py || die
+ distutils-r1_python_prepare_all
+}
+
python_compile_all() {
+ # See debian/rules.
${EPYTHON} lib/debian/doc-debtags > README.debtags || die
}