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

Last change on this file was 148976, checked in by raimue@…, 14 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.1 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-markupsafe
8version             0.23
9categories-append   textproc
10platforms           darwin
11license             BSD
12
13python.versions     26 27 33 34 35
14
15maintainers         perry openmaintainer
16
17description         Implements a XML/HTML/XHTML Markup safe string for Python
18long_description    ${description}
19
20homepage            http://www.pocoo.org/projects/markupsafe/
21master_sites        pypi:M/MarkupSafe/
22
23distname            MarkupSafe-${version}
24
25checksums           rmd160  8d1dd780a46a18b6f6bad78bf92eeca2d06a1f54 \
26                    sha256  a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3
27
28if {${name} ne ${subport}} {
29    depends_build-append    port:py${python.version}-setuptools
30
31    livecheck.type          none
32
33} else {
34    livecheck.type          regex
35    livecheck.url           https://pypi.python.org/pypi/MarkupSafe/json
36    livecheck.regex         {MarkupSafe-(\d+(?:\.\d+)*)\.[tz]}
37}
Note: See TracBrowser for help on using the repository browser.