From cc50fc3ff8a925e7f90c7383a06ffa3420fec436 Mon Sep 17 00:00:00 2001 From: bakedsnake Date: Wed, 29 Jul 2026 16:33:00 +0200 Subject: [PATCH] media-sound/mopidy: revbump to 3.4.2-r1 Closes: https://bugs.gentoo.org/975326 Signed-off-by: bakedsnake --- media-sound/mopidy/metadata.xml | 5 ++++- ...dy-3.4.2.ebuild => mopidy-3.4.2-r1.ebuild} | 21 ++++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) rename media-sound/mopidy/{mopidy-3.4.2.ebuild => mopidy-3.4.2-r1.ebuild} (76%) diff --git a/media-sound/mopidy/metadata.xml b/media-sound/mopidy/metadata.xml index f9d7b852fa..9624da1d5e 100644 --- a/media-sound/mopidy/metadata.xml +++ b/media-sound/mopidy/metadata.xml @@ -1,7 +1,10 @@ - + + bakedsnake@vagrantz.xyz + bakedsnake + mopidy/mopidy diff --git a/media-sound/mopidy/mopidy-3.4.2.ebuild b/media-sound/mopidy/mopidy-3.4.2-r1.ebuild similarity index 76% rename from media-sound/mopidy/mopidy-3.4.2.ebuild rename to media-sound/mopidy/mopidy-3.4.2-r1.ebuild index 6e085fe608..04c756bd98 100644 --- a/media-sound/mopidy/mopidy-3.4.2.ebuild +++ b/media-sound/mopidy/mopidy-3.4.2-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{12..13} ) +PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 -DESCRIPTION="An extensible music server written in Python." +DESCRIPTION="An extensible music server written in Python" HOMEPAGE="https://mopidy.com/" SRC_URI="https://github.com/mopidy/mopidy/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -16,22 +16,28 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +BDEPEND="dev-python/setuptools-scm" +# https://docs.mopidy.com/stable/installation/manual/ RDEPEND=" dev-python/gst-python[${PYTHON_USEDEP}] - media-plugins/gst-plugins-meta[mp3,ogg,flac] dev-python/pykka[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/tornado[${PYTHON_USEDEP}] + media-plugins/gst-plugins-meta[mp3,ogg,flac] + dev-libs/gobject-introspection + x11-libs/cairo " DEPEND=" ${RDEPEND} - test? ( dev-python/responses[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( "${PN}" ) +EPYTEST_LOAD_VIA_ENV=1 + distutils_enable_tests pytest EPYTEST_IGNORE=( @@ -51,3 +57,8 @@ EPYTEST_DESELECT=( # https://github.com/mopidy/mopidy/commit/784073e52af58c51a11ad89eeb793a72ecc01c92 tests/m3u/test_translator.py::test_path_to_uri[test.mp3-file-file:///test.mp3] ) + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + distutils-r1_src_configure +}