source: trunk/dports/perl/p5-inline-python/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         Inline-Python 0.50
15platforms           darwin
16license             {Artistic-1 GPL}
17maintainers         nomaintainer
18
19description         Write inline python in perl scripts
20
21long_description    The Inline::Python module allows you \
22                    to put Python source code directly \
23                    "inline" in a Perl script or module. \
24                    It sets up an in-process Python interpreter, \
25                    runs your code, and then examines Python's \
26                    symbol table for things to bind to Perl. The \
27                    process of interrogating the Python \
28                    interpreter for globals only occurs the first \
29                    time you run your Python code. The namespace \
30                    is cached, and subsequent calls use the cached \
31                    version.
32
33checksums           rmd160  e19ae98778cbe649c692d8f1e5a9d173c07ea756 \
34                    sha256  0734ed9925229b4efecdfdb46bb51ff1036132281fe653ec6eee09cdf8897216
35
36if {${perl5.major} != ""} {
37    depends_build-append \
38                    port:p${perl5.major}-parse-recdescent
39
40    depends_lib-append \
41                    port:python27 \
42                    port:p${perl5.major}-inline
43
44    configure.env-append \
45                    INLINE_PYTHON_EXECUTABLE="${prefix}/bin/python2.7"
46}
Note: See TracBrowser for help on using the repository browser.