devel/py-constantly: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2025-01-07 13:49:12 +01:00
parent 77e1985cb5
commit aeed7c95c7
3 changed files with 7 additions and 19 deletions

View file

@ -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

View file

@ -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

View file

@ -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):