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

Last change on this file was 148976, checked in by raimue@…, 18 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.2 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
7name                py-milk
8version             0.6.1
9revision            0
10categories-append   science
11platforms           darwin
12license             MIT
13
14python.versions     26 27
15
16maintainers         stromnov openmaintainer
17
18description         Machine Learning Toolkit
19long_description    ${description}
20
21homepage            http://luispedro.org/software/milk
22master_sites        pypi:m/milk/
23
24distname            milk-${version}
25
26checksums           rmd160  19c4ab6dabeb26821dc89c06e50f93484b81fa73 \
27                    sha256  47041ab5d1795907c092b4802e8b5a20620f32690d7b2f50d8c7817c38e3d304
28
29if {${name} ne ${subport}} {
30    depends_build-append \
31                        port:py${python.version}-setuptools
32
33    depends_lib-append  port:py${python.version}-numpy \
34                        port:eigen3
35
36    livecheck.type      none
37} else {
38    livecheck.type      regex
39    livecheck.url       https://pypi.python.org/pypi/milk/json
40    livecheck.regex     "milk-(\\d+(?:\\.\\d+)*)${extract.suffix}"
41}
Note: See TracBrowser for help on using the repository browser.