source: trunk/dports/python/py-weberror/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.1 KB
Line 
1# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               python 1.0
5
6name                    py-weberror
7version                 0.10.3
8python.versions         27
9maintainers             nomaintainer
10platforms               darwin
11
12description             Web Error handling and exception catching
13long_description        ${description}
14license                 MIT
15homepage                http://pypi.python.org/pypi/WebError/
16
17livecheck.regex         {>WebError (.+) :}
18livecheck.type          regex
19livecheck.url           ${homepage}
20
21if {${name} ne ${subport}} {
22    depends_build-append    port:py${python.version}-setuptools
23    depends_lib-append \
24        port:py${python.version}-paste \
25        port:py${python.version}-pygments \
26        port:py${python.version}-tempita \
27        port:py${python.version}-webob
28
29    post-extract {
30        foreach file [glob ${worksrcpath}/WebError.egg-info/*] {
31            file attributes ${file} -permissions 0644
32        }
33    }
34}
35
36distname                WebError-${version}
37master_sites            pypi:W/WebError/
38
39checksums               rmd160 14893cefa17f70600f7d63f733edd51fda01e487
Note: See TracBrowser for help on using the repository browser.