summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm58
1 files changed, 58 insertions, 0 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.")
1458class constructs.") 1458class constructs.")
1459 (license license:expat))) 1459 (license license:expat)))
1460 1460
1461(define-public python-jaraco-collections
1462 (package
1463 (name "python-jaraco-collections")
1464 (version "5.2.1")
1465 (source
1466 (origin
1467 (method url-fetch)
1468 (uri (pypi-uri "jaraco_collections" version))
1469 (sha256
1470 (base32 "1v8qza70spm4d822bm7wq3j2cyd33nqg2i87n99spw6np9q1kf6s"))))
1471 (build-system pyproject-build-system)
1472 ;; Do not test pyproject.toml with python-pytest-checkdocs as it tries to
1473 ;; download dependencies.
1474 (arguments
1475 '(#:test-flags '("-k" "not project")))
1476 (native-inputs
1477 (list python-pytest-bootstrap
1478 python-setuptools-bootstrap
1479 python-setuptools-scm-bootstrap))
1480 (propagated-inputs
1481 (list python-jaraco-text))
1482 (home-page "https://github.com/jaraco/jaraco.collections")
1483 (synopsis "Provides various collection objects")
1484 (description
1485 "This package provides models and classes to supplement the
1486standard library @code{collections} module. Examples include
1487@itemize
1488@item
1489RangeMap: A mapping that accepts a range of values for keys.
1490@item
1491Projection: A subset over an existing mapping.
1492@item
1493KeyTransformingDict: Generalized mapping with keys transformed by a function.
1494@item
1495FoldedCaseKeyedDict: A dict whose string keys are case-insensitive.
1496@item
1497BijectiveMap: A map where keys map to values and values back to their keys.
1498@item
1499ItemsAsAttributes: A mapping mix-in exposing items as attributes.
1500@item
1501IdentityOverrideMap: A map whose keys map by default to themselves unless overridden.
1502@item
1503FrozenDict: A hashable, immutable map.
1504@item
1505Enumeration: An object whose keys are enumerated.
1506@item
1507Everything: A container that contains all things.
1508@item
1509Least, Greatest: Objects that are always less than or greater than any other.
1510@item
1511pop_all: Return all items from the mutable sequence and remove them from that sequence.
1512@item
1513DictStack: A stack of dicts, great for sharing scopes.
1514@item
1515WeightedLookup: A specialized RangeMap for selecting an item by weights.
1516@end itemize")
1517 (license license:expat)))
1518
1461(define-public python-jaraco-context 1519(define-public python-jaraco-context
1462 (package 1520 (package
1463 (name "python-jaraco-context") 1521 (name "python-jaraco-context")