Files
macports-ports/python/codespell/Portfile
T
2025-01-29 14:48:23 -05:00

38 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 codespell
version 2.4.1
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 cbd14b04c0d155b33dfdf65beb4f54664f0b128a \
sha256 299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5 \
size 344740
python.default_version 313
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}
}