summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-21 17:06:31 +0100
committerSam James <sam@gentoo.org>2021-02-22 22:18:53 +0000
commit2be858f2dd80450e1e1bdb84ca94811851b20a64 (patch)
tree9c6b26ccabce0a13ca2c92d894219b5df0229bf0 /media-sound
parentnet-analyzer/snmpclitools: Port to python 3.{8,9} (diff)
downloadgentoo-2be858f2dd80450e1e1bdb84ca94811851b20a64.tar.gz
gentoo-2be858f2dd80450e1e1bdb84ca94811851b20a64.tar.bz2
gentoo-2be858f2dd80450e1e1bdb84ca94811851b20a64.zip
media-sound/sonata: Port to python 3.{8,9}
Closes: https://bugs.gentoo.org/761397 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/sonata/sonata-1.7_beta1_p20200212.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-sound/sonata/sonata-1.7_beta1_p20200212.ebuild b/media-sound/sonata/sonata-1.7_beta1_p20200212.ebuild
index ac2bf45c1747..2c394b59693c 100644
--- a/media-sound/sonata/sonata-1.7_beta1_p20200212.ebuild
+++ b/media-sound/sonata/sonata-1.7_beta1_p20200212.ebuild
@@ -4,7 +4,7 @@
EAPI=7
COMMIT=0c807e593f7571a654ad055cb126652d7f3a698d
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_SINGLE_IMPL="true"
DISTUTILS_USE_SETUPTOOLS="rdepend"
inherit desktop distutils-r1
@@ -19,8 +19,7 @@ KEYWORDS="amd64 ~ppc x86"
IUSE="dbus taglib"
BDEPEND="
- virtual/pkgconfig
-"
+ virtual/pkgconfig"
RDEPEND="
$(python_gen_cond_dep '
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
@@ -32,8 +31,10 @@ RDEPEND="
S="${WORKDIR}/${PN}-${COMMIT}"
+distutils_enable_tests unittest
+
src_install() {
distutils-r1_src_install
doicon -s 128 sonata/pixmaps/sonata.png
- rm -r "${D}"/usr/share/sonata || die
+ rm -r "${ED}"/usr/share/sonata || die
}