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

checksums           md5 226cf0d4d07162d98c7344f5affd1d6f \
                    rmd160 c5b12071106ed4d5b63d780dd84db0bb047f9fb1 \
                    sha256 0c436bc847e7b1d9bda0560351bf76d7caf930fb585a828d13608839ef42c432

python.versions     27 33 34 35 36 37 38 39

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