Add py-soupsieve package (#12827)

This commit is contained in:
Adam J. Stewart 2019-09-16 12:56:53 -05:00 committed by GitHub
parent e3969e33fd
commit 321c857d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# Copyright 2013-2019 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 import *
class PySoupsieve(PythonPackage):
"""A modern CSS selector implementation for Beautiful Soup."""
homepage = "https://github.com/facelessuser/soupsieve"
url = "https://pypi.io/packages/source/s/soupsieve/soupsieve-1.9.3.tar.gz"
version('1.9.3', sha256='8662843366b8d8779dec4e2f921bebec9afd856a5ff2e82cd419acc5054a1a92')
depends_on('py-setuptools', type='build')
depends_on('py-backports-functools-lru-cache', when='^python@:2', type=('build', 'run'))