py-ruff: add 0.0.276 (#38702)

This commit is contained in:
Manuela Kuhn 2023-07-04 03:59:14 +02:00 committed by GitHub
parent feb4681878
commit 5e1c4693fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -14,6 +14,7 @@ class PyMaturin(PythonPackage):
homepage = "https://github.com/pyo3/maturin"
pypi = "maturin/maturin-0.13.7.tar.gz"
version("1.1.0", sha256="4650aeaa8debd004b55aae7afb75248cbd4d61cd7da2dcf4ead8b22b58cecae0")
version("0.13.7", sha256="c0a77aa0c57f945649ca711c806203a1b6888ad49c2b8b85196ffdcf0421db77")
depends_on("py-setuptools", type="build")

View File

@ -0,0 +1,18 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyRuff(PythonPackage):
"""An extremely fast Python linter, written in Rust."""
homepage = "https://beta.ruff.rs/docs"
pypi = "ruff/ruff-0.0.276.tar.gz"
git = "https://github.com/astral-sh/ruff.git"
version("0.0.276", sha256="d456c86eb6ce9225507f24fcc7bf72fa031bb7cc750023310e62889bf4ad4b6a")
depends_on("py-maturin@1", type="build")