Import py-sip-4.7.3

SIP is a tool for automatically generating Python bindings for C and C++
libraries.
SIP comprises a code generator and a Python module.  The code generator
processes a set of specification files and generates C or C++ code which
is then compiled to create the bindings extension module.  The SIP
Python module provides support functions to the automatically generated
code.


from Lars Hansson <lars at unet dot net dot ph> via simon@ with some tweaks by me
ok simon@
This commit is contained in:
ajacoutot 2008-01-14 14:44:11 +00:00
parent 1239d748f1
commit 0d1fb7b011
4 changed files with 62 additions and 0 deletions

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

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/14 14:44:11 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= automatically generate Python bindings for C and C++ libs
DISTNAME= sip-4.7.3
PKGNAME= py-${DISTNAME}
CATEGORIES= devel
HOMEPAGE= http://www.riverbankcomputing.co.uk/sip/
MAINTAINER= Lars Hansson <lars@unet.net.ph>
# SIP license (Python like)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m c stdc++
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/sip4/
MODULES= lang/python
CONFIGURE_STYLE=simple
CONFIGURE_SCRIPT=${MODPY_BIN} configure.py
CONFIGURE_ARGS= INCDIR=${LOCALBASE}/include \
LIBDIR=${LOCALBASE}/lib \
CC=${CC} CXX=${CXX} \
CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sip
${INSTALL_DATA} ${WRKSRC}/doc/sipref.txt \
${PREFIX}/share/doc/py-sip
.include <bsd.port.mk>

5
devel/py-sip/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (sip-4.7.3.tar.gz) = p5LFjU0hHGWUnaxgBetlKw==
RMD160 (sip-4.7.3.tar.gz) = d0PeZ7qUfvRzDPbJAtEEf7J0GHI=
SHA1 (sip-4.7.3.tar.gz) = 394iuig7d02+VOf0lK4hf25D83A=
SHA256 (sip-4.7.3.tar.gz) = i8Cp0qtWWrswf/1X4H2BPFsuFKRF1e4W2W4TLgAjrBM=
SIZE (sip-4.7.3.tar.gz) = 446375

7
devel/py-sip/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
SIP is a tool for automatically generating Python bindings for C and C++
libraries.
SIP comprises a code generator and a Python module. The code generator
processes a set of specification files and generates C or C++ code which
is then compiled to create the bindings extension module. The SIP
Python module provides support functions to the automatically generated
code.

8
devel/py-sip/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/14 14:44:11 ajacoutot Exp $
bin/sip
include/python${MODPY_VERSION}/sip.h
lib/python${MODPY_VERSION}/site-packages/sip.so
lib/python${MODPY_VERSION}/site-packages/sipconfig.py
lib/python${MODPY_VERSION}/site-packages/sipdistutils.py
share/doc/py-sip/
share/doc/py-sip/sipref.txt