[Python-modules-commits] r27271 - in packages/python-rply/trunk/debian (5 files)

mithrandi at users.alioth.debian.org mithrandi at users.alioth.debian.org
Sat Jan 18 00:41:55 UTC 2014


    Date: Saturday, January 18, 2014 @ 00:41:53
  Author: mithrandi
Revision: 27271

Patch setup.py to use distutils instead of setuptools (since setuptools is
not packaged for pypy in Debian yet).

Added:
  packages/python-rply/trunk/debian/patches/
  packages/python-rply/trunk/debian/patches/2001_dont_use_setuptools.patch
  packages/python-rply/trunk/debian/patches/README
  packages/python-rply/trunk/debian/patches/series
Modified:
  packages/python-rply/trunk/debian/changelog

Modified: packages/python-rply/trunk/debian/changelog
===================================================================
--- packages/python-rply/trunk/debian/changelog	2014-01-18 00:35:22 UTC (rev 27270)
+++ packages/python-rply/trunk/debian/changelog	2014-01-18 00:41:53 UTC (rev 27271)
@@ -4,6 +4,8 @@
     - Fixes insecure /tmp handling (Closes: #735263).
   * Add myself to Uploaders.
   * Add PGP signature checking to watch file.
+  * Patch setup.py to use distutils instead of setuptools (since setuptools is
+    not packaged for pypy in Debian yet).
 
  -- Tristan Seligmann <mithrandi at debian.org>  Sat, 18 Jan 2014 02:03:36 +0200
 

Added: packages/python-rply/trunk/debian/patches/2001_dont_use_setuptools.patch
===================================================================
--- packages/python-rply/trunk/debian/patches/2001_dont_use_setuptools.patch	                        (rev 0)
+++ packages/python-rply/trunk/debian/patches/2001_dont_use_setuptools.patch	2014-01-18 00:41:53 UTC (rev 27271)
@@ -0,0 +1,20 @@
+Description: Switch setup.py back to distutils
+ Upstream switched setup.py to use setuptools directly, rather than distutils.
+ However, this change is only necessary for building and publishing wheels,
+ which does not concern the Debian package, and setuptools is not currently
+ packaged for pypy, so this patch switches back to distutils.
+ .
+ Can be removed once setuptools is packaged for pypy in Debian (see #735855).
+Author: Tristan Seligmann <mithrandi at debian.org>
+Forwarded: no
+Last-Update: 2014-01-18
+Index: python-rply-0.7.1/setup.py
+===================================================================
+--- python-rply-0.7.1.orig/setup.py	2014-01-18 01:19:19.000000000 +0200
++++ python-rply-0.7.1/setup.py	2014-01-18 02:38:39.789465893 +0200
+@@ -1,4 +1,4 @@
+-from setuptools import setup
++from distutils.core import setup
+ 
+ 
+ with open("README.rst") as f:

Added: packages/python-rply/trunk/debian/patches/README
===================================================================
--- packages/python-rply/trunk/debian/patches/README	                        (rev 0)
+++ packages/python-rply/trunk/debian/patches/README	2014-01-18 00:41:53 UTC (rev 27271)
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.

Added: packages/python-rply/trunk/debian/patches/series
===================================================================
--- packages/python-rply/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-rply/trunk/debian/patches/series	2014-01-18 00:41:53 UTC (rev 27271)
@@ -0,0 +1 @@
+2001_dont_use_setuptools.patch




More information about the Python-modules-commits mailing list