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

Last change on this file was 148976, checked in by raimue@…, 16 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-ropemacs
8version             0.7
9platforms           darwin
10license             GPL-2+
11maintainers         nomaintainer
12description         An emacs mode for using rope python refactoring library
13long_description    ${description}
14
15homepage            http://rope.sourceforge.net/
16master_sites        pypi:r/ropemacs/
17distname            ropemacs-${version}
18
19checksums           rmd160  2b2e90f76861bcd9f7dea0577dc55e354e46a529 \
20                    sha256  12d7dc9872f20de757610224999e866aac89ff04864d15a393e937965b70b8f4
21
22python.versions     27
23
24if {${name} ne ${subport}} {
25    depends_lib-append  port:py${python.version}-ropemode \
26                        port:py${python.version}-pymacs
27    livecheck.type      none
28} else {
29    livecheck.type      regex
30    livecheck.url       ${master_sites}
31    livecheck.regex     ropemacs-(\[0-9.\]+)${extract.suffix}
32}
Note: See TracBrowser for help on using the repository browser.