[SCM] python-libdiscid/master: Upstream patch to fix Cython 0.23 compat issue
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Wed Sep 23 17:26:20 UTC 2015
The following commit has been merged in the master branch:
commit 259b15afb0e6e6d40a33b7761d1c5dd1c243c318
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Wed Sep 23 19:21:43 2015 +0200
Upstream patch to fix Cython 0.23 compat issue
diff --git a/debian/patches/cython-0.23-compat.patch b/debian/patches/cython-0.23-compat.patch
new file mode 100644
index 0000000..f66e459
--- /dev/null
+++ b/debian/patches/cython-0.23-compat.patch
@@ -0,0 +1,21 @@
+Description: Fix issue with Cython 0.23
+Last-Update: 2015-09-23
+Origin: upstream,
+ https://github.com/sebastinas/python-libdiscid/commit/91955e9b197d3b8a0eec73a06b9f3f4287944bae
+
+diff --git a/libdiscid/cdiscid.pxd b/libdiscid/cdiscid.pxd
+index 3e01ca1..43d6031 100644
+--- a/libdiscid/cdiscid.pxd
++++ b/libdiscid/cdiscid.pxd
+@@ -39,7 +39,7 @@ cdef extern from "discid-wrapper.h":
+ int discid_get_track_offset(DiscId *d, int track_num)
+ int discid_get_track_length(DiscId *d, int track_num)
+
+- ctypedef enum discid_feature:
++ cdef enum discid_feature:
+ DISCID_FEATURE_READ
+ DISCID_FEATURE_MCN
+ DISCID_FEATURE_ISRC
+--
+2.5.3
+
diff --git a/debian/patches/series b/debian/patches/series
index c1830c8..880a963 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
sphinx-documentation.patch
tests-relative-imports.patch
+cython-0.23-compat.patch
diff --git a/debian/patches/tests-relative-imports.patch b/debian/patches/tests-relative-imports.patch
index 2b531eb..6589fc9 100644
--- a/debian/patches/tests-relative-imports.patch
+++ b/debian/patches/tests-relative-imports.patch
@@ -1,6 +1,6 @@
Description: Use relative imports to make test suite work with DEP-8 tests
Author: Sebastian Ramacher <sramacher at debian.org>
-Last-Update: 204-07-03
+Last-Update: 2014-07-03
--- python-libdiscid-0.4.1.orig/libdiscid/tests/test_compat_discid.py
+++ python-libdiscid-0.4.1/libdiscid/tests/test_compat_discid.py
--
python-libdiscid packaging
More information about the pkg-multimedia-commits
mailing list