source: trunk/dports/python/py-jubatus-client/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.2 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 real_name       jubatus
8name                py-${real_name}-client
9version             0.8.0
10python.versions     27
11python.default_version 27
12categories-append   devel
13maintainers         hum openmaintainer
15description         a Python client for jubatus, a highly distributed online machine learning system
16long_description    ${description}
18homepage  ${real_name}
19platforms           darwin
20license             MIT
22master_sites        pypi:j/${real_name}/
23distname            ${real_name}-${version}
24checksums           rmd160  3a1ecaba2197c1e8cafdf1fe16f9a8485c7865a6 \
25                    sha256  14d23853d3a90b1114c4c523804f4e14434a30db00e9ae4800082ae64a3b4aa0
27if {${name} ne ${subport}} {
28    depends_build-append port:py${python.version}-setuptools
29    depends_lib-append   port:py${python.version}-msgpack
31    livecheck.type      none
32} else {
33    livecheck.type      regex
34    livecheck.url${real_name}
35    livecheck.regex     "${real_name}/(\\d+(?:\\.\\d+)*(-p\\d+)?)"
Note: See TracBrowser for help on using the repository browser.