Files
macports-ports/python/py-sh/Portfile
T

36 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
name py-sh
version 2.2.2
revision 0
categories-append devel
license MIT
supported_archs noarch
platforms {darwin any}
maintainers {toby @tobypeterson} openmaintainer
description A full-fledged subprocess interface for Python
long_description {*}${description} that allows you to call any program as if it were a function.
homepage https://github.com/amoffat/sh
checksums rmd160 9054aabd8978a53bcb16e053d66ab80da496c72a \
sha256 653227a7c41a284ec5302173fbc044ee817c7bad5e6e4d8d55741b9aeb9eb65b \
size 345866
python.versions 310 311 312 313 314
python.pep517_backend poetry
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.md LICENSE.txt \
README.rst ${destroot}${docdir}
}
}