From 2494b2a6375849a609d3253d1e2e0e2c44a21287 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Wed, 13 Jul 2016 16:34:47 +0000 Subject: [PATCH] New port: devel/py-stopit Raise asynchronous exceptions in other threads, control the timeout of blocks or callables with two context managers and two decorators. WWW: https://pypi.python.org/pypi/stopit PR: 211050 Submitted by: Danilo G. Baio --- devel/Makefile | 1 + devel/py-stopit/Makefile | 18 ++++++++++++++++++ devel/py-stopit/distinfo | 3 +++ devel/py-stopit/pkg-descr | 4 ++++ 4 files changed, 26 insertions(+) create mode 100644 devel/py-stopit/Makefile create mode 100644 devel/py-stopit/distinfo create mode 100644 devel/py-stopit/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 79f2ae4b71ea..5f14b4933452 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4445,6 +4445,7 @@ SUBDIR += py-statsd SUBDIR += py-stdnum SUBDIR += py-stevedore + SUBDIR += py-stopit SUBDIR += py-structlog SUBDIR += py-stsci.distutils SUBDIR += py-subversion diff --git a/devel/py-stopit/Makefile b/devel/py-stopit/Makefile new file mode 100644 index 000000000000..02a975ffb39a --- /dev/null +++ b/devel/py-stopit/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= stopit +PORTVERSION= 1.1.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@bsd.com.br +COMMENT= Timeout control decorator and context managers in Python + +LICENSE= GPLv3 + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-stopit/distinfo b/devel/py-stopit/distinfo new file mode 100644 index 000000000000..0088a34d9992 --- /dev/null +++ b/devel/py-stopit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1467936276 +SHA256 (stopit-1.1.1.tar.gz) = d879a892e6c0d524763b8bf20831a78311d86ea59ec199ec551abf3f494b0708 +SIZE (stopit-1.1.1.tar.gz) = 18009 diff --git a/devel/py-stopit/pkg-descr b/devel/py-stopit/pkg-descr new file mode 100644 index 000000000000..c2741e022892 --- /dev/null +++ b/devel/py-stopit/pkg-descr @@ -0,0 +1,4 @@ +Raise asynchronous exceptions in other threads, control the timeout +of blocks or callables with two context managers and two decorators. + +WWW: https://pypi.python.org/pypi/stopit