New package: py-mike and dependency. (#36587)

Co-authored-by: Cloud User <leonardanderson@leonardander004.hzterscemazurawp3xenxzahla.bx.internal.cloudapp.net>
This commit is contained in:
Leonard-Anderson-NNL 2023-04-01 22:53:48 -04:00 committed by GitHub
parent b524351e10
commit 4242989f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# 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 PyMike(PythonPackage):
"""mike is a Python utility to easily deploy multiple versions of your
MkDocs-powered docs to a Git branch, suitable for deploying to Github
via gh-pages."""
homepage = "https://github.com/jimporter/mike"
pypi = "mike/mike-1.1.2.tar.gz"
version("1.1.2", sha256="56c3f1794c2d0b5fdccfa9b9487beb013ca813de2e3ad0744724e9d34d40b77b")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-mkdocs@1.0:", type=("build", "run"))
depends_on("py-jinja2", type=("build", "run"))
depends_on("py-pyyaml@5.1:", type=("build", "run"))
depends_on("py-verspec", type=("build", "run"))

View file

@ -0,0 +1,19 @@
# 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 PyVerspec(PythonPackage):
"""verspec is a Python library for handling software versions and
specifiers, adapted from the packaging package."""
homepage = "https://github.com/jimporter/verspec"
pypi = "verspec/verspec-0.1.0.tar.gz"
version("0.1.0", sha256="c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")