diff --git a/var/spack/repos/builtin/packages/py-mike/package.py b/var/spack/repos/builtin/packages/py-mike/package.py new file mode 100644 index 0000000000..25b7a2d85c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mike/package.py @@ -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")) diff --git a/var/spack/repos/builtin/packages/py-verspec/package.py b/var/spack/repos/builtin/packages/py-verspec/package.py new file mode 100644 index 0000000000..d0807bdca9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-verspec/package.py @@ -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")