pyicu (1.4-1) debian-dir only changes

Summary

 debian/README.source                           |    6 
 debian/changelog                               |  161 +++++++++++++++++++++++++
 debian/compat                                  |    1 
 debian/control                                 |   33 +++++
 debian/copyright                               |   39 ++++++
 debian/docs                                    |    2 
 debian/patches/00dpatch.conf                   |    2 
 debian/patches/00list                          |    2 
 debian/patches/no-setuptools-please.dpatch     |   21 +++
 debian/patches/platform-definitions-fix.dpatch |   18 ++
 debian/rules                                   |   97 +++++++++++++++
 debian/source/format                           |    1 
 debian/watch                                   |    3 
 13 files changed, 386 insertions(+)

    
download this patch

Patch contents

--- pyicu-1.4.orig/debian/changelog
+++ pyicu-1.4/debian/changelog
@@ -0,0 +1,161 @@
+pyicu (1.4-1) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * Update platform-definitions-fix.dpatch to treat Hurd like other GNU
+    platforms.
+
+  [ Bernd Zeimetz ]
+  * New upstream version.
+  * Dropping ICUtzinfo-not-heap-type.dpatch, applied upstream. 
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 10 May 2012 22:59:17 +0200
+
+pyicu (1.3-1) unstable; urgency=low
+
+  * Team upload.
+
+  [ Bernd Zeimetz ]
+  * Migrate to dh_python2 (closes: #635633).
+
+  [ Jakub Wilk ]
+  * New upstream version.
+    + Fix compatiblity with ICU 4.8 (closes: #628584).
+    + Rewrite platform-definitions-fix.dpatch from scratch.
+    + Revert upstream change to make ICUtzinfo a heap type.
+  * Bump standards version to 3.9.2 (no changes needed).
+  * Don't override shared library dependency information for libpython2.X; the
+    exension modules aren't linked to it anyway.
+
+ -- Jakub Wilk <jwilk@debian.org>  Sun, 13 Nov 2011 12:07:46 +0100
+
+pyicu (1.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Install CHANGES as changelog, not CREDITS. Closes: #589070 - thanks to
+    Jakub Wilk
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 14 Feb 2011 13:15:13 +0100
+
+pyicu (1.0-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 11 Jul 2010 00:00:06 +0200
+
+pyicu (0.9-3) unstable; urgency=low
+
+  * Stop setup.py from isntalling files into /usr/local.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Tue, 22 Jun 2010 20:59:32 +0200
+
+pyicu (0.9-2) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * debian/rules:
+    - Temporary build directory name has changed in Python 2.6. Adjust
+      PYTHONPATH for running tests accordingly.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 25 Jan 2010 23:38:01 +0100
+
+pyicu (0.9-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Mon, 18 Jan 2010 22:23:18 +0100
+
+pyicu (0.8.1-4) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * debian/control:
+    - Bump standards version to 3.8.3.
+    - Put the *-dbg package into section debug.
+    - Install upstream changelog.
+  * debian/rules:
+    - Don't rely on particular names for build/ subdirectories. 
+      Thanks to Cyril Brulebois for the patch.
+  * debian/patches/platform-definitions-fix.dpatch:
+    - Handle kFreeBSD platform (Closes: #540128). Thanks to Cyril Brulebois
+      for new the patch.
+  * debian/copyright:
+    - Replace (C) with ©.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Sun, 10 Jan 2010 11:34:57 +0100
+
+pyicu (0.8.1-3) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - uniforming Vcs-Browser field
+
+  [ 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.
+    - s/python/Python/ in the long desc. of the dbg package.
+  * debian/README.source: Adding file.  
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 12 Mar 2009 17:46:19 +0100
+
+pyicu (0.8.1-2) unstable; urgency=low
+
+  * Removing bogus changelog entry - 0.8-4 was never released.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 12 Dec 2007 09:56:32 +0100
+
+pyicu (0.8.1-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/patches:
+    - Removing 64bit-crash-fix.dpatch as it is included in the new version.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 12 Dec 2007 09:47:58 +0100
+
+pyicu (0.8-3) unstable; urgency=low
+
+  * debian/patches:
+    - Updating 64bit-crash-fix.dpatch as upstream found another part of code
+      which could result into segfaults on 64bit architectures.
+  * debian/control:
+    - Updating Standards-Version to 3.7.3.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 06 Dec 2007 22:45:38 +0100
+
+pyicu (0.8-2) unstable; urgency=low
+
+  * debian/patches: 
+    - Adding 64bit-crash-fix.dpatch to fix random crashes on 64bit
+      architectures.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Thu, 06 Dec 2007 00:51:29 +0100
+
+pyicu (0.8-1) unstable; urgency=low
+
+  * New upstream version, supporting libicu 3.8.
+  * debian/watch:
+    - Updating file to point to Pypi.
+  * debian/control:
+    - Updating Build-Depends to the new -dev package name of libicu 3.8 -
+      libicu-dev.
+    - Updating my email address.
+  * debian/patches:
+    - Removing 64bit-fix.dpatch, setup.py.dpatch - patches integrated
+      upstream.
+    - Adding no-setuptools-please.dpatch.
+
+ -- Bernd Zeimetz <bzed@debian.org>  Wed, 05 Dec 2007 14:26:40 +0100
+
+pyicu (0.6-2) unstable; urgency=low
+
+  * debian/rules:
+    - Really removing .egg-info and PyICU.py from the -dbg package now.
+
+ -- Bernd Zeimetz <bernd@bzed.de>  Mon, 19 Nov 2007 00:39:12 +0100
+
+pyicu (0.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #449035)
+
+ -- Bernd Zeimetz <bernd@bzed.de>  Sun, 18 Nov 2007 22:55:36 +0100
--- pyicu-1.4.orig/debian/rules
+++ pyicu-1.4/debian/rules
@@ -0,0 +1,97 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PKGNAME:=python-pyicu
+PYVERS:=$(shell pyversions -vr)
+
+-include /usr/share/python/python.mk
+ifeq (,$(py_sitename))
+  py_sitename = site-packages
+  py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
+  py_sitename_sh = $(py_sitename)
+  py_libdir_sh = $(py_libdir)
+endif
+
+
+include /usr/share/dpatch/dpatch.make
+
+build: patch build-stamp
+build-stamp:
+	dh_testdir
+
+	set -e; \
+	for py in $(PYVERS); do  \
+	    python$$py setup.py build; \
+	    python$$py-dbg setup.py build; \
+	done
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	set -ex ;\
+	for test in `ls test/*.py`; do \
+	  for py in $(PYVERS); do  \
+	    PYTHONPATH=`ls -d $(CURDIR)/build/lib.*-$$py` \
+	      python$$py $$test ;\
+	    PYTHONPATH=`ls -d $(CURDIR)/build/lib_d.*-$$py || ls -d $(CURDIR)/build/lib.*-$$py-pydebug` \
+	      python$$py-dbg $$test ;\
+	  done ;\
+	done
+endif
+
+	touch $@
+
+clean: clean-patched unpatch
+clean-patched: patch-stamp
+	dh_testdir
+	dh_testroot
+	rm -f install-stamp build-stamp
+	-for py in $(PYVERS); do  \
+	    python$$py setup.py clean; \
+	done
+	find . -name "*.pyc" -print0 | xargs -0 rm -f
+	rm -rf build
+	dh_clean 
+
+install: install-stamp
+install-stamp: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	set -e; \
+	for py in $(PYVERS); do  \
+	    python$$py setup.py install --root=$(CURDIR)/debian/$(PKGNAME) --prefix=/usr $(py_setup_install_args) ;\
+	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/$(PKGNAME)-dbg --prefix=/usr $(py_setup_install_args) ;\
+	done
+	find $(CURDIR)/debian/$(PKGNAME)-dbg -name "*.pyc" -print0 | xargs -0 rm -f
+	find $(CURDIR)/debian/$(PKGNAME)-dbg -name "*.py" -print0 | xargs -0 rm -f
+	find $(CURDIR)/debian/$(PKGNAME)-dbg -name "*.egg-info" -print0 | xargs -0 rm -f
+
+	dh_installdocs
+	dh_installexamples
+	touch install-stamp
+
+binary-indep: build install
+# We have nothing to do by default.
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_compress -X.py
+	dh_strip -p$(PKGNAME) --dbg-package=$(PKGNAME)-dbg
+	dh_fixperms
+	dh_python2
+	rm -rf debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
+	ln -s $(PKGNAME) debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install \
+        clean-patched patch unpatch
+
--- pyicu-1.4.orig/debian/control
+++ pyicu-1.4/debian/control
@@ -0,0 +1,33 @@
+Source: pyicu
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Bernd Zeimetz <bzed@debian.org>
+Build-Depends: dpatch, debhelper (>= 5.0.37.3), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), libicu-dev
+Build-Conflicts: python-pyicu
+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.9.2
+
+Package: python-pyicu
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: Python extension wrapping the ICU C++ API
+ ICU is a C++ and C library that provides robust and full-featured
+ Unicode and locale support. This package provides an extension for
+ Python which wraps the ICU C++ API.
+
+Package: python-pyicu-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pyicu (= ${binary:Version}), python-dbg (>= 2.5) | python2.5-dbg
+Provides: ${python:Provides}
+Description: Python extension wrapping the ICU C++ API (debug extension)
+ ICU is a C++ and C library that provides robust and full-featured
+ Unicode and locale support. This package provides an extension for
+ Python which wraps the ICU C++ API.
+ .
+ This package contains the extension built for the Python debug interpreter.
--- pyicu-1.4.orig/debian/docs
+++ pyicu-1.4/debian/docs
@@ -0,0 +1,2 @@
+README
+CREDITS
--- pyicu-1.4.orig/debian/copyright
+++ pyicu-1.4/debian/copyright
@@ -0,0 +1,39 @@
+This package was debianized by Bernd Zeimetz <bernd@bzed.de> on
+Fri, 02 Nov 2007 15:40:58 +0100.
+
+It was downloaded from http://downloads.osafoundation.org/PyICU/src/
+
+Upstream Authors: 
+
+    Open Source Applications Foundation
+        http://www.osafoundation.org/contact.html
+        info@osafoundation.org
+
+Copyright: 
+
+    Copyright © 2004-2007 Open Source Applications Foundation.
+
+License:
+
+    Permission is hereby granted, free of charge, to any person obtaining a
+    copy of this software and associated documentation files (the "Software"),
+    to deal in the Software without restriction, including without limitation
+    the rights to use, copy, modify, merge, publish, distribute, sublicense,
+    and/or sell copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following conditions: 
+ 
+    The above copyright notice and this permission notice shall be included
+    in all copies or substantial portions of the Software. 
+ 
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+    
+
+The Debian packaging is © 2007, Bernd Zeimetz <bernd@bzed.de> and
+is licensed under the MIT License, see above.
+
--- pyicu-1.4.orig/debian/watch
+++ pyicu-1.4/debian/watch
@@ -0,0 +1,3 @@
+version = 3
+
+http://pypi.python.org/packages/source/P/PyICU/PyICU-(.*)\.tar\.gz
--- pyicu-1.4.orig/debian/README.source
+++ pyicu-1.4/debian/README.source
@@ -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
+
--- pyicu-1.4.orig/debian/compat
+++ pyicu-1.4/debian/compat
@@ -0,0 +1 @@
+5
--- pyicu-1.4.orig/debian/source/format
+++ pyicu-1.4/debian/source/format
@@ -0,0 +1 @@
+1.0
--- pyicu-1.4.orig/debian/patches/no-setuptools-please.dpatch
+++ pyicu-1.4/debian/patches/no-setuptools-please.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no-setuptools-please.dpatch by Bernd Zeimetz <bzed@debian.org>
+##
+## DP: As usual - do not build with setuptools.
+
+@DPATCH@
+diff -urNad pyicu~/setup.py pyicu/setup.py
+--- pyicu~/setup.py	2007-11-28 19:37:57.000000000 +0100
++++ pyicu/setup.py	2007-12-05 14:21:57.000000000 +0100
+@@ -1,10 +1,7 @@
+ 
+ import os, sys
+ 
+-try:
+-    from setuptools import setup, Extension
+-except ImportError:
+-    from distutils.core import setup, Extension
++from distutils.core import setup, Extension
+ 
+ 
+ VERSION = '0.8'
--- pyicu-1.4.orig/debian/patches/00list
+++ pyicu-1.4/debian/patches/00list
@@ -0,0 +1,2 @@
+no-setuptools-please
+platform-definitions-fix
--- pyicu-1.4.orig/debian/patches/00dpatch.conf
+++ pyicu-1.4/debian/patches/00dpatch.conf
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs
--- pyicu-1.4.orig/debian/patches/platform-definitions-fix.dpatch
+++ pyicu-1.4/debian/patches/platform-definitions-fix.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## platform-definitions-fix.dpatch by Jakub Wilk <jwilk@debian.org>
+##
+## DP: Fixing FTBFS due to new platform definitions. Setup.py doesn't need to
+## DP: take care of them in our case.
+
+@DPATCH@
+--- pyicu-0.8.1/setup.py
++++ pyicu-0.8.1+kbsd/setup.py
+@@ -42,7 +42,7 @@
+ }
+ 
+ platform = sys.platform
+-if platform.startswith('linux'):
++if platform.startswith('linux') or platform.startswith('gnu'):
+     platform = 'linux'
+ 
+ if 'PYICU_INCLUDES' in os.environ: