source: trunk/dports/python/py-hachoir-core/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.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-core
9version             1.3.3
10categories          python
11platforms           darwin
12license             GPL-2
13maintainers         nomaintainer
14
15description         Library represents binary file as a tree of Python objects
16long_description    Hachoir is a Python library used to represent of a binary file as a tree of \
17                    Python objects. Each object has a type, a value, an address, etc. The goal \
18                    is to be able to know the meaning of each bit in a file.
19
20homepage            http://pypi.python.org/pypi/hachoir-core
21master_sites        pypi:h/hachoir-core/
22distname            hachoir-core-${version}
23
24checksums           rmd160  bc29a5433db1fe86fb90928be63b4af569f0d977 \
25                    sha256  ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    livecheck.type      none
31} else {
32    livecheck.type      regex
33    livecheck.url       http://pypi.python.org/packages/source/h/hachoir-core/
34    livecheck.regex     {hachoir-core-(\d+(?:\.\d+)*)\.tar\.gz}
35}
Note: See TracBrowser for help on using the repository browser.