# -*- 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.8.0
revision            0
checksums           rmd160  66223187ea65f33cfe302ad8bb2ec5aec92496e2 \
                    sha256  5d80e13e0cfb96dd254d765ee60e77e5f9b6925172540056cec0aa0e6f0ca83c \
                    size    242986

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        https://download.libvirt.org/python/
distname            libvirt_python-${version}
livecheck.name      ${python.rootname}-python

python.versions     39 310 311 312 313 314

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