From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 482C2138D02 for ; Tue, 30 Jun 2015 01:20:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B61AEE08C1; Tue, 30 Jun 2015 01:20:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6274AE08C1 for ; Tue, 30 Jun 2015 01:20:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CBD43408DD for ; Tue, 30 Jun 2015 01:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62A5B739 for ; Tue, 30 Jun 2015 01:20:21 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1435627207.7574f1b9e35bd2cee3ce0e8d7fb28cb37e4e481e.mrueg@gentoo> Subject: [gentoo-commits] dev/mrueg:master commit in: dev-python/pyspotify/ X-VCS-Repository: dev/mrueg X-VCS-Files: dev-python/pyspotify/Manifest dev-python/pyspotify/metadata.xml dev-python/pyspotify/pyspotify-2.0.0.ebuild X-VCS-Directories: dev-python/pyspotify/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 7574f1b9e35bd2cee3ce0e8d7fb28cb37e4e481e X-VCS-Branch: master Date: Tue, 30 Jun 2015 01:20:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c86cd173-b3c9-4655-bf1f-f7235a63e5bc X-Archives-Hash: d4947c98faf6e1ea36caae0321c3900b commit: 7574f1b9e35bd2cee3ce0e8d7fb28cb37e4e481e Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 30 01:20:07 2015 +0000 Commit: Manuel Rüger gentoo 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 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + 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 +}