Ticket #14508: py-sqlobject.diff
File py-sqlobject.diff, 2.1 KB (added by ebgssth@…, 17 years ago) |
---|
-
files/patch-setup.py
1 --- setup.py 2007-02-13 12:29:27.000000000 +01002 +++ setup.py.new 2007-03-05 14:26:53.000000000 +01003 @@ -1,13 +1,7 @@4 # ez_setup doesn't work with Python 2.2, so we use distutils5 # in that case:6 -try:7 - from ez_setup import use_setuptools8 - use_setuptools()9 - from setuptools import setup10 - is_setuptools = True11 -except ImportError:12 - from distutils.core import setup13 - is_setuptools = False14 +from distutils.core import setup15 +is_setuptools = False16 17 subpackages = ['firebird', 'include', 'include.pydispatch', 'inheritance',18 'manager', 'maxdb', 'mysql', 'mssql', 'postgres', 'sqlite', -
Portfile
4 4 PortGroup python24 1.0 5 5 6 6 name py-sqlobject 7 version 0. 9.07 version 0.10.0b4 8 8 categories python databases 9 9 platforms darwin 10 maintainers nomaintainer10 maintainers gmail.com:ebgssth 11 11 description object-relational mapper for python 12 12 long_description SQLObject is an object-relational mapper. It allows \ 13 13 you to translate RDBMS table rows into Python objects, \ … … 27 27 28 28 homepage http://www.sqlobject.org/ 29 29 master_sites http://cheeseshop.python.org/packages/source/S/SQLObject/ 30 checksums md5 1de04f55dedb677fc893270653f5758e \ 31 sha1 a47322855c94485894e81d65e92bcdd081e27fb6 \ 32 rmd160 6726316cd3c2d735c72a30521a4cfae02d35f55e 30 33 distname SQLObject-${version} 31 checksums sha1 6f3bd440ba7a107c7ee6deab1bc04f5a7421ad8232 patchfiles patch-setup.py33 34 34 35 depends_lib-append port:py-formencode 35 36 … … 38 39 SQLBuilder.txt SQLObject.txt ${destroot}${prefix}/share/doc/${name} 39 40 xinstall -m 644 ${worksrcpath}/README.txt \ 40 41 ${destroot}${prefix}/share/doc/${name} 42 move ${destroot}${prefix}/bin/sqlobject-admin \ 43 ${destroot}${prefix}/bin/sqlobject-admin2.4 41 44 } 45