# -*- 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.27
revision            0
license             GPL-3
supported_archs     noarch
platforms           {darwin any}
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

checksums           rmd160  de7651dde46cce28210744bd5f91e4dee4875348 \
                    sha256  d2032e483ae92c2f305eb2ffbb3e70667262df9e68fe3f0f63f315694b3ef3cb \
                    size    56380

python.versions     39 310 311 312 313

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
}
