# -*- 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.3.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
python.pep517_backend

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

    master_sites    https://files.pythonhosted.org/packages/85/67/bea2994e161226ee09c3ee4a1a8ebdf2c033136228afdecab530910f158a/
    distname        selenium-${version}-py3-none-any

    checksums       rmd160  15937b3de15cd36438283e9cf86348063f0f49aa \
                    sha256  f67402b8f973aaa98d9c55b8f9aa63532009cd1859b2222a8b9800354942d8bc \
                    size    981378
    extract.suffix  .whl
    extract.only

    build           {}

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