summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-10 21:08:22 +0100
committerSam James <sam@gentoo.org>2022-04-10 21:08:22 +0100
commit7ca0b132cff186ae1b4763680b5310e2b93d1562 (patch)
tree3f9316106bb398d4ed32328cf7147db4c5702da0 /app-emulation
parentapp-emulation/virt-manager: add fix for setuptools-61 b0rkage (diff)
downloadgentoo-7ca0b132cff186ae1b4763680b5310e2b93d1562.tar.gz
gentoo-7ca0b132cff186ae1b4763680b5310e2b93d1562.tar.bz2
gentoo-7ca0b132cff186ae1b4763680b5310e2b93d1562.zip
app-emulation/virt-manager: tidy
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virt-manager/virt-manager-4.0.0.ebuild10
-rw-r--r--app-emulation/virt-manager/virt-manager-9999.ebuild6
2 files changed, 6 insertions, 10 deletions
diff --git a/app-emulation/virt-manager/virt-manager-4.0.0.ebuild b/app-emulation/virt-manager/virt-manager-4.0.0.ebuild
index b5d474327f40..59336c29fbcc 100644
--- a/app-emulation/virt-manager/virt-manager-4.0.0.ebuild
+++ b/app-emulation/virt-manager/virt-manager-4.0.0.ebuild
@@ -54,12 +54,12 @@ DOCS=( README.md NEWS.md )
# Doesn't seem to play nicely in a sandboxed environment.
RESTRICT="test"
-distutils_enable_tests pytest
-src_prepare() {
- distutils-r1_src_prepare
- eapply "${FILESDIR}/virt-manager-4.0.0-setuptools-61-fix.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/virt-manager-4.0.0-setuptools-61-fix.patch
+)
+
+distutils_enable_tests pytest
python_configure() {
esetup.py configure --default-graphics=spice
diff --git a/app-emulation/virt-manager/virt-manager-9999.ebuild b/app-emulation/virt-manager/virt-manager-9999.ebuild
index 0f88e40eceea..b596c743f947 100644
--- a/app-emulation/virt-manager/virt-manager-9999.ebuild
+++ b/app-emulation/virt-manager/virt-manager-9999.ebuild
@@ -50,13 +50,9 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
BDEPEND="dev-python/docutils"
-distutils_enable_tests pytest
-
DOCS=( README.md NEWS.md )
-src_prepare() {
- distutils-r1_src_prepare
-}
+distutils_enable_tests pytest
python_configure() {
esetup.py configure --default-graphics=spice