Ticket #14508: Portfile

File Portfile, 1.8 KB (added by ebgssth@…, 17 years ago)

NEW: py25-sqlobject

Line 
1# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $
2
3PortSystem 1.0
4PortGroup python25 1.0
5
6name                    py25-sqlobject
7version                 0.10.0b4
8categories              python databases
9platforms               darwin
10maintainers             gmail.com:ebgssth
11description             object-relational mapper for python
12long_description        SQLObject is an object-relational mapper. It allows \
13                                you to translate RDBMS table rows into Python objects, \
14                                and manipulate those objects to transparently \
15                                manipulate the database. In using SQLObject, you will \
16                                create a class definition that will describe how the \
17                                object connects to the database (in addition to any \
18                                other methods you may wish to add to the class). \
19                                SQLObject will produce the code to access the \
20                                database, and update the database with your changes. \
21                                The interface to the database is meant to be \
22                                indistinguishable from other interfaces you may add to \
23                                the object. SQLObject also includes a novel feature to \
24                                generate WHERE clauses using Python syntax and objects \
25                                (instead of generating SQL using string substitution, \
26                                as is traditional).
27
28homepage                http://www.sqlobject.org/
29master_sites    http://cheeseshop.python.org/packages/source/S/SQLObject/
30checksums               md5 1de04f55dedb677fc893270653f5758e \
31                                sha1 a47322855c94485894e81d65e92bcdd081e27fb6 \
32                                rmd160 6726316cd3c2d735c72a30521a4cfae02d35f55e
33distname                SQLObject-${version}
34
35depends_lib-append      port:py25-formencode
36
37post-destroot   {
38        xinstall -m 644 -W ${worksrcpath}/docs Authors.txt FAQ.txt News.txt \
39                SQLBuilder.txt SQLObject.txt ${destroot}${prefix}/share/doc/${name}
40        xinstall -m 644 ${worksrcpath}/README.txt \
41                ${destroot}${prefix}/share/doc/${name}
42        move ${destroot}${prefix}/bin/sqlobject-admin \
43                ${destroot}${prefix}/bin/sqlobject-admin2.5
44}
45