[Python-modules-commits] r13878 - in packages/sqlobject/trunk/debian (5 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Sat Jul 10 20:47:23 UTC 2010
Date: Saturday, July 10, 2010 @ 20:47:22
Author: bzed
Revision: 13878
Add a patch to get rid of useless setuptools requirements.
Added:
packages/sqlobject/trunk/debian/patches/
packages/sqlobject/trunk/debian/patches/get_rid_of_setuptools
packages/sqlobject/trunk/debian/patches/series
Modified:
packages/sqlobject/trunk/debian/changelog
packages/sqlobject/trunk/debian/control
Modified: packages/sqlobject/trunk/debian/changelog
===================================================================
--- packages/sqlobject/trunk/debian/changelog 2010-07-10 20:37:39 UTC (rev 13877)
+++ packages/sqlobject/trunk/debian/changelog 2010-07-10 20:47:22 UTC (rev 13878)
@@ -4,6 +4,7 @@
Otherwise egg-info won't be generated.
* Remove debian/install, not necessary anymore now.
* Require debhelper 7.3.5.
+ * Add a patch to get rid of useless setuptools requirements.
-- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Sat, 10 Jul 2010 22:37:07 +0200
Modified: packages/sqlobject/trunk/debian/control
===================================================================
--- packages/sqlobject/trunk/debian/control 2010-07-10 20:37:39 UTC (rev 13877)
+++ packages/sqlobject/trunk/debian/control 2010-07-10 20:47:22 UTC (rev 13878)
@@ -1,7 +1,7 @@
Source: sqlobject
Section: python
Priority: optional
-Build-Depends: debhelper (>= 7.3.5), python-all (>= 2.5.4)
+Build-Depends: debhelper (>= 7.3.5), python-all (>= 2.5.4), quilt
Build-Depends-Indep: python-support
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Carl Chenet <chaica at ohmytux.com>
Added: packages/sqlobject/trunk/debian/patches/get_rid_of_setuptools
===================================================================
--- packages/sqlobject/trunk/debian/patches/get_rid_of_setuptools (rev 0)
+++ packages/sqlobject/trunk/debian/patches/get_rid_of_setuptools 2010-07-10 20:47:22 UTC (rev 13878)
@@ -0,0 +1,18 @@
+--- a/setup.py
++++ b/setup.py
+@@ -1,13 +1,5 @@
+-# ez_setup doesn't work with Python 2.2, so we use distutils
+-# in that case:
+-try:
+- from ez_setup import use_setuptools
+- use_setuptools()
+- from setuptools import setup
+- is_setuptools = True
+-except ImportError:
+- from distutils.core import setup
+- is_setuptools = False
++from distutils.core import setup
++is_setuptools = False
+
+ subpackages = ['firebird', 'include', 'include.pydispatch', 'inheritance',
+ 'manager', 'maxdb', 'mysql', 'mssql', 'postgres', 'sqlite',
Added: packages/sqlobject/trunk/debian/patches/series
===================================================================
--- packages/sqlobject/trunk/debian/patches/series (rev 0)
+++ packages/sqlobject/trunk/debian/patches/series 2010-07-10 20:47:22 UTC (rev 13878)
@@ -0,0 +1 @@
+get_rid_of_setuptools
More information about the Python-modules-commits
mailing list