Add py-selenium package (#12378)

This commit is contained in:
Adam J. Stewart 2019-08-10 11:49:25 -05:00 committed by GitHub
parent 48016366c8
commit 25b3946e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
# 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 PySelenium(PythonPackage):
"""Python language bindings for Selenium WebDriver.
The selenium package is used to automate web browser interaction from
Python."""
homepage = "https://github.com/SeleniumHQ/selenium/"
url = "https://pypi.io/packages/source/s/selenium/selenium-3.141.0.tar.gz"
version('3.141.0', sha256='deaf32b60ad91a4611b98d8002757f29e6f2c2d5fcaf202e1c9ad06d6772300d')
depends_on('py-setuptools', type='build')
depends_on('py-urllib3', type=('build', 'run'))