commit:     ed7067cfe785b1ebefb0f620d1ab0ae051bdc1be
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 22:18:06 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 22:39:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7067cf

net-misc/pulseaudio-dlna: update python impls

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 net-misc/pulseaudio-dlna/Manifest                  |  1 -
 .../pulseaudio-dlna-0.6.0_pre20200114.ebuild       | 66 ----------------------
 .../pulseaudio-dlna/pulseaudio-dlna-9999.ebuild    | 10 ++--
 3 files changed, 4 insertions(+), 73 deletions(-)

diff --git a/net-misc/pulseaudio-dlna/Manifest 
b/net-misc/pulseaudio-dlna/Manifest
deleted file mode 100644
index b32dbbedb20..00000000000
--- a/net-misc/pulseaudio-dlna/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pulseaudio-dlna-0.6.0_pre20200114.tar.gz 709196 BLAKE2B 
3113d34eaadf735646f7e421e8271fcac02ea4faed76676d5a70e05c8a26745ffd1ae135d2c5186d9db7ad146d166535a1c901927d24ae2a1a4d08720a4f78d2
 SHA512 
9c97d160116acf07325b18f35000b58a042243345f98cb1c9e42848e39ef3ef32a9199e31044a758a0a5ec81176be651fa3ef2917a227347017fe375e27385c7

diff --git a/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.0_pre20200114.ebuild 
b/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.0_pre20200114.ebuild
deleted file mode 100644
index b52ffad2c0b..00000000000
--- a/net-misc/pulseaudio-dlna/pulseaudio-dlna-0.6.0_pre20200114.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_7 )
-
-inherit desktop distutils-r1
-
-DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for 
PulseAudio"
-HOMEPAGE="https://github.com/masmu/pulseaudio-dlna";
-
-SRC_URI="https://github.com/masmu/pulseaudio-dlna/archive/b0db8137224f5a293329a60187365168304c3768.tar.gz
 -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/pulseaudio-dlna-b0db8137224f5a293329a60187365168304c3768"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE=""
-
-RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
-       >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
-       >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
-       >=dev-python/setproctitle-1.1.10[${PYTHON_USEDEP}]
-       >=dev-python/notify2-0.3[${PYTHON_USEDEP}]
-       >=dev-python/psutil-5.4.7[${PYTHON_USEDEP}]
-       >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
-       >=dev-python/pyroute2-0.3.5[${PYTHON_USEDEP}]
-       >=dev-python/netifaces-0.10.0[${PYTHON_USEDEP}]
-       >=dev-python/lxml-3[${PYTHON_USEDEP}]
-       >=dev-python/pychromecast-2.3.0[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       >=dev-python/dbus-python-1.0.0[${PYTHON_USEDEP}]
-       >=dev-python/zeroconf-0.17.4[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
-       gnome-base/librsvg[introspection]
-       x11-libs/gtk+:3[introspection]
-       || (
-               || (
-                       media-video/ffmpeg[encode,fdk,mp3,opus,vorbis] )
-               (
-                       media-libs/faac
-                       media-libs/flac
-                       media-sound/lame
-                       media-sound/opus-tools
-                       media-sound/sox
-                       media-sound/vorbis-tools
-               )
-       )"
-
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       media-sound/pulseaudio"
-
-python_prepare_all() {
-       sed -i '/dbus-python/d' setup.py || die
-       sed -i '/notify2/d' setup.py || die
-       sed -i '/docopt/d' setup.py || die
-       sed -i '/pychromecast/d' setup.py || die
-       distutils-r1_python_prepare_all
-}
-
-src_install() {
-       distutils-r1_src_install
-
-       domenu "${FILESDIR}/${PN}.desktop"
-}

diff --git a/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild 
b/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild
index 27c53833cce..d314e16809d 100644
--- a/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild
+++ b/net-misc/pulseaudio-dlna/pulseaudio-dlna-9999.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
 
-inherit distutils-r1
+inherit desktop distutils-r1
 
 DESCRIPTION="A lightweight DLNA/UPNP/Chromecast streaming server for 
PulseAudio"
 HOMEPAGE="https://github.com/masmu/pulseaudio-dlna";
@@ -42,11 +42,10 @@ 
RDEPEND=">=dev-python/protobuf-python-2.5.0[${PYTHON_USEDEP}]
        x11-libs/gtk+:3[introspection]
        || (
                || (
-                       media-video/ffmpeg[encode,faac,mp3,opus,vorbis]
+                       media-video/ffmpeg[encode,mp3,opus,vorbis]
                        media-video/ffmpeg[encode,fdk,mp3,opus,vorbis]
                )
                (
-                       media-libs/faac
                        media-libs/flac
                        media-sound/lame
                        media-sound/opus-tools
@@ -70,6 +69,5 @@ python_prepare_all() {
 src_install() {
        distutils-r1_src_install
 
-       insinto /usr/share/applications
-       doins "${FILESDIR}/${PN}.desktop"
+       domenu "${FILESDIR}/${PN}.desktop"
 }

Reply via email to