Files
macports-ports/python/py-tokenize-rt/Portfile
T
2025-12-01 23:31:01 -05:00

36 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-tokenize-rt
python.rootname tokenize_rt
version 6.2.0
revision 0
categories-append devel
supported_archs noarch
platforms {darwin any}
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description A wrapper around the stdlib `tokenize` which roundtrips.
long_description {*}${description}
homepage https://github.com/asottile/tokenize-rt
checksums rmd160 b8d0225f156df7ffc0f392487c8378fe4b2cc022 \
sha256 8439c042b330c553fdbe1758e4a05c0ed460dbbbb24a606f11f0dee75da4cad6 \
size 5476
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
LICENSE ${destroot}${docdir}
}
}