[Python-modules-commits] r27975 - in packages/python-weberror/trunk/debian (4 files)
noskcaj-guest at users.alioth.debian.org
noskcaj-guest at users.alioth.debian.org
Fri Feb 28 08:37:31 UTC 2014
Date: Friday, February 28, 2014 @ 08:37:30
Author: noskcaj-guest
Revision: 27975
* Bump debhelper version to 9
* debian/rules: Use dh
Modified:
packages/python-weberror/trunk/debian/changelog
packages/python-weberror/trunk/debian/compat
packages/python-weberror/trunk/debian/control
packages/python-weberror/trunk/debian/rules
Modified: packages/python-weberror/trunk/debian/changelog
===================================================================
--- packages/python-weberror/trunk/debian/changelog 2014-02-27 21:15:40 UTC (rev 27974)
+++ packages/python-weberror/trunk/debian/changelog 2014-02-28 08:37:30 UTC (rev 27975)
@@ -1,9 +1,14 @@
python-weberror (0.10.3-2) UNRELEASED; urgency=low
+ [ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
- -- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:03:40 +0200
+ [ Jackson Doak ]
+ * Bump debhelper version to 9
+ * debian/rules: Use dh
+ -- Jackson Doak <noskcaj at ubuntu.com> Fri, 28 Feb 2014 19:34:24 +1100
+
python-weberror (0.10.3-1) unstable; urgency=low
[ Andrey Rahmatullin ]
Modified: packages/python-weberror/trunk/debian/compat
===================================================================
--- packages/python-weberror/trunk/debian/compat 2014-02-27 21:15:40 UTC (rev 27974)
+++ packages/python-weberror/trunk/debian/compat 2014-02-28 08:37:30 UTC (rev 27975)
@@ -1 +1 @@
-5
+9
Modified: packages/python-weberror/trunk/debian/control
===================================================================
--- packages/python-weberror/trunk/debian/control 2014-02-27 21:15:40 UTC (rev 27974)
+++ packages/python-weberror/trunk/debian/control 2014-02-28 08:37:30 UTC (rev 27975)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Christoph Haas <haas at debian.org>, Piotr Ożarowski <piotr at debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 9)
Build-Depends-Indep: python (>= 2.3.3), python-setuptools (>= 0.6b3-1~),
python-paste (>= 1.7.1), python-webob, python-tempita,
python-pygments, python-nose, python-webtest
Modified: packages/python-weberror/trunk/debian/rules
===================================================================
--- packages/python-weberror/trunk/debian/rules 2014-02-27 21:15:40 UTC (rev 27974)
+++ packages/python-weberror/trunk/debian/rules 2014-02-28 08:37:30 UTC (rev 27975)
@@ -1,56 +1,27 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-package=python-weberror
-PYVERS=$(shell pyversions -vr)
-clean:
- dh_testdir
- dh_testroot
+override_dh_clean:
rm -rf build build-* tests/reporter_output/test_logger.log
find . -name *\.py[co] -exec rm -f {} \;
dh_clean install-stamp test-stamp install-python*
-build:
-build-indep:
-build-arch:
+# python$* setup.py install \
+# --install-layout=deb \
+# --single-version-externally-managed \
+# --root $(CURDIR)/debian/$(package)
-install: install-stamp
-install-stamp: $(PYVERS:%=install-python%)
- dh_install
- touch $@
-
-install-python%:
- python$* setup.py install \
- --install-layout=deb \
- --single-version-externally-managed \
- --root $(CURDIR)/debian/$(package)
- touch $@
-
-test: $(PYVERS:%=test-python%)
-
-test-python%:
- -
+override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- python$* setup.py nosetests --quiet
+ python setup.py nosetests
endif
-binary-indep: build install test
- dh_testdir
- dh_testroot
+override_dh_installchangelogs:
dh_installchangelogs CHANGELOG
- dh_installdocs
- dh_strip
- dh_compress -X.py
- dh_fixperms
- dh_python2
- find debian/$(package) -type f -perm 755 | xargs -r chmod 644
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-binary-arch:
+override_dh_auto_install:
+ find debian/*/ -type f -perm 755 | xargs -r chmod 644
+ dh_auto_install
-binary: binary-indep binary-arch
-.PHONY: build build-indep build-arch test clean binary-indep binary-arch binary install
-
+%:
+ dh $@ --with python2 --buildsystem=pybuild
\ No newline at end of file
More information about the Python-modules-commits
mailing list