aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 03:09:56 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 03:09:56 +0000
commit85bb4bbe0738809778ddc3d8bbf470e9e06ac1b7 (patch)
tree97b64f00902040d8a0762fc47c81a6da27e839a5
parent1f52ae6097ee73f6d5b9dae1cddaab7bfa1ee20a (diff)
downloadports-85bb4bbe0738809778ddc3d8bbf470e9e06ac1b7.tar.gz
ports-85bb4bbe0738809778ddc3d8bbf470e9e06ac1b7.zip
databases/py-dbutils: Update to 3.1.0
-rw-r--r--databases/py-dbutils/Makefile10
-rw-r--r--databases/py-dbutils/distinfo6
-rw-r--r--databases/py-dbutils/files/patch-pyproject.toml16
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"}