# -*- 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-pkginfo
version             1.4.2
platforms           darwin
license             MIT
maintainers         {gmail.com:jjstickel @jjstickel} openmaintainer

description         Query metadatdata from sdists and bdists installed packages.
long_description \
    Provides an API for querying the distutils metadata written in the \
    PKG-INFO file inside a source distriubtion (an sdist) or a binary \
    distribution (e.g., created by running bdist_egg).

homepage            https://pypi.python.org/pypi/pkginfo
master_sites        pypi:p/pkginfo/
distname            ${python.rootname}-${version}

checksums           rmd160  65db4ba7d508330ae31741d6fc61e8b26c32b70e \
                    sha256  5878d542a4b3f237e359926384f1dde4e099c9f5525d236b1840cf704fa8d474 \
                    size    33539

python.versions     27 36 37

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
}