From fe01686ae1dadd42efe8da952a1093ed4b005bc1 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 18 Oct 2021 16:57:03 -0400 Subject: dev-python/python-debian: fix debian.__version__ Signed-off-by: Mike Gilbert --- dev-python/python-debian/python-debian-0.1.42.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dev-python/python-debian/python-debian-0.1.42.ebuild') 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 c237932970eb..0064ad2018ff 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 } -- cgit v1.2.3