source: trunk/dports/python/py-decoratortools/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-decoratortools
8version             1.8
9categories-append   www
10platforms           darwin
11supported_archs     noarch
12license             {PSF ZPL}
13maintainers         nomaintainer
15description         Class, Function, and Assignment Decorators, Metaclasses, \
16                    and Related Tools
17long_description    ${description}
20master_sites        pypi:D/DecoratorTools
21distname            DecoratorTools-${version}
22use_zip             yes
23checksums           rmd160  c4cc286a557588ec4d45ebbbc6d848fdee107a19 \
24                    sha256  da73f03a9fab80a205c8febcecee83f8a989eab8ce81affd7989210e4a3d9ea8
26python.versions     27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:py${python.version}-setuptools
30    post-destroot {
31        xinstall -m 644 -W ${worksrcpath} \
32            README.txt ${destroot}${prefix}/share/doc/${subport}
33    }
34        yes
35    livecheck.type  none
36} else {
37    livecheck.type  regex
38    livecheck.url   ${master_sites}
39    livecheck.regex DecoratorTools-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.