From 321c857d4cc2bacdeaa398d3b4b1fd7769f33718 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 16 Sep 2019 12:56:53 -0500 Subject: [PATCH] Add py-soupsieve package (#12827) --- .../builtin/packages/py-soupsieve/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-soupsieve/package.py diff --git a/var/spack/repos/builtin/packages/py-soupsieve/package.py b/var/spack/repos/builtin/packages/py-soupsieve/package.py new file mode 100644 index 0000000000..d850e8b04e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-soupsieve/package.py @@ -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'))