# -*- 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-socid-extractor
python.rootname     socid_extractor
version             0.0.28
revision            0

license             GPL-3
maintainers         {mps @Schamschula} openmaintainer
description         Extract information about a user from profile webpages / API \
                    responses and save it in machine-readable format.
long_description    {*}${description}
homepage            https://github.com/soxoj/socid-extractor

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  4619798d1d822af4ea4854c0a64463893743c72a \
                    sha256  3be6bf4a84a14097d3664e649d4b50a1de808f13af9f739d4ad5e5f41ad5a7c2 \
                    size    75761

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    post-patch {
        move ${worksrcpath}/tests ${worksrcpath}/socid_extractor/tests
    }

    depends_lib-append  \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-requests
}
