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

github.setup        chrippa livestreamer 1.12.2 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            2
categories          multimedia
platforms           {darwin any}
maintainers         nomaintainer
license             MIT
supported_archs     noarch

description         Command-line utility that extracts streams from various services \
                    and pipes them into a video player of choice.

long_description    Livestreamer is a command-line utility that pipes video streams \
                    from various services into a video player such as VLC. \
                    The main purpose of Livestreamer is to allow the user to avoid buggy \
                    and CPU heavy flash plugins but still be able to enjoy various \
                    streamed content. There is also an API available for developers \
                    who want access to the video stream data.

homepage            https://docs.livestreamer.io/

checksums           rmd160  51b79cff3a59ccc20f360176f857a969ab5e050e \
                    sha256  a16a91122c4ccae92b8bfca7be65dbe08caa2c2460a160d73cda51d62c69281d \
                    size    877115

python.default_version  37

depends_lib-append  port:py${python.version}-gnureadline \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-requests

test.run            yes
test.cmd            ${python.bin} setup.py
test.env            PYTHONPATH=${worksrcpath}/build/lib
