summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-31 10:35:03 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:21 +0100
commita1ea35e0d82ff69f86deb4c0f39285345f13b160 (patch)
tree771521bbcb9ab5c0e9828ff320b47cede39fad31 /gnu/packages/python-build.scm
parent1a00e429c603aaf466d3158940c44888de8f2b5f (diff)
gnu: python-iniconfig: Move to python-build and adapt native-inputs.
* gnu/packages/python-xyz.scm (python-iniconfig): Move from here… * gnu/packages/python-build.scm (python-iniconfig): …to here. [native-inputs]: Remove python-hatch-vcs, and python-hatchling; add python-hatch-vcs-bootstrap, and python-hatchling-bootstrap. Change-Id: I4691d19787fdfbc1293b475c43595d273aa40a4e Modified-by-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 2cc6b8dbc8d..a81b9915f37 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1043,6 +1043,34 @@ version control system (like Git) to determine project versions.")
(list python-hatchling-bootstrap
python-setuptools-scm-bootstrap))))
+(define-public python-iniconfig
+ (package
+ (name "python-iniconfig")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "iniconfig" version))
+ (sha256
+ (base32 "1iz1fg3n6pv4q8jzv1q0izl5001diwqggizrg3p3ywrn1gix5frs"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;no tests in PyPI, tests introduce cycle with pytest
+ (native-inputs
+ (list python-hatch-vcs-bootstrap
+ python-hatchling-bootstrap))
+ (home-page "https://github.com/RonnyPfannschmidt/iniconfig")
+ (synopsis "Simple INI-file parser")
+ (description "The @code{iniconfig} package provides a small and simple
+ INI-file parser module having a unique set of features ; @code{iniconfig}
+ @itemize
+ @item maintains the order of sections and entries ;
+ @item supports multi-line values with or without line-continuations ;
+ @item supports \"#\" comments everywhere ;
+ @item raises errors with proper line-numbers ;
+ @item raises an error when two sections have the same name.
+ @end itemize")
+ (license license:expat)))
+
(define-public python-installer
(package
(name "python-installer")