Add py-interface 0.96, a Python implementation of an Erlang node.
This commit is contained in:
parent
aab39172d4
commit
58dc9052a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238129
5 changed files with 104 additions and 0 deletions
|
@ -2357,6 +2357,7 @@
|
|||
SUBDIR += py-icu
|
||||
SUBDIR += py-iniparse
|
||||
SUBDIR += py-instant
|
||||
SUBDIR += py-interface
|
||||
SUBDIR += py-ipaddr
|
||||
SUBDIR += py-istring
|
||||
SUBDIR += py-itools
|
||||
|
|
34
devel/py-interface/Makefile
Normal file
34
devel/py-interface/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
|||
# New ports collection makefile for: py-interface
|
||||
# Date created: 20 July 2009
|
||||
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= interface
|
||||
PORTVERSION= 0.96
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://www.lysator.liu.se/~tab/erlang/py_interface/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= py_${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
COMMENT= A Python implementation of an Erlang node
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
DOCSDIR= ${PREFIX}/share/doc/py_${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py_${PORTNAME}
|
||||
|
||||
post-install:
|
||||
@${TRUE}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-interface/distinfo
Normal file
3
devel/py-interface/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (py_interface-0.96.tar.gz) = 94011219316b2549303071f55c232689
|
||||
SHA256 (py_interface-0.96.tar.gz) = f81028202183980a6b32c3ca8301caaa0f394ccaeced716694ad05210919ff38
|
||||
SIZE (py_interface-0.96.tar.gz) = 68615
|
28
devel/py-interface/pkg-descr
Normal file
28
devel/py-interface/pkg-descr
Normal file
|
@ -0,0 +1,28 @@
|
|||
The Py-Interface is a python-implementation of an Erlang node.
|
||||
|
||||
The py_interface provides the possibility to create a node that may be used
|
||||
for communication with other Erlang nodes.
|
||||
|
||||
Some characteristics:
|
||||
|
||||
o The Python nodes are hidden, like the Java nodes
|
||||
|
||||
o The Python node supports
|
||||
- registering the Python node in the epmd
|
||||
- sending and receiving message
|
||||
- executing remote procedure calls (the rpc:call(M,F,A) mechanism)
|
||||
|
||||
o The Python node does currently not do:
|
||||
- linking
|
||||
- tracing
|
||||
|
||||
o The Python node translates Erlang types to Python types as far as there is a
|
||||
reasonable Python counterpart. If there is not, then a class is used.
|
||||
|
||||
o The Python node is a single threaded callback-driven process.
|
||||
|
||||
o The Python node runs on Python 2.5 and Erlang R12. It may well still work
|
||||
with older version of both Python and Erlang. Development started on
|
||||
Python 1.5 and Erlang R7.
|
||||
|
||||
WWW: http://www.lysator.liu.se/~tab/erlang/py_interface/
|
38
devel/py-interface/pkg-plist
Normal file
38
devel/py-interface/pkg-plist
Normal file
|
@ -0,0 +1,38 @@
|
|||
%%PYTHON_SITELIBDIR%%/py_interface/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_async_conn.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_async_conn.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_async_conn.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_common.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_common.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_common.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_epmd.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_epmd.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_epmd.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_eventhandler.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_eventhandler.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_eventhandler.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node_conn.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node_conn.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_node_conn.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_opts.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_opts.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_opts.pyo
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_term.py
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_term.pyc
|
||||
%%PYTHON_SITELIBDIR%%/py_interface/erl_term.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/run_test_erl_node_pingpong.sh
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_epmd.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_node.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_node_conn.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_node_pingpong.erl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_node_pingpong.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_erl_node_tk_1.py
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/py_interface
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in a new issue