[pyevolve] 12/81: Fix FTBFS and build for all python versions
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository pyevolve.
commit ef1f5d331c413b8186cd30cfa6ea27b961c5c980
Author: Christian Kastner <debian at kvr.at>
Date: Thu Jun 24 14:59:38 2010 +0200
Fix FTBFS and build for all python versions
For one reason or another, the packages FTBFS now, although previously checked
with pbuilder. The cause was a script being installed in usr/local/bin instead
of usr/bin.
Not building for all python versions was indeed a real bug. Instead of doing
everything manually, overrides now call their original debhelper targets and
then perform additional operations.
---
debian/rules | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9f3a1e7..1c0a12e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,30 +7,29 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-PKG_ABSDIR = $(CURDIR)/debian/python-pyevolve
%:
dh $@
# Override needed for docs and egg-info
override_dh_auto_clean:
+ dh_auto_clean
rm -rf Pyevolve.egg-info
rm -rf docs/build
- rm -rf build
# Override needed for building documentation; jquery link
override_dh_auto_build:
- python setup.py build
+ dh_auto_build
cd docs && sh build_docs.sh
rm -f docs/build/_static/jquery.js
# Override needed for multiple binary package;
# script must be renamed, line endings converted to Unix
override_dh_auto_install:
- python setup.py install --root=${PKG_ABSDIR}
- tr -d '\r' < ${PKG_ABSDIR}/usr/bin/pyevolve_graph.py \
- > ${PKG_ABSDIR}/usr/bin/pyevolve-graph
- rm -f ${PKG_ABSDIR}/usr/bin/pyevolve_graph.py
+ dh_auto_install --destdir=debian/python-pyevolve
+ tr -d '\r' < debian/python-pyevolve/usr/bin/pyevolve_graph.py \
+ > debian/python-pyevolve/usr/bin/pyevolve-graph
+ rm -f debian/python-pyevolve/usr/bin/pyevolve_graph.py
# Don't compress sphinx's javascript files
override_dh_compress:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git
More information about the debian-science-commits
mailing list