git: 85bb4bbe0738 - main - databases/py-dbutils: Update to 3.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:42:59 UTC
The branch main has been updated by sunpoet:

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

commit 85bb4bbe0738809778ddc3d8bbf470e9e06ac1b7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:09:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:09:56 +0000

    databases/py-dbutils: Update to 3.1.0
    
    - Update WWW
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/WebwareForPython/DBUtils/blob/main/docs/changelog.rst
                    https://webwareforpython.github.io/DBUtils/changelog.html
---
 databases/py-dbutils/Makefile                   | 10 +++++++---
 databases/py-dbutils/distinfo                   |  6 +++---
 databases/py-dbutils/files/patch-pyproject.toml | 16 ++++++++++++++++
 3 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/databases/py-dbutils/Makefile b/databases/py-dbutils/Makefile
index 0eedf42a3a85..a42cfc3728a6 100644
--- a/databases/py-dbutils/Makefile
+++ b/databases/py-dbutils/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dbutils
-PORTVERSION=	3.0.3
+PORTVERSION=	3.1.0
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -7,13 +7,17 @@ DISTNAME=	DBUtils-${PORTVERSION}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Providing solid, persistent, and pooled connections to a database
-WWW=		https://webwareforpython.github.io/DBUtils/
+WWW=		https://webwareforpython.github.io/DBUtils/ \
+		https://github.com/WebwareForPython/DBUtils
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/databases/py-dbutils/distinfo b/databases/py-dbutils/distinfo
index 1e52d9e6c6e6..4191fce33241 100644
--- a/databases/py-dbutils/distinfo
+++ b/databases/py-dbutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682903240
-SHA256 (DBUtils-3.0.3.tar.gz) = 8e48565b12ad2b4b1f214de0294deeb4b28578f5b2abb40d68c2924b64d7e007
-SIZE (DBUtils-3.0.3.tar.gz) = 94039
+TIMESTAMP = 1711466422
+SHA256 (DBUtils-3.1.0.tar.gz) = ea528ba11063240eea82345ebc6f7cc9324c06e42e9420b00bcd245a95bfcc24
+SIZE (DBUtils-3.1.0.tar.gz) = 94672
diff --git a/databases/py-dbutils/files/patch-pyproject.toml b/databases/py-dbutils/files/patch-pyproject.toml
new file mode 100644
index 000000000000..8616d188fc8d
--- /dev/null
+++ b/databases/py-dbutils/files/patch-pyproject.toml
@@ -0,0 +1,16 @@
+--- pyproject.toml.orig	2024-03-17 13:17:26 UTC
++++ pyproject.toml
+@@ -1,11 +1,11 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+-  "setuptools>=68",
++  "setuptools>=61",
+ ]
+ 
+ [project]
+-name = "DBUtils"
++name = "dbutils"
+ version = "3.1.0"
+ description = "Database connections for multi-threaded environments."
+ license = {text = "MIT License"}