# -*- 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 # $Id: Portfile 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 set _name JCC set _n [string index ${_name} 0] name py-jcc version 2.13 categories-append devel platforms darwin maintainers gmail.com:petrus.hyvonen openmaintainer license Apache-2 description JCC is a C++ code generator for calling Java from C++/Python long_description JCC is a C++ code generator for producing the code \ necessary to call into Java classes from CPython via \ Java's Native Invocation Interface (JNI).\ JCC generates C++ wrapper classes that hide all \ the gory details of JNI access as well Java memory \ and object reference management.\ JCC generates CPython types that make these C++ classes\ accessible from a Python interpreter. JCC attempts to make\ these Python types pythonic by detecting iterators and\ property accessors. Iterators and mappings may also be\ declared to JCC. homepage http://lucene.apache.org/pylucene/jcc/index.html master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 5761aaaae3b9082dbc6769014b97dac3 \ sha256 4851d8707b72c3d7c75bcba1040c16d2ec17dbacf1d6e722f5c2b0dfdd48b758 python.versions 27 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }