# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-macholib
version             1.11
categories-append   devel
license             MIT
maintainers         {jmr @jmroot} openmaintainer
description         Mach-O header analysis and editing
long_description \
    macholib can be used to analyze and edit Mach-O headers, the executable \
    format used by Mac OS X. \
    It is typically used as a dependency analysis tool, and also to rewrite \
    dylib references in Mach-O headers to be @executable_path relative. \
    Though this tool targets a platform specific file format, it is pure \
    python code that is platform and endian independent.

platforms           darwin
supported_archs     noarch

homepage            http://undefined.org/python/#macholib
master_sites        pypi:m/macholib/
distname            macholib-${version}

checksums           rmd160 968f0799f8fd8fa13747cb3a4735b370bdefcb5a \
                    sha256 c4180ffc6f909bf8db6cd81cff4b6f601d575568f4d5dee148c830e9851eb9db

python.versions     27 33 34 35 36 37

if {$subport ne $name} {
    depends_lib     port:py${python.version}-modulegraph
    livecheck.type  none
}