git: 8e710879be3f - main - devel/py-attrs-strict: Add py-attrs-strict 1.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:36:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8e710879be3fba8a6666fd3912a7bf847b8c3285
commit 8e710879be3fba8a6666fd3912a7bf847b8c3285
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:32:23 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:32:23 +0000
devel/py-attrs-strict: Add py-attrs-strict 1.0.0
attrs-strict is a Python package which contains runtime validation for attrs
data classes based on the types existing in the typing module.
WWW: https://github.com/bloomberg/attrs-strict
---
devel/Makefile | 1 +
devel/py-attrs-strict/Makefile | 29 +++++++++++++++++++++++++++++
devel/py-attrs-strict/distinfo | 3 +++
devel/py-attrs-strict/pkg-descr | 4 ++++
4 files changed, 37 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index fa7de6c96cef..7ebf480177da 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4211,6 +4211,7 @@
SUBDIR += py-atomicwrites
SUBDIR += py-atpublic
SUBDIR += py-attrs
+ SUBDIR += py-attrs-strict
SUBDIR += py-autocommand
SUBDIR += py-autoflake
SUBDIR += py-automaton
diff --git a/devel/py-attrs-strict/Makefile b/devel/py-attrs-strict/Makefile
new file mode 100644
index 000000000000..68c27fdaf8e6
--- /dev/null
+++ b/devel/py-attrs-strict/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= attrs-strict
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= attrs_strict-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Runtime validators for attrs
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-attrs-strict/distinfo b/devel/py-attrs-strict/distinfo
new file mode 100644
index 000000000000..2bc4573aa25b
--- /dev/null
+++ b/devel/py-attrs-strict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655561112
+SHA256 (attrs_strict-1.0.0.tar.gz) = 6326c1e51c4fd2fffc9dd607dec06c31add64eedbd37a651ea88f663a37c3f18
+SIZE (attrs_strict-1.0.0.tar.gz) = 25097
diff --git a/devel/py-attrs-strict/pkg-descr b/devel/py-attrs-strict/pkg-descr
new file mode 100644
index 000000000000..0603216c6753
--- /dev/null
+++ b/devel/py-attrs-strict/pkg-descr
@@ -0,0 +1,4 @@
+attrs-strict is a Python package which contains runtime validation for attrs
+data classes based on the types existing in the typing module.
+
+WWW: https://github.com/bloomberg/attrs-strict