Files
2025-10-31 09:20:26 -04:00

40 lines
1.3 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 jaspernbrouwer powerline-gitstatus 1.3.3 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
name py-powerline-gitstatus
categories-append sysutils
license MIT
maintainers {i0ntempest @i0ntempest} openmaintainer
supported_archs noarch
platforms {darwin any}
description A Powerline segment for showing the status of a Git working copy
long_description {*}${description}.
homepage https://github.com/jaspernbrouwer/powerline-gitstatus
checksums rmd160 1d7f36304e8fff954ddc34e25513c9020d0788b0 \
sha256 a7f8027489b25b847fe839ecec2fef552d886e668430cf95cbfb446ad60898c8 \
size 19191
python.versions 310 311 312 313
if {${name} ne ${subport}} {
depends_run-append \
port:py${python.version}-powerline
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
${destroot}${docdir}
}
}