Ticket #11482: sqlobject-patch

File sqlobject-patch, 2.0 KB (added by giulio.eulisse@…, 18 years ago)

the patch file.

Line 
1diff -Naur --exclude work --exclude .svn ./Portfile /Users/eulisse/PRODREQUEST/MacPorts/py-sqlobject/Portfile
2--- ./Portfile  2007-03-02 06:32:11.000000000 +0100
3+++ /Users/eulisse/PRODREQUEST/MacPorts/py-sqlobject/Portfile   2007-03-05 14:34:25.000000000 +0100
4@@ -4,7 +4,7 @@
5 PortGroup python24 1.0
6 
7 name                   py-sqlobject
8-version                        0.7.0
9+version                        0.8.0
10 categories             python databases
11 platforms              darwin
12 maintainers            nomaintainer@macports.org
13@@ -28,7 +28,7 @@
14 homepage               http://www.sqlobject.org/
15 master_sites   http://cheeseshop.python.org/packages/source/S/SQLObject/
16 distname               SQLObject-${version}
17-checksums              sha1 c57e800f929f07dcf0654449f86a1951cfd8e232
18+checksums              sha1 377adc9d5c098b5a01a9f7490a4afd39bcc815e1
19 patchfiles             patch-setup.py
20 
21 depends_lib-append     port:py-formencode
22diff -Naur --exclude work --exclude .svn ./files/patch-setup.py /Users/eulisse/PRODREQUEST/MacPorts/py-sqlobject/files/patch-setup.py
23--- ./files/patch-setup.py      2007-01-26 04:02:36.000000000 +0100
24+++ /Users/eulisse/PRODREQUEST/MacPorts/py-sqlobject/files/patch-setup.py       2007-03-05 14:31:42.000000000 +0100
25@@ -1,13 +1,18 @@
26---- setup.py   2005-10-02 00:59:54.000000000 +0200
27-+++ setup.py   2006-02-27 23:05:28.000000000 +0100
28-@@ -1,9 +1,7 @@
29+--- setup.py   2007-02-13 12:29:27.000000000 +0100
30++++ setup.py.new       2007-03-05 14:26:53.000000000 +0100
31+@@ -1,13 +1,7 @@
32  # ez_setup doesn't work with Python 2.2, so we use distutils
33  # in that case:
34- try:
35+-try:
36 -    from ez_setup import use_setuptools
37 -    use_setuptools()
38 -    from setuptools import setup
39-+      from distutils.core import setup, Extension, Command
40- except ImportError:
41-     from distutils.core import setup
42+-    is_setuptools = True
43+-except ImportError:
44+-    from distutils.core import setup
45+-    is_setuptools = False
46++from distutils.core import setup
47++is_setuptools = False
48 
49+ subpackages = ['firebird', 'include', 'include.pydispatch', 'inheritance',
50+                'manager', 'maxdb', 'mysql', 'mssql', 'postgres', 'sqlite',