source: trunk/dports/python/py-jcc/Portfile

Last change on this file was 148976, checked in by raimue@…, 2 years ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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 148976 2016-05-24 07:48:05Z $
4PortSystem          1.0
5PortGroup           python 1.0
7set _name           JCC
8set _n              [string index ${_name} 0]
10name                py-jcc
11version             2.13
12categories-append   devel
13platforms           darwin
14maintainers openmaintainer
15license             Apache-2
17description         JCC is a C++ code generator for calling Java from C++/Python
18long_description    JCC is a C++ code generator for producing the code \
19                    necessary to call into Java classes from CPython via \
20                    Java's Native Invocation Interface (JNI).\
21                    JCC generates C++ wrapper classes that hide all \
22                    the gory details of JNI access as well Java memory \
23                    and object reference management.\
24                    JCC generates CPython types that make these C++ classes\
25                    accessible from a Python interpreter. JCC attempts to make\
26                    these Python types pythonic by detecting iterators and\
27                    property accessors. Iterators and mappings may also be\
28                    declared to JCC.
32master_sites        pypi:${_n}/${_name}/
33distname            ${_name}-${version}
35checksums           md5 5761aaaae3b9082dbc6769014b97dac3 \
36                    sha256 4851d8707b72c3d7c75bcba1040c16d2ec17dbacf1d6e722f5c2b0dfdd48b758
38python.versions     27
40if {${name} ne ${subport}} {
41    depends_build   port:py${python.version}-setuptools
43    livecheck.type  none
44} else {
45    livecheck.type  regex
46    livecheck.url${_name}/json
47    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
Note: See TracBrowser for help on using the repository browser.