Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 22:12:37 GMT
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184916: [NEW PORT] devel/py-cffi Foreign Function Interface for Python calling C code
Message-ID:  <201312162212.rBGMCbo7032964@oldred.freebsd.org>
Resent-Message-ID: <201312162220.rBGMK0bc075299@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184916
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-cffi Foreign Function Interface for Python calling C code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 16 22:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        9.2-R
>Organization:
Pixeware LTD
>Environment:
System: FreeBSD muminek 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/MUMINEK amd64
>Description:
This is a new port with foreign function interface for calling C code in Python.
>How-To-Repeat:
Unpack port from shar archive, test, commit.
>Fix:
Shar archive attached.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-cffi
#	py-cffi/distinfo
#	py-cffi/Makefile
#	py-cffi/pkg-descr
#
echo c - py-cffi
mkdir -p py-cffi > /dev/null 2>&1
echo x - py-cffi/distinfo
sed 's/^X//' >py-cffi/distinfo << '9a75261d642648c833f74b72d8c43a17'
XSHA256 (cffi-0.8.1.tar.gz) = 1db1eff2093e31eaaa83b274f8c6d5d2dad2908d43a301185d205e5d256d6818
XSIZE (cffi-0.8.1.tar.gz) = 195206
9a75261d642648c833f74b72d8c43a17
echo x - py-cffi/Makefile
sed 's/^X//' >py-cffi/Makefile << '0a29b17047fe88383beaecf1b37f6e2c'
X# $FreeBSD:$
X
XPORTNAME=	cffi
XPORTVERSION=	0.8.1
XCATEGORIES=	devel python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	ports@robakdesign.com
XCOMMENT=	Foreign Function Interface for Python calling C code
X
XLICENSE=	MIT
X
XLIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycparser>0:${PORTSDIR}/devel/py-pycparser
X
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
X
XNO_STAGE=       yes
X
X.include <bsd.port.mk>
0a29b17047fe88383beaecf1b37f6e2c
echo x - py-cffi/pkg-descr
sed 's/^X//' >py-cffi/pkg-descr << '2b43858eade77846352539ee4a1f11b0'
XForeign Function Interface for Python calling C code.
XThe aim of this project is to provide a convenient
Xand reliable way of calling C code from Python.
X
XWWW: https://pypi.python.org/pypi/cffi
2b43858eade77846352539ee4a1f11b0
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312162212.rBGMCbo7032964>