You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
40 lines
1.3 KiB
Tcl
40 lines
1.3 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 pre-commit
|
|
python.rootname pre_commit
|
|
version 4.5.1
|
|
revision 0
|
|
|
|
categories-append devel
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description A framework for managing and maintaining multi-language pre-commit hooks.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/pre-commit/pre-commit
|
|
|
|
checksums rmd160 ef168cdc700eb4218b1d90c4b3a3c96fac76c1c5 \
|
|
sha256 eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61 \
|
|
size 198232
|
|
|
|
python.default_version 314
|
|
|
|
depends_lib-append port:py${python.version}-cfgv \
|
|
port:py${python.version}-identify \
|
|
port:py${python.version}-nodeenv \
|
|
port:py${python.version}-yaml \
|
|
port:py${python.version}-virtualenv
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
|
|
${destroot}${docdir}
|
|
}
|