# -*- 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
# $Id: Portfile 82424 2011-08-13 16:16:28Z jmr@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-yolk
version             0.4.1
categories-append   devel
platforms           darwin
maintainers         nomaintainer
homepage            http://tools.assembla.com/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).  
master_sites        http://pypi.python.org/packages/source/y/yolk/
distname            yolk-${version}
checksums           md5     100b0f20aaf66aacd53987714cc91c3d \
                    sha1    004e7bf297ac9a752d4d41c3f7eeea7adaa7a675 \
                    rmd160  5a672ab6ba8f121787c008b2e1e5d2b4fd8270d0

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

depends_build       port:py26-distribute

livecheck.type      regex
livecheck.url       http://pypi.python.org/pypi/yolk
livecheck.regex     virtualenv (1\.\[0-9\]+\.\[0-9\]+)
