[85907] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Mon Oct 17 03:21:45 PDT 2011
Revision: 85907
http://trac.macports.org/changeset/85907
Author: stromnov at macports.org
Date: 2011-10-17 03:21:39 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
py2*-sqlalchemy: unify
Modified Paths:
--------------
trunk/dports/python/py-sqlalchemy/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-sqlalchemy/
trunk/dports/python/py26-sqlalchemy/
trunk/dports/python/py27-sqlalchemy/
Modified: trunk/dports/python/py-sqlalchemy/Portfile
===================================================================
--- trunk/dports/python/py-sqlalchemy/Portfile 2011-10-17 09:57:02 UTC (rev 85906)
+++ trunk/dports/python/py-sqlalchemy/Portfile 2011-10-17 10:21:39 UTC (rev 85907)
@@ -1,45 +1,59 @@
# -*- 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
# $Id$
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py-sqlalchemy
-version 0.7.1
-categories python databases
-platforms darwin
-maintainers landonf akitada openmaintainer
-license MIT
+name py-sqlalchemy
+version 0.7.3
+revision 0
+categories-append databases
+license MIT
+platforms darwin
-description Python SQL ORM
-long_description SQLAlchemy is the Python SQL toolkit and Object \
- Relational Mapper that gives application developers \
- the full power and flexibility of SQL.
+maintainers landonf akitada openmaintainer
-homepage http://www.sqlalchemy.org
-master_sites sourceforge:sqlalchemy
+description Python SQL ORM
-distname SQLAlchemy-${version}
+long_description SQLAlchemy is the Python SQL toolkit and Object \
+ Relational Mapper that gives application developers \
+ the full power and flexibility of SQL.
-checksums sha1 58bdee2dbb339e77cf5ef716fc3b52a82ec1cf4e \
- rmd160 ffdd5d137b8ea7a6b60788678d62a0cfdb11cdae
+homepage http://www.sqlalchemy.org/
+master_sites sourceforge:sqlalchemy
-depends_lib port:py24-distribute
+distname SQLAlchemy-${version}
-default_variants +cextensions
+checksums rmd160 3ba951dee72088a1b3c08f4fe7b6ec7b2cbb2d4e \
+ sha256 246fe35eb0b2d23360b5057453bf77bc9294a164954adcb84f41aa5b30273e09
-variant cextensions description {With C extensions} {
- build.cmd-append --with-cextensions
- destroot.cmd-append --with-cextensions
-}
+python.versions 24 25 26 27
-post-destroot {
- # Install example files not installed by the Makefile
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
- foreach f [glob -directory ${worksrcpath}/doc *] {
- copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
+if {$subport != $name} {
+ depends_build-append port:py${python.version}-distribute
+
+ post-destroot {
+ # Install example files not installed by the Makefile
+ if {$subport == "py24-sqlalchemy" || $subport == "py25-sqlalchemy"} {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/examples
+ foreach f [glob -directory ${worksrcpath}/doc *] {
+ copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
+ }
+ foreach f [glob -directory ${worksrcpath}/examples *] {
+ copy $f ${destroot}${prefix}/share/doc/${subport}/examples/[file tail $f]
+ }
+ } elseif {$subport == "py26-sqlalchemy" || $subport == "py27-sqlalchemy"} {
+ xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/sqlalchemy/examples
+ foreach f [glob -directory ${worksrcpath}/doc *] {
+ copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/[file tail $f]
+ }
+ foreach f [glob -directory ${worksrcpath}/examples *] {
+ copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/examples/[file tail $f]
+ }
+ }
}
- foreach f [glob -directory ${worksrcpath}/examples *] {
- copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
- }
}
+
+livecheck.regex {<a href="/download\.html"><b>(.+?)</b></a>}
+livecheck.type regex
+livecheck.url ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/6a130507/attachment.html>
More information about the macports-changes
mailing list