[tryton-debian-vcs] relatorio branch debian updated. debian/0.6.0-1-2-gf64a5d6
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Nov 28 18:41:34 UTC 2013
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/relatorio.git;a=commitdiff;h=debian/0.6.0-1-2-gf64a5d6
commit f64a5d665771cc1c4a48e3acae32992e00a75e0b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Nov 28 19:40:30 2013 +0100
Changing to buildsystem pybuild.
diff --git a/debian/control b/debian/control
index 59b7021..45c2f66 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Priority: optional
Maintainer: Debian Tryton Maintainers <maintainers at debian.tryton.org>
Uploaders: Mathias Behrle <mathiasb at m9s.biz>
Build-Depends:
- debhelper (>= 9), python (>= 2.6.6-3~), python-genshi, python-setuptools
+ debhelper (>= 9), python (>= 2.6.6-3~), python-genshi, python-setuptools,
+ dh-python
Standards-Version: 3.9.5
Homepage: http://relatorio.openhex.org/
Vcs-Browser: http://debian.tryton.org/gitweb/?p=packages/relatorio.git
diff --git a/debian/rules b/debian/rules
index 63f539a..3842191 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,15 @@
#!/usr/bin/make -f
+# needed for pbuilder
+export LC_ALL=C.UTF-8
+
PACKAGE_NAME := $(shell python setup.py --name)
+export PYBUILD_NAME=${PACKAGE_NAME}
+# Don't run tests, they try to download dependencies from pypi
+export PYBUILD_DISABLE_python2.7=test
%:
- dh ${@} --with python2
-
-override_dh_auto_clean:
- dh_auto_clean
-
-override_dh_auto_build:
- mv $(PACKAGE_NAME).egg-info $(PACKAGE_NAME).hen-info
- mv PKG-INFO PKG-INFO.hen
- dh_auto_build
-
-override_dh_auto_install:
- dh_auto_install
- rm -rf *.egg-info
- mv $(PACKAGE_NAME).hen-info $(PACKAGE_NAME).egg-info
- mv PKG-INFO.hen PKG-INFO
+ dh ${@} --with python2 --buildsystem=pybuild
override_dh_builddeb:
dh_builddeb -- -Zxz -z9
--
relatorio
More information about the tryton-debian-vcs
mailing list