Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-jaraco.collections: Add new port
Python models and classes to supplement the stdlib 'collections' module. https://github.com/jaraco/jaraco.collections
- Loading branch information
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
PORTNAME= jaraco.collections | ||
DISTVERSION= 4.2.0 | ||
CATEGORIES= devel python | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= nivit@FreeBSD.org | ||
COMMENT= Python models and classes to supplement the stdlib ‘collections’ | ||
WWW= https://github.com/jaraco/jaraco.collections | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco.text>=3.11.1:devel/py-jaraco.text@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR} | ||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco.text>=3.11.1:devel/py-jaraco.text@${PY_FLAVOR} | ||
|
||
USES= python | ||
USE_PYTHON= autoplist pep517 pytest | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1686684851 | ||
SHA256 (jaraco.collections-4.2.0.tar.gz) = d91461bbfa4e1257e1d94cc2d0a4bd1e261229dda371f7bfa3683c64d32cd31e | ||
SIZE (jaraco.collections-4.2.0.tar.gz) = 17623 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Models and classes to supplement the stdlib 'collections' module. | ||
|
||
Highlights include: | ||
|
||
* RangeMap: A mapping that accepts a range of values for keys. | ||
* Projection: A subset over an existing mapping. | ||
* KeyTransformingDict: Generalized mapping with keys transformed by a | ||
function. | ||
* FoldedCaseKeyedDict: A dict whose string keys are case-insensitive. | ||
* BijectiveMap: A map where keys map to values and values back to their keys. | ||
* ItemsAsAttributes: A mapping mix-in exposing items as attributes. | ||
* IdentityOverrideMap: A map whose keys map by default to themselves unless | ||
overridden. | ||
* FrozenDict: A hashable, immutable map. | ||
* Enumeration: An object whose keys are enumerated. | ||
* Everything: A container that contains all things. | ||
* Least, Greatest: Objects that are always less than or greater than any | ||
other. | ||
* pop_all: Return all items from the mutable sequence and remove them from | ||
that sequence. | ||
* DictStack: A stack of dicts, great for sharing scopes. | ||
* WeightedLookup: A specialized RangeMap for selecting an item by weights. |