[Python-modules-commits] r7856 - in packages/pyicu/trunk/debian (5 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Thu Mar 12 16:40:46 UTC 2009
Date: Thursday, March 12, 2009 @ 16:40:45
Author: bzed
Revision: 7856
* debian/patches/platform-definitions-fix.dpatch:
- Adding patch to handle the new way of platform definitions
on mips, sparc and other architectures, see #499132 for details
(Closes: #519099).
* debian/control:
- Bumping Standards-Version to 3.8.1.
* debian/README.source: Adding file.
Added:
packages/pyicu/trunk/debian/README.source
packages/pyicu/trunk/debian/patches/platform-definitions-fix.dpatch
Modified:
packages/pyicu/trunk/debian/changelog
packages/pyicu/trunk/debian/control
packages/pyicu/trunk/debian/patches/00list
Added: packages/pyicu/trunk/debian/README.source
===================================================================
--- packages/pyicu/trunk/debian/README.source (rev 0)
+++ packages/pyicu/trunk/debian/README.source 2009-03-12 16:40:45 UTC (rev 7856)
@@ -0,0 +1,6 @@
+This package is using dpatch patch system.
+
+For details about the handling of patches with dpatch to build this
+package, please install the package `dpatch' and read
+/usr/share/doc/dpatch/README.source.gz
+
Modified: packages/pyicu/trunk/debian/changelog
===================================================================
--- packages/pyicu/trunk/debian/changelog 2009-03-12 12:26:40 UTC (rev 7855)
+++ packages/pyicu/trunk/debian/changelog 2009-03-12 16:40:45 UTC (rev 7856)
@@ -1,12 +1,20 @@
pyicu (0.8.1-3) UNRELEASED; urgency=low
+ [ Sandro Tosi ]
* debian/control
- uniforming Vcs-Browser field
- * debian/control
- - switch Vcs-Browser field to viewsvn
- -- Sandro Tosi <matrixhasu at gmail.com> Thu, 03 Jan 2008 11:54:11 +0100
+ [ Bernd Zeimetz ]
+ * debian/patches/platform-definitions-fix.dpatch:
+ - Adding patch to handle the new way of platform definitions
+ on mips, sparc and other architectures, see #499132 for details
+ (Closes: #519099).
+ * debian/control:
+ - Bumping Standards-Version to 3.8.1.
+ * debian/README.source: Adding file.
+ -- Bernd Zeimetz <bzed at debian.org> Thu, 12 Mar 2009 17:41:06 +0100
+
pyicu (0.8.1-2) unstable; urgency=low
* Removing bogus changelog entry - 0.8-4 was never released.
Modified: packages/pyicu/trunk/debian/control
===================================================================
--- packages/pyicu/trunk/debian/control 2009-03-12 12:26:40 UTC (rev 7855)
+++ packages/pyicu/trunk/debian/control 2009-03-12 16:40:45 UTC (rev 7856)
@@ -8,7 +8,7 @@
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyicu/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyicu/trunk/
Homepage: http://pyicu.osafoundation.org/
-Standards-Version: 3.7.3
+Standards-Version: 3.8.1
Package: python-pyicu
Architecture: any
Modified: packages/pyicu/trunk/debian/patches/00list
===================================================================
--- packages/pyicu/trunk/debian/patches/00list 2009-03-12 12:26:40 UTC (rev 7855)
+++ packages/pyicu/trunk/debian/patches/00list 2009-03-12 16:40:45 UTC (rev 7856)
@@ -1 +1,2 @@
no-setuptools-please
+platform-definitions-fix
Added: packages/pyicu/trunk/debian/patches/platform-definitions-fix.dpatch
===================================================================
--- packages/pyicu/trunk/debian/patches/platform-definitions-fix.dpatch (rev 0)
+++ packages/pyicu/trunk/debian/patches/platform-definitions-fix.dpatch 2009-03-12 16:40:45 UTC (rev 7856)
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## platform-definitions-fix.dpatch by Bernd Zeimetz <bzed at debian.org>
+##
+## DP: Fixing FTBFS due to new platform definitions. Setup.py doesn't need to
+## DP: take care of them in our case.
+
+ at DPATCH@
+diff -urNad pyicu~/setup.py pyicu/setup.py
+--- pyicu~/setup.py 2009-03-12 17:15:41.000000000 +0100
++++ pyicu/setup.py 2009-03-12 17:17:29.000000000 +0100
+@@ -34,22 +34,22 @@
+ if 'PYICU_INCLUDES' in os.environ:
+ _includes = os.environ['PYICU_INCLUDES'].split(os.pathsep)
+ else:
+- _includes = INCLUDES[sys.platform]
++ _includes = INCLUDES[sys.platform.split('-')[0]]
+
+ if 'PYICU_CFLAGS' in os.environ:
+ _cflags = os.environ['PYICU_CFLAGS'].split(os.pathsep)
+ else:
+- _cflags = CFLAGS[sys.platform]
++ _cflags = CFLAGS[sys.platform.split('-')[0]]
+
+ if 'PYICU_LFLAGS' in os.environ:
+ _lflags = os.environ['PYICU_LFLAGS'].split(os.pathsep)
+ else:
+- _lflags = LFLAGS[sys.platform]
++ _lflags = LFLAGS[sys.platform.split('-')[0]]
+
+ if 'PYICU_LIBRARIES' in os.environ:
+ _libraries = os.environ['PYICU_LIBRARIES'].split(os.pathsep)
+ else:
+- _libraries = LIBRARIES[sys.platform]
++ _libraries = LIBRARIES[sys.platform.split('-')[0]]
+
+
+ setup(name="PyICU",
Property changes on: packages/pyicu/trunk/debian/patches/platform-definitions-fix.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Python-modules-commits
mailing list