Files
2021-03-20 22:31:54 -04:00

41 lines
1.2 KiB
Tcl

# -*- 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
PortGroup github 1.0
github.setup rocky shell-term-background 1.0.1
github.tarball_from archive
name py-term-background
revision 0
categories-append devel
platforms darwin
supported_archs noarch
license GPL-2+
maintainers {reneeotten @reneeotten} openmaintainer
description Determine if shell has a light or dark background
long_description ${description}
checksums rmd160 f00d0961d4c9040ac6a557c2d3b4bfbc8fd78c4f \
sha256 c59081defac311e078657b0e7e933970a57fc89a4ba152d159436ccc3b6477a8 \
size 20302
python.versions 37 38 39
if {${subport} ne ${name}} {
depends_lib-append \
port:py${python.version}-setuptools
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}