diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-31 07:52:56 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:23 +0100 |
| commit | bcb84fa89c929e2289d1cd0d9b1752a6c0fb73e8 (patch) | |
| tree | 82836ab5e05a41365d4cffb2972f2f48f9b76740 | |
| parent | b53df52efa675fecac578ecb6a49abd72733c636 (diff) | |
gnu: python-jaraco-collections: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-collections): Move from here…
* gnu/packages/python-build.scm (python-jaraco-collections): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap. Remove
python-wheel.
Change-Id: I7e612a59917b9700dffd0034bbedde62959a9597
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-build.scm | 58 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 59 |
2 files changed, 58 insertions, 59 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 9ece8826848..58a427c9e63 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -1458,6 +1458,64 @@ abstractions for handling wheels and installing packages from wheels.") class constructs.") (license license:expat))) +(define-public python-jaraco-collections + (package + (name "python-jaraco-collections") + (version "5.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jaraco_collections" version)) + (sha256 + (base32 "1v8qza70spm4d822bm7wq3j2cyd33nqg2i87n99spw6np9q1kf6s")))) + (build-system pyproject-build-system) + ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries to + ;; download dependencies. + (arguments + '(#:test-flags '("-k" "not project"))) + (native-inputs + (list python-pytest-bootstrap + python-setuptools-bootstrap + python-setuptools-scm-bootstrap)) + (propagated-inputs + (list python-jaraco-text)) + (home-page "https://github.com/jaraco/jaraco.collections") + (synopsis "Provides various collection objects") + (description + "This package provides models and classes to supplement the +standard library @code{collections} module. Examples include +@itemize +@item +RangeMap: A mapping that accepts a range of values for keys. +@item +Projection: A subset over an existing mapping. +@item +KeyTransformingDict: Generalized mapping with keys transformed by a function. +@item +FoldedCaseKeyedDict: A dict whose string keys are case-insensitive. +@item +BijectiveMap: A map where keys map to values and values back to their keys. +@item +ItemsAsAttributes: A mapping mix-in exposing items as attributes. +@item +IdentityOverrideMap: A map whose keys map by default to themselves unless overridden. +@item +FrozenDict: A hashable, immutable map. +@item +Enumeration: An object whose keys are enumerated. +@item +Everything: A container that contains all things. +@item +Least, Greatest: Objects that are always less than or greater than any other. +@item +pop_all: Return all items from the mutable sequence and remove them from that sequence. +@item +DictStack: A stack of dicts, great for sharing scopes. +@item +WeightedLookup: A specialized RangeMap for selecting an item by weights. +@end itemize") + (license license:expat))) + (define-public python-jaraco-context (package (name "python-jaraco-context") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8dc60007537..baaf9e323e2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14330,65 +14330,6 @@ finding unresolved symbols in Python code and their corresponding imports.") enforced method signatures and consistent documentation.") (license license:expat))) -(define-public python-jaraco-collections - (package - (name "python-jaraco-collections") - (version "5.2.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "jaraco_collections" version)) - (sha256 - (base32 "1v8qza70spm4d822bm7wq3j2cyd33nqg2i87n99spw6np9q1kf6s")))) - (build-system pyproject-build-system) - ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries to - ;; download dependencies. - (arguments - '(#:test-flags '("-k" "not project"))) - (native-inputs - (list python-pytest - python-setuptools - python-setuptools-scm - python-wheel)) - (propagated-inputs - (list python-jaraco-text)) - (home-page "https://github.com/jaraco/jaraco.collections") - (synopsis "Provides various collection objects") - (description - "This package provides models and classes to supplement the -standard library @code{collections} module. Examples include -@itemize -@item -RangeMap: A mapping that accepts a range of values for keys. -@item -Projection: A subset over an existing mapping. -@item -KeyTransformingDict: Generalized mapping with keys transformed by a function. -@item -FoldedCaseKeyedDict: A dict whose string keys are case-insensitive. -@item -BijectiveMap: A map where keys map to values and values back to their keys. -@item -ItemsAsAttributes: A mapping mix-in exposing items as attributes. -@item -IdentityOverrideMap: A map whose keys map by default to themselves unless overridden. -@item -FrozenDict: A hashable, immutable map. -@item -Enumeration: An object whose keys are enumerated. -@item -Everything: A container that contains all things. -@item -Least, Greatest: Objects that are always less than or greater than any other. -@item -pop_all: Return all items from the mutable sequence and remove them from that sequence. -@item -DictStack: A stack of dicts, great for sharing scopes. -@item -WeightedLookup: A specialized RangeMap for selecting an item by weights. -@end itemize") - (license license:expat))) - (define-public python-jaraco-packaging (package (name "python-jaraco-packaging") |
