[Python-modules-commits] [faulthandler] 04/10: d/rules: Migrated to pybuild

Ondřej Nový onovy-guest at moszumanska.debian.org
Wed Jun 15 11:15:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy-guest pushed a commit to branch master
in repository faulthandler.

commit 4d34c5c87360367c473fc04113db264a90babf20
Author: Ondřej Nový <novy at ondrej.org>
Date:   Wed Jun 15 13:04:00 2016 +0200

    d/rules: Migrated to pybuild
---
 debian/README.source |  1 -
 debian/changelog     |  1 +
 debian/control       |  2 --
 debian/rules         | 66 ++--------------------------------------------------
 4 files changed, 3 insertions(+), 67 deletions(-)

diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index cf42723..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1 +0,0 @@
-See /usr/share/doc/quilt/README.source
diff --git a/debian/changelog b/debian/changelog
index cd56d9d..e9a7dc6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ faulthandler (2.4-1) UNRELEASED; urgency=medium
     - Changed Upstream-Name email
   * Bumped debhelper version to 9
   * wrap-and-sort -t -a
+  * d/rules: Migrated to pybuild
 
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:29:56 +0200
 
diff --git a/debian/control b/debian/control
index ee73503..ba1eced 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,9 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>,
 Build-Depends: debhelper (>= 9),
-               dh-buildinfo,
                dh-python,
                python-all-dev,
                python-setuptools,
-               quilt,
 Standards-Version: 3.9.2
 Homepage: https://github.com/haypo/faulthandler/wiki/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/faulthandler.git
diff --git a/debian/rules b/debian/rules
index ac573af..ecd2737 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,66 +1,4 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
-
-PYVERS=$(shell pyversions -vs)
-
-config: config-stamp
-config-stamp: 
-	dh_testdir
-	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make patch
-	touch $@
-
-build-arch: $(PYVERS:%=build-python%)
-
-build-indep:
-
-build: build-arch build-indep
-
-build-python%: config-stamp
-	dh_testdir
-	python$* setup.py build
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f config-stamp build-python?.* install-python?.*
-	rm -f `find . -name "*.pyc"`
-	rm -rf build
-	[ ! -d debian/patches ] || $(MAKE) -f /usr/share/quilt/quilt.make unpatch
-	dh_clean
-
-install: build $(PYVERS:%=install-python%)
-
-install-python%:
-	dh_testdir
-	dh_testroot
-	python$* setup.py install \
-		--no-compile \
-		--root=$(CURDIR)/debian/python-faulthandler
-	touch $@
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs -a
-	dh_installdocs -a
-	dh_installexamples -a
-	dh_install -a
-	dh_installman -a
-	dh_link -a
-	dh_python2 -a
-	dh_strip -a
-	dh_compress -a
-	dh_fixperms -a
-	[ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: config build build-arch build-indep clean binary-indep binary-arch binary install
+%:
+	dh $@ --with python2 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/faulthandler.git



More information about the Python-modules-commits mailing list