git: 11b9f41c2924 - main - devel/py-timeout-decorator: Add py-timeout-decorator 0.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 May 2022 05:14:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=11b9f41c2924ea198668acb34a614ff4a171bf56
commit 11b9f41c2924ea198668acb34a614ff4a171bf56
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:07:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:07:45 +0000
devel/py-timeout-decorator: Add py-timeout-decorator 0.5.0
timeout-decorator provides a timeout decorator to limit the execution time of
the given function.
WWW: https://github.com/pnpnpn/timeout-decorator
---
devel/Makefile | 1 +
devel/py-timeout-decorator/Makefile | 19 +++++++++++++++++++
devel/py-timeout-decorator/distinfo | 3 +++
devel/py-timeout-decorator/pkg-descr | 4 ++++
4 files changed, 27 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 920b6b307059..418463e3f6de 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5361,6 +5361,7 @@
SUBDIR += py-thriftpy2
SUBDIR += py-tiamat
SUBDIR += py-timelib
+ SUBDIR += py-timeout-decorator
SUBDIR += py-tinyarray
SUBDIR += py-tinyrpc
SUBDIR += py-tipper
diff --git a/devel/py-timeout-decorator/Makefile b/devel/py-timeout-decorator/Makefile
new file mode 100644
index 000000000000..c73750991598
--- /dev/null
+++ b/devel/py-timeout-decorator/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= timeout-decorator
+PORTVERSION= 0.5.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Timeout decorator
+
+LICENSE= MIT
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-timeout-decorator/distinfo b/devel/py-timeout-decorator/distinfo
new file mode 100644
index 000000000000..0d55d6ff4f30
--- /dev/null
+++ b/devel/py-timeout-decorator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653151034
+SHA256 (timeout-decorator-0.5.0.tar.gz) = 6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7
+SIZE (timeout-decorator-0.5.0.tar.gz) = 4754
diff --git a/devel/py-timeout-decorator/pkg-descr b/devel/py-timeout-decorator/pkg-descr
new file mode 100644
index 000000000000..1ec2310d0f99
--- /dev/null
+++ b/devel/py-timeout-decorator/pkg-descr
@@ -0,0 +1,4 @@
+timeout-decorator provides a timeout decorator to limit the execution time of
+the given function.
+
+WWW: https://github.com/pnpnpn/timeout-decorator