git: 53098cf495f9 - main - devel/py-constantly: update 15.1.0 → 23.10.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Dec 2024 14:55:20 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=53098cf495f900aebdbf0586dedf02ed38037b26
commit 53098cf495f900aebdbf0586dedf02ed38037b26
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-12-15 12:06:14 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-12-15 14:55:16 +0000
devel/py-constantly: update 15.1.0 → 23.10.4
---
devel/py-constantly/Makefile | 6 ++++--
devel/py-constantly/distinfo | 6 +++---
devel/py-constantly/files/patch-versioneer.py | 14 --------------
3 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/devel/py-constantly/Makefile b/devel/py-constantly/Makefile
index 264cb1de63d0..680625a6fcac 100644
--- a/devel/py-constantly/Makefile
+++ b/devel/py-constantly/Makefile
@@ -1,5 +1,5 @@
PORTNAME= constantly
-PORTVERSION= 15.1.0
+PORTVERSION= 23.10.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,10 @@ WWW= https://pypi.org/project/constantly/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}versioneer>0:devel/py-versioneer@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
diff --git a/devel/py-constantly/distinfo b/devel/py-constantly/distinfo
index b758f9d411f6..5e0b056d93d3 100644
--- a/devel/py-constantly/distinfo
+++ b/devel/py-constantly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1478965100
-SHA256 (constantly-15.1.0.tar.gz) = 586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
-SIZE (constantly-15.1.0.tar.gz) = 21465
+TIMESTAMP = 1734264149
+SHA256 (constantly-23.10.4.tar.gz) = aa92b70a33e2ac0bb33cd745eb61776594dc48764b06c35e0efd050b7f1c7cbd
+SIZE (constantly-23.10.4.tar.gz) = 13300
diff --git a/devel/py-constantly/files/patch-versioneer.py b/devel/py-constantly/files/patch-versioneer.py
deleted file mode 100644
index 70be6be98477..000000000000
--- a/devel/py-constantly/files/patch-versioneer.py
+++ /dev/null
@@ -1,14 +0,0 @@
---- versioneer.py.orig 2015-08-11 08:30:05 UTC
-+++ versioneer.py
-@@ -396,9 +396,9 @@ def get_config_from_root(root):
- # configparser.NoOptionError (if it lacks "VCS="). See the docstring at
- # the top of versioneer.py for instructions on writing your setup.cfg .
- setup_cfg = os.path.join(root, "setup.cfg")
-- parser = configparser.SafeConfigParser()
-+ parser = configparser.ConfigParser()
- with open(setup_cfg, "r") as f:
-- parser.readfp(f)
-+ parser.read_file(f)
- VCS = parser.get("versioneer", "VCS") # mandatory
-
- def get(parser, name):