source: trunk/dports/python/py-hachoir-metadata/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: 2.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
5
6PortGroup           python 1.0
7
8name                py-hachoir-metadata
9version             1.3.3
10categories          python
11platforms           darwin
12license             GPL-2
13maintainers         nomaintainer
14
15description         hachoir-metadata extracts metadata from multimedia files
16long_description    hachoir-metadata extracts metadata from multimedia files: \
17                    music, picture, video, but also archives. It supports most common file formats: \
18                    \
19                    Program:  \
20                    exe \
21                    Archives:  \
22                    bzip2, gzip, zip, tar  \
23                    Video:  \
24                    ASF format (WMV video), AVI, Matroska (MKV), WebM video, Quicktime (MOV),  \
25                    Ogg/Theora, Real media (RM) \
26                    Audio:  \
27                    MPEG audio/MP3, WAV, Sun/NeXT audio, Ogg/Vorbis (OGG), MIDI, AIFF, AIFC,  \
28                    Real audio (RA) \
29                    Image:  \
30                    bmp, cur, emf, ico, gif, jpg/jpeg, pcx, png, tga, tiff, wmf, xcf \
31                    Misc:  \
32                    Torrent
33
34homepage            http://pypi.python.org/pypi/hachoir-metadata
35master_sites        pypi:h/hachoir-metadata/
36distname            hachoir-metadata-${version}
37
38checksums           rmd160  9fc1fc7e35321a1839b4270b1723887a0465f2a0 \
39                    sha256  ec403f13a44e2cf3d26001f8f440cdc4329a316a4c971035944bfadacc90eb3c
40
41python.versions     27
42
43if {${name} ne ${subport}} {
44    depends_lib-append  port:py${python.version}-hachoir-core \
45                        port:py${python.version}-hachoir-parser
46
47    livecheck.type      none
48} else {
49    livecheck.type      regex
50    livecheck.url       http://pypi.python.org/pypi/hachoir-metadata
51    livecheck.regex     {hachoir-metadata-(\d+(?:\.\d+)*)\.tar\.gz}
52}
Note: See TracBrowser for help on using the repository browser.