commit:     1225bfcdfc93fbc6ae47c02f315ee9d5a9c012b7
Author:     Martin Ertsaas <martiert <AT> gmail <DOT> com>
AuthorDate: Tue Feb 16 08:41:33 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 22:37:53 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=1225bfcd

mopidy: Update to v2.0.0

v2.0.0 updates from gst:0.10 to gst:1.0

Package-Manager: portage-2.2.27

 media-sound/mopidy/Manifest            |  1 +
 media-sound/mopidy/mopidy-2.0.0.ebuild | 58 ++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/media-sound/mopidy/Manifest b/media-sound/mopidy/Manifest
index 568d48f..6ad6748 100644
--- a/media-sound/mopidy/Manifest
+++ b/media-sound/mopidy/Manifest
@@ -1 +1,2 @@
 DIST Mopidy-1.1.2.tar.gz 2256481 SHA256 
474089ee563ff1fe96e5bcad37a731dd3207cbf0fdea952d5b805f464a2b0bc8 SHA512 
1795104465e2e8ec46815d1e129f477f59f4d29d62c8a9fd501ccb65a2574dcdefffbec93dcacbf55cc5c9c39ef774e0f69d3fb0d1b9b1f67012816537f2a573
 WHIRLPOOL 
8b8498728e48073ad6613219ea1396e00374cbd6824dc8a5ee936e52da4c6911d5b7397ccfcf0f2f6a4c0fb4fa903666a2844f6fa1486f522da3f8bd47761e6b
+DIST Mopidy-2.0.0.tar.gz 2268847 SHA256 
14a04c249f83d42f2012b580f3a05853f56320f1bb68ac91c4068b64c81a9265 SHA512 
7723b0c2f88e5694ef62913992ee058ae53cc9d5bab4134527789a1619e70a51aedfa8858ae925db9f4669f2111643e5653ff3f2ef8556ca8fa1265088389467
 WHIRLPOOL 
08c85e3a10d21f7aec1c24923128af4d84689871458b892e8f5d014a552351b47b29e951ecc7281eaa0e6419afff150606abb38491c412dc291356216bcaf96d

diff --git a/media-sound/mopidy/mopidy-2.0.0.ebuild 
b/media-sound/mopidy/mopidy-2.0.0.ebuild
new file mode 100644
index 0000000..4049dff
--- /dev/null
+++ b/media-sound/mopidy/mopidy-2.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=(python2_7)
+
+inherit user eutils systemd distutils-r1
+
+DESCRIPTION="An extensible music server that plays music from local disk and 
more"
+HOMEPAGE="http://mopidy.com https://github.com/mopidy/mopidy";
+SRC_URI="mirror://pypi/M/Mopidy/Mopidy-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-python/pykka[${PYTHON_USEDEP}]
+       >=dev-python/gst-python-1.2.3:1.0[${PYTHON_USEDEP}]
+       dev-python/pygobject[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       >=media-plugins/gst-plugins-meta-1.0-r2:1.0[http,mp3]
+       www-servers/tornado[${PYTHON_USEDEP}]"
+
+DEPEND="test? ( ${RDEPEND}
+       dev-python/mock[${PYTHON_USEDEP}]
+       dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/responses[${PYTHON_USEDEP}] )
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/Mopidy-${PV}
+
+pkg_setup() {
+       enewgroup mopidy
+       enewuser mopidy -1 -1 "/etc/mopidy" mopidy
+       distutils-r1_pkg_setup
+}
+
+src_install() {
+       distutils-r1_src_install
+
+       dobin extra/mopidyctl/mopidyctl
+       doman extra/mopidyctl/mopidyctl.8
+
+       newinitd "${FILESDIR}"/${PN}.initd ${PN}
+       systemd_dounit extra/systemd/mopidy.service
+       domenu extra/desktop/mopidy.desktop || die
+
+       einfo
+       elog "Don't forget to add the mopidy user to the audio group"
+       elog "usermod -a -G audio mopidy"
+       einfo
+}
+
+python_test() {
+       py.test || die
+}

Reply via email to