# -*- 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
PortGroup           deprecated 1.0

name                py-yolk
version             0.4.3
revision            0
categories-append   devel
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
homepage            https://github.com/cakebread/yolk
description         Command-line tool querying PyPI and Python \
                    packages installed on your system
long_description    Yolk is a Python tool for obtaining information \
                    about packages installed by distutils, setuptools \
                    and easy_install and querying packages on PyPI \
                    (Python Package Index a.k.a. The Cheese Shop).

checksums           rmd160  0daa7d05053c90fe2c9581541e2e90c768e86a97 \
                    sha256  1c07eb4001dc133c08e66e38c5d58faa7616ae804f8d0ab02dd44a1044e7ddb8 \
                    size    86100

deprecated.upstream_support no
python.versions     27

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

    post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        foreach f [glob -directory ${worksrcpath}/docs *] {
            copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
        }
    }

    livecheck.type  none
}
