# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=(python2_7) inherit vcs-snapshot distutils-r1 DESCRIPTION="Mopidy extension for playing music from Youtube" HOMEPAGE="https://github.com/dz0ny/mopidy-youtube" COMMIT_ID="2e7ce46b782f70e16ab87dc487418ffb3c495599" SRC_URI="https://github.com/dz0ny/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" IUSE="test" RDEPEND=">=dev-python/pykka-1.1[${PYTHON_USEDEP}] >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] >=dev-python/pafy-0.3.35[${PYTHON_USEDEP}] media-sound/mopidy[${PYTHON_USEDEP}]" DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] >=dev-python/mock-1.0[${PYTHON_USEDEP}] dev-python/vcrpy[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}]" python_test() { nosetests || die }