source: trunk/dports/python/py-xmldiff/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# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-xmldiff
7version             0.6.10
8categories-append       textproc
9license                 GPL-2+
10platforms               darwin
11maintainers             nomaintainer
12description             diff for xml files as command line tool and python module
13long_description        xmldiff is a python tool that figures out the \
14                                differences between two similar XML files, in the same \
15                                way the diff utility does it for text files. It can \
16                                be used as a library or as a command line tool. It can \
17                                work either with XML files or DOM trees
18
19homepage            http://www.logilab.org/project/xmldiff/
20master_sites        pypi:x/xmldiff
21distname                xmldiff-${version}
22use_zip             yes
23
24checksums           rmd160  c562cdf65947100217efbd06a12e0d6cac63152c \
25                    sha256  edeb13ae5d2cc1de72b58bc989f10dc006db5acc19d42f4b05309b14bc99bbe0
26
27python.versions 27
28
29if {${name} ne ${subport}} {
30    post-destroot       {
31        xinstall -m 644 -W ${worksrcpath} README \
32            ${destroot}${prefix}/share/doc/${subport}
33    }
34    livecheck.type      none
35} else {
36    livecheck.type      regex
37    livecheck.url   http://www.logilab.org/ajax?rql=Any%20X%2CAA%2CAB%2CAC%2CAD%2CAE%2CAF%2CAG%20WHERE%20X%20is_instance_of%20Project%2C%20X%20description%20AA%2C%20X%20description_format%20AB%2C%20X%20homepage%20AC%2C%20X%20modification_date%20AD%2C%20X%20name%20AE%2C%20X%20summary%20AF%2C%20X%20summary%20AG%2C%20X%20name%20%22xmldiff%22&vid=projectinfo_tab&fname=view
38    livecheck.regex /xmldiff-(\[0-9.\]+)${extract.suffix}
39}
Note: See TracBrowser for help on using the repository browser.