source: trunk/dports/python/py-networkx/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.4 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-networkx
8version             1.11
9revision            0
10categories-append   science
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     27 34 35
16
17maintainers         stromnov openmaintainer
18
19description         NetworkX in a Python package for graph manipulation.
20
21long_description    NetworkX is a Python package for the creation, \
22                    manipulation, and study of the structure, dynamics, \
23                    and functions of complex networks.
24
25homepage            http://networkx.lanl.gov/
26master_sites        pypi:n/networkx/ \
27                    https://networkx.lanl.gov/download/networkx/
28
29distname            networkx-${version}
30
31checksums           rmd160  f8338d0bf5327dc29e25a7a94bfe363ca25d228b \
32                    sha256  0d0e70e10dfb47601cbb3425a00e03e2a2e97477be6f80638fef91d54dd1e4b8
33
34if {${name} ne ${subport}} {
35    depends_build-append \
36                        port:py${python.version}-numpy
37    depends_lib-append  port:py${python.version}-decorator
38
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       https://pypi.python.org/pypi/networkx/json
43    livecheck.regex     {networkx-(\d+(?:\.\d+)*)\.[tz]}
44}
Note: See TracBrowser for help on using the repository browser.