# -*- 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           cargo   1.0
PortGroup           github  1.0

github.setup        charliermarsh ruff 0.0.292 v
github.tarball_from archive
revision            0

homepage            https://beta.ruff.rs

description         An extremely fast Python linter, written in Rust

long_description    \
    {*}${description}. Ruff aims to be orders of magnitude faster than \
    alternative tools while integrating more functionality behind a single, \
    common interface. Ruff can be used to replace Flake8 \(plus dozens of \
    plugins\), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, \
    all while executing tens or hundreds of times faster than any individual \
    tool. Ruff is extremely actively developed and used in many major \
    open-source projects.

categories          devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  aa6240fcca17a09a391b232853f5f6e43079af92 \
                    sha256  901d418e195e035fe38641c22400df09ef4712ff4ef1dd872951323eb0e0b59d \
                    size    3153481

build.pre_args-delete \
                    --frozen

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
