git: 6682a490d7ec - main - devel/py-beartype: New port: Fast runtime type checking in pure Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Dec 2022 02:38:45 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6682a490d7ec72fa8563d97732fb159d33c91c3c
commit 6682a490d7ec72fa8563d97732fb159d33c91c3c
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-27 01:48:55 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-27 02:38:42 +0000
devel/py-beartype: New port: Fast runtime type checking in pure Python
---
devel/Makefile | 1 +
devel/py-beartype/Makefile | 21 +++++++++++++++++++++
devel/py-beartype/distinfo | 3 +++
devel/py-beartype/pkg-descr | 2 ++
4 files changed, 27 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 46958c5670c9..907928eaa837 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4290,6 +4290,7 @@
SUBDIR += py-banal
SUBDIR += py-bandit
SUBDIR += py-bcdoc
+ SUBDIR += py-beartype
SUBDIR += py-beautifultable
SUBDIR += py-behave
SUBDIR += py-beniget
diff --git a/devel/py-beartype/Makefile b/devel/py-beartype/Makefile
new file mode 100644
index 000000000000..94fa2abad1b4
--- /dev/null
+++ b/devel/py-beartype/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= beartype
+DISTVERSION= 0.11.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Fast runtime type checking in pure Python
+WWW= https://github.com/beartype/beartype
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= python:3.7+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-beartype/distinfo b/devel/py-beartype/distinfo
new file mode 100644
index 000000000000..080993dc4526
--- /dev/null
+++ b/devel/py-beartype/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672100184
+SHA256 (beartype-0.11.0.tar.gz) = 3854b50eaaa98bb89490be57e73c69c777a0f304574e7043ac7da98ac6a735a6
+SIZE (beartype-0.11.0.tar.gz) = 928887
diff --git a/devel/py-beartype/pkg-descr b/devel/py-beartype/pkg-descr
new file mode 100644
index 000000000000..fd8d7ba68f3e
--- /dev/null
+++ b/devel/py-beartype/pkg-descr
@@ -0,0 +1,2 @@
+Beartype is an open-source PEP-compliant near-real-time pure-Python runtime
+type checker emphasizing efficiency, usability, and thrilling puns.