summaryrefslogtreecommitdiff
path: root/dev-python/python-debian
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-debian')
-rw-r--r--dev-python/python-debian/python-debian-0.1.42.ebuild7
1 files changed, 7 insertions, 0 deletions
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
}