# -*- 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                meta-package-manager
version             7.5.0
revision            0

categories          sysutils python
platforms           {darwin any}
supported_archs     noarch
license             GPL-2+
maintainers         {deldycke.com:kevin @kdeldycke} openmaintainer

description         Wraps all package managers with a unifying CLI
long_description    mpm is a unifying command line interface on top of the \
                    70+ package managers it supports (Homebrew, MacPorts, \
                    pip, npm, cargo, gem and more): list, search, install, \
                    upgrade, remove, sync, clean up, back up and restore \
                    packages across all of them at once, with table, JSON, \
                    CSV and SBOM outputs.

homepage            https://kdeldycke.github.io/meta-package-manager/

python.rootname     meta_package_manager

checksums           rmd160  4ebf8cb085ec2d62ab1c5f1b50eca9ecc200f78a \
                    sha256  78275f2e63c9133484b1d8cb36198eb053955a9c7eeea06994f4b90c0c19c4ea \
                    size    2058072

python.default_version 314
python.pep517_backend uv

depends_lib-append  port:py${python.version}-boltons \
                    port:py${python.version}-click-extra \
                    port:py${python.version}-extra-platforms \
                    port:py${python.version}-packageurl-python \
                    port:py${python.version}-tomli-w \
                    port:py${python.version}-xmltodict

depends_test-append port:py${python.version}-tomlkit \
                    port:py${python.version}-yaml

# Run the hermetic layer from the unpacked sdist, excluding the integration
# tests (marked "integration") that drive real package managers.
test.run            yes
test.args-append    -o addopts="-m 'not integration'"
