Ticket #53788: Portfile

File Portfile, 1.6 KB (added by 1-61803, 7 years ago)

added livecheck

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
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                tldr-python-client
7version             0.3
8distname            tldr-${version}
9
10python.versions     27 33 34 35
11
12conflicts           tldr-cpp-client
13
14categories          sysutils
15platforms           darwin
16supported_archs     noarch
17license             MIT
18maintainers         nomaintainer
19
20description         tldr python client - simplified and community-driven man pages
21long_description    The TLDR pages are a community effort to simplify \
22                    the beloved man pages with practical examples.
23
24homepage            http://tldr-pages.github.io
25master_sites        pypi:t/tldr/
26
27checksums           rmd160  92dc9f4f453673438bc6711e7653987b99680adc \
28                    sha256  f3a9e74d99965ed92b581ec5489be1c5bc95e5a01e6d49a0843fec06e0d39e99
29
30depends_build-append \
31                    port:py${python.version}-setuptools_scm \
32
33depends_lib-append  port:py${python.version}-six \
34                    port:py${python.version}-termcolor \
35                    port:py${python.version}-colorama
36
37post-destroot {
38    set docdir ${prefix}/share/doc/${subport}
39    xinstall -d ${destroot}${docdir}/samples
40    xinstall -m 644 -W ${worksrcpath} \
41        LICENSE \
42        README.md \
43        ${destroot}${docdir}
44}
45
46livecheck.name      tldr
47livecheck.type      pypi
48
49notes "
50There's a complete script for the c++ client that you can source from the shell's rc at
51https://github.com/tldr-pages/tldr-cpp-client/tree/master/autocomplete
52"