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

Last change on this file was 148976, checked in by raimue@…, 2 years 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 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.3 KB
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 $
4PortSystem          1.0
5PortGroup           python 1.0
7name                py-errorhandler
8version             1.1.1
9platforms           darwin
10license             MIT
11maintainers         nomaintainer
13supported_archs     noarch
15description         Handler for Python error messages
16long_description    This is a handler for the python standard logging \
17                    framework that can be used to tell whether \
18                    messages have been logged at or above a certain \
19                    level.
22master_sites        pypi:e/errorhandler/
23distname            errorhandler-${version}
24checksums           rmd160  3a60f826eb1bae0e249fdefd3d6c4eb3c598832f \
25                    sha256  2baa97a8a256fe72960d196bbdee4404162186f539c4d73b3f1c072db18463e9
27python.versions     27
29if {${name} eq ${subport}} {
30    livecheck.type          regex
31    livecheck.url 
32    livecheck.regex         errorhandler-(\[1-9\]\\.\[0-9.\]+)\\.tar\\.\[bg\]z
33} else {
34    depends_build-append    port:py${python.version}-setuptools
35    livecheck.type          none
Note: See TracBrowser for help on using the repository browser.