diff --git a/textproc/py-custom_inherit/Makefile b/textproc/py-custom_inherit/Makefile index bd6010045199..f72a86d92acf 100644 --- a/textproc/py-custom_inherit/Makefile +++ b/textproc/py-custom_inherit/Makefile @@ -1,17 +1,16 @@ PORTNAME= custom_inherit -PORTVERSION= 2.3.1 -PORTREVISION= 1 +PORTVERSION= 2.4.1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Package providing tools for inheriting docstrings in customizable ways WWW= https://github.com/meowklaski/custom_inherit LICENSE= MIT -USES= python -USE_PYTHON= autoplist distutils +USES= python:3.12+ +USE_PYTHON= autoplist distutils flavors .include diff --git a/textproc/py-custom_inherit/distinfo b/textproc/py-custom_inherit/distinfo index b562849140cb..c718bb4916da 100644 --- a/textproc/py-custom_inherit/distinfo +++ b/textproc/py-custom_inherit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611674010 -SHA256 (custom_inherit-2.3.1.tar.gz) = a0d104847b4cc1ae24e00061fc2e11da8766b019bf4c8c753822347366c8c49f -SIZE (custom_inherit-2.3.1.tar.gz) = 30106 +TIMESTAMP = 1786207120 +SHA256 (custom_inherit-2.4.1.tar.gz) = 7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2 +SIZE (custom_inherit-2.4.1.tar.gz) = 31193 diff --git a/textproc/py-custom_inherit/files/patch-versioneer.py b/textproc/py-custom_inherit/files/patch-versioneer.py new file mode 100644 index 000000000000..090dbfc2b3c3 --- /dev/null +++ b/textproc/py-custom_inherit/files/patch-versioneer.py @@ -0,0 +1,14 @@ +--- versioneer.py.orig 2026-08-08 17:53:47 UTC ++++ versioneer.py +@@ -339,9 +339,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):