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,19 +1,21 @@ PORTNAME= constantly -PORTVERSION= 15.1.0 +PORTVERSION= 23.10.4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Provides symbolic constant support to Python projects 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 .include 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):