[tryton-debian-vcs] hgnested branch debian updated. debian/0.6-3-2-g776a32a
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Nov 28 18:41:32 UTC 2013
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/hgnested.git;a=commitdiff;h=debian/0.6-3-2-g776a32a
commit 776a32a5ee441e22c3f21ec5f5bb6c6c142c5439
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 bb13079..c7d9a8a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: vcs
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
Standards-Version: 3.9.5
Homepage: http://code.google.com/p/hgnested/
Vcs-Browser: http://debian.tryton.org/gitweb/?p=packages/hgnested.git
diff --git a/debian/rules b/debian/rules
index 63f539a..bd44693 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,12 @@
#!/usr/bin/make -f
-PACKAGE_NAME := $(shell python setup.py --name)
+# needed for pbuilder
+export LC_ALL=C.UTF-8
-%:
- dh ${@} --with python2
-
-override_dh_auto_clean:
- dh_auto_clean
+export PYBUILD_DESTDIR_python2=debian/mercurial-nested
-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
--
hgnested
More information about the tryton-debian-vcs
mailing list