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

Last change on this file since 97358 was 96738, checked in by blair@…, 7 years ago

py-sqlobject: use standard "-2.4" binary name ending instead of "2.4".

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