[med-svn] [python-pbcore] 01/03: Use dh pybuild rather than the Makefile

Afif Elghraoui afif-guest at moszumanska.debian.org
Tue Jun 23 02:39:24 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pbcore.

commit ed58ac69de8598abb4b90720a34955390e469104
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Jun 21 13:24:42 2015 -0700

    Use dh pybuild rather than the Makefile
    
    The Makefile just calls python setup.py, a call
    that needed to be patched anyway.
---
 debian/patches/series      |  1 -
 debian/patches/setup.patch | 16 ----------------
 debian/rules               |  2 +-
 3 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index 2c62e7f..a80d71c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 remove-convenience-script.patch
-setup.patch
diff --git a/debian/patches/setup.patch b/debian/patches/setup.patch
deleted file mode 100644
index 91c8b46..0000000
--- a/debian/patches/setup.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Change destination directory for python install
-Author: Afif Elghraoui <afif at ghraoui.name>
-Last-Update: 2015-06-06
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- python-pbcore.orig/Makefile
-+++ python-pbcore/Makefile
-@@ -8,7 +8,7 @@
- 	python setup.py bdist --formats=egg
- 
- install:
--	python setup.py install
-+	python setup.py install --root=$(DESTDIR) --install-layout=deb
- 
- clean: doc-clean
- 	rm -rf build/;\
diff --git a/debian/rules b/debian/rules
index 0498871..823d09b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ include /usr/share/dpkg/default.mk
 ROOT=`pwd`/debian/$(DEB_SOURCE)
 
 %:
-	dh $@ --with python2
+	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbcore.git



More information about the debian-med-commit mailing list