[Python-modules-commits] r9811 - in packages/pyscard/trunk/debian (4 files)

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Sep 20 13:10:38 UTC 2009


    Date: Sunday, September 20, 2009 @ 13:10:37
  Author: rousseau
Revision: 9811

debian/rules: use dh
should fix python2.6 problem
http://lists.debian.org/debian-python/2009/09/msg00122.html

Modified:
  packages/pyscard/trunk/debian/changelog
  packages/pyscard/trunk/debian/control
  packages/pyscard/trunk/debian/rules
Deleted:
  packages/pyscard/trunk/debian/patches/

Modified: packages/pyscard/trunk/debian/changelog
===================================================================
--- packages/pyscard/trunk/debian/changelog	2009-09-19 07:44:17 UTC (rev 9810)
+++ packages/pyscard/trunk/debian/changelog	2009-09-20 13:10:37 UTC (rev 9811)
@@ -1,3 +1,11 @@
+pyscard (1.6.8-2) unstable; urgency=low
+
+  * debian/rules: use dh
+    should fix python2.6 problem
+    http://lists.debian.org/debian-python/2009/09/msg00122.html
+
+ -- Ludovic Rousseau <rousseau at debian.org>  Sun, 20 Sep 2009 14:55:10 +0200
+
 pyscard (1.6.8-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/pyscard/trunk/debian/control
===================================================================
--- packages/pyscard/trunk/debian/control	2009-09-19 07:44:17 UTC (rev 9810)
+++ packages/pyscard/trunk/debian/control	2009-09-20 13:10:37 UTC (rev 9811)
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Ludovic Rousseau <rousseau at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), libpcsclite-dev, swig
+Build-Depends: debhelper (>= 7.0.0~), python-support (>= 0.5.3), python-all-dev (>= 2.3.5-11), libpcsclite-dev, swig
 Standards-Version: 3.8.2
 Section: python
 XS-Python-Version: all

Modified: packages/pyscard/trunk/debian/rules
===================================================================
--- packages/pyscard/trunk/debian/rules	2009-09-19 07:44:17 UTC (rev 9810)
+++ packages/pyscard/trunk/debian/rules	2009-09-20 13:10:37 UTC (rev 9811)
@@ -1,102 +1,4 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-PYDEF=$(shell pyversions -d)
-PYVERS=$(shell pyversions -r)
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
-build: build-stamp
-build-stamp: configure-stamp 
-	dh_testdir
-
-	# Add here commands to compile the package.
-	set -e; \
-	for python in $(PYVERS); do \
-		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
-		$$python setup.py build_ext; \
-	done
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# Add here commands to clean up after the build process.
-	for python in $(PYVERS); do \
-		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
-		$$python setup.py clean; \
-	done
-	rm -rf .pc
-	rm -rf build
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp
-	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-	#python setup.py install --root=debian/python-pyscard
-	set -e; \
-	for python in $(PYVERS); do \
-		python=$$(echo $$python | sed "s/$(PYDEF)/python/"); \
-		$$python setup.py install --root=debian/python-pyscard; \
-	done
-	-rm debian/python-pyscard/usr/lib/python*/site-packages/smartcard/LICENSE
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	-find debian/python-pyscard -name .svn -exec rm -rf {} \;
-#	dh_install
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_pysupport
-#	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@




More information about the Python-modules-commits mailing list