# -*- 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                pywhat
version             5.1.0
revision            0
categories-prepend  security
platforms           {darwin any}
license             MIT
supported_archs     noarch

python.default_version \
                    39

maintainers         {@harens gmail.com:harensdeveloper} \
                    openmaintainer

description         pyWhat easily lets you identify emails, IP addresses, and more
long_description    {*}${description}. Feed it a .pcap file or some text and it'll tell \
                    you what it is!

homepage            https://github.com/bee-san/pyWhat

checksums           rmd160 4d3f91213618cc5a84f550288b60543764590267 \
                    sha256 8a6f2b3060f5ce9808802b9ca3eaf91e19c932e4eaa03a4c2e5255d0baad85c4 \
                    size   592482

# 'what' binary conflicts with developer_cmds
# 'pywhat' binary does the same thing and is still available
# See https://trac.macports.org/ticket/63286
patchfiles          patch-pywhat-bin.diff

depends_lib-append  port:py${python.version}-setuptools

depends_run-append  port:py${python.version}-click \
                    port:py${python.version}-rich