[Pkg-ime-devel] Bug#743284: debdiff for NMU upload
Package: pycangjie
debdiff attached.
-------------- next part --------------
diff -Nru pycangjie-1.1/debian/changelog pycangjie-1.1/debian/changelog
--- pycangjie-1.1/debian/changelog 2014-02-15 11:09:32.000000000 +0100
+++ pycangjie-1.1/debian/changelog 2014-04-01 12:26:16.000000000 +0200
@@ -1,3 +1,12 @@
+pycangjie (1.1-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix cython version check. Closes: #743112, #742690.
+ * Drop build dependency on python3-all-dev, the package only builds
+ for the default python3 version. Closes: #734339.
+
+ -- Matthias Klose <doko at debian.org> Tue, 01 Apr 2014 11:13:50 +0100
+
pycangjie (1.1-1) unstable; urgency=low
* New upstream release.
diff -Nru pycangjie-1.1/debian/control pycangjie-1.1/debian/control
--- pycangjie-1.1/debian/control 2014-01-19 11:30:37.000000000 +0100
+++ pycangjie-1.1/debian/control 2014-04-01 12:25:08.000000000 +0200
@@ -5,7 +5,7 @@
Uploaders: Anthony Wong <anthony.wong at ubuntu.com>
Build-Depends: debhelper (>= 9),
autotools-dev,
- python3-all-dev (>=3.2),
+ python3-dev (>=3.2),
cython3,
pkg-config,
libcangjie2-dev,
diff -Nru pycangjie-1.1/debian/patches/cython-version-check.diff pycangjie-1.1/debian/patches/cython-version-check.diff
--- pycangjie-1.1/debian/patches/cython-version-check.diff 1970-01-01 01:00:00.000000000 +0100
+++ pycangjie-1.1/debian/patches/cython-version-check.diff 2014-04-01 12:19:32.000000000 +0200
@@ -0,0 +1,13 @@
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -36,7 +36,7 @@
+ # Check for Cython version
+ CYTHON_MIN_VERSION=0.14
+ AC_MSG_CHECKING(for cython version)
+-CYTHON_VERSION=`$CYTHON --version 2>&1 | cut -d" " -f3`
++CYTHON_VERSION=`$CYTHON --version 2>&1 | sed 's/.* \(@<:@0-9.@:>@*\).*/\1/'`
+ AC_MSG_RESULT($CYTHON_VERSION)
+ $PYTHON -c "from distutils.version import StrictVersion as ver; import sys; sys.exit(0 if ver(\"$CYTHON_VERSION\") >= ver(\"$CYTHON_MIN_VERSION\") else 1)"
+ AS_IF([test $? = 1], [AC_MSG_ERROR([Please use cython >= $CYTHON_MIN_VERSION])])
diff -Nru pycangjie-1.1/debian/patches/series pycangjie-1.1/debian/patches/series
--- pycangjie-1.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ pycangjie-1.1/debian/patches/series 2014-04-01 12:13:14.000000000 +0200
@@ -0,0 +1 @@
+cython-version-check.diff
Reply to: