1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
7 inherit distutils-r1 vcs-snapshot
9 DESCRIPTION="Python MPD client library"
10 HOMEPAGE="https://github.com/Mic92/python-mpd2"
11 SRC_URI="https://github.com/Mic92/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="amd64 ~ppc ~ppc64 x86"
18 DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )
19 dev-python/setuptools[${PYTHON_USEDEP}]"
21 DOCS=( doc/changes.rst doc/topics/{advanced,commands,getting-started,logging}.rst README.rst )
24 "${PYTHON}" test.py || die "Tests fail with ${EPYTHON}"