Files
macports-ports/python/py-whatthepatch/Portfile
T
2025-11-12 22:55:09 -05:00

37 lines
1.1 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-whatthepatch
version 1.0.7
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description A patch parsing and application library.
long_description {*}${description}
homepage https://github.com/cscorley/whatthepatch
checksums rmd160 56a8265c42d1b06324860aa7539c02a886c5b786 \
sha256 9eefb4ebea5200408e02d413d2b4bc28daea6b78bb4b4d53431af7245f7d7edf \
size 34612
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
LICENSE ${destroot}${docdir}
}
}