source: trunk/dports/python/py-rope/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.5 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-rope
8version             0.9.4
9platforms           darwin
10license             GPL-2+
11maintainers         nomaintainer
12
13description         python refactoring library
14long_description    Rope is a Python refactoring library that can be used \
15                    with several editors and IDEs. It provides many \
16                    refactoring operations as well as forms of code \
17                    assistance like auto-completion and access to \
18                    documentation.
19homepage            http://rope.sourceforge.net/
20
21supported_archs     noarch
22
23master_sites        pypi:r/rope/
24distname            rope-${version}
25checksums           rmd160  f73891b3d512f975172419e327adfb99ad10eaea \
26                    sha256  2dc0342604851d8fbdafa198172eab5da7ed422759016669056181e21c54a6ba
27
28python.versions     27 34 35
29
30if {${name} ne ${subport}} {
31    if {${python.version} >= 30} {
32        master_sites    pypi:r/rope_py3k/
33        distname        rope_py3k-${version}-1
34        checksums       rmd160  72b623aed7b4fbd3677506e214fe3206049e2437 \
35                        sha256  feb95047cdb9d94e59414aefce7668920e35cba6d1e3c4d4390c2888c98207fa
36    }
37    livecheck.type      none
38} else {
39    livecheck.type      regex
40    livecheck.url       ${master_sites}
41    livecheck.regex     rope-(\[\\d+.\]+)${extract.suffix}
42}
Note: See TracBrowser for help on using the repository browser.