source: trunk/dports/python/py-pymorph/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.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-pymorph
8version             0.96
9license             BSD
10platforms           darwin
11supported_archs     noarch
12
13maintainers         stromnov openmaintainer
14
15description         Image morphology library.
16long_description    Collection of pure python implementations of many \
17                    image morphology functions.
18
19homepage            http://luispedro.org/software/pymorph/
20master_sites        pypi:p/pymorph/
21
22distname            pymorph-${version}
23
24checksums           md5     ed3b9b30b8b0286996e3d26eea8b4bbf \
25                    sha1    48fdfa2c3d16806296ad26f4e76305976ffc7042 \
26                    rmd160  fb32cb593ee195898437123027407905b6149e27
27
28python.versions     26
29
30if {${name} ne ${subport}} {
31    depends_build       port:py${python.version}-setuptools
32
33    depends_lib-append  port:py${python.version}-numpy
34
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       https://pypi.python.org/pypi/pymorph/json
39    livecheck.regex     "pymorph-(\\d+(?:\\.\\d+)*)${extract.suffix}"
40}
Note: See TracBrowser for help on using the repository browser.