From d028b5699bc960332accdadb372bd71794710f58 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 5 May 2023 15:49:40 +0200 Subject: dev-python/libvirt-python: Add DISTUTILS_EXT=1 again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/libvirt-python/libvirt-python-9.3.0.ebuild | 8 +++++--- dev-python/libvirt-python/libvirt-python-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'dev-python/libvirt-python') diff --git a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild index 29cdcda8f9ca..0e657b8769c3 100644 --- a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild @@ -10,10 +10,9 @@ EAPI=8 # app-emulation/libvirt # Please bump them together! -PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -MY_P="${P/_rc/-rc}" -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 verify-sig if [[ ${PV} == *9999* ]]; then @@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" RDEPEND="app-emulation/libvirt:=" else + MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" @@ -44,6 +44,8 @@ BDEPEND=" verify-sig? ( sec-keys/openpgp-keys-libvirt ) " +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc + distutils_enable_tests pytest python_install_all() { diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 29cdcda8f9ca..0e657b8769c3 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -10,10 +10,9 @@ EAPI=8 # app-emulation/libvirt # Please bump them together! -PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -MY_P="${P/_rc/-rc}" -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 verify-sig if [[ ${PV} == *9999* ]]; then @@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" RDEPEND="app-emulation/libvirt:=" else + MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" @@ -44,6 +44,8 @@ BDEPEND=" verify-sig? ( sec-keys/openpgp-keys-libvirt ) " +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc + distutils_enable_tests pytest python_install_all() { -- cgit v1.2.3-65-gdbad