summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-selenium/package.py
blob: e33b64a65efd940ab5351f30eb02741ee27a5def (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2024 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.package 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/"
    pypi = "selenium/selenium-3.141.0.tar.gz"

    license("Apache-2.0")

    version("3.141.0", sha256="deaf32b60ad91a4611b98d8002757f29e6f2c2d5fcaf202e1c9ad06d6772300d")

    depends_on("py-setuptools", type="build")
    depends_on("py-urllib3", type=("build", "run"))