# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-selenium
version             4.32.0
revision            0

license             Apache-2
maintainers         {dstrubbe @dstrubbe} openmaintainer
platforms           {darwin any}
supported_archs     noarch

description         Python language bindings for Selenium WebDriver
long_description    The selenium package is used to automate web \
                    browser interaction from Python. Several \
                    browsers/drivers are supported (Firefox, Chrome, \
                    Internet Explorer), as well as the Remote protocol.

homepage            https://www.seleniumhq.org/

python.versions     39 310 311 312 313
python.pep517_backend

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-urllib3

    master_sites    https://files.pythonhosted.org/packages/ea/37/d07ed9d13e571b2115d4ed6956d156c66816ceec0b03b2e463e80d09f572
    distname        selenium-${version}-py3-none-any

    checksums       rmd160  0a5fbdb3007f23d803ecec76dd06844788953474 \
                    sha256  c4d9613f8a45693d61530c9660560fadb52db7d730237bc788ddedf442391f97 \
                    size    9369668

    extract.suffix  .whl
    extract.only

    build           {}

    destroot.target ${distpath}/${distfiles}
}
