source: trunk/dports/python/py-itsdangerous/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.3 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
7set realname        itsdangerous
8name                py-${realname}
9version             0.24
10python.versions     26 27 33 34 35
11license             BSD
12platforms           darwin
13supported_archs     noarch
14maintainers         aronnax openmaintainer
15description         Various helpers to pass trusted data to untrusted environments and back
16long_description    ${description}
17homepage            http://pythonhosted.org/itsdangerous/
18master_sites        pypi:[string index ${realname} 0]/${realname}/
19distname            ${realname}-${version}
20
21checksums           md5     a3d55aa79369aef5345c036a8a26307f \
22                    sha1    0a6ae9c20cd72e89d75314ebc7b0f390f93e6a0d \
23                    rmd160  870c1cef9d39c74f2d376be07b50d0e11f343018
24
25if {${name} eq ${subport}} {
26    livecheck.type      regex
27    livecheck.url       "http://pypi.python.org/pypi?:action=doap&name=${realname}"
28    livecheck.regex     {<release><Version><revision>([^<]+)</revision></Version></release>}
29} else {
30    depends_build-append \
31                    port:py${python.version}-setuptools
32
33    livecheck.type  none
34}
Note: See TracBrowser for help on using the repository browser.