Files
2025-10-31 09:49:00 -04:00

45 lines
1.4 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 select 1.0
name py-pss
version 1.45
revision 0
categories-append devel
license public-domain
supported_archs noarch
platforms {darwin any}
maintainers nomaintainer
description pss is a tool for grepping through source code
long_description {*}${description}
checksums rmd160 1519ea7096bce53d3ed1251beb3149930b4123c0 \
sha256 13b81a4a7a33a7d6c4de85b908911c48849050fbaab596aeeceac78eaf067149 \
size 27740
python.versions 313
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
CHANGES ${destroot}${docdir}
}
depends_run port:py-pss_select
select.group py-pss
select.file ${filespath}/py${python.version}-pss
notes "
To make the Python ${python.branch} version of py-pss the one that is run\
when you execute the commands without a version suffix, e.g. 'pss', run:
port select --set ${select.group} [file tail ${select.file}]
"
}