# -*- 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 codespell
version 2.4.3
revision 0
categories-append textproc devel
supported_archs noarch
platforms {darwin any}
license GPL-2
maintainers {reneeotten @reneeotten} openmaintainer
description codespell: check code for common misspellings
long_description {*}${description}
homepage https://github.com/codespell-project/codespell/
checksums rmd160 3c165355b7f81accef148c85036f9bcce8e2eaaf \
sha256 cbe085e331227b37bb86ef8bddd08dc768c704ee9a07ca869852c093fa2793e2 \
size 352773
python.default_version 314
depends_build-append \
port:py${python.version}-setuptools_scm
depends_run-append port:py${python.version}-chardet
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
COPYING ${destroot}${docdir}
}