[Python-modules-commits] r2318 - in /packages/python-tclink/trunk/debian: changelog pyversions rules

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Thu May 10 11:12:44 UTC 2007


Author: bzed-guest
Date: Thu May 10 11:12:44 2007
New Revision: 2318

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2318
Log:
limiting to 2.4, cdbs in d/rules

Added:
    packages/python-tclink/trunk/debian/pyversions
Modified:
    packages/python-tclink/trunk/debian/changelog
    packages/python-tclink/trunk/debian/rules

Modified: packages/python-tclink/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-tclink/trunk/debian/changelog?rev=2318&op=diff
==============================================================================
--- packages/python-tclink/trunk/debian/changelog (original)
+++ packages/python-tclink/trunk/debian/changelog Thu May 10 11:12:44 2007
@@ -10,14 +10,17 @@
     - adding XS-Vcs-* fields
   * debian/pycompat:
     - removing file, not needed
+  * debian/pyversions:
+    - limiting to 2.4 for now, as the test/example fails for unknown
+      reasons in 2.5
   * debian/rules:
-    - removing unneccessary dh_ calls
+    - cleaning up by using cdbs
   * debian/watch:
     - adding file
   * removing source patches from Debian's diff.gz, they were not
     needed anyway
 
- -- Bernd Zeimetz <bernd at bzed.de>  Thu, 03 May 2007 21:15:43 +0200
+ -- Bernd Zeimetz <bernd at bzed.de>  Thu, 10 May 2007 13:02:28 +0200
 
 python-tclink (3.4.0-4) unstable; urgency=low
 

Added: packages/python-tclink/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/python-tclink/trunk/debian/pyversions?rev=2318&op=file
==============================================================================
--- packages/python-tclink/trunk/debian/pyversions (added)
+++ packages/python-tclink/trunk/debian/pyversions Thu May 10 11:12:44 2007
@@ -1,0 +1,1 @@
+2.4

Modified: packages/python-tclink/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-tclink/trunk/debian/rules?rev=2318&op=diff
==============================================================================
--- packages/python-tclink/trunk/debian/rules (original)
+++ packages/python-tclink/trunk/debian/rules Thu May 10 11:12:44 2007
@@ -1,65 +1,8 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
+DEB_PYTHON_SYSTEM=pysupport
+DEB_COMPRESS_EXCLUDE := .py
 
-# Determine all the versions of python for which tclink should be built
-pyvers := $(shell pyversions -r)
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Build for each version of python
-	set -e; \
-	for py in $(pyvers); do \
-		$$py setup.py build; \
-	done
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	rm -rf build
-	find -name '*.pyc' | xargs -r rm
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Install for each version of python
-	set -e; \
-	for py in $(pyvers); do \
-	    $$py setup.py install --root=debian/python-tclink; \
-	done
-
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_strip
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_pysupport
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list