1 |
commit: 7574f1b9e35bd2cee3ce0e8d7fb28cb37e4e481e |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 01:20:07 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 01:20:07 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=7574f1b9 |
7 |
|
8 |
[dev-python/pyspotify] Initial version. |
9 |
|
10 |
Package-Manager: portage-2.2.20 |
11 |
|
12 |
dev-python/pyspotify/Manifest | 1 + |
13 |
dev-python/pyspotify/metadata.xml | 8 +++++++ |
14 |
dev-python/pyspotify/pyspotify-2.0.0.ebuild | 33 +++++++++++++++++++++++++++++ |
15 |
3 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pyspotify/Manifest b/dev-python/pyspotify/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..f610b4e |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pyspotify/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pyspotify-2.0.0.tar.gz 147219 SHA256 565148ede5c27e029db2ffd98146253d3c9fa6eacd09123eb18f307644f792c8 SHA512 9f52604a54de9970808104b6e7d6cb014d6accb90dd87bd92ed4606c2b3a39164a98148936ea2dfef5490f91fbdaaaf2793f1dc683c213c314a0beac4fbb7644 WHIRLPOOL ec132c9a7ed0cb97d5b90f8e40812a533d3a1f41a99f9fad2ff105241dda856ea826b54208b6d62192d5af7442e140d5ecbe45f0740545c7d082fafbcc12fa60 |
24 |
|
25 |
diff --git a/dev-python/pyspotify/metadata.xml b/dev-python/pyspotify/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..bfcb697 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyspotify/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/dev-python/pyspotify/pyspotify-2.0.0.ebuild b/dev-python/pyspotify/pyspotify-2.0.0.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..f6593de |
43 |
--- /dev/null |
44 |
+++ b/dev-python/pyspotify/pyspotify-2.0.0.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=(python{2_7,3_3}) |
52 |
+ |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="Python bindings for libspotify" |
56 |
+HOMEPAGE="http://pyspotify.mopidy.com https://github.com/mopidy/pyspotify" |
57 |
+SRC_URI="https://github.com/mopidy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="Apache-2.0" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64" |
62 |
+IUSE="test" |
63 |
+ |
64 |
+RDEPEND="dev-libs/libspotify |
65 |
+ >=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]" |
66 |
+ |
67 |
+DEPEND="${RDEPEND} |
68 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
69 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
70 |
+ |
71 |
+DOCS=( README.rst ) |
72 |
+ |
73 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
74 |
+ |
75 |
+python_test() { |
76 |
+ cp build/lib/spotify/_spotify.*so spotify || die |
77 |
+ nosetests || die |
78 |
+} |