source: trunk/dports/python/py-bsddb3/Portfile @ 143105

Last change on this file since 143105 was 130277, checked in by larryv@…, 5 years ago

py{31,32,33}-bsddb3: Replace with py34

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 130277 2014-12-30 01:18:27Z larryv@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-bsddb3
8set real_name           bsddb3
9version                 6.1.0
10categories-append       databases
11platforms               darwin
12license                 MIT
13maintainers             nomaintainer
14
15description             Python 3 bindings for Oracle Berkeley DB
16long_description        This port provides a nearly complete wrapping \
17                        of the Oracle/Sleepycat C API for the Database \
18                        Environment, Database, Cursor, Log Cursor, \
19                        Sequence and Transaction objects. Each of \
20                        these is exposed as a Python type in the \
21                        bsddb3.db module.
22homepage                http://pypi.python.org/pypi/${real_name}
23
24master_sites            http://pypi.python.org/packages/source/b/${real_name}
25distname                ${real_name}-${version}
26
27checksums               rmd160  c48592e80837e672936b23cbbb873db3f748a9a7 \
28                        sha256  b13163e3891c32390aea66edcf7880eb245abc89199a766b7b1907fc5c1efd15
29
30python.versions         34
31python.link_binaries    no
32python.move_binaries    no
33
34# replication requires Berkeley DB >= 5.1
35# use with Oracle Berkeley DB >= 6.0 has licensing issues
36# http://www.jcea.es/programacion/pybsddb.htm
37
38set db_version 53
39
40if {${name} ne ${subport}} {
41    depends_lib         port:py${python.version}-setuptools \
42                        port:db${db_version}
43
44    build.env-append    BERKELEYDB_INCDIR=${prefix}/include/db${db_version} \
45                        BERKELEYDB_LIBDIR=${prefix}/lib/db${db_version}
46   
47    destroot.env-append BERKELEYDB_INCDIR=${prefix}/include/db${db_version} \
48                        BERKELEYDB_LIBDIR=${prefix}/lib/db${db_version}
49   
50    livecheck.type      none
51} else {
52    livecheck.type      regex
53    livecheck.url       ${homepage}
54    livecheck.regex     bsddb3 (\\d+(\\.\\d+)+)
55}
Note: See TracBrowser for help on using the repository browser.