# -*- 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-mechanicalsoup
python.rootname     MechanicalSoup
revision            0
version             1.3.0

categories-append   devel
license             MIT
platforms           {darwin any}
supported_archs     noarch

description         A Python library for automating interaction with websites.
long_description    {*}${description}. MechanicalSoup automatically. stores and sends cookies, follows redirects, \
                    and can follow links and submit forms. It doesn't do JavaScript.

homepage            https://mechanicalsoup.readthedocs.io/

maintainers         nomaintainer

checksums           rmd160  cae4b2ca21b72318b9bf28ae43f7d660e801ae4d \
                    sha256  38e8748f62fd9455a0818701a9e2dbfa549639d09f829f3fdd03665c825e7ce1 \
                    size    50826

python.versions     310 311

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-lxml \
                    port:py${python.version}-requests
}
