source: trunk/dports/python/py-sqlobject/Portfile

Last change on this file was 130464, checked in by larryv@…, 3 years ago

py{24,25}-sqlobject: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 130464 2014-12-31 01:43:14Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-sqlobject
8version             0.10.2
9revision            1
10categories-append   databases
11license             LGPL-2.1+
12platforms           darwin
13supported_archs     noarch
14maintainers         nomaintainer
15description         object-relational mapper for python
16long_description    SQLObject is an object-relational mapper. It allows \
17                    you to translate RDBMS table rows into Python objects, \
18                    and manipulate those objects to transparently \
19                    manipulate the database. In using SQLObject, you will \
20                    create a class definition that will describe how the \
21                    object connects to the database (in addition to any \
22                    other methods you may wish to add to the class). \
23                    SQLObject will produce the code to access the \
24                    database, and update the database with your changes. \
25                    The interface to the database is meant to be \
26                    indistinguishable from other interfaces you may add to \
27                    the object. SQLObject also includes a novel feature to \
28                    generate WHERE clauses using Python syntax and objects \
29                    (instead of generating SQL using string substitution, \
30                    as is traditional).
31
32homepage            http://www.sqlobject.org/
33master_sites        http://cheeseshop.python.org/packages/source/S/SQLObject/
34checksums           md5 6ef1eb9464c08743fd25d8c10dae62af \
35                    sha1 fe3588dc438a8789346014adc8ce84867276150e \
36                    rmd160 2cbe649415b717d64249b4a548416cd1c08c48bf
37distname            SQLObject-${version}
38
39python.versions     27
40
41if {${name} ne ${subport}} {
42    depends_lib-append  port:py${python.version}-formencode
43
44    post-destroot {
45        xinstall -m 644 -W ${worksrcpath}/docs Authors.txt FAQ.txt News.txt \
46            SQLBuilder.txt SQLObject.txt ${destroot}${prefix}/share/doc/${subport}
47        xinstall -m 644 ${worksrcpath}/README.txt \
48            ${destroot}${prefix}/share/doc/${subport}
49    }
50}
Note: See TracBrowser for help on using the repository browser.