Ticket #14508: py-sqlobject.diff

File py-sqlobject.diff, 2.1 KB (added by ebgssth@…, 16 years ago)

Update: py-sqlobject

  • files/patch-setup.py

     
    1 --- setup.py    2007-02-13 12:29:27.000000000 +0100
    2 +++ setup.py.new        2007-03-05 14:26:53.000000000 +0100
    3 @@ -1,13 +1,7 @@
    4  # ez_setup doesn't work with Python 2.2, so we use distutils
    5  # in that case:
    6 -try:
    7 -    from ez_setup import use_setuptools
    8 -    use_setuptools()
    9 -    from setuptools import setup
    10 -    is_setuptools = True
    11 -except ImportError:
    12 -    from distutils.core import setup
    13 -    is_setuptools = False
    14 +from distutils.core import setup
    15 +is_setuptools = False
    16  
    17  subpackages = ['firebird', 'include', 'include.pydispatch', 'inheritance',
    18                 'manager', 'maxdb', 'mysql', 'mssql', 'postgres', 'sqlite',
  • Portfile

     
    44PortGroup python24 1.0
    55
    66name                    py-sqlobject
    7 version                 0.9.0
     7version                 0.10.0b4
    88categories              python databases
    99platforms               darwin
    10 maintainers             nomaintainer
     10maintainers             gmail.com:ebgssth
    1111description             object-relational mapper for python
    1212long_description        SQLObject is an object-relational mapper. It allows \
    1313                                you to translate RDBMS table rows into Python objects, \
     
    2727
    2828homepage                http://www.sqlobject.org/
    2929master_sites    http://cheeseshop.python.org/packages/source/S/SQLObject/
     30checksums               md5 1de04f55dedb677fc893270653f5758e \
     31                                sha1 a47322855c94485894e81d65e92bcdd081e27fb6 \
     32                                rmd160 6726316cd3c2d735c72a30521a4cfae02d35f55e
    3033distname                SQLObject-${version}
    31 checksums               sha1 6f3bd440ba7a107c7ee6deab1bc04f5a7421ad82
    32 patchfiles              patch-setup.py
    3334
    3435depends_lib-append      port:py-formencode
    3536
     
    3839                SQLBuilder.txt SQLObject.txt ${destroot}${prefix}/share/doc/${name}
    3940        xinstall -m 644 ${worksrcpath}/README.txt \
    4041                ${destroot}${prefix}/share/doc/${name}
     42        move ${destroot}${prefix}/bin/sqlobject-admin \
     43                ${destroot}${prefix}/bin/sqlobject-admin2.4
    4144}
     45