Permalink
Browse files
py-sqlobject: update to 3.7.1, add py37
- install files in post-destroot - update descriptions
- Loading branch information
| @@ -1,49 +1,47 @@ | ||
| # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
|
||
| PortSystem 1.0 | ||
| PortGroup python 1.0 | ||
| PortSystem 1.0 | ||
| PortGroup python 1.0 | ||
|
|
||
| name py-sqlobject | ||
| version 0.10.2 | ||
| revision 1 | ||
| version 3.7.1 | ||
| revision 0 | ||
| categories-append databases | ||
| license LGPL-2.1+ | ||
| platforms darwin | ||
| supported_archs noarch | ||
| maintainers nomaintainer | ||
| description object-relational mapper for python | ||
| long_description SQLObject is an object-relational mapper. It allows \ | ||
| you to translate RDBMS table rows into Python objects, \ | ||
| and manipulate those objects to transparently \ | ||
| manipulate the database. In using SQLObject, you will \ | ||
| create a class definition that will describe how the \ | ||
| object connects to the database (in addition to any \ | ||
| other methods you may wish to add to the class). \ | ||
| SQLObject will produce the code to access the \ | ||
| database, and update the database with your changes. \ | ||
| The interface to the database is meant to be \ | ||
| indistinguishable from other interfaces you may add to \ | ||
| the object. SQLObject also includes a novel feature to \ | ||
| generate WHERE clauses using Python syntax and objects \ | ||
| (instead of generating SQL using string substitution, \ | ||
| as is traditional). | ||
| description Object-Relational Manager, aka database wrapper | ||
| long_description SQLObject is a popular *Object Relational Manager* for providing an \ | ||
| object interface to your database, with tables as classes, rows as \ | ||
| instances, and columns as attributes. \ | ||
| SQLObject includes a Python-object-based query language that makes SQL \ | ||
| more abstract, and provides substantial database independence for \ | ||
| applications. | ||
|
|
||
| homepage http://www.sqlobject.org/ | ||
| master_sites https://cheeseshop.python.org/packages/source/S/SQLObject/ | ||
| checksums md5 6ef1eb9464c08743fd25d8c10dae62af \ | ||
| sha1 fe3588dc438a8789346014adc8ce84867276150e \ | ||
| rmd160 2cbe649415b717d64249b4a548416cd1c08c48bf | ||
| master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} | ||
| checksums rmd160 0456704d526bcdd3e9b69faa895be42ca2bc4db1 \ | ||
| sha256 0f0a5d9430c40b9fa5065e210a7fd3aaabb0713313e72b1b7b7dc4c7d62e43d2 \ | ||
| size 1525177 | ||
| distname SQLObject-${version} | ||
|
|
||
| python.versions 27 | ||
| python.versions 27 37 | ||
|
|
||
| if {${name} ne ${subport}} { | ||
| depends_lib-append port:py${python.version}-formencode | ||
| depends_build-append \ | ||
| port:py${python.version}-setuptools | ||
|
|
||
| depends_lib-append \ | ||
| port:py${python.version}-dispatcher \ | ||
| port:py${python.version}-formencode | ||
|
|
||
| post-destroot { | ||
| xinstall -m 644 -W ${worksrcpath}/docs Authors.txt FAQ.txt News.txt \ | ||
| SQLBuilder.txt SQLObject.txt ${destroot}${prefix}/share/doc/${subport} | ||
| xinstall -m 644 ${worksrcpath}/README.txt \ | ||
| ${destroot}${prefix}/share/doc/${subport} | ||
| set docdir ${prefix}/share/doc/${subport} | ||
| xinstall -d ${destroot}${docdir} | ||
| xinstall -m 0644 -W ${worksrcpath} README.rst ANNOUNCE.rst \ | ||
| LICENSE ${destroot}${docdir} | ||
| } | ||
|
|
||
| livecheck.type none | ||
| } |