# -*- 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 python 1.0 name py-sqlalchemy set realname SQLAlchemy version 1.1.3 revision 0 categories-append databases platforms darwin license MIT python.versions 26 27 33 34 35 maintainers stromnov openmaintainer 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. homepage http://www.sqlalchemy.org/ master_sites pypi:[string index ${realname} 0]/${realname} distname ${realname}-${version} checksums rmd160 a03a8aaf415e93b9bf8dcc0b4826f8aa777463f6 \ sha256 8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools post-destroot { # Install example files not installed by the Makefile 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] } } livecheck.type none } else { livecheck.name ${realname} livecheck.type pypi }