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

name                logcat-color3
version             0.10.0
revision            0

categories-append   devel
license             Apache-2
maintainers         nomaintainer
description         A colorful logcat
long_description    \
    A colorful and highly configurable alternative to the standard "adb logcat" \
    command from the Android SDK (Python 3-compatible fork)
platforms           {darwin any}
supported_archs     noarch
homepage            https://github.com/yan12125/logcat-color3

python.versions     311

checksums           rmd160  d89f29aac3bca707fb4cb71fd9e5f9c64094e225 \
                    sha256  e4eff7cdfb271340ffce28ce4913c179abbfab8e81fb5836fc4ada8094200e80 \
                    size    23018

post-extract {
    reinplace "s|/usr/bin/env python|${python.bin}|" ${worksrcpath}/test/mock-adb
}

depends_build-append \
                port:py${python.version}-setuptools_scm

depends_lib-append \
                port:py${python.version}-colorama \

depends_run-append \
                bin:adb:android-platform-tools
