# -*- 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

# Remember to update libvirt and py-libvirt at the same time.
name                py-libvirt
version             11.7.0
revision            0
checksums           rmd160  fdaacd54f835962b185499957da30460eb2671f4 \
                    sha256  f65f80fe7dabb47c2ea887bec5f62509b756282acac4fa958ab74706c0b76c11 \
                    size    242676

license             MIT
maintainers         {ryandesign @ryandesign} openmaintainer

description         The libvirt virtualization API python binding
long_description    The libvirt virtualization API python binding provides a \
                    module that permits applications written in the Python \
                    programming language to call the interface supplied by the \
                    libvirt library, to manage the virtualization capabilities \
                    of recent versions of Linux and other OSes.

homepage            https://libvirt.org
master_sites        ${homepage}/sources/python
distname            libvirt-python-${version}
livecheck.name      ${python.rootname}-python

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build       port:py${python.version}-setuptools \
                        path:bin/pkg-config:pkgconfig
    depends_lib         port:libvirt
}
