[tryton-debian-vcs] vatnumber branch debian updated. debian/1.1-2-2-gdbd98d0

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Nov 28 18:41:36 UTC 2013


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/vatnumber.git;a=commitdiff;h=debian/1.1-2-2-gdbd98d0

commit dbd98d05cbd0f67cc4ab0a59e2fb3ada239e51c1
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Nov 28 19:40:31 2013 +0100

    Changing to buildsystem pybuild.

diff --git a/debian/control b/debian/control
index d3f9879..b01ad7e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,9 @@ Section: python
 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-setuptools
+Build-Depends:
+ debhelper (>= 9), python (>= 2.6.6-3~), python-setuptools, dh-python,
+ python-suds
 Standards-Version: 3.9.5
 Homepage: http://code.google.com/p/vatnumber/
 Vcs-Browser: http://debian.tryton.org/gitweb/?p=packages/vatnumber.git
diff --git a/debian/rules b/debian/rules
index 63f539a..61e3d73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,13 @@
 #!/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}
 
 %:
-	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
-- 
vatnumber



More information about the tryton-debian-vcs mailing list