aboutsummaryrefslogtreecommitdiff
path: root/databases/py-berkeleydb
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-berkeleydb')
-rw-r--r--databases/py-berkeleydb/Makefile2
-rw-r--r--databases/py-berkeleydb/distinfo6
-rw-r--r--databases/py-berkeleydb/files/patch-setup3.py23
3 files changed, 20 insertions, 11 deletions
diff --git a/databases/py-berkeleydb/Makefile b/databases/py-berkeleydb/Makefile
index 26e974ab7b22..896b2190f4ea 100644
--- a/databases/py-berkeleydb/Makefile
+++ b/databases/py-berkeleydb/Makefile
@@ -1,5 +1,5 @@
PORTNAME= berkeleydb
-DISTVERSION= 18.1.14
+DISTVERSION= 18.1.15
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/databases/py-berkeleydb/distinfo b/databases/py-berkeleydb/distinfo
index 06b87e1ad6f1..5611e5960460 100644
--- a/databases/py-berkeleydb/distinfo
+++ b/databases/py-berkeleydb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742808980
-SHA256 (berkeleydb-18.1.14.tar.gz) = 8c260282f57ebd5b9c3ce53da0eb75be5957addb303e3190935b716448f32f7d
-SIZE (berkeleydb-18.1.14.tar.gz) = 320796
+TIMESTAMP = 1760456031
+SHA256 (berkeleydb-18.1.15.tar.gz) = 7afa53143d754c6bb2c85656c1325ebae518adcfcd1b59e13cc2abb88ddf758e
+SIZE (berkeleydb-18.1.15.tar.gz) = 188446
diff --git a/databases/py-berkeleydb/files/patch-setup3.py b/databases/py-berkeleydb/files/patch-setup3.py
index bececbbdb5fa..8f3d0f7ce118 100644
--- a/databases/py-berkeleydb/files/patch-setup3.py
+++ b/databases/py-berkeleydb/files/patch-setup3.py
@@ -1,15 +1,15 @@
---- setup3.py.orig 2024-10-31 03:59:08 UTC
+--- setup3.py.orig 2025-10-12 02:12:47 UTC
+++ setup3.py
-@@ -41,7 +41,7 @@ os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
- # See https://setuptools.readthedocs.io/en/latest/deprecated/\
- # distutils-legacy.html
- os.environ['SETUPTOOLS_USE_DISTUTILS'] = 'local'
+@@ -39,7 +39,7 @@ import platform
+ import platform
+
+
-from setuptools import setup, Extension
+from distutils.core import setup, Extension
import distutils.ccompiler
# read the module version number out of the .c file
-@@ -260,8 +260,8 @@ if os.name == 'posix':
+@@ -282,8 +282,8 @@ if os.name == 'posix':
incdir = os.path.join(BERKELEYDB_DIR, 'include')
if not libdir:
libdir = os.path.join(BERKELEYDB_DIR, 'lib')
@@ -20,7 +20,16 @@
else:
if debug:
print("LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'")
-@@ -270,7 +270,7 @@ if os.name == 'posix':
+@@ -292,7 +292,7 @@ if os.name == 'posix':
+
+ # read db.h to figure out what version of Oracle 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+).*')
+@@ -338,7 +338,7 @@ elif os.name == 'nt':
# read db.h to figure out what version of Oracle Berkeley DB this is
ver = None