summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-21 03:18:59 +0200
committerGitHub <noreply@github.com>2021-07-20 20:18:59 -0500
commitb46061aa4265e2b461cfb6dc731fed7d562e31c8 (patch)
treee786afff814e9dc378006275b72c7272094ffda9 /var
parent3724c78a25d9970be7e8dbc8bae36b350f3225f5 (diff)
downloadspack-b46061aa4265e2b461cfb6dc731fed7d562e31c8.tar.gz
spack-b46061aa4265e2b461cfb6dc731fed7d562e31c8.tar.bz2
spack-b46061aa4265e2b461cfb6dc731fed7d562e31c8.tar.xz
spack-b46061aa4265e2b461cfb6dc731fed7d562e31c8.zip
py-beautifulsoup4: add 4.9.3 (#24974)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-beautifulsoup4/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
index db9b938ae0..ac89f255f5 100644
--- a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
+++ b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
@@ -14,10 +14,19 @@ class PyBeautifulsoup4(PythonPackage):
homepage = "https://www.crummy.com/software/BeautifulSoup"
pypi = "beautifulsoup4/beautifulsoup4-4.8.0.tar.gz"
+ version('4.9.3', sha256='84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25')
version('4.8.0', sha256='25288c9e176f354bf277c0a10aa96c782a6a18a17122dba2e8cec4a97e03343b')
version('4.5.3', sha256='b21ca09366fa596043578fd4188b052b46634d22059e68dd0077d9ee77e08a3e')
version('4.5.1', sha256='3c9474036afda9136aac6463def733f81017bf9ef3510d25634f335b0c87f5e1')
version('4.4.1', sha256='87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4')
+ variant('lxml', default=False, description='Enable lxml parser')
+ variant('html5lib', default=False, description='Enable html5lib parser')
+
depends_on('py-setuptools', type='build')
+ depends_on('py-soupsieve@1.3:', when='@4.9.0: ^python@3:', type=('build', 'run'))
+ depends_on('py-soupsieve@1.3:1.99', when='@4.9.0: ^python@:2.8', type=('build', 'run'))
depends_on('py-soupsieve@1.2:', when='@4.7.0:', type=('build', 'run'))
+
+ depends_on('py-lxml', when='+lxml', type=('build', 'run'))
+ depends_on('py-html5lib', when='+html5lib', type=('build', 'run'))