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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python27 1.0 |
---|
5 | |
---|
6 | name py27-sqlalchemy |
---|
7 | version 0.6.6 |
---|
8 | revision 0 |
---|
9 | categories python databases |
---|
10 | platforms darwin |
---|
11 | maintainers akitada openmaintainer |
---|
12 | |
---|
13 | description Python SQL ORM |
---|
14 | long_description SQLAlchemy is the Python SQL toolkit and Object \ |
---|
15 | Relational Mapper that gives application developers \ |
---|
16 | the full power and flexibility of SQL. |
---|
17 | |
---|
18 | homepage http://www.sqlalchemy.org/ |
---|
19 | master_sites sourceforge:sqlalchemy |
---|
20 | |
---|
21 | distname SQLAlchemy-${version} |
---|
22 | |
---|
23 | checksums md5 359f02242c52e92aa881c36c8e3720d8 \ |
---|
24 | sha1 6ed990141710b95a583b3e22cbd5c0eeff5076c5 \ |
---|
25 | rmd160 d0d215eedb45d15f7f7fe0459eae93ad7213225c |
---|
26 | |
---|
27 | depends_lib port:py26-distribute |
---|
28 | |
---|
29 | default_variants +cextensions |
---|
30 | |
---|
31 | variant cextensions description {With C extensions} { |
---|
32 | build.cmd-append --with-cextensions |
---|
33 | destroot.cmd-append --with-cextensions |
---|
34 | } |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | # Install example files not installed by the Makefile |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples |
---|
39 | foreach f [glob -directory ${worksrcpath}/doc *] { |
---|
40 | copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f] |
---|
41 | } |
---|
42 | foreach f [glob -directory ${worksrcpath}/examples *] { |
---|
43 | copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f] |
---|
44 | } |
---|
45 | } |
---|
46 | |
---|
47 | livecheck.regex {<a href="/download\.html"><b>(.+?)</b></a>} |
---|
48 | livecheck.type regex |
---|
49 | livecheck.url ${homepage} |
---|