source: trunk/dports/python/py-macholib/Portfile

Last change on this file was 148976, checked in by raimue@…, 14 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 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
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 $
4PortSystem          1.0
5PortGroup           python 1.0
7name                py-macholib
8version             1.7
9revision            1
10categories-append   devel
11license             MIT
12maintainers         jmr openmaintainer
13description         Mach-O header analysis and editing
14long_description \
15    macholib can be used to analyze and edit Mach-O headers, the executable \
16    format used by Mac OS X. \
17    It is typically used as a dependency analysis tool, and also to rewrite \
18    dylib references in Mach-O headers to be @executable_path relative. \
19    Though this tool targets a platform specific file format, it is pure \
20    python code that is platform and endian independent.
22platforms           darwin
23supported_archs     noarch
26master_sites        pypi:m/macholib/
27distname            macholib-${version}
29checksums           md5 cf03a55323d5b7ca59be530ba0b01032 \
30                    rmd160 51378b1034b4a73a2f5ed51fa6bf0072fb66a71b \
31                    sha256 1865bed8c50131649653d82cd1fbeb73a36a51355c48c81debdc195387b8103a
33python.versions     26 27 33 34 35
35if {$subport ne $name} {
36    depends_lib-append  port:py${python.version}-modulegraph
37    livecheck.type  none
38} else {
39    livecheck.type  regex
40    livecheck.url
41    livecheck.regex {macholib ([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.