# -*- 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                pipenv
version             2026.0.3
revision            0

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

maintainers         {danchr @danchr} openmaintainer

description         The officially recommended Python packaging tool.

long_description    {*}${description} \
                    Pipenv -- Python Dev Workflow for Humans -- is a \
                    tool that aims to bring the best of \
                    all packaging worlds (bundler, composer, npm, \
                    cargo, yarn, etc.) to the Python world. Windows is \
                    a first-class citizen, in our world. \
                    \
                    \n\nIt automatically creates and manages a virtualenv \
                    for your projects, as well as adds/removes \
                    packages from your Pipfile as you \
                    install/uninstall packages. It also generates the \
                    ever-important Pipfile.lock, which is used to \
                    produce deterministic builds.

homepage            https://pipenv.pypa.io/en/latest/

checksums           rmd160  de0399fe68a35c14294869bf78dcbff77f27b8e8 \
                    sha256  9a39d13a41ed8e4368ad50620941191f357319c8ffb7df45875c7c5dc6604ff6 \
                    size    4430987

python.default_version 314

depends_lib-append port:py${python.version}-certifi \
                   port:py${python.version}-packaging \
                   port:py${python.version}-setuptools \
                   port:py${python.version}-virtualenv

post-destroot {
    xinstall -m 0644 \
        ${destroot}${python.pkgd}/${name}/${name}.1 \
        ${destroot}${prefix}/share/man/man1

    delete ${destroot}${python.pkgd}/docs
    delete ${destroot}${python.pkgd}/examples
}

depends_test-append port:py${python.version}-flaky \
                    port:py${python.version}-mock \
                    port:py${python.version}-pytest-xdist \
                    port:py${python.version}-pytest-timeout \
                    port:py${python.version}-tz

test.run            yes
