# -*- 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-tldextract
version             5.3.0
revision            0
categories-append   net
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         tldextract accurately separates the gTLD or ccTLD (generic or \
                    country code top-level domain) from the registered domain and \
                    subdomains of a URL.
long_description    {*}${description}
homepage            https://github.com/john-kurkowski/tldextract
supported_archs     noarch
platforms           {darwin any}

python.versions     39 310 311 312 313

checksums           rmd160  5d25b4372c78bfb363819e99a546e53a0c5a284c \
                    sha256  b3d2b70a1594a0ecfa6967d57251527d58e00bb5a91a74387baa0d87a0678609 \
                    size    128502

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

    depends_lib-append  \
                    port:py${python.version}-filelock \
                    port:py${python.version}-idna \
                    port:py${python.version}-requests \
                    port:py${python.version}-requests-file
}
