
* py-flask: add 2.2.2, py-werkzeug: add 2.2.2, py-markupsafe: add 2.1.1 * Remove py-dataclasses dependency
33 lines
1.8 KiB
Python
33 lines
1.8 KiB
Python
# Copyright 2013-2022 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 PyMarkupsafe(PythonPackage):
|
|
"""MarkupSafe is a library for Python that implements a unicode
|
|
string that is aware of HTML escaping rules and can be used to
|
|
implement automatic string escaping. It is used by Jinja 2, the
|
|
Mako templating engine, the Pylons web framework and many more."""
|
|
|
|
homepage = "https://palletsprojects.com/p/markupsafe"
|
|
pypi = "MarkupSafe/MarkupSafe-1.1.1.tar.gz"
|
|
git = "https://github.com/pallets/markupsafe.git"
|
|
|
|
version("2.1.1", sha256="7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b")
|
|
version("2.0.1", sha256="594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a")
|
|
version("1.1.1", sha256="29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b")
|
|
version("1.0", sha256="a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665")
|
|
version("0.23", sha256="a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3")
|
|
version("0.22", sha256="7642852b6d1e55c9e12e00a552c0b8943880f2172e55141ccb41eb5f8675dfa5")
|
|
version("0.21", sha256="c6465cd6ed2b96509ef0100e7fff8718ed52c2affab1860ed5a9b67f604dd59a")
|
|
version("0.20", sha256="f6cf3bd233f9ea6147b21c7c02cac24e5363570ce4fd6be11dab9f499ed6a7d8")
|
|
version("0.19", sha256="62fcc5d641df8b5ad271ebbd6b77a19cd92eceba1e1a990de4e96c867789f037")
|
|
|
|
depends_on("python@3.7:", when="@2.1:", type=("build", "run"))
|
|
depends_on("python@3.6:", when="@2:", type=("build", "run"))
|
|
depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
|
|
depends_on("py-setuptools", type="build")
|