[tryton-debian-vcs] pywebdav branch debian updated. debian/0.9.8-6-2-gfd9ffa4
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Nov 28 18:41:33 UTC 2013
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/pywebdav.git;a=commitdiff;h=debian/0.9.8-6-2-gfd9ffa4
commit fd9ffa43ec3462a225d2803c317644564adfeee8
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 7cea600..65cd642 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ 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
Standards-Version: 3.9.5
Homepage: http://code.google.com/p/pywebdav/
Vcs-Browser: http://debian.tryton.org/gitweb/?p=packages/pywebdav.git
diff --git a/debian/rules b/debian/rules
index 63f539a..b45ffed 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/python-webdav
-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
--
pywebdav
More information about the tryton-debian-vcs
mailing list