source: trunk/dports/python/py-ropemode/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.0 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-ropemode
8version             0.2
9platforms           darwin
10license             GPL-2+
11maintainers         nomaintainer
12description         ropemode, a helper for using rope refactoring library in IDEs
13long_description    ${description}
14
15homepage            http://rope.sourceforge.net/
16master_sites        pypi:r/ropemode/
17distname            ropemode-${version}
18
19checksums           rmd160  f3d9c29519ee83c08bd264a293d51bd4e61eb4f0 \
20                    sha256  54b2c7b4a04b22d41aa686942dc521a89ac36fd2c7356c2707939bb97980864b
21
22python.versions     27
23
24if {${name} ne ${subport}} {
25    depends_lib-append  port:py${python.version}-rope
26    livecheck.type      none
27} else {
28    livecheck.type      regex
29    livecheck.url       ${master_sites}
30    livecheck.regex     ropemode-(\[0-9.\]+)${extract.suffix}
31}
Note: See TracBrowser for help on using the repository browser.