[Python-apps-commits] r10705 - in packages/s3ql/trunk/debian (3 files)
nikratio-guest at users.alioth.debian.org
nikratio-guest at users.alioth.debian.org
Thu Mar 27 02:32:43 UTC 2014
Date: Thursday, March 27, 2014 @ 02:32:42
Author: nikratio-guest
Revision: 10705
Do not crash when building with snapshot Cython versions
(Closes: #742760)
Added:
packages/s3ql/trunk/debian/patches/cython_version_check.diff
Modified:
packages/s3ql/trunk/debian/changelog
packages/s3ql/trunk/debian/patches/series
Modified: packages/s3ql/trunk/debian/changelog
===================================================================
--- packages/s3ql/trunk/debian/changelog 2014-03-27 02:27:16 UTC (rev 10704)
+++ packages/s3ql/trunk/debian/changelog 2014-03-27 02:32:42 UTC (rev 10705)
@@ -4,6 +4,8 @@
* Added upstream PGP key and configured watch file for automatic
verification.
* New upstream release.
+ * Do not crash when building with snapshot Cython versions
+ (Closes: #742760)
-- Nikolaus Rath <Nikolaus at rath.org> Fri, 14 Mar 2014 19:11:06 -0700
Added: packages/s3ql/trunk/debian/patches/cython_version_check.diff
===================================================================
--- packages/s3ql/trunk/debian/patches/cython_version_check.diff (rev 0)
+++ packages/s3ql/trunk/debian/patches/cython_version_check.diff 2014-03-27 02:32:42 UTC (rev 10705)
@@ -0,0 +1,24 @@
+Description: Remove Cython version check
+Origin: debian
+Forwarded: no
+Last-Update: <2014-03-26>
+Author: Nikolaus Rath <Nikolaus at rath.org>
+
+The Cython version check fails for snapshot Cython releases. Since
+the build-depends already ensure that the correct Cython version
+is available, we just remove the check in setup.py.
+
+--- a/setup.py
++++ b/setup.py
+@@ -204,11 +204,6 @@
+ except ImportError:
+ raise SystemExit('Cython needs to be installed for this command') from None
+
+- cython_ver = [ int(x) for x in Cython.__version__.split('.') ]
+- if cython_ver < [0, 17]:
+- raise SystemExit('Found Cython %s, but need 0.17 or newer'
+- % (Cython.__version__,))
+-
+ directives = dict(extra_warnings)
+ directives['embedsignature'] = True
+ directives['language_level'] = 3
Modified: packages/s3ql/trunk/debian/patches/series
===================================================================
--- packages/s3ql/trunk/debian/patches/series 2014-03-27 02:27:16 UTC (rev 10704)
+++ packages/s3ql/trunk/debian/patches/series 2014-03-27 02:32:42 UTC (rev 10705)
@@ -1,3 +1,5 @@
+cython_version_check.diff
proc_mount.diff
clock-granularity.diff
sphinx-1.1.1-compat.diff
+cython_version_check.diff
More information about the Python-apps-commits
mailing list