pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-iniconfig



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Nov  7 10:32:03 UTC 2025

Modified Files:
        pkgsrc/devel/py-iniconfig: Makefile PLIST distinfo

Log Message:
py-iniconfig: updated to 2.3.0

2.3.0

* add IniConfig.parse() classmethod with strip_inline_comments parameter
  - by default (strip_inline_comments=True), inline comments are properly stripped from values
  - set strip_inline_comments=False to preserve old behavior if needed
* IniConfig() constructor maintains backward compatibility (does not strip inline comments)
* users should migrate to IniConfig.parse() for correct comment handling
* add strip_section_whitespace parameter to IniConfig.parse()
  - opt-in parameter to strip Unicode whitespace from section names
  - when True, strips Unicode whitespace (U+00A0, U+2000, U+3000, etc.) from section names
  - when False (default), preserves existing behavior for backward compatibility
* clarify Unicode whitespace handling
  - since iniconfig 2.0.0 (Python 3 only), all strings are Unicode by default
  - Python 3's str.strip() has handled Unicode whitespace since Python 3.0 (2008)
  - iniconfig automatically benefits from this in all supported versions (Python >= 3.10)
  - key names and values have Unicode whitespace properly stripped using Python's built-in methods

2.2.0

* drop Python 3.8 and 3.9 support (now requires Python >= 3.10)
* add Python 3.14 classifier
* migrate from hatchling to setuptools 77 with setuptools_scm
* adopt PEP 639 license specifiers and PEP 740 build attestations
* migrate from black + pyupgrade to ruff
* migrate CI to uv and unified test workflow
* automate GitHub releases and PyPI publishing via Trusted Publishing
* include tests in sdist
* modernize code for Python 3.10+ (remove __future__ annotations, TYPE_CHECKING guards)
* rename _ParsedLine to ParsedLine


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-iniconfig/Makefile \
    pkgsrc/devel/py-iniconfig/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-iniconfig/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-iniconfig/Makefile
diff -u pkgsrc/devel/py-iniconfig/Makefile:1.7 pkgsrc/devel/py-iniconfig/Makefile:1.8
--- pkgsrc/devel/py-iniconfig/Makefile:1.7      Mon Apr 21 07:02:42 2025
+++ pkgsrc/devel/py-iniconfig/Makefile  Fri Nov  7 10:32:02 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2025/04/21 07:02:42 adam Exp $
+# $NetBSD: Makefile,v 1.8 2025/11/07 10:32:02 adam Exp $
 
-DISTNAME=      iniconfig-2.1.0
+DISTNAME=      iniconfig-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/iniconfig/}
@@ -10,8 +10,8 @@ HOMEPAGE=     https://github.com/pytest-dev/
 COMMENT=       Brain-dead simple config-ini parsing
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.26:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=77:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=8:../../devel/py-setuptools_scm
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/devel/py-iniconfig/distinfo
diff -u pkgsrc/devel/py-iniconfig/distinfo:1.7 pkgsrc/devel/py-iniconfig/distinfo:1.8
--- pkgsrc/devel/py-iniconfig/distinfo:1.7      Mon Apr 21 07:02:42 2025
+++ pkgsrc/devel/py-iniconfig/distinfo  Fri Nov  7 10:32:03 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2025/04/21 07:02:42 adam Exp $
+$NetBSD: distinfo,v 1.8 2025/11/07 10:32:03 adam Exp $
 
-BLAKE2s (iniconfig-2.1.0.tar.gz) = 985679afa479fcf02f5573ef8babc7cd305e5527effc5103b82bd97cd6b402fa
-SHA512 (iniconfig-2.1.0.tar.gz) = cea812d9b91b77eddbcf4e24b7aa60f8dc35d2c18bed783b8ad4864fc8caa0ec7aa070cb52c66f151f092d700637583dce6f541258dc6906144845e5a6321b6a
-Size (iniconfig-2.1.0.tar.gz) = 4793 bytes
+BLAKE2s (iniconfig-2.3.0.tar.gz) = d5db090d01feac19bacd0843d4455efe0819ab3937c7d9cdbbbf8c522a8debf4
+SHA512 (iniconfig-2.3.0.tar.gz) = 65f9200c904fae6d4691823a8c1c7af7d80d91438db47a6fa84a7688d0b95c73b65702a9ada16383a6c2036438b657b9981d2fcffbe6bbb5ed744b54557094eb
+Size (iniconfig-2.3.0.tar.gz) = 20503 bytes

Index: pkgsrc/devel/py-iniconfig/PLIST
diff -u pkgsrc/devel/py-iniconfig/PLIST:1.4 pkgsrc/devel/py-iniconfig/PLIST:1.5
--- pkgsrc/devel/py-iniconfig/PLIST:1.4 Sat Oct 28 19:57:01 2023
+++ pkgsrc/devel/py-iniconfig/PLIST     Fri Nov  7 10:32:02 2025
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:57:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/11/07 10:32:02 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/iniconfig/__init__.py
 ${PYSITELIB}/iniconfig/__init__.pyc
 ${PYSITELIB}/iniconfig/__init__.pyo



Home | Main Index | Thread Index | Old Index