Adding python3.10, podman
This commit is contained in:
35
app-emulation/libvirt/templates/libvirt-python.tmpl
Normal file
35
app-emulation/libvirt/templates/libvirt-python.tmpl
Normal file
@ -0,0 +1,35 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( {{python_compat}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
SRC_URI="{{artifacts[0].src_uri}}"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="*"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
DEPEND="virtual/pkgconfig"
|
||||
BDEPEND="test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Reference in New Issue
Block a user