[Python-modules-commits] r7442 - in packages/python-git (trunk trunk/debian/rules)

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Thu Feb 5 17:22:21 UTC 2009


    Date: Thursday, February 5, 2009 @ 17:22:21
  Author: odd_bloke-guest
Revision: 7442

Vastly reduced debian/rules.

Modified:
  packages/python-git/trunk/	(properties)
  packages/python-git/trunk/debian/rules


Property changes on: packages/python-git/trunk
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2009-01-07 13:56:03.443000078 +0000
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
properties: 
	branch-nick: python-git

   + timestamp: 2009-01-07 14:02:55.542000055 +0000
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
properties: 
	branch-nick: python-git

Name: bzr:file-ids
   - debian/changelog	changelog-20080820164021-xn0bv3wjknkpmv45-2
debian/rules	rules-20080820164021-xn0bv3wjknkpmv45-9

   + debian/rules	rules-20080820164021-xn0bv3wjknkpmv45-9

Name: bzr:revision-id:v3-trunk2
   - 4 daniel at daniel-watkins.co.uk-20090107135151-6ex2wk3shqt4yxct
5 daniel at daniel-watkins.co.uk-20090107135603-ys2jdjunfnn7wgbb

   + 4 daniel at daniel-watkins.co.uk-20090107135151-6ex2wk3shqt4yxct
5 daniel at daniel-watkins.co.uk-20090107135603-ys2jdjunfnn7wgbb
6 daniel at daniel-watkins.co.uk-20090107140255-352dgvh2nyq0z09q

Name: bzr:text-parents
   - debian/rules	svn-v3-trunk2:771dd761-d7fa-0310-a302-f036d1c1ebb6:packages%2Fpython-git%2Ftrunk:6259

   + 

Modified: packages/python-git/trunk/debian/rules
===================================================================
--- packages/python-git/trunk/debian/rules	2009-02-05 17:22:19 UTC (rev 7441)
+++ packages/python-git/trunk/debian/rules	2009-02-05 17:22:21 UTC (rev 7442)
@@ -1,43 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-build:
+%:
+	dh $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	python setup.py clean
-	rm -f build-stamp
-	rm -f lib/git/*.pyc
-	rm -rf dist/ build/
 	rm -f lib/GitPython.egg-info/SOURCES.txt
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	python setup.py install --no-compile --root=debian/python-git \
-		--single-version-externally-managed
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_compress -X.txt -X.py
-	dh_fixperms
-	dh_pysupport
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+	dh clean




More information about the Python-modules-commits mailing list