git: ec5c3cb4d00c - main - databases/py-berkeleydb: Update version 18.1.4=>18.1.5

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 15 Feb 2022 06:34:13 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec5c3cb4d00c206787b1263ade9430ad55e9815b

commit ec5c3cb4d00c206787b1263ade9430ad55e9815b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-15 06:25:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-15 06:33:52 +0000

    databases/py-berkeleydb: Update version 18.1.4=>18.1.5
    
    - Drop support for pyhon36 as per upstream
    
    Relnotes:
    https://hg.jcea.es/pybsddb/file/fd36463ece9e/docs/changelog.rst
---
 databases/py-berkeleydb/Makefile | 7 +++++--
 databases/py-berkeleydb/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/databases/py-berkeleydb/Makefile b/databases/py-berkeleydb/Makefile
index a3c4e26d6558..1896f5e7edde 100644
--- a/databases/py-berkeleydb/Makefile
+++ b/databases/py-berkeleydb/Makefile
@@ -1,7 +1,7 @@
 # Created by: Hye-Shik Chang <perky@python.or.kr>
 
 PORTNAME=	berkeleydb
-PORTVERSION=	18.1.4
+PORTVERSION=	18.1.5
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ COMMENT=	Python bindings for Oracle Berkeley DB
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		bdb python:3.6+
+USES=		bdb python:3.7+
 USE_PYTHON=	distutils autoplist
 
 PYDISTUTILS_CONFIGUREARGS=--libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE}
@@ -31,6 +31,9 @@ post-patch:
 		${WRKSRC}/setup3.py
 	@${REINPLACE_CMD} 's|<db\.h>|<${BDB_INCLUDE_DIR}/db.h>|' ${WRKSRC}/src/Module/berkeleydb.h
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_${PORTNAME}.cpython-*.so
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
diff --git a/databases/py-berkeleydb/distinfo b/databases/py-berkeleydb/distinfo
index 815905527a76..3671fd36e9ca 100644
--- a/databases/py-berkeleydb/distinfo
+++ b/databases/py-berkeleydb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621889489
-SHA256 (berkeleydb-18.1.4.tar.gz) = 3f6da579e727cdec7cdf192feaeb2ad58dca7a8479902f20cc2d73b2027b9e54
-SIZE (berkeleydb-18.1.4.tar.gz) = 129690
+TIMESTAMP = 1644899592
+SHA256 (berkeleydb-18.1.5.tar.gz) = d8c2efbca9472f8848b13cce4f4904a5ea1e1540ee576e626a1491817832a50a
+SIZE (berkeleydb-18.1.5.tar.gz) = 430952