1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

By using the class Instant a Python extension module can be created at runtime.

For the user, it behaves somewhat like an inline module, except you have to
import the module manually.

The code can be either C or C++, but like when programming C or C++, it has to
be inside a function or a similar C/C++ construct.

WWW:	http://pyinstant.sourceforge.net/

PR:		ports/107517
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
This commit is contained in:
Martin Wilke 2007-01-05 19:35:11 +00:00
parent 224101216c
commit 9e61e1314a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181554
4 changed files with 40 additions and 0 deletions

View File

@ -1736,6 +1736,7 @@
SUBDIR += py-grouch
SUBDIR += py-icalendar
SUBDIR += py-ice
SUBDIR += py-instant
SUBDIR += py-istring
SUBDIR += py-json-py
SUBDIR += py-kid

28
devel/py-instant/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: py-instant
# Date created: Jan. 04, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= instant
PORTVERSION= 0.9
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyinstant
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Instant-${PORTVERSION}
MAINTAINER= lwhsu@lwhsu.org
COMMENT= Python module for instant inlining of C and C++ code in Python
RUN_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/Instant.py \
%%PYTHON_SITELIBDIR%%/Instant.pyc \
%%PYTHON_SITELIBDIR%%/Instant.pyo
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Instant-0.9.tar.gz) = b30dcce8492e98bfe2b8b5d12717e25a
SHA256 (Instant-0.9.tar.gz) = bd6d305f15c7dee34f2f14a001037bdcc25516738757d2201dd8efbf97bb5b6e
SIZE (Instant-0.9.tar.gz) = 34131

View File

@ -0,0 +1,8 @@
By using the class Instant a Python extension module can be created at runtime.
For the user, it behaves somewhat like an inline module, except you have to
import the module manually.
The code can be either C or C++, but like when programming C or C++, it has to
be inside a function or a similar C/C++ construct.
WWW: http://pyinstant.sourceforge.net/