1 | # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-sqlobject |
---|
7 | version 0.10.0b4 |
---|
8 | categories python databases |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:ebgssth |
---|
11 | description object-relational mapper for python |
---|
12 | long_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 | |
---|
28 | homepage http://www.sqlobject.org/ |
---|
29 | master_sites http://cheeseshop.python.org/packages/source/S/SQLObject/ |
---|
30 | checksums md5 1de04f55dedb677fc893270653f5758e \ |
---|
31 | sha1 a47322855c94485894e81d65e92bcdd081e27fb6 \ |
---|
32 | rmd160 6726316cd3c2d735c72a30521a4cfae02d35f55e |
---|
33 | distname SQLObject-${version} |
---|
34 | |
---|
35 | depends_lib-append port:py25-formencode |
---|
36 | |
---|
37 | post-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 | |
---|