diff options
author | perky <perky@FreeBSD.org> | 2006-04-22 12:32:29 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-04-22 12:32:29 +0800 |
commit | 7d7f57651abbfaec1ce7bf4f0c14f2fafee45c27 (patch) | |
tree | d9ba3d60a1401dd3abbfb389f8dd643177c26406 /databases/py-bsddb3 | |
parent | 39d08f00bdd293bb8af8acd5f4cce712e76540f3 (diff) | |
download | freebsd-ports-gnome-7d7f57651abbfaec1ce7bf4f0c14f2fafee45c27.tar.gz freebsd-ports-gnome-7d7f57651abbfaec1ce7bf4f0c14f2fafee45c27.tar.zst freebsd-ports-gnome-7d7f57651abbfaec1ce7bf4f0c14f2fafee45c27.zip |
- Update to 4.4.2
- Utilize bsd.databases.mk
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r-- | databases/py-bsddb3/Makefile | 41 | ||||
-rw-r--r-- | databases/py-bsddb3/distinfo | 6 | ||||
-rw-r--r-- | databases/py-bsddb3/pkg-plist | 3 |
3 files changed, 12 insertions, 38 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index f87660cf0c31..70c7b1521de8 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bsddb3 -PORTVERSION= 4.3.3 +PORTVERSION= 4.4.2 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pybsddb @@ -15,45 +15,16 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= perky@FreeBSD.org COMMENT= Python extension module for BerkeleyDB 3 and 4 -.if defined(WITH_DB3) -WITH_BDB_VER?= 3 -.elif defined(WITH_DB4) -WITH_BDB_VER?= 4 -.else -WITH_BDB_VER?= 41 -.endif - -.if defined(WITH_BDB_VER) -.if ${WITH_BDB_VER} == 3 -LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 -DBVERSION= db3 -DBHEADER= db3 -.elif ${WITH_BDB_VER} == 4 -LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 -DBVERSION= db4 -DBHEADER= db4 -.elif ${WITH_BDB_VER} == 41 -LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41 -DBVERSION= db41 -DBHEADER= db41 -.elif ${WITH_BDB_VER} == 42 -LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42 -DBVERSION= db-4.2 -DBHEADER= db42 -.else -IGNORE= "WITH_BDB_VER must be 3, 4, 41 or 42" -.endif -.endif - +USE_BDB= yes USE_PYTHON= yes USE_PYDISTUTILS= yes USE_REINPLACE= yes -PYDISTUTILS_CONFIGUREARGS=--libs="-l${DBVERSION}" --berkeley-db=${LOCALBASE} -PYDISTUTILS_BUILDARGS= --libs="-l${DBVERSION}" --berkeley-db=${LOCALBASE} +PYDISTUTILS_CONFIGUREARGS=--libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE} +PYDISTUTILS_BUILDARGS= --libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE} PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} --berkeley-db=${LOCALBASE} post-patch: - ${REINPLACE_CMD} 's,%%DBVERSION%%,${DBVERSION},g' ${WRKSRC}/setup.py - ${REINPLACE_CMD} 's,<db\.h>,<${DBHEADER}/db.h>,' ${WRKSRC}/extsrc/_bsddb.c + ${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup.py + ${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/extsrc/_bsddb.c .include <bsd.port.mk> diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo index 667240ffd7da..3ab4bc03164c 100644 --- a/databases/py-bsddb3/distinfo +++ b/databases/py-bsddb3/distinfo @@ -1,3 +1,3 @@ -MD5 (bsddb3-4.3.3.tar.gz) = b3a18a3315d6e1d8d55779d89940a07c -SHA256 (bsddb3-4.3.3.tar.gz) = 66f77388703c3fa2896ebd9fa91994266753471c59a26b0ca3e91f4f0dfec452 -SIZE (bsddb3-4.3.3.tar.gz) = 516635 +MD5 (bsddb3-4.4.2.tar.gz) = 0fcb1a25afa96d1613c0d80630a3efb6 +SHA256 (bsddb3-4.4.2.tar.gz) = 44629579327480a35d6975ba1108df69ba3e66f9098796683aa1884ceb78592b +SIZE (bsddb3-4.4.2.tar.gz) = 518015 diff --git a/databases/py-bsddb3/pkg-plist b/databases/py-bsddb3/pkg-plist index b984c98f9e53..28e63d39f498 100644 --- a/databases/py-bsddb3/pkg-plist +++ b/databases/py-bsddb3/pkg-plist @@ -23,6 +23,9 @@ %%PYTHON_SITELIBDIR%%/bsddb3/tests/__init__.py %%PYTHON_SITELIBDIR%%/bsddb3/tests/__init__.pyc %%PYTHON_SITELIBDIR%%/bsddb3/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_1413192.py +%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_1413192.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_1413192.pyo %%PYTHON_SITELIBDIR%%/bsddb3/tests/test_all.py %%PYTHON_SITELIBDIR%%/bsddb3/tests/test_all.pyc %%PYTHON_SITELIBDIR%%/bsddb3/tests/test_all.pyo |