r2050 - in python-chameleon/trunk/debian (control rules)
kobold at users.alioth.debian.org
kobold at users.alioth.debian.org
Wed Jan 27 20:29:12 UTC 2010
Date: Wednesday, January 27, 2010 @ 20:29:11
Author: kobold
Revision: 2050
make debian/rules more robust
Modified:
python-chameleon/trunk/debian/control
python-chameleon/trunk/debian/rules
Modified: python-chameleon/trunk/debian/control
===================================================================
--- python-chameleon/trunk/debian/control 2010-01-27 20:28:54 UTC (rev 2049)
+++ python-chameleon/trunk/debian/control 2010-01-27 20:29:11 UTC (rev 2050)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
+Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
Standards-Version: 3.8.3
XS-Python-Version: all
XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/python-chameleon/trunk
Modified: python-chameleon/trunk/debian/rules
===================================================================
--- python-chameleon/trunk/debian/rules 2010-01-27 20:28:54 UTC (rev 2049)
+++ python-chameleon/trunk/debian/rules 2010-01-27 20:29:11 UTC (rev 2050)
@@ -5,10 +5,12 @@
export PYDEB_BIN_PACKAGE=python-chameleon
%:
- dh -v --with pydeb --with python-central $@
+ [ -f Makefile ] && mv Makefile Makefile.old || true
+ dh --with pydeb --with python-central $@
-override_dh_auto_build:
- python setup.py build
-
-override_dh_auto_install:
- python setup.py install --force --root=debian/python-chameleon --no-compile -O0
+override_dh_install:
+ dh_install
+ # Chameleon provides the chameleon namespace __init__.py
+ for py in $(shell pyversions -vr debian/control); do \
+ cp src/chameleon/__init__.py debian/python-chameleon/usr/lib/python$$py/*-packages/chameleon/; \
+ done
More information about the pkg-zope-developers
mailing list