summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLydéric Debusschère <lyderic.de@gmail.com>2023-10-20 14:01:38 +0200
committerGitHub <noreply@github.com>2023-10-20 07:01:38 -0500
commit25aff66d3475a1092ed039fb435940c5a73ced95 (patch)
treeedd47185bcbf5782ff1477e3e7b79e1a49efc004
parent9bd77b2ed397b1d9fb70a0fb580f641d08b2bbc3 (diff)
downloadspack-25aff66d3475a1092ed039fb435940c5a73ced95.tar.gz
spack-25aff66d3475a1092ed039fb435940c5a73ced95.tar.bz2
spack-25aff66d3475a1092ed039fb435940c5a73ced95.tar.xz
spack-25aff66d3475a1092ed039fb435940c5a73ced95.zip
[add] py-cssutils: new package (#40551)
Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
-rw-r--r--var/spack/repos/builtin/packages/py-cssutils/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cssutils/package.py b/var/spack/repos/builtin/packages/py-cssutils/package.py
new file mode 100644
index 0000000000..3a6772edc5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cssutils/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 PyCssutils(PythonPackage):
+ """A CSS Cascading Style Sheets library for Python."""
+
+ homepage = "https://github.com/jaraco/cssutils"
+ pypi = "cssutils/cssutils-2.7.1.tar.gz"
+
+ maintainers("LydDeb")
+
+ version("2.7.1", sha256="340ecfd9835d21df8f98500f0dfcea0aee41cb4e19ecbc2cf94f0a6d36d7cb6c")
+
+ depends_on("py-setuptools@56:", type="build")
+ depends_on("py-setuptools-scm@3.4.1:+toml", type="build")
+ depends_on("py-importlib-metadata", type=("build", "run"), when="^python@:3.7")