commit: 7574f1b9e35bd2cee3ce0e8d7fb28cb37e4e481e Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Tue Jun 30 01:20:07 2015 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Tue Jun 30 01:20:07 2015 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=7574f1b9
[dev-python/pyspotify] Initial version. Package-Manager: portage-2.2.20 dev-python/pyspotify/Manifest | 1 + dev-python/pyspotify/metadata.xml | 8 +++++++ dev-python/pyspotify/pyspotify-2.0.0.ebuild | 33 +++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/pyspotify/Manifest b/dev-python/pyspotify/Manifest new file mode 100644 index 0000000..f610b4e --- /dev/null +++ b/dev-python/pyspotify/Manifest @@ -0,0 +1 @@ +DIST pyspotify-2.0.0.tar.gz 147219 SHA256 565148ede5c27e029db2ffd98146253d3c9fa6eacd09123eb18f307644f792c8 SHA512 9f52604a54de9970808104b6e7d6cb014d6accb90dd87bd92ed4606c2b3a39164a98148936ea2dfef5490f91fbdaaaf2793f1dc683c213c314a0beac4fbb7644 WHIRLPOOL ec132c9a7ed0cb97d5b90f8e40812a533d3a1f41a99f9fad2ff105241dda856ea826b54208b6d62192d5af7442e140d5ecbe45f0740545c7d082fafbcc12fa60 diff --git a/dev-python/pyspotify/metadata.xml b/dev-python/pyspotify/metadata.xml new file mode 100644 index 0000000..bfcb697 --- /dev/null +++ b/dev-python/pyspotify/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>[email protected]</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pyspotify/pyspotify-2.0.0.ebuild b/dev-python/pyspotify/pyspotify-2.0.0.ebuild new file mode 100644 index 0000000..f6593de --- /dev/null +++ b/dev-python/pyspotify/pyspotify-2.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_3}) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for libspotify" +HOMEPAGE="http://pyspotify.mopidy.com https://github.com/mopidy/pyspotify" +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-libs/libspotify + >=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOCS=( README.rst ) + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_test() { + cp build/lib/spotify/_spotify.*so spotify || die + nosetests || die +}
