# $Id: Portfile 106360 2013-05-23 15:31:05Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name            py-watchdog
set real_name   watchdog
version         0.6.0
maintainers     nomaintainer
platforms       darwin
description     Python API and shell utilities to monitor file system events.
license         MIT

long_description \
    ${description}

homepage            http://packages.python.org/watchdog/
master_sites        http://pypi.python.org/packages/source/w/${real_name}
distname            ${real_name}-${version}

checksums           rmd160  229e05935da72ce087e80a65c2221d5336e3ab37 \
                    sha256  aaae8ec476b31d46c5dc400105ade2e1c3e2221d9c5f8252a64a2f05165e9dd9

# watchdog supports Python 2.5+, but at the moment,
# Macports only packages dependencies for Python 2.7
python.versions 27
python.default_version 27

if {$subport != $name} {
    depends_lib-append \
        port:py${python.version}-yaml \
        port:py${python.version}-argh \
        port:py${python.version}-pathtools \
        port:py${python.version}-brownie
}
