diff options
author | wjv <wjv@FreeBSD.org> | 2001-09-19 15:36:33 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-09-19 15:36:33 +0800 |
commit | 1a0e54eee5def8039cf6fc076d14947e362ea05f (patch) | |
tree | 8b1da54c24e7f53d1aaff7cb8d2b6324981d66f0 /databases/py-bsddb3 | |
parent | 166cd46b9c4c0b5e8dab70ea11f1675351db7fbb (diff) | |
download | freebsd-ports-gnome-1a0e54eee5def8039cf6fc076d14947e362ea05f.tar.gz freebsd-ports-gnome-1a0e54eee5def8039cf6fc076d14947e362ea05f.tar.zst freebsd-ports-gnome-1a0e54eee5def8039cf6fc076d14947e362ea05f.zip |
- Update to version 3.3.0
- Make $PREFIX-clean
- Also install *.pyo files to ensure clean deinstallation always
Approved by: Hye-Shik Chang <perky@python.or.kr> (MAINTAINER)
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r-- | databases/py-bsddb3/Makefile | 14 | ||||
-rw-r--r-- | databases/py-bsddb3/distinfo | 2 | ||||
-rw-r--r-- | databases/py-bsddb3/pkg-plist | 8 |
3 files changed, 16 insertions, 8 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index b6860b8d2976..1bc3cceb8819 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -6,11 +6,10 @@ # PORTNAME= bsddb3 -PORTVERSION= 3.0 -PORTREVISION= 2 +PORTVERSION= 3.3.0 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= pybsddb +MASTER_SITE_SUBDIR= pybsddb PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= perky@python.or.kr @@ -18,14 +17,15 @@ MAINTAINER= perky@python.or.kr LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3 USE_PYTHON= yes -SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py -PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||} do-build: - ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} --inplace + ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} \ + --inplace do-install: - ${SETUP_CMD} install + ${SETUP_CMD} install -c -O1 --prefix=${PREFIX} .include <bsd.port.mk> diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo index b50f8efc9fe3..feeb5fffac9c 100644 --- a/databases/py-bsddb3/distinfo +++ b/databases/py-bsddb3/distinfo @@ -1 +1 @@ -MD5 (bsddb3-3.0.tar.gz) = 7c819ff6b26e95fae2bd6bf27e821c03 +MD5 (bsddb3-3.3.0.tar.gz) = f3e0f37d57fd033db43305684eb6e2e5 diff --git a/databases/py-bsddb3/pkg-plist b/databases/py-bsddb3/pkg-plist index d60333911585..b080c94bee68 100644 --- a/databases/py-bsddb3/pkg-plist +++ b/databases/py-bsddb3/pkg-plist @@ -1,16 +1,24 @@ +@cwd %%LOCALBASE%% %%PYTHON_SITELIBDIR%%/bsddb3/__init__.py %%PYTHON_SITELIBDIR%%/bsddb3/__init__.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/__init__.pyo %%PYTHON_SITELIBDIR%%/bsddb3/_db.so %%PYTHON_SITELIBDIR%%/bsddb3/db.py %%PYTHON_SITELIBDIR%%/bsddb3/db.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/db.pyo %%PYTHON_SITELIBDIR%%/bsddb3/dbobj.py %%PYTHON_SITELIBDIR%%/bsddb3/dbobj.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/dbobj.pyo %%PYTHON_SITELIBDIR%%/bsddb3/dbrecio.py %%PYTHON_SITELIBDIR%%/bsddb3/dbrecio.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/dbrecio.pyo %%PYTHON_SITELIBDIR%%/bsddb3/dbshelve.py %%PYTHON_SITELIBDIR%%/bsddb3/dbshelve.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/dbshelve.pyo %%PYTHON_SITELIBDIR%%/bsddb3/dbtables.py %%PYTHON_SITELIBDIR%%/bsddb3/dbtables.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/dbtables.pyo %%PYTHON_SITELIBDIR%%/bsddb3/dbutils.py %%PYTHON_SITELIBDIR%%/bsddb3/dbutils.pyc +%%PYTHON_SITELIBDIR%%/bsddb3/dbutils.pyo @dirrm %%PYTHON_SITELIBDIR%%/bsddb3 |