Import devel/py-singledispatch
The singledispatch library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3. PEP 443 proposed to expose a mechanism in the functools standard library module in Python 3.4 that provides a simple form of generic programming known as single-dispatch generic functions. This library is a backport of this functionality to Python 2.6 - 3.3. ok jca@
This commit is contained in:
parent
9011e5b36b
commit
18a620b505
22
devel/py-singledispatch/Makefile
Normal file
22
devel/py-singledispatch/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/08/18 23:02:59 bcallah Exp $
|
||||
|
||||
MODPY_EGG_VERSION = 3.4.0.3
|
||||
COMMENT = backport of functools.singledispatch to Python 2.6-3.3
|
||||
DISTNAME = singledispatch-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-singledispatch-${MODPY_EGG_VERSION}
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://pypi.python.org/pypi/singledispatch
|
||||
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_PYPI:=s/singledispatch/}
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
TEST_DEPENDS = devel/py-six
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-singledispatch/distinfo
Normal file
2
devel/py-singledispatch/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (singledispatch-3.4.0.3.tar.gz) = Wwavh98TgY0U8IoCjkL1ZmQK74CAXDtQxQVrCG48K5w=
|
||||
SIZE (singledispatch-3.4.0.3.tar.gz) = 9529
|
8
devel/py-singledispatch/pkg/DESCR
Normal file
8
devel/py-singledispatch/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
The singledispatch library brings functools.singledispatch from Python
|
||||
3.4 to Python 2.6-3.3.
|
||||
|
||||
PEP 443 proposed to expose a mechanism in the functools standard library
|
||||
module in Python 3.4 that provides a simple form of generic programming
|
||||
known as single-dispatch generic functions.
|
||||
|
||||
This library is a backport of this functionality to Python 2.6 - 3.3.
|
12
devel/py-singledispatch/pkg/PLIST
Normal file
12
devel/py-singledispatch/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/08/18 23:02:59 bcallah Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch.py
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch_helpers.py
|
||||
lib/python${MODPY_VERSION}/site-packages/singledispatch_helpers.pyc
|
Loading…
Reference in New Issue
Block a user