Skip to content

Commit

Permalink
py-codespell: add package (spack#42694)
Browse files Browse the repository at this point in the history
* py-codespell: add package

* setuptools-scm conflict

confirmed via codespell-project/codespell#3365

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* reorder dependencies and versions

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
  • Loading branch information
2 people authored and mathomp4 committed Mar 27, 2024
1 parent a38f8b8 commit 01a7a63
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions var/spack/repos/builtin/packages/py-codespell/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2013-2024 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 PyCodespell(PythonPackage):
"""check code for common misspellings"""

homepage = "https://github.com/codespell-project/codespell"
pypi = "codespell/codespell-2.2.6.tar.gz"

license("GPL-2.0", checked_by="cmelone")

version("2.2.6", sha256="a8c65d8eb3faa03deabab6b3bbe798bea72e1799c7e9e955d57eca4096abcff9")

depends_on("py-setuptools@64.0:", type="build")
depends_on("py-setuptools-scm@6.2: +toml", type="build")
conflicts("^py-setuptools-scm@8.0.0")

0 comments on commit 01a7a63

Please sign in to comment.