py-misk: add new package (#46153)

This commit is contained in:
Pranav Sivaraman 2024-09-04 14:25:01 -04:00 committed by GitHub
parent ab21fc1daf
commit ee96194486
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,21 @@
# 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 PyMisk(PythonPackage):
"""Miscellaneous useful bits for Python 3."""
homepage = "https://github.com/marzer/misk"
url = "https://github.com/marzer/misk/archive/refs/tags/v0.8.1.tar.gz"
license("MIT", checked_by="pranav-sivaraman")
version("0.8.1", sha256="35f3cceaefc5f1c3f379b5387a41ef4e57f487ec1b2bc4d8fdde72b2144f0060")
depends_on("py-setuptools", type="build")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-requests", type=("build", "run"))