From a4d0c4645a3aca6584b15f38bdd6458bad3dad00 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 2 Oct 2013 07:55:04 +0000 Subject: [PATCH] import devel/py-futures, ok dcoppa@ benoit@ This is a backport of the concurrent.futures package from Python 3.2 which provides a high-level interface for asynchronously executing callables. --- devel/py-futures/Makefile | 18 ++++++++++++++++++ devel/py-futures/distinfo | 2 ++ devel/py-futures/pkg/DESCR | 2 ++ devel/py-futures/pkg/PLIST | 28 ++++++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 devel/py-futures/Makefile create mode 100644 devel/py-futures/distinfo create mode 100644 devel/py-futures/pkg/DESCR create mode 100644 devel/py-futures/pkg/PLIST diff --git a/devel/py-futures/Makefile b/devel/py-futures/Makefile new file mode 100644 index 00000000000..d0126d21985 --- /dev/null +++ b/devel/py-futures/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/10/02 07:55:04 sthen Exp $ + +COMMENT= futures implementation for Python + +MODPY_EGG_VERSION= 2.1.4 +DISTNAME= futures-${MODPY_EGG_VERSION} +PKGNAME= py-${DISTNAME} +CATEGORIES= devel + +# BSD +PERMIT_PACKAGE_CDROM= Yes + +MASTER_SITES= ${MASTER_SITE_PYPI:=f/futures/} + +MODULES= lang/python +MODPY_SETUPTOOLS= Yes + +.include diff --git a/devel/py-futures/distinfo b/devel/py-futures/distinfo new file mode 100644 index 00000000000..c954b92f5f0 --- /dev/null +++ b/devel/py-futures/distinfo @@ -0,0 +1,2 @@ +SHA256 (futures-2.1.4.tar.gz) = jE8mkbKU170cPWDs26wtQ2uxvmGITzIcBGhCUuDV7C0= +SIZE (futures-2.1.4.tar.gz) = 11840 diff --git a/devel/py-futures/pkg/DESCR b/devel/py-futures/pkg/DESCR new file mode 100644 index 00000000000..4f5c6e7f217 --- /dev/null +++ b/devel/py-futures/pkg/DESCR @@ -0,0 +1,2 @@ +This is a backport of the concurrent.futures package from Python 3.2 which +provides a high-level interface for asynchronously executing callables. diff --git a/devel/py-futures/pkg/PLIST b/devel/py-futures/pkg/PLIST new file mode 100644 index 00000000000..cfcbaecf88c --- /dev/null +++ b/devel/py-futures/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/10/02 07:55:05 sthen Exp $ +lib/python${MODPY_VERSION}/site-packages/concurrent/ +lib/python${MODPY_VERSION}/site-packages/concurrent/__init__.py +lib/python${MODPY_VERSION}/site-packages/concurrent/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/ +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/__init__.py +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/_base.py +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/_base.pyc +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/_compat.py +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/_compat.pyc +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/process.py +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/process.pyc +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/thread.py +lib/python${MODPY_VERSION}/site-packages/concurrent/futures/thread.pyc +lib/python${MODPY_VERSION}/site-packages/futures/ +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe +lib/python${MODPY_VERSION}/site-packages/futures-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/futures/__init__.py +lib/python${MODPY_VERSION}/site-packages/futures/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/futures/process.py +lib/python${MODPY_VERSION}/site-packages/futures/process.pyc +lib/python${MODPY_VERSION}/site-packages/futures/thread.py +lib/python${MODPY_VERSION}/site-packages/futures/thread.pyc