git: e10f683b8256 - main - devel/py-frozenlist: New port

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Sun, 19 Dec 2021 21:49:28 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e10f683b8256376e794d2eb2fb14c8e5eb767c14

commit e10f683b8256376e794d2eb2fb14c8e5eb767c14
Author:     Brad Davis <brd@FreeBSD.org>
AuthorDate: 2021-12-19 21:47:30 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2021-12-19 21:49:29 +0000

    devel/py-frozenlist: New port
    
    PR:     260444
---
 devel/Makefile                |  1 +
 devel/py-frozenlist/Makefile  | 17 +++++++++++++++++
 devel/py-frozenlist/distinfo  |  3 +++
 devel/py-frozenlist/pkg-descr |  6 ++++++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index eae57f3936b7..3baa42f662f5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-frozenlist/Makefile b/devel/py-frozenlist/Makefile
new file mode 100644
index 000000000000..94dd47c7d1de
--- /dev/null
+++ b/devel/py-frozenlist/Makefile
@@ -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>
diff --git a/devel/py-frozenlist/distinfo b/devel/py-frozenlist/distinfo
new file mode 100644
index 000000000000..d9ef02db7516
--- /dev/null
+++ b/devel/py-frozenlist/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1639526623
+SHA256 (frozenlist-1.2.0.tar.gz) = 68201be60ac56aff972dc18085800b6ee07973c49103a8aba669dee3d71079de
+SIZE (frozenlist-1.2.0.tar.gz) = 65634
diff --git a/devel/py-frozenlist/pkg-descr b/devel/py-frozenlist/pkg-descr
new file mode 100644
index 000000000000..dd3c26e8902f
--- /dev/null
+++ b/devel/py-frozenlist/pkg-descr
@@ -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