# -*- 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 PortSystem 1.0 PortGroup python 1.0 name py-berkeleydb version 18.1.11 revision 0 categories-append databases license BSD maintainers {mascguy @mascguy} openmaintainer description Python 3 bindings for Oracle 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. homepage https://pypi.org/project/${python.rootname} checksums rmd160 73110f3bda9d61213cd67b5a0a357ad0e8769b95 \ sha256 7454f560d2d1a0e5d0d5630a437f19926b68bc794eb161edea2cdc4b267cf574 \ size 174774 python.versions 39 310 311 312 set db_version 62 if {${name} ne ${subport}} { # FIXME: Disable use of static_assert; remove when added to legacysupport # See: https://trac.macports.org/ticket/65909 patchfiles-append \ patch-static_assert.diff depends_build-append \ port:py${python.version}-setuptools depends_lib-append \ port:db${db_version} foreach env_phase {build destroot} { ${env_phase}.env-append \ BERKELEYDB_INCDIR=${prefix}/include/db${db_version} \ BERKELEYDB_LIBDIR=${prefix}/lib/db${db_version} \ YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1 } # FIXME: Tests fail with: No module named 'test.support'; 'test' is not a package test.run yes }