commit: 5dc824dcd2417ba37faa9609caca1f14355da713 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Wed Jul 1 01:35:10 2015 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Wed Jul 1 01:35:10 2015 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=5dc824dc
[media-plugins/mopidy-mpris] Initial version. Package-Manager: portage-2.2.20 media-plugins/mopidy-mpris/Manifest | 1 + media-plugins/mopidy-mpris/metadata.xml | 8 ++++++ .../mopidy-mpris/mopidy-mpris-1.2.0.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/media-plugins/mopidy-mpris/Manifest b/media-plugins/mopidy-mpris/Manifest new file mode 100644 index 0000000..c16ecd2 --- /dev/null +++ b/media-plugins/mopidy-mpris/Manifest @@ -0,0 +1 @@ +DIST mopidy-mpris-1.2.0.tar.gz 20323 SHA256 b72da27ea8ba30c9b516eb9ea07205e361a305c27e6b7d27079c85a2eb64e477 SHA512 80899891f59246efb91be18822b72ffee596176cce40e39fccf2b409d56d35dacfd6008898ca074225d370ce5de7f4f7e9171d22db8ecce4cb8b5b617ab9e0ae WHIRLPOOL 3dd59c4afc00ae8198a29c0386692c2bcbc90ee00b8a509e7fff7be61f76cff95bed9460774049b95599b0f587ac92d74733c2faa0a2a8dada359ac42a9e7658 diff --git a/media-plugins/mopidy-mpris/metadata.xml b/media-plugins/mopidy-mpris/metadata.xml new file mode 100644 index 0000000..bfcb697 --- /dev/null +++ b/media-plugins/mopidy-mpris/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mr...@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> diff --git a/media-plugins/mopidy-mpris/mopidy-mpris-1.2.0.ebuild b/media-plugins/mopidy-mpris/mopidy-mpris-1.2.0.ebuild new file mode 100644 index 0000000..ab1905c --- /dev/null +++ b/media-plugins/mopidy-mpris/mopidy-mpris-1.2.0.ebuild @@ -0,0 +1,30 @@ +# 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 controlling Mopidy through the MPRIS D-Bus interface" +HOMEPAGE="https://github.com/mopidy/mopidy-mpris" +SRC_URI="https://github.com/mopidy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pykka[${PYTHON_USEDEP}] + media-sound/mopidy[${PYTHON_USEDEP}]" + +DEPEND="test? ( ${RDEPEND} + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + py.test || die +}