blob: 0d9af6e2be5aa54190ea5adf1c7884fbc1034745 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 PyTinycss2(PythonPackage):
"""tinycss2 is a low-level CSS parser and generator written in Python: it can parse
strings, return objects representing tokens and blocks, and generate CSS strings
corresponding to these objects."""
homepage = "https://www.courtbouillon.org/tinycss2"
pypi = "tinycss2/tinycss2-1.1.1.tar.gz"
git = "https://github.com/Kozea/tinycss2.git"
license("BSD-3-Clause")
version("1.2.1", sha256="8cff3a8f066c2ec677c06dbc7b45619804a6938478d9d73c284b29d14ecb0627")
version("1.1.1", sha256="b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf")
depends_on("py-flit-core@3.2:3", type="build")
depends_on("py-webencodings@0.4:", type=("build", "run"))
|