source: trunk/dports/python/py-clonedigger/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.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
7name                py-clonedigger
8version             1.0.3-beta
9platforms           darwin
10supported_archs     noarch
11license             GPL-3+
12maintainers         nomaintainer
13
14description         Clone Digger aimed to detect similar code in \
15                    Python programs
16long_description    Clone Digger is the tool for finding software \
17                    clones. Currently only Python language is \
18                    supported, Java support will be added soon.
19homepage            http://clonedigger.sourceforge.net/
20
21master_sites        pypi:c/clonedigger/
22distname            clonedigger-${version}
23checksums           md5     ac1883622ee2c20a2b91efbf5133b892 \
24                    sha1    f5a3854d2f5f0f0b997459d1b0f529e216fecb55 \
25                    rmd160  deaf039ca347181959fe54da1b88f6e932b15340
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    depends_build   port:py${python.version}-setuptools
31    livecheck.type  none
32} else {
33    livecheck.type  regex
34    livecheck.url   http://pypi.python.org/pypi/clonedigger
35    livecheck.regex clonedigger-(.+?)${extract.suffix}
36}
Note: See TracBrowser for help on using the repository browser.