Import py-orbit, ORBit2 Python bindings.

ok mbalmer@
This commit is contained in:
ajacoutot 2006-11-14 21:19:35 +00:00
parent 1f19027b77
commit c2b30c1ce6
5 changed files with 70 additions and 0 deletions

42
devel/py-orbit/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/14 21:19:35 ajacoutot Exp $
COMMENT= "ORBit2 Python bindings"
DISTNAME= pyorbit-2.14.1
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= devel
HOMEPAGE= http://www.pygtk.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${DISTNAME:S/-/\//:R}/}
WANTLIB= m pthread util IDL-2 glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0 popt
MODULES= devel/gettext lang/python
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= python${MODPY_VERSION}:python-${MODPY_VERSION}*:lang/python/${MODPY_VERSION} \
ORBit-2,ORBit-imodule-2::devel/ORBit2
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= LIBS="-lpthread -lm -lutil" \
PYTHON=${MODPY_BIN}
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static
pre-configure:
@find ${WRKDIST} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
.include <bsd.port.mk>

4
devel/py-orbit/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (pyorbit-2.14.1.tar.gz) = e06df5117d99b8106b08a42d4575a562
RMD160 (pyorbit-2.14.1.tar.gz) = 14e4d9a5019b1aac2fd87ff30fc70b58f6cf0f30
SHA1 (pyorbit-2.14.1.tar.gz) = 5fa78c223053119b61c36be0202a3e026ab6ba8f
SIZE (pyorbit-2.14.1.tar.gz) = 389211

8
devel/py-orbit/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
This is a Python language binding for the ORBit2 CORBA implementation.
It aims to take advantage of new features found in ORBit2 to make
language bindings more efficient.
This includes:
- use of ORBit2 type libraries to generate stubs
- use of the ORBit_small_invoke_stub() call for operation invocation,
which allows for short circuited invocation on local objects
Currently only the client side of the binding has been done.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/11/14 21:19:35 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/ORBit.so

14
devel/py-orbit/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/14 21:19:35 ajacoutot Exp $
%%SHARED%%
include/pyorbit-2/
include/pyorbit-2/pyorbit.h
lib/pkgconfig/
lib/pkgconfig/pyorbit-2.pc
lib/python${MODPY_VERSION}/site-packages/CORBA.py
lib/python${MODPY_VERSION}/site-packages/CORBA.pyc
lib/python${MODPY_VERSION}/site-packages/CORBA.pyo
lib/python${MODPY_VERSION}/site-packages/ORBit.a
lib/python${MODPY_VERSION}/site-packages/ORBit.la
lib/python${MODPY_VERSION}/site-packages/PortableServer.py
lib/python${MODPY_VERSION}/site-packages/PortableServer.pyc
lib/python${MODPY_VERSION}/site-packages/PortableServer.pyo