git: dd252214d6a5 - main - textproc/py-custom_inherit: Update to 2.4.1

Steven Kreuzer <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <6a776eb5.3e3d5.4d6881c9__49045.6772314914$1786212042$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by skreuzer:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd252214d6a515a4af03c26f315b10ab5a8a1d8e

commit dd252214d6a515a4af03c26f315b10ab5a8a1d8e
Author:     Steven Kreuzer <[email protected]>
AuthorDate: 2026-08-08 17:56:49 +0000
Commit:     Steven Kreuzer <[email protected]>
CommitDate: 2026-08-08 18:00:13 +0000

    textproc/py-custom_inherit: Update to 2.4.1
    
    ChangeLog:  https://github.com/rsokl/custom_inherit/releases/tag/v2.4.1
---
 textproc/py-custom_inherit/Makefile                  |  7 +++----
 textproc/py-custom_inherit/distinfo                  |  6 +++---
 textproc/py-custom_inherit/files/patch-versioneer.py | 14 ++++++++++++++
 3 files changed, 20 insertions(+), 7 deletions(-)

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,6 +1,5 @@
 PORTNAME=	custom_inherit
-PORTVERSION=	2.3.1
-PORTREVISION=	1
+PORTVERSION=	2.4.1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +10,7 @@ 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 <bsd.port.mk>
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):
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.