# -*- 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-apsw version 3.7.14.1-r1 platforms darwin license zlib maintainers nomaintainer description Very thin SQLite 3 wrapper for python long_description APSW provides an SQLite 3 wrapper that provides \ the thinnest layer over SQLite 3 possible. \ Everything you can do from the C API to SQLite 3, \ you can do from Python. Although APSW looks \ vaguely similar to the DBAPI, it is not compliant \ with that API and instead works the way SQLite 3 does. homepage http://code.google.com/p/apsw/ master_sites googlecode:apsw distname apsw-${version} use_zip yes checksums md5 ae32e46df985b5fbbdbdd17640367711 \ sha1 735f1b1e236055e4f0de286e17e400d7db1f87e7 \ rmd160 91df80878469dbed49c35f5d2704bdcb9cfbe549 python.versions 27 34 35 if {${name} ne ${subport}} { depends_lib-append port:sqlite3 post-extract { copy ${filespath}/setup.cfg ${worksrcpath}/setup.cfg reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.cfg } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath}/doc/ apsw.html \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url http://code.google.com/p/apsw/downloads/list livecheck.regex {apsw-([0-9\.]+(-r1)?).zip} }