aboutsummaryrefslogtreecommitdiff
path: root/databases/py-bsddb3
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-25 16:51:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-25 16:51:53 +0000
commit757bcc798e4289b099ae478bca851b407f5e8f41 (patch)
tree5a9209734f742737683ebf70bdff96b387c6644f /databases/py-bsddb3
parente1c320c4dc0f544bd36d86581aae2e42cca3ba27 (diff)
downloadports-757bcc798e4289b099ae478bca851b407f5e8f41.tar.gz
ports-757bcc798e4289b099ae478bca851b407f5e8f41.zip
Notes
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r--databases/py-bsddb3/Makefile12
-rw-r--r--databases/py-bsddb3/distinfo6
-rw-r--r--databases/py-bsddb3/pkg-plist9
3 files changed, 23 insertions, 4 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 14f3c155ba01..f1581acd3326 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bsddb3
-PORTVERSION= 4.4.2
+PORTVERSION= 4.5.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pybsddb
@@ -22,8 +22,18 @@ 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}
+PORTDOCS= *
+DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
+
post-patch:
${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
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/docs && ${FIND} . | \
+ ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR})
+.endif
+
.include <bsd.port.mk>
diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo
index 3ab4bc03164c..a5361156060e 100644
--- a/databases/py-bsddb3/distinfo
+++ b/databases/py-bsddb3/distinfo
@@ -1,3 +1,3 @@
-MD5 (bsddb3-4.4.2.tar.gz) = 0fcb1a25afa96d1613c0d80630a3efb6
-SHA256 (bsddb3-4.4.2.tar.gz) = 44629579327480a35d6975ba1108df69ba3e66f9098796683aa1884ceb78592b
-SIZE (bsddb3-4.4.2.tar.gz) = 518015
+MD5 (bsddb3-4.5.0.tar.gz) = e08e50b0e602396864c6061168987318
+SHA256 (bsddb3-4.5.0.tar.gz) = bb904694cc0a8b309ac19e020d857b2252b2323eb75ca672ca334631649c09c0
+SIZE (bsddb3-4.5.0.tar.gz) = 522126
diff --git a/databases/py-bsddb3/pkg-plist b/databases/py-bsddb3/pkg-plist
index 28e63d39f498..9b959fa21e67 100644
--- a/databases/py-bsddb3/pkg-plist
+++ b/databases/py-bsddb3/pkg-plist
@@ -41,6 +41,9 @@
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_compat.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_compat.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_compat.pyo
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_cursor_pget_bug.py
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_cursor_pget_bug.pyc
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_cursor_pget_bug.pyo
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_dbobj.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_dbobj.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_dbobj.pyo
@@ -65,12 +68,18 @@
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_misc.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_misc.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_misc.pyo
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_pickle.py
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_pickle.pyc
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_pickle.pyo
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_queue.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_queue.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_queue.pyo
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_recno.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_recno.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_recno.pyo
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_sequence.py
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_sequence.pyc
+%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_sequence.pyo
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_thread.py
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_thread.pyc
%%PYTHON_SITELIBDIR%%/bsddb3/tests/test_thread.pyo