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

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               python 1.0
6
7name                    py-bsddb3
8set real_name           bsddb3
9version                 6.1.1
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            pypi:b/${real_name}
25distname                ${real_name}-${version}
26
27checksums               rmd160  da8b6f6df57a11571bb70860ed265ad7b345a207 \
28                        sha256  6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3
29
30python.versions         34 35
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.