[100964] trunk/dports/python
jmr at macports.org
jmr at macports.org
Wed Jan 2 01:45:31 PST 2013
Revision: 100964
https://trac.macports.org/changeset/100964
Author: jmr at macports.org
Date: 2013-01-02 01:45:31 -0800 (Wed, 02 Jan 2013)
Log Message:
-----------
py*-sqlite: unify
Modified Paths:
--------------
trunk/dports/python/py-sqlite/Portfile
trunk/dports/python/py-sqlite/files/patch-setup.py
Removed Paths:
-------------
trunk/dports/python/py25-sqlite/
trunk/dports/python/py26-sqlite/
trunk/dports/python/py27-sqlite/
Modified: trunk/dports/python/py-sqlite/Portfile
===================================================================
--- trunk/dports/python/py-sqlite/Portfile 2013-01-02 09:19:53 UTC (rev 100963)
+++ trunk/dports/python/py-sqlite/Portfile 2013-01-02 09:45:31 UTC (rev 100964)
@@ -1,29 +1,36 @@
+# -*- 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
+PortGroup python 1.0
name py-sqlite
-version 2.4.1
+version 2.6.3
categories python databases
license zlib
-maintainers nomaintainer
+maintainers gmail.com:larry.velazquez openmaintainer
platforms darwin freebsd
description python database extension for sqlite
long_description PySQLite is a Python extension for SQLite that \
conforms to the Python Database API Specification 2.0.
-homepage http://www.pysqlite.org/
-master_sites http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/sha1/03d2c52c65e017e657d852c0583aa39bb6563a73/
+homepage http://pysqlite.googlecode.com/
+master_sites googlecode:pysqlite
distname pysqlite-${version}
-checksums md5 7d9a4875a7107b94eb4aa2dc861a2537 \
- sha1 03d2c52c65e017e657d852c0583aa39bb6563a73 \
- rmd160 693f4d789388ef0456449d01b0d342aaf1990832
+checksums rmd160 a84c96b7f60daff1815ba3e455cbc6264eb3ea86 \
+ sha256 0d538880717f6347bb83f9ce11e9b171caf9d76e1980a0e9c22f8b03aec3585b
-depends_lib-append port:sqlite3
+python.versions 24 25 26 27
-patchfiles patch-setup.py
+if {$subport != $name} {
+ depends_lib-append port:sqlite3
-test.dir "${worksrcpath}/build/lib.macosx-10.3-${os.arch}-2.4"
-test.run yes
-test.cmd ${python.bin} -c "'from pysqlite2.test import test; test()'"
+ patchfiles patch-setup.py
+ post-patch {
+ reinplace "s|__SUBPORT__|${subport}|" ${worksrcpath}/setup.py
+ }
+
+ test.dir "${worksrcpath}/build/lib.macosx-${macosx_deployment_target}-${configure.build_arch}-${python.branch}"
+ test.run yes
+ test.cmd ${python.bin} -c "'from pysqlite2.test import test; test()'"
+}
Modified: trunk/dports/python/py-sqlite/files/patch-setup.py
===================================================================
--- trunk/dports/python/py-sqlite/files/patch-setup.py 2013-01-02 09:19:53 UTC (rev 100963)
+++ trunk/dports/python/py-sqlite/files/patch-setup.py 2013-01-02 09:45:31 UTC (rev 100964)
@@ -5,12 +5,12 @@
sys.exit(1)
- data_files = [("pysqlite2-doc",
-+ data_files = [("share/doc/py-sqlite",
++ data_files = [("share/doc/__SUBPORT__",
glob.glob("doc/*.html") \
+ glob.glob("doc/*.txt") \
+ glob.glob("doc/*.css")),
- ("pysqlite2-doc/code",
-+ ("share/doc/py-sqlite/code",
++ ("share/doc/__SUBPORT__/code",
glob.glob("doc/code/*.py"))]
py_modules = ["sqlite"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130102/b457f07e/attachment-0001.html>
More information about the macports-changes
mailing list