databases/py-berkeleydb: Update version 18.1.2=>18.1.4

This commit is contained in:
Muhammad Moinur Rahman 2021-05-25 05:07:38 +00:00
parent 0de902e2ff
commit 19cde191d2
3 changed files with 15 additions and 18 deletions

View File

@ -1,7 +1,7 @@
# Created by: Hye-Shik Chang <perky@python.or.kr>
PORTNAME= berkeleydb
PORTVERSION= 18.1.2
PORTVERSION= 18.1.4
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -29,7 +29,7 @@ post-patch:
s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}| ; \
s|%%BDB_LIB_NAME%%|${BDB_LIB_NAME}|' \
${WRKSRC}/setup3.py
@${REINPLACE_CMD} 's|<db\.h>|<${BDB_INCLUDE_DIR}/db.h>|' ${WRKSRC}/src/Modules/berkeleydb.h
@${REINPLACE_CMD} 's|<db\.h>|<${BDB_INCLUDE_DIR}/db.h>|' ${WRKSRC}/src/Module/berkeleydb.h
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1613155635
SHA256 (berkeleydb-18.1.2.tar.gz) = b617a8f8562a36e5a395beb93e07a0905dd5e68e7ba2e87916a740db9126470e
SIZE (berkeleydb-18.1.2.tar.gz) = 168233
TIMESTAMP = 1621889489
SHA256 (berkeleydb-18.1.4.tar.gz) = 3f6da579e727cdec7cdf192feaeb2ad58dca7a8479902f20cc2d73b2027b9e54
SIZE (berkeleydb-18.1.4.tar.gz) = 129690

View File

@ -1,18 +1,15 @@
--- setup3.py.orig 2020-12-07 19:17:41 UTC
--- setup3.py.orig 2021-05-19 15:44:48 UTC
+++ setup3.py
@@ -41,10 +41,7 @@ import sys
import glob
-try :
- from setuptools import setup, Extension
-except Exception:
- from distutils.core import setup, Extension
@@ -44,7 +44,7 @@ import glob
# See https://setuptools.readthedocs.io/en/latest/deprecated/\
# distutils-legacy.html
os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
-from setuptools import setup, Extension
+from distutils.core import setup, Extension
from distutils.dep_util import newer
import distutils.ccompiler
@@ -258,8 +255,8 @@ if os.name == 'posix':
# read the module version number out of the .c file
@@ -256,8 +256,8 @@ if os.name == 'posix':
incdir = os.path.join(BERKELEYDB_DIR, 'include')
if not libdir:
libdir = os.path.join(BERKELEYDB_DIR, 'lib')
@ -23,7 +20,7 @@
else:
if debug: print("LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'")
libname = []
@@ -298,7 +295,7 @@ if os.name == 'posix':
@@ -296,7 +296,7 @@ if os.name == 'posix':
# read db.h to figure out what version of Oracle Berkeley DB this is
ver = None