diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-09-30 20:57:52 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-09-30 20:57:52 +0000 |
commit | 010325627d45d7dba5beed76a15376e29d6775a8 (patch) | |
tree | 31c296cb12fcc1b72cfd7f3f137651a0814dd6f5 | |
parent | a2c6b1202c6eae7e10b8852774f72c95d420895c (diff) |
cleanup: Remove expired ports:
2022-06-30 databases/py-bsddb3: Requires upstream EOLd db5. Use py-berkeleydb
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-bsddb3/Makefile | 43 | ||||
-rw-r--r-- | databases/py-bsddb3/distinfo | 3 | ||||
-rw-r--r-- | databases/py-bsddb3/files/patch-setup2.py | 35 | ||||
-rw-r--r-- | databases/py-bsddb3/files/patch-setup3.py | 35 | ||||
-rw-r--r-- | databases/py-bsddb3/pkg-descr | 8 |
7 files changed, 1 insertions, 125 deletions
@@ -17577,3 +17577,4 @@ audio/mctoolame-encoder||2022-09-30|Has expired: Legacy and obscure audio format www/py-ws4py||2022-09-30|Has expired: Upstream abandoned net-p2p/awgg||2022-09-30|Has expired: Depends on expired ftp/axel ftp/axel||2022-09-30|Has expired: Last release in 2009 and dead upstream, please consider using www/aria2 +databases/py-bsddb3||2022-09-30|Has expired: Requires upstream EOLd db5. Use py-berkeleydb diff --git a/databases/Makefile b/databases/Makefile index fbe596885e7d..57c8e618cd87 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -755,7 +755,6 @@ SUBDIR += py-asyncmy SUBDIR += py-asyncpg SUBDIR += py-berkeleydb - SUBDIR += py-bsddb3 SUBDIR += py-carbon SUBDIR += py-cassandra-driver SUBDIR += py-caterva diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile deleted file mode 100644 index 616efd479384..000000000000 --- a/databases/py-bsddb3/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -PORTNAME= bsddb3 -PORTVERSION= 6.2.9 -CATEGORIES= databases python -MASTER_SITES= CHEESESHOP -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= bofh@FreeBSD.org -COMMENT= Python extension module for BerkeleyDB 4.7, 4.8, 5.1, 5.3, 6.1 and 6.2 -WWW= https://www.jcea.es/programacion/pybsddb.htm - -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= Requires upstream EOLd db5. Use py-berkeleydb -EXPIRATION_DATE= 2022-06-30 - -USES= bdb:5 python:3.6-3.9 -USE_PYTHON= autoplist distutils - -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} - -DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} - -PORTDOCS= * - -OPTIONS_DEFINE= DOCS - -post-patch: - @${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py - @${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/Modules/bsddb.h - @${REINPLACE_CMD} 's,%%BDB_INCLUDE_DIR%%,${BDB_INCLUDE_DIR},' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py - @${REINPLACE_CMD} 's,%%BDB_LIB_NAME%%,${BDB_LIB_NAME},' ${WRKSRC}/setup3.py - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/bsddb3/_pybsddb*.so - -.include <bsd.port.mk> diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo deleted file mode 100644 index f20e3e92035b..000000000000 --- a/databases/py-bsddb3/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1609332820 -SHA256 (bsddb3-6.2.9.tar.gz) = 70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801 -SIZE (bsddb3-6.2.9.tar.gz) = 230475 diff --git a/databases/py-bsddb3/files/patch-setup2.py b/databases/py-bsddb3/files/patch-setup2.py deleted file mode 100644 index 4ed3fdfd8d8f..000000000000 --- a/databases/py-bsddb3/files/patch-setup2.py +++ /dev/null @@ -1,35 +0,0 @@ ---- setup2.py.orig 2016-02-08 21:14:26 UTC -+++ setup2.py -@@ -81,11 +81,7 @@ if (sys.version_info[0] < 3) and (sys.ve - category=DeprecationWarning) - - --try : -- from setuptools import setup, Extension --except : -- from distutils.core import setup, Extension -- -+from distutils.core import setup, Extension - from distutils.dep_util import newer - import distutils.ccompiler - -@@ -288,8 +284,8 @@ if os.name == 'posix': - incdir = os.path.join(BERKELEYDB_DIR, 'include') - if not libdir: - libdir = os.path.join(BERKELEYDB_DIR, 'lib') -- if not '-ldb' in LIBS: -- libname = [dblib] -+ if not '-l%%DBVERSION%%' in LIBS: -+ libname = ['%%DBVERSION%%'] - else: - if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'" - libname = [] -@@ -328,7 +324,7 @@ if os.name == 'posix': - - # read db.h to figure out what version of Berkeley DB this is - ver = None -- with open(os.path.join(incdir, 'db.h'), 'r') as f : -+ with open('%%BDB_INCLUDE_DIR%%/db.h', 'r') as f : - db_h_lines = f.readlines() - db_ver_re = re.compile( - r'^#define\s+DB_VERSION_STRING\s.*Berkeley DB (\d+\.\d+).*') diff --git a/databases/py-bsddb3/files/patch-setup3.py b/databases/py-bsddb3/files/patch-setup3.py deleted file mode 100644 index 3ff9359b825d..000000000000 --- a/databases/py-bsddb3/files/patch-setup3.py +++ /dev/null @@ -1,35 +0,0 @@ ---- setup3.py.orig 2016-02-08 21:18:47 UTC -+++ setup3.py -@@ -81,11 +81,7 @@ if (sys.version_info[0] < 3) and (sys.ve - category=DeprecationWarning) - - --try : -- from setuptools import setup, Extension --except : -- from distutils.core import setup, Extension -- -+from distutils.core import setup, Extension - from distutils.dep_util import newer - import distutils.ccompiler - -@@ -288,8 +284,8 @@ if os.name == 'posix': - incdir = os.path.join(BERKELEYDB_DIR, 'include') - if not libdir: - libdir = os.path.join(BERKELEYDB_DIR, 'lib') -- if not '-ldb' in LIBS: -- libname = [dblib] -+ if not '-l%%BDB_LIB_NAME%%' in LIBS: -+ libname = ['%%BDB_LIB_NAME%%'] - else: - if debug: print("LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'") - libname = [] -@@ -328,7 +324,7 @@ if os.name == 'posix': - - # read db.h to figure out what version of Berkeley DB this is - ver = None -- with open(os.path.join(incdir, 'db.h'), 'r') as f : -+ with open('%%BDB_INCLUDE_DIR%%/db.h', 'r') as f : - db_h_lines = f.readlines() - db_ver_re = re.compile( - r'^#define\s+DB_VERSION_STRING\s.*Berkeley DB (\d+\.\d+).*') diff --git a/databases/py-bsddb3/pkg-descr b/databases/py-bsddb3/pkg-descr deleted file mode 100644 index 621d2fd49423..000000000000 --- a/databases/py-bsddb3/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -This module provides a nearly complete wrapping of the Sleepycat C API -for the Database Environment, Database, Cursor, and Transaction -objects, and each of these is exposed as a Python Type in the -bsddb3.db module. The database objects can use different access -methods, btree, hash, recno, and queue. For the first time all of -these are fully supported in the Python wrappers. Please see the -document in developers' web site for more details on the types and -methods provided. |