# 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 SoundCloud" HOMEPAGE="http://mopidy.com https://github.com/mopidy/mopidy-soundcloud" SRC_URI="https://github.com/mopidy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" IUSE="test" RDEPEND="dev-python/pykka[${PYTHON_USEDEP}] >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] media-sound/mopidy[${PYTHON_USEDEP}]" DEPEND="test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}]" python_test() { py.test || die }