[88892] trunk/dports/python/py-apsw/Portfile
phw at macports.org
phw at macports.org
Sat Jan 14 13:05:48 PST 2012
Revision: 88892
http://trac.macports.org/changeset/88892
Author: phw at macports.org
Date: 2012-01-14 13:05:45 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
port py-apsw: generalized and updated
Modified Paths:
--------------
trunk/dports/python/py-apsw/Portfile
Modified: trunk/dports/python/py-apsw/Portfile
===================================================================
--- trunk/dports/python/py-apsw/Portfile 2012-01-14 19:56:23 UTC (rev 88891)
+++ trunk/dports/python/py-apsw/Portfile 2012-01-14 21:05:45 UTC (rev 88892)
@@ -1,11 +1,12 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-apsw
-version 3.3.5-r1
-revision 1
-maintainers nomaintainer
+python.versions 24 25 26 27 31 32
+version 3.7.9-r1
+revision 0
+maintainers phw openmaintainer
description Very thin SQLite 3 wrapper for python
long_description \
APSW provides an SQLite 3 wrapper that provides the thinnest layer \
@@ -15,26 +16,31 @@
works the way SQLite 3 does.
platforms darwin
-
-homepage http://www.rogerbinns.com/apsw.html
-master_sites sourceforge:bitpim
+homepage http://code.google.com/p/apsw/
+master_sites googlecode:apsw
distname apsw-${version}
use_zip yes
-checksums md5 17e22e5da95be77e8e14708150db03ba \
- sha1 71f04dd1e1145f3bc32c90633559a6b099a47bb3 \
- rmd160 35507908a8761737867ea5bcc76c9022ad54606d
+checksums md5 8188a05819553a7a9aad568db23850af \
+ sha1 09bf186388571bebede533bc648f38920b6981ba \
+ rmd160 c41832685581d1737e1ee28bf2bb0aababba28f7
+if { ${name} != ${subport} } {
-depends_lib-append port:sqlite3
-
-post-extract {
- file copy ${filespath}/setup.cfg ${worksrcpath}/setup.cfg
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.cfg
+ depends_lib-append port:sqlite3
+
+ post-extract {
+ file 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}
+ }
}
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} apsw.html \
- ${destroot}${prefix}/share/doc/${name}
-}
+livecheck.type regex
+livecheck.url http://code.google.com/p/apsw/downloads/list
+livecheck.regex {apsw-([0-9\.]+(-r1)?).zip}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/aaf322b3/attachment.html>
More information about the macports-changes
mailing list