You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -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.6.0
|
|
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 ee7c077e8d981fe858c26a8ada670f7e83d814b9 \
|
|
sha256 718d2208cef53fdc38206e40524a6d4d9576d103eb16f0fec11c875e7716e9d9 \
|
|
size 198525
|
|
|
|
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}
|
|
}
|