source: trunk/dports/python/py-altgraph/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.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-altgraph
8version             0.12
9categories-append   devel
10license             MIT
11maintainers         jmr openmaintainer
12description         Python graph (network) package
13long_description \
14    altgraph is a fork of graphlib: a graph (network) package for \
15    constructing graphs, BFS and DFS traversals, topological sort, \
16    shortest paths, etc. with graphviz output. \
17    altgraph includes some additional usage of Python 2.3+ features and \
18    enhancements related to modulegraph and macholib.
19
20platforms           darwin
21supported_archs     noarch
22
23homepage            http://undefined.org/python/#altgraph
24master_sites        pypi:a/altgraph/
25distname            altgraph-${version}
26
27checksums           md5 916dca277fb2b747d5b1ec05b54a0825 \
28                    rmd160 c37307bb4c724122b0c1b8dc31b42eb8f32b8b26 \
29                    sha256 b90db0dba36d9ece282b6a95ae3d324b63239694ce2cf2fd07d3efd7f2f7cab2
30
31python.versions     26 27 33 34 35
32
33if {$subport ne $name} {
34    depends_build   port:py${python.version}-setuptools
35    livecheck.type  none
36} else {
37    livecheck.type  regex
38    livecheck.url   https://pypi.python.org/pypi/altgraph/
39    livecheck.regex altgraph (0\.\[0-9.\]+)
40}
Note: See TracBrowser for help on using the repository browser.