Created
April 22, 2023 15:04
-
-
Save lwhsu/e9edfde5f157f3253f57b1cce7ed11ca to your computer and use it in GitHub Desktop.
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 is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# py-immutabledict | |
# py-immutabledict/distinfo | |
# py-immutabledict/Makefile | |
# py-immutabledict/pkg-descr | |
# | |
echo c - py-immutabledict | |
mkdir -p py-immutabledict > /dev/null 2>&1 | |
echo x - py-immutabledict/distinfo | |
sed 's/^X//' >py-immutabledict/distinfo << '5858436274d9e09489889b13b7017dec' | |
XTIMESTAMP = 1682174771 | |
XSHA256 (immutabledict-2.2.4.tar.gz) = 3bedc0741faaa2846f6edf5c29183f993da3abaff6a5961bb70a5659bb9e68ab | |
XSIZE (immutabledict-2.2.4.tar.gz) = 4314 | |
5858436274d9e09489889b13b7017dec | |
echo x - py-immutabledict/Makefile | |
sed 's/^X//' >py-immutabledict/Makefile << '80e922035f6f57e8c7580bbee189329e' | |
XPORTNAME= immutabledict | |
XPORTVERSION= 2.2.4 | |
XCATEGORIES= devel python | |
XMASTER_SITES= PYPI | |
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | |
X | |
XMAINTAINER= lwhsu@FreeBSD.org | |
XCOMMENT= Immutable wrapper around dictionaries for Python3 | |
XWWW= https://github.com/corenting/immutabledict | |
X | |
XLICENSE= MIT | |
XLICENSE_FILE= ${WRKSRC}/LICENSE | |
X | |
XUSES= python | |
XUSE_PYTHON= autoplist concurrent pep517 | |
X | |
X#MAKE_ARGS= custom_arg=c | |
X# | |
X#post-install: | |
X# ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + | |
X | |
X.include <bsd.port.mk> | |
80e922035f6f57e8c7580bbee189329e | |
echo x - py-immutabledict/pkg-descr | |
sed 's/^X//' >py-immutabledict/pkg-descr << 'e13dd8e4b32e8b39e51847f03649bb13' | |
XA fork of the original frozendict, an immutable wrapper around dictionaries. | |
XThis library is a pure Python, MIT-licensed alternative to the new LGPL-3.0 | |
Xlicensed frozendict. | |
X | |
XIt implements the complete mapping interface and can be used as a drop-in | |
Xreplacement for dictionaries where immutability is desired. The immutabledict | |
Xconstructor mimics dict, and all of the expected interfaces (iter, len, repr, | |
Xhash, getitem) are provided. Note that an immutabledict does not guarantee the | |
Ximmutability of its values, so the utility of hash method is restricted by | |
Xusage. | |
X | |
XThe only difference is that the copy() method of immutable takes variable | |
Xkeyword arguments, which will be present as key/value pairs in the new, | |
Ximmutable copy. | |
e13dd8e4b32e8b39e51847f03649bb13 | |
exit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment