[python-shapely] 10/148: dh 7.0 magic

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Aug 20 17:41:58 UTC 2015


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit fa32a58b5fc6ef95efb1a93ecdc2ba71c1b97873
Author: Pietro Battiston <toobaz at email.it>
Date:   Sat May 1 14:52:18 2010 +0200

    dh 7.0 magic
---
 debian/rules | 42 ++++++------------------------------------
 1 file changed, 6 insertions(+), 36 deletions(-)

diff --git a/debian/rules b/debian/rules
index c09202d..706b324 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,41 +1,11 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-PACKAGE_NAME=python-shapely
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-build-arch:
-build-indep:
-build: build-arch build-indep
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
 
-clean: 
-	dh_testdir
-	dh_testroot
-	find . -name '*\.pyc' -delete
-	rm -rf $(CURDIR)/build
-	dh_clean $(CURDIR)/Shapely.egg-info/SOURCES.txt
-
-install:
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-
-	python setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME)
-
-binary-arch:
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs CHANGES.txt
-	dh_installdocs
-	dh_installexamples
-	dh_pysupport
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean binary-indep binary-arch binary install build-arch build-indep build
+%:
+	dh  $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-shapely.git



More information about the Pkg-grass-devel mailing list