Date: Thu, 28 May 2015 17:52:12 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387749 - in head/devel: . p5-Inline-Python Message-ID: <201505281752.t4SHqCwp061708@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zi Date: Thu May 28 17:52:11 2015 New Revision: 387749 URL: https://svnweb.freebsd.org/changeset/ports/387749 Log: New port: devel/p5-Inline-Python: The Inline::Python module allows you to put Python source code directly "inline" in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python's symbol table for things to bind to Perl. The process of interrogating the Python interpreter for globals only occurs the first time you run your Python code. The namespace is cached, and subsequent calls use the cached version. WWW: http://search.cpan.org/dist/Inline-Python/ Added: head/devel/p5-Inline-Python/ head/devel/p5-Inline-Python/Makefile (contents, props changed) head/devel/p5-Inline-Python/distinfo (contents, props changed) head/devel/p5-Inline-Python/pkg-descr (contents, props changed) head/devel/p5-Inline-Python/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu May 28 17:49:12 2015 (r387748) +++ head/devel/Makefile Thu May 28 17:52:11 2015 (r387749) @@ -2320,6 +2320,7 @@ SUBDIR += p5-Inline-Files SUBDIR += p5-Inline-Filters SUBDIR += p5-Inline-Java + SUBDIR += p5-Inline-Python SUBDIR += p5-Inline-TT SUBDIR += p5-Inline-Tcl SUBDIR += p5-InlineX-C2XS Added: head/devel/p5-Inline-Python/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Inline-Python/Makefile Thu May 28 17:52:11 2015 (r387749) @@ -0,0 +1,26 @@ +# Created by: Ryan Steinmetz <zi@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Inline-Python +PORTVERSION= 0.49 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Write Perl Subroutines in Python + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Inline>=0.79:${PORTSDIR}/devel/p5-Inline +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 python:2 +CONFIGURE_ENV= INLINE_PYTHON_EXECUTABLE="${PYTHON_CMD}" + +post-install: + ${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Inline/Python/Python.so + +.include <bsd.port.mk> Added: head/devel/p5-Inline-Python/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Inline-Python/distinfo Thu May 28 17:52:11 2015 (r387749) @@ -0,0 +1,2 @@ +SHA256 (Inline-Python-0.49.tar.gz) = 10c9419651c7b345fa7ec922f4a9d6287fd5a69761f4240f9e0b21f0944f8bf3 +SIZE (Inline-Python-0.49.tar.gz) = 56811 Added: head/devel/p5-Inline-Python/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Inline-Python/pkg-descr Thu May 28 17:52:11 2015 (r387749) @@ -0,0 +1,8 @@ +The Inline::Python module allows you to put Python source code directly +"inline" in a Perl script or module. It sets up an in-process Python +interpreter, runs your code, and then examines Python's symbol table for +things to bind to Perl. The process of interrogating the Python +interpreter for globals only occurs the first time you run your Python +code. The namespace is cached, and subsequent calls use the cached version. + +WWW: http://search.cpan.org/dist/Inline-Python/ Added: head/devel/p5-Inline-Python/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Inline-Python/pkg-plist Thu May 28 17:52:11 2015 (r387749) @@ -0,0 +1,4 @@ +%%SITE_ARCH%%/Inline/Python.pm +%%SITE_ARCH%%/Inline/Python.pod +%%SITE_ARCH%%/auto/Inline/Python/Python.so +%%PERL5_MAN3%%/Inline::Python.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505281752.t4SHqCwp061708>