summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLydéric Debusschère <lyderic.de@gmail.com>2023-10-21 02:09:13 +0200
committerGitHub <noreply@github.com>2023-10-20 18:09:13 -0600
commit0c18f81b80b54a4b04c779e269a2831dc7c85a7e (patch)
tree5f488d821351b248244d606610f37f22535f2dad
parentd442fac69adba6fb4107ef7fe1a9c9dd54461421 (diff)
downloadspack-0c18f81b80b54a4b04c779e269a2831dc7c85a7e.tar.gz
spack-0c18f81b80b54a4b04c779e269a2831dc7c85a7e.tar.bz2
spack-0c18f81b80b54a4b04c779e269a2831dc7c85a7e.tar.xz
spack-0c18f81b80b54a4b04c779e269a2831dc7c85a7e.zip
[add] py-dict2css: new package (#40552)
Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
-rw-r--r--var/spack/repos/builtin/packages/py-dict2css/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dict2css/package.py b/var/spack/repos/builtin/packages/py-dict2css/package.py
new file mode 100644
index 0000000000..7e962e56d7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dict2css/package.py
@@ -0,0 +1,21 @@
+# 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 PyDict2css(PythonPackage):
+ """A μ-library for constructing cascading style sheets from Python dictionaries."""
+
+ homepage = "https://github.com/sphinx-toolbox/dict2css"
+ pypi = "dict2css/dict2css-0.3.0.tar.gz"
+
+ maintainers("LydDeb")
+
+ version("0.3.0", sha256="1e8b1bf580dca2083198f88a60ec88c878a8829d760dfe45483ef80fe2905117")
+
+ depends_on("py-whey", type="build")
+ depends_on("py-cssutils@2.2.0:", type=("build", "run"))
+ depends_on("py-domdf-python-tools@2.2.0:", type=("build", "run"))