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

Last change on this file was 148976, checked in by raimue@…, 16 months 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
pypi.python.org 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
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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           JCC
8set _n              [string index ${_name} 0]
9
10name                py-jcc
11version             2.13
12categories-append   devel
13platforms           darwin
14maintainers         gmail.com:petrus.hyvonen openmaintainer
15license             Apache-2
16
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.
29
30homepage            http://lucene.apache.org/pylucene/jcc/index.html
31
32master_sites        pypi:${_n}/${_name}/
33distname            ${_name}-${version}
34
35checksums           md5 5761aaaae3b9082dbc6769014b97dac3 \
36                    sha256 4851d8707b72c3d7c75bcba1040c16d2ec17dbacf1d6e722f5c2b0dfdd48b758
37
38python.versions     27
39
40if {${name} ne ${subport}} {
41    depends_build   port:py${python.version}-setuptools
42
43    livecheck.type  none
44} else {
45    livecheck.type  regex
46    livecheck.url   https://pypi.python.org/pypi/${_name}/json
47    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
48}
Note: See TracBrowser for help on using the repository browser.