summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-soupsieve/package.py
blob: 4e83d35e38f3fed745a1128ec43cd6bbb7ffc021 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2020 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"
    pypi = "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'))