diff --git a/devel/py-iniconfig/Makefile b/devel/py-iniconfig/Makefile index 4dbb3efc42b1..7e8eedc9eb22 100644 --- a/devel/py-iniconfig/Makefile +++ b/devel/py-iniconfig/Makefile @@ -1,22 +1,27 @@ PORTNAME= iniconfig -DISTVERSION= 1.1.1 -PORTREVISION= 2 +DISTVERSION= 2.3.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbaio@FreeBSD.org COMMENT= Simple parsing of ini files in Python WWW= https://pypi.org/project/iniconfig/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3:devel/py-setuptools-scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes +# tests as of 2.3.0: 49 passed in 1.11s + .include diff --git a/devel/py-iniconfig/distinfo b/devel/py-iniconfig/distinfo index 3b905b194acd..62f4036196e7 100644 --- a/devel/py-iniconfig/distinfo +++ b/devel/py-iniconfig/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1610803536 -SHA256 (iniconfig-1.1.1.tar.gz) = bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32 -SIZE (iniconfig-1.1.1.tar.gz) = 8104 +TIMESTAMP = 1777970223 +SHA256 (iniconfig-2.3.0.tar.gz) = c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 +SIZE (iniconfig-2.3.0.tar.gz) = 20503 diff --git a/devel/py-iniconfig/files/patch-pyproject.toml b/devel/py-iniconfig/files/patch-pyproject.toml new file mode 100644 index 000000000000..7f0340106780 --- /dev/null +++ b/devel/py-iniconfig/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2025-10-18 21:53:59 UTC ++++ pyproject.toml +@@ -1,7 +1,7 @@ requires = [ + [build-system] + build-backend = "setuptools.build_meta" + requires = [ +- "setuptools>=77", ++ "setuptools", + "setuptools-scm>=8", + ] + +@@ -9,8 +9,6 @@ readme = "README.rst" + name = "iniconfig" + description = "brain-dead simple config-ini parsing" + readme = "README.rst" +-license = "MIT" +-license-files = [ "LICENSE" ] + authors = [ + { name = "Ronny Pfannschmidt", email = "opensource@ronnypfannschmidt.de" }, + { name = "Holger Krekel", email = "holger.krekel@gmail.com" },