devel/py-frozenlist: New port

PR:	260444
This commit is contained in:
Brad Davis 2021-12-19 13:47:30 -08:00 committed by Neel Chauhan
parent 2cdaec9c39
commit e10f683b82
4 changed files with 27 additions and 0 deletions

View file

@ -4535,6 +4535,7 @@
SUBDIR += py-freezegun
SUBDIR += py-frictionless
SUBDIR += py-frozendict
SUBDIR += py-frozenlist
SUBDIR += py-fs
SUBDIR += py-fs2
SUBDIR += py-fsspec

View file

@ -0,0 +1,17 @@
PORTNAME= frozenlist
PORTVERSION= 1.2.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= List-like structure which implements collections.abc.MutableSequence
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gettext-runtime python:3.6+
USE_PYTHON= autoplist distutils
INSTALL_TARGET= install-strip
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1639526623
SHA256 (frozenlist-1.2.0.tar.gz) = 68201be60ac56aff972dc18085800b6ee07973c49103a8aba669dee3d71079de
SIZE (frozenlist-1.2.0.tar.gz) = 65634

View file

@ -0,0 +1,6 @@
The list is mutable until FrozenList.freeze() is called, after which
list modifications raise RuntimeError. A FrozenList instance is
hashable, but only when frozen. Attempts to hash a non-frozen instance
will result in a RuntimeError exception.
WWW: https://github.com/aio-libs/frozenlist