2014-12-30 16:06:05 +00:00
|
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
2016-07-14 03:50:28 +00:00
|
|
|
|
2010-08-29 22:07:23 +00:00
|
|
|
PortSystem 1.0
|
|
|
|
|
PortGroup perl5 1.0
|
2010-07-29 16:14:46 +00:00
|
|
|
|
2022-01-03 17:13:54 +01:00
|
|
|
perl5.branches 5.28 5.30 5.32 5.34
|
2017-09-10 14:38:36 -07:00
|
|
|
perl5.setup Inline-Python 0.56
|
2010-08-29 22:07:23 +00:00
|
|
|
platforms darwin
|
2012-07-18 03:50:50 +00:00
|
|
|
license {Artistic-1 GPL}
|
2010-08-29 22:07:23 +00:00
|
|
|
maintainers nomaintainer
|
|
|
|
|
|
|
|
|
|
description Write inline python in perl scripts
|
|
|
|
|
|
|
|
|
|
long_description 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.
|
2010-07-29 16:14:46 +00:00
|
|
|
|
2017-09-10 14:38:36 -07:00
|
|
|
checksums rmd160 e5d490725ec1500887ec3a0b22c5e5c300c30d04 \
|
|
|
|
|
sha256 ae2c437f367160ecfd6f8d6c6fe027ea6754feaa27648971c4a74e7fe934d95f
|
2010-07-29 16:14:46 +00:00
|
|
|
|
2011-08-15 16:46:16 +00:00
|
|
|
if {${perl5.major} != ""} {
|
2015-05-10 17:00:29 +00:00
|
|
|
depends_build-append \
|
2016-11-10 05:58:32 -08:00
|
|
|
port:p${perl5.major}-parse-recdescent \
|
|
|
|
|
port:p${perl5.major}-proc-processtable \
|
2017-09-10 14:38:36 -07:00
|
|
|
port:p${perl5.major}-test-deep \
|
|
|
|
|
port:p${perl5.major}-test-number-delta
|
2015-05-10 17:00:29 +00:00
|
|
|
|
2014-12-30 16:06:05 +00:00
|
|
|
depends_lib-append \
|
|
|
|
|
port:python27 \
|
|
|
|
|
port:p${perl5.major}-inline
|
|
|
|
|
|
|
|
|
|
configure.env-append \
|
2019-03-23 20:30:33 +11:00
|
|
|
INLINE_PYTHON_EXECUTABLE=${prefix}/bin/python2.7
|
2011-08-15 16:46:16 +00:00
|
|
|
}
|