[Python-modules-commits] r4809 - in packages/mpmath/trunk/debian (6 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Thu Mar 13 06:35:28 UTC 2008


    Date: Thursday, March 13, 2008 @ 06:35:26
  Author: morph-guest
Revision: 4809

upgrade to 0.7

Added:
  packages/mpmath/trunk/debian/patches/
  packages/mpmath/trunk/debian/patches/00list
  packages/mpmath/trunk/debian/patches/10_setup.py.dpatch
Modified:
  packages/mpmath/trunk/debian/changelog
  packages/mpmath/trunk/debian/control
  packages/mpmath/trunk/debian/rules

Modified: packages/mpmath/trunk/debian/changelog
===================================================================
--- packages/mpmath/trunk/debian/changelog	2008-03-13 00:35:15 UTC (rev 4808)
+++ packages/mpmath/trunk/debian/changelog	2008-03-13 06:35:26 UTC (rev 4809)
@@ -7,6 +7,11 @@
     - updated to use debian/uscan-ziprepack.sh
   * debian/rules
     - added doc/* file installation
+    - added dpatch stuff
+  * debian/control
+    - added dpatch build-dep
+  * debian/patches/10_setup.py.dpatch
+    - added to remove demo directory installation
 
  -- Sandro Tosi <matrixhasu at gmail.com>  Wed, 16 Jan 2008 17:20:46 +0100
 

Modified: packages/mpmath/trunk/debian/control
===================================================================
--- packages/mpmath/trunk/debian/control	2008-03-13 00:35:15 UTC (rev 4808)
+++ packages/mpmath/trunk/debian/control	2008-03-13 06:35:26 UTC (rev 4809)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <matrixhasu at gmail.com>
-Build-Depends: debhelper (>= 5), python
+Build-Depends: debhelper (>= 5), python, dpatch
 Build-Depends-Indep: python-support (>= 0.4)
 Standards-Version: 3.7.3
 Homepage: http://code.google.com/p/mpmath/

Added: packages/mpmath/trunk/debian/patches/00list
===================================================================
--- packages/mpmath/trunk/debian/patches/00list	                        (rev 0)
+++ packages/mpmath/trunk/debian/patches/00list	2008-03-13 06:35:26 UTC (rev 4809)
@@ -0,0 +1 @@
+10_setup.py

Added: packages/mpmath/trunk/debian/patches/10_setup.py.dpatch
===================================================================
--- packages/mpmath/trunk/debian/patches/10_setup.py.dpatch	                        (rev 0)
+++ packages/mpmath/trunk/debian/patches/10_setup.py.dpatch	2008-03-13 06:35:26 UTC (rev 4809)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_setup.py.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## DP: Remove demo directory installation
+
+ at DPATCH@
+diff -urNad mpmath~/setup.py mpmath/setup.py
+--- mpmath~/setup.py	2008-03-12 17:53:02.000000000 +0100
++++ mpmath/setup.py	2008-03-13 07:20:47.544356169 +0100
+@@ -7,6 +7,6 @@
+       author='Fredrik Johansson',
+       author_email='fredrik.johansson at gmail.com',
+       license = 'BSD',
+-      packages=['mpmath', 'demo', 'mpmath/tests'],
++      packages=['mpmath', 'mpmath/tests'],
+       classifiers=['Topic :: Scientific/Engineering :: Mathematics']
+      )


Property changes on: packages/mpmath/trunk/debian/patches/10_setup.py.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/mpmath/trunk/debian/rules
===================================================================
--- packages/mpmath/trunk/debian/rules	2008-03-13 00:35:15 UTC (rev 4808)
+++ packages/mpmath/trunk/debian/rules	2008-03-13 06:35:26 UTC (rev 4809)
@@ -1,18 +1,21 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+include /usr/share/dpatch/dpatch.make
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
 build: build-stamp
-build-stamp:
+build-stamp: patch-stamp
 	dh_testdir
 
 	python setup.py build;
 	
 	touch $@
 
-clean:
+clean: clean-patched unpatch
+clean-patched:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp




More information about the Python-modules-commits mailing list