spack/var/spack/repos/builtin/packages/py-selenium/package.py

22 lines
739 B
Python

# 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 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'))