Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mrueg:master commit in: media-plugins/mopidy-spotify/
Date: Tue, 30 Jun 2015 01:56:54
Message-Id: 1435629401.63330c6e861324c2221ab639a94ae7b6dca35d80.mrueg@gentoo
1 commit: 63330c6e861324c2221ab639a94ae7b6dca35d80
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 30 01:56:41 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 01:56:41 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=63330c6e
7
8 [media-plugins/mopidy-spotify] Initial version.
9
10 Package-Manager: portage-2.2.20
11
12 media-plugins/mopidy-spotify/Manifest | 1 +
13 media-plugins/mopidy-spotify/metadata.xml | 8 ++++++
14 .../mopidy-spotify-2.0.0_pre20150602.ebuild | 33 ++++++++++++++++++++++
15 3 files changed, 42 insertions(+)
16
17 diff --git a/media-plugins/mopidy-spotify/Manifest b/media-plugins/mopidy-spotify/Manifest
18 new file mode 100644
19 index 0000000..58b79bd
20 --- /dev/null
21 +++ b/media-plugins/mopidy-spotify/Manifest
22 @@ -0,0 +1 @@
23 +DIST mopidy-spotify-2.0.0_pre20150602.tar.gz 30091 SHA256 da9c13a2d4c01f91bc6c9349e77e0d7e4d3be03fda2f24c3c705c1918cdeb8c2 SHA512 210c7d38c7b7092c3364a403901732468df6497b7b57c073e61fa692dd13394fe98ed637b4373404be80dfac009b7b92ffbcf928aa934a29a838055291d3f688 WHIRLPOOL 31f504b51332b3e03c04746a0355004d32864f62a1845d53558121fe7684390469608b0afa8bd7c2b15c5f73b3b9f85246e6809349068aec91f84e30699373b7
24
25 diff --git a/media-plugins/mopidy-spotify/metadata.xml b/media-plugins/mopidy-spotify/metadata.xml
26 new file mode 100644
27 index 0000000..bfcb697
28 --- /dev/null
29 +++ b/media-plugins/mopidy-spotify/metadata.xml
30 @@ -0,0 +1,8 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer>
35 + <email>mrueg@g.o</email>
36 + <name>Manuel Rüger</name>
37 + </maintainer>
38 +</pkgmetadata>
39
40 diff --git a/media-plugins/mopidy-spotify/mopidy-spotify-2.0.0_pre20150602.ebuild b/media-plugins/mopidy-spotify/mopidy-spotify-2.0.0_pre20150602.ebuild
41 new file mode 100644
42 index 0000000..a8b3608
43 --- /dev/null
44 +++ b/media-plugins/mopidy-spotify/mopidy-spotify-2.0.0_pre20150602.ebuild
45 @@ -0,0 +1,33 @@
46 +# Copyright 1999-2015 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Header: $
49 +
50 +EAPI=5
51 +PYTHON_COMPAT=(python2_7)
52 +
53 +inherit vcs-snapshot distutils-r1
54 +
55 +DESCRIPTION="An extensible music server that plays music from local disk and more"
56 +HOMEPAGE="http://mopidy.com https://github.com/mopidy/mopidy-spotify"
57 +COMMIT_ID="70f27932cbc728693140d5d264054fb8c777516f"
58 +SRC_URI="https://github.com/mopidy/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
59 +
60 +LICENSE="Apache-2.0"
61 +SLOT="0"
62 +KEYWORDS="~amd64"
63 +IUSE="test"
64 +
65 +RDEPEND="dev-python/pykka[${PYTHON_USEDEP}]
66 + >=dev-python/pyspotify-2.0.0[${PYTHON_USEDEP}]
67 + media-sound/mopidy[${PYTHON_USEDEP}]"
68 +
69 +DEPEND="test? ( ${RDEPEND}
70 + dev-python/pytest[${PYTHON_USEDEP}]
71 + dev-python/pytest-capturelog[${PYTHON_USEDEP}] )
72 + dev-python/setuptools[${PYTHON_USEDEP}]"
73 +
74 +DOCS=( README.rst )
75 +
76 +python_test() {
77 + py.test || die
78 +}