summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-05 15:49:40 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-05 15:53:19 +0200
commitd028b5699bc960332accdadb372bd71794710f58 (patch)
tree8481718bf2250574be57b29a958331186181ebf4 /dev-python/libvirt-python
parentgnome-extra/gnome-shell-extension-desktop-icons-ng: stabilize 47.0.2-r1 for A... (diff)
downloadgentoo-d028b5699bc960332accdadb372bd71794710f58.tar.gz
gentoo-d028b5699bc960332accdadb372bd71794710f58.tar.bz2
gentoo-d028b5699bc960332accdadb372bd71794710f58.zip
dev-python/libvirt-python: Add DISTUTILS_EXT=1 again
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r--dev-python/libvirt-python/libvirt-python-9.3.0.ebuild8
-rw-r--r--dev-python/libvirt-python/libvirt-python-9999.ebuild8
2 files changed, 10 insertions, 6 deletions
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() {