source: trunk/dports/python/py-statsmodels/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.6 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-statsmodels
8version             0.6.1
9revision            0
10categories-append   science math
11platforms           darwin
12license             BSD
13
14python.versions     27 34 35
15
16maintainers         stromnov openmaintainer
17
18description         Statistical computations and models for use with SciPy
19
20long_description    Statsmodels is  a  Python  package  that  provides \
21                    a complement to scipy for statistical computations \
22                    including descriptive  statistics  and  estimation \
23                    of statistical models.
24
25homepage            http://statsmodels.sourceforge.net/
26master_sites        pypi:s/statsmodels/
27
28distname            statsmodels-${version}
29
30checksums           rmd160  a4efe903ae6fa6b2a6f9938d58c785621ffe6572 \
31                    sha256  be4e44374aec9e848b73e5a230dee190ac0c4519e1d40f69a5813190b13ec676
32
33if {${name} ne ${subport}} {
34    depends_build-append \
35                        port:py${python.version}-setuptools \
36                        port:py${python.version}-cython
37    depends_lib-append  port:py${python.version}-numpy \
38                        port:py${python.version}-scipy \
39                        port:py${python.version}-pandas \
40                        port:py${python.version}-patsy
41
42    livecheck.type      none
43} else {
44    livecheck.type      regex
45    livecheck.url       https://pypi.python.org/pypi/statsmodels/json
46    livecheck.regex     {statsmodels-(\d+(?:\.\d+)*)\.[tz]}
47}
Note: See TracBrowser for help on using the repository browser.