Files
guru/media-sound/mopidy/mopidy-3.4.2.ebuild
2024-01-15 17:21:42 +01:00

41 lines
863 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1
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"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
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}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/responses[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
# Ignore broken tests (due to network-sandbox)
pytest -v --ignore tests/stream/test_playback.py || die
}