diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 21:08:05 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-18 21:08:05 +0000 |
commit | 5e015f9e53582d7bd801a4013358b1135b5cb643 (patch) | |
tree | 23e7e5f2f6ad21adaa3d31494bcd7f678c9c272b /devel/py-protocols-devel | |
parent | 5ca26fcd25450328283d193955d30e8e5b51616e (diff) | |
download | ports-5e015f9e53582d7bd801a4013358b1135b5cb643.tar.gz ports-5e015f9e53582d7bd801a4013358b1135b5cb643.zip |
PyProtocols extends the PEP 246 adapt() function with a new "declaration API"
that lets you easily define your own protocols and adapters, and declare what
adapters should be used to adapt what types, objects, or protocols.
In addition to its own Interface type, PyProtocols can also use Twisted and
Zope's Interface types too.
PR: ports/83626
Submitted by: Nicola Vitale <nivit@email.it>
Notes
Notes:
svn path=/head/; revision=139538
Diffstat (limited to 'devel/py-protocols-devel')
-rw-r--r-- | devel/py-protocols-devel/Makefile | 22 | ||||
-rw-r--r-- | devel/py-protocols-devel/distinfo | 2 | ||||
-rw-r--r-- | devel/py-protocols-devel/pkg-descr | 8 | ||||
-rw-r--r-- | devel/py-protocols-devel/pkg-plist | 52 |
4 files changed, 84 insertions, 0 deletions
diff --git a/devel/py-protocols-devel/Makefile b/devel/py-protocols-devel/Makefile new file mode 100644 index 000000000000..2cfc11c309bd --- /dev/null +++ b/devel/py-protocols-devel/Makefile @@ -0,0 +1,22 @@ +# Ports collection makefile for: protocols +# Date created: 2005-07-17 +# Whom: Nicola Vitale +# +# $FreeBSD$ +# + +PORTNAME= protocols +PORTVERSION= 0.9.3 +CATEGORIES= devel python +MASTER_SITES= http://peak.telecommunity.com/dist/ +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyProtocols-${PORTVERSION} + +MAINTAINER= nivit@email.it +COMMENT= Python module extending the PEP 246 adapt() function + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +.include <bsd.port.mk> diff --git a/devel/py-protocols-devel/distinfo b/devel/py-protocols-devel/distinfo new file mode 100644 index 000000000000..ef650edc13a5 --- /dev/null +++ b/devel/py-protocols-devel/distinfo @@ -0,0 +1,2 @@ +MD5 (PyProtocols-0.9.3.tar.gz) = 43df88c8772549640cfc40a78758bf7b +SIZE (PyProtocols-0.9.3.tar.gz) = 339122 diff --git a/devel/py-protocols-devel/pkg-descr b/devel/py-protocols-devel/pkg-descr new file mode 100644 index 000000000000..de65bb788526 --- /dev/null +++ b/devel/py-protocols-devel/pkg-descr @@ -0,0 +1,8 @@ +PyProtocols extends the PEP 246 adapt() function with a new "declaration API" +that lets you easily define your own protocols and adapters, and declare what +adapters should be used to adapt what types, objects, or protocols. +In addition to its own Interface type, PyProtocols can also use Twisted and +Zope's Interface types too. + +Author: Phillip J. Eby +WWW: http://peak.telecommunity.com/PyProtocols.html diff --git a/devel/py-protocols-devel/pkg-plist b/devel/py-protocols-devel/pkg-plist new file mode 100644 index 000000000000..2007aace8880 --- /dev/null +++ b/devel/py-protocols-devel/pkg-plist @@ -0,0 +1,52 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/protocols/__init__.py +%%PYTHON_SITELIBDIR%%/protocols/__init__.pyc +%%PYTHON_SITELIBDIR%%/protocols/__init__.pyo +%%PYTHON_SITELIBDIR%%/protocols/_speedups.so +%%PYTHON_SITELIBDIR%%/protocols/adapters.py +%%PYTHON_SITELIBDIR%%/protocols/adapters.pyc +%%PYTHON_SITELIBDIR%%/protocols/adapters.pyo +%%PYTHON_SITELIBDIR%%/protocols/advice.py +%%PYTHON_SITELIBDIR%%/protocols/advice.pyc +%%PYTHON_SITELIBDIR%%/protocols/advice.pyo +%%PYTHON_SITELIBDIR%%/protocols/api.py +%%PYTHON_SITELIBDIR%%/protocols/api.pyc +%%PYTHON_SITELIBDIR%%/protocols/api.pyo +%%PYTHON_SITELIBDIR%%/protocols/classic.py +%%PYTHON_SITELIBDIR%%/protocols/classic.pyc +%%PYTHON_SITELIBDIR%%/protocols/classic.pyo +%%PYTHON_SITELIBDIR%%/protocols/generate.py +%%PYTHON_SITELIBDIR%%/protocols/generate.pyc +%%PYTHON_SITELIBDIR%%/protocols/generate.pyo +%%PYTHON_SITELIBDIR%%/protocols/interfaces.py +%%PYTHON_SITELIBDIR%%/protocols/interfaces.pyc +%%PYTHON_SITELIBDIR%%/protocols/interfaces.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/__init__.py +%%PYTHON_SITELIBDIR%%/protocols/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/checks.py +%%PYTHON_SITELIBDIR%%/protocols/tests/checks.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/checks.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/test_advice.py +%%PYTHON_SITELIBDIR%%/protocols/tests/test_advice.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/test_advice.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/test_classes.py +%%PYTHON_SITELIBDIR%%/protocols/tests/test_classes.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/test_classes.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/test_direct.py +%%PYTHON_SITELIBDIR%%/protocols/tests/test_direct.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/test_direct.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/test_twisted.py +%%PYTHON_SITELIBDIR%%/protocols/tests/test_twisted.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/test_twisted.pyo +%%PYTHON_SITELIBDIR%%/protocols/tests/test_zope.py +%%PYTHON_SITELIBDIR%%/protocols/tests/test_zope.pyc +%%PYTHON_SITELIBDIR%%/protocols/tests/test_zope.pyo +%%PYTHON_SITELIBDIR%%/protocols/twisted_support.py +%%PYTHON_SITELIBDIR%%/protocols/twisted_support.pyc +%%PYTHON_SITELIBDIR%%/protocols/twisted_support.pyo +%%PYTHON_SITELIBDIR%%/protocols/zope_support.py +%%PYTHON_SITELIBDIR%%/protocols/zope_support.pyc +%%PYTHON_SITELIBDIR%%/protocols/zope_support.pyo +@dirrm %%PYTHON_SITELIBDIR%%/protocols/tests +@dirrm %%PYTHON_SITELIBDIR%%/protocols |