[113582] trunk/dports/python

devans at macports.org devans at macports.org
Tue Nov 19 19:35:02 PST 2013


Revision: 113582
          https://trac.macports.org/changeset/113582
Author:   devans at macports.org
Date:     2013-11-19 19:35:02 -0800 (Tue, 19 Nov 2013)
Log Message:
-----------
py-bsddb3: new port, python 3 interface for Berkeley DB.

Added Paths:
-----------
    trunk/dports/python/py-bsddb3/
    trunk/dports/python/py-bsddb3/Portfile

Added: trunk/dports/python/py-bsddb3/Portfile
===================================================================
--- trunk/dports/python/py-bsddb3/Portfile	                        (rev 0)
+++ trunk/dports/python/py-bsddb3/Portfile	2013-11-20 03:35:02 UTC (rev 113582)
@@ -0,0 +1,50 @@
+# -*- 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-bsddb3
+set real_name           bsddb3
+version                 6.0.0
+categories-append       databases
+platforms               darwin
+license                 MIT
+maintainers             nomaintainer
+description             Python 3 interface for Berkeley DB
+long_description        This port provides a nearly complete wrapping of the Oracle/Sleepycat C API \
+                        for the Database Environment, Database, Cursor, Log Cursor, Sequence \
+                        and Transaction objects. Each of these is exposed as a Python type in the \
+                        bsddb3.db module.
+
+homepage                http://pypi.python.org/pypi/${real_name}
+master_sites            http://pypi.python.org/packages/source/b/${real_name}
+distname                ${real_name}-${version}
+
+checksums               rmd160  5e33f120cf82d0d7f8b88f7699cd546855b51384 \
+                        sha256  158fad482c42e0e3ace712ebf474a250fb221c06c570da578a1632b80fe3d84c
+
+python.versions         31 32 33
+python.default_version  32
+python.link_binaries    no
+python.move_binaries    no
+
+# set Berkeley DB port version to db46 for compatibility with Python 2.* built-in modules
+set db_version          46
+
+if {$subport != $name} {
+    depends_lib         port:py${python.version}-setuptools \
+                        port:db${db_version}
+
+    build.env-append    BERKELEYDB_INCDIR=${prefix}/include/db${db_version} \
+                        BERKELEYDB_LIBDIR=${prefix}/lib/db${db_version}
+    
+    destroot.env-append BERKELEYDB_INCDIR=${prefix}/include/db${db_version} \
+                        BERKELEYDB_LIBDIR=${prefix}/lib/db${db_version}
+    
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     bsddb3 (\\d+(\\.\\d+)+)
+}


Property changes on: trunk/dports/python/py-bsddb3/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131119/f1da5bc2/attachment.html>


More information about the macports-changes mailing list