source: trunk/dports/python/py-hachoir-parser/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: 2.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
5
6PortGroup           python 1.0
7
8name                py-hachoir-parser
9version             1.3.4
10revision            1
11categories          python
12platforms           darwin
13license             GPL-2
14maintainers         nomaintainer
15
16description         78 parser for common binary file formats using Hachoir framework
17long_description    hachoir-parser is a package of most common file format parsers written for \
18                    the Hachoir framework. Currently, 78 parsers are supported (some only partially). \
19                    \
20                    File System:  \
21                    ext2, fat12, fat16, fat32, iso9660, linux_swap, MBR, ntfs, ReiserFS \
22                    Program:  \
23                    elf, exe, javac, EFI pifv, prc, pyc, pyo \
24                    Archive: \
25                    7zip, ace, bzip2, cab, gzip, mar, rar, rpm, tar, unix_archive, zip \
26                    Audio: \
27                    aiff, fasttracker2, flac, itunesdb, midi, mod,  \
28                    MPEG-1 audio, ptm, ra, s3m, snd \
29                    Container: \
30                    asn1, mkv, ogg, rm, riff, swf \
31                    Video: \
32                    asf, flv, mov, MPEG-1/2 PS, MPEG-2 TS \
33                    Game:  \
34                    blp1, blp2, lucasarts_font, spiderman_video, zsnes \
35                    Image:  \
36                    bmp, gif, ico, jpeg/jpg, pcx, png, psd, tga, tiff, wmf, xcf \
37                    Misc:  \
38                    3do, 3ds, bplist, chm, gnomekeyring, hlp, lnk, ole2, pcf, pdf,  \
39                    tcpdump, torrent, ttf
40
41homepage            http://pypi.python.org/pypi/hachoir-parser
42master_sites        pypi:h/hachoir-parser/
43distname            hachoir-parser-${version}
44
45checksums           rmd160  e487b9d5110593a155875a91bd481db9d35588c1 \
46                    sha256  775be5e10d72c6122b1ba3202dfce153c09ebcb60080d8edbd51aa89aa4e6b3f
47
48python.versions     27
49
50if {${name} ne ${subport}} {
51    depends_lib-append  port:py${python.version}-hachoir-core
52
53    livecheck.type      none
54} else {
55    livecheck.type      regex
56    livecheck.url       http://pypi.python.org/packages/source/h/hachoir-parser/
57    livecheck.regex     {hachoir-parser-(\d+(?:\.\d+)*)\.tar\.gz}
58}
59
Note: See TracBrowser for help on using the repository browser.