[Python-modules-commits] r33078 - in packages/wheel/trunk/debian (3 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Wed Jun 24 13:50:56 UTC 2015
Date: Wednesday, June 24, 2015 @ 13:50:55
Author: barry
Revision: 33078
d/patches/python35-support.patch: Fix a bug on Python 3.5.
Added:
packages/wheel/trunk/debian/patches/python35-support.patch
Modified:
packages/wheel/trunk/debian/changelog
packages/wheel/trunk/debian/patches/series
Modified: packages/wheel/trunk/debian/changelog
===================================================================
--- packages/wheel/trunk/debian/changelog 2015-06-24 12:53:28 UTC (rev 33077)
+++ packages/wheel/trunk/debian/changelog 2015-06-24 13:50:55 UTC (rev 33078)
@@ -1,3 +1,9 @@
+wheel (0.24.0-3) UNRELEASED; urgency=medium
+
+ * d/patches/python35-support.patch: Fix a bug on Python 3.5.
+
+ -- Barry Warsaw <barry at debian.org> Tue, 23 Jun 2015 18:09:03 -0400
+
wheel (0.24.0-2) unstable; urgency=medium
* d/control:
Added: packages/wheel/trunk/debian/patches/python35-support.patch
===================================================================
--- packages/wheel/trunk/debian/patches/python35-support.patch (rev 0)
+++ packages/wheel/trunk/debian/patches/python35-support.patch 2015-06-24 13:50:55 UTC (rev 33078)
@@ -0,0 +1,26 @@
+Description: Fixes for Python 3.5 compatibility.
+Origin: https://bitbucket.org/pypa/wheel/pull-request/53/use-split-instead-of-rsplit-to-create/diff
+Author: Barry Warsaw <barry at debian.org>
+
+--- a/wheel/bdist_wheel.py
++++ b/wheel/bdist_wheel.py
+@@ -148,7 +148,7 @@
+ # sys.pypy_version_info.minor)
+ abi_tag = sysconfig.get_config_vars().get('SOABI', 'none')
+ if abi_tag.startswith('cpython-'):
+- abi_tag = 'cp' + abi_tag.rsplit('-', 1)[-1]
++ abi_tag = 'cp' + abi_tag.split('-')[1]
+
+ tag = (impl_name + impl_ver, abi_tag, plat_name)
+ # XXX switch to this alternate implementation for non-pure:
+--- a/wheel/pep425tags.py
++++ b/wheel/pep425tags.py
+@@ -60,7 +60,7 @@
+
+ soabi = sysconfig.get_config_var('SOABI')
+ if soabi and soabi.startswith('cpython-'):
+- abis[0:0] = ['cp' + soabi.split('-', 1)[-1]]
++ abis[0:0] = ['cp' + soabi.split('-')[1]]
+
+ abi3s = set()
+ import imp
Modified: packages/wheel/trunk/debian/patches/series
===================================================================
--- packages/wheel/trunk/debian/patches/series 2015-06-24 12:53:28 UTC (rev 33077)
+++ packages/wheel/trunk/debian/patches/series 2015-06-24 13:50:55 UTC (rev 33078)
@@ -1 +1,2 @@
reproducible-whls.diff
+python35-support.patch
More information about the Python-modules-commits
mailing list