[add] py-css-parser: new package (#40550)

Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
Lydéric Debusschère 2023-10-20 14:00:46 +02:00 committed by GitHub
parent 5de1c1c98f
commit 9bd77b2ed3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 PyCssParser(PythonPackage):
"""A CSS Cascading Style Sheets library for Python."""
homepage = "https://github.com/ebook-utils/css-parser"
pypi = "css-parser/css-parser-1.0.9.tar.gz"
maintainers("LydDeb")
version("1.0.9", sha256="196db822cef22745af6a58d180cf8206949ced58b48f5f3ee98f1de1627495bb")
depends_on("py-setuptools", type="build")