aboutsummaryrefslogtreecommitdiff
path: root/devel/py-interface
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-interface')
-rw-r--r--devel/py-interface/Makefile34
-rw-r--r--devel/py-interface/distinfo3
-rw-r--r--devel/py-interface/pkg-descr28
-rw-r--r--devel/py-interface/pkg-plist38
4 files changed, 103 insertions, 0 deletions
diff --git a/devel/py-interface/Makefile b/devel/py-interface/Makefile
new file mode 100644
index 000000000000..557f72f89b30
--- /dev/null
+++ b/devel/py-interface/Makefile
@@ -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>
diff --git a/devel/py-interface/distinfo b/devel/py-interface/distinfo
new file mode 100644
index 000000000000..1ebb81419acd
--- /dev/null
+++ b/devel/py-interface/distinfo
@@ -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
diff --git a/devel/py-interface/pkg-descr b/devel/py-interface/pkg-descr
new file mode 100644
index 000000000000..c6900ed623da
--- /dev/null
+++ b/devel/py-interface/pkg-descr
@@ -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/
diff --git a/devel/py-interface/pkg-plist b/devel/py-interface/pkg-plist
new file mode 100644
index 000000000000..18b887f58142
--- /dev/null
+++ b/devel/py-interface/pkg-plist
@@ -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%%