source: trunk/dports/python/py-watchdog/Portfile

Last change on this file was 150234, checked in by petr@…, 17 months ago

py-watchdog: update to @0.8.3, switch to PyPI, add category, fix license, retire py33 and add py35 subport, related to #51562.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 150234 2016-07-13 11:03:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-watchdog
8version             0.8.3
9
10categories-append   sysutils
11platforms           darwin
12license             Apache-2
13maintainers         petr openmaintainer
14
15description         Python API and shell utilities to monitor file system events.
16long_description    ${description}
17
18homepage            http://pythonhosted.org/watchdog/
19master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}/
20distname            ${python.rootname}-${version}
21
22checksums           md5     bb16926bccc98eae2a04535e4512ddf1 \
23                    rmd160  98b76d328f2903533fba56e8694b0002c0a25c1e \
24                    sha256  7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162
25
26python.versions     27 34 35
27
28if {${name} ne ${subport}} {
29    depends_build-append    port:py${python.version}-setuptools
30
31    depends_lib-append      port:py${python.version}-argh \
32                            port:py${python.version}-pathtools \
33                            port:py${python.version}-yaml
34
35    livecheck.type  none
36} else {
37    livecheck.type  regex
38    livecheck.url   https://pypi.python.org/pypi/${python.rootname}/json
39    livecheck.regex "\"${python.rootname}-(\[.\\d\]+)\\${extract.suffix}\""
40}
Note: See TracBrowser for help on using the repository browser.