From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FCEF158020 for ; Sat, 10 Dec 2022 19:31:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B88C5E07D0; Sat, 10 Dec 2022 19:31:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B8F2E07D0 for ; Sat, 10 Dec 2022 19:31:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88FE5341269 for ; Sat, 10 Dec 2022 19:31:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCDF5779 for ; Sat, 10 Dec 2022 19:31:34 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1670700674.e2f50f255000ca861f935356ef5e7e09543842c5.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spotipy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spotipy/Manifest dev-python/spotipy/spotipy-2.22.0.ebuild X-VCS-Directories: dev-python/spotipy/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: e2f50f255000ca861f935356ef5e7e09543842c5 X-VCS-Branch: master Date: Sat, 10 Dec 2022 19:31:34 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8af4974d-b864-49cd-b683-e1d94e9af9b9 X-Archives-Hash: 3b04a35ce5359f450303d18ee2d8c076 commit: e2f50f255000ca861f935356ef5e7e09543842c5 Author: Maciej Barć gentoo org> AuthorDate: Sat Dec 10 19:17:43 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Dec 10 19:31:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f50f25 dev-python/spotipy: bump to 2.22.0 Signed-off-by: Maciej Barć gentoo.org> dev-python/spotipy/Manifest | 1 + dev-python/spotipy/spotipy-2.22.0.ebuild | 43 ++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest index 579958e8f0f1..8cb5888e5230 100644 --- a/dev-python/spotipy/Manifest +++ b/dev-python/spotipy/Manifest @@ -1 +1,2 @@ DIST spotipy-2.21.0.tar.gz 105500 BLAKE2B fa49c31da93efdac23fd5cbaa31b513f48e3a90c56dee8708bf695a20c1f6040c68a22a04d6589b3a890f503d54e7c0fb017f2911ae28abe54a9e7f5bff3b540 SHA512 8783261e43962b3e98cb9b680f908d38feecf784ff404352ba16d6bb3d2e4bf1d2308b60f1437c56402e1c2a993a5bba876103f968bb8bdd81be1aef1fe6d058 +DIST spotipy-2.22.0.gh.tar.gz 109714 BLAKE2B 178a05252bc875630cee97628d228d9bd7d929d54fcb7ee30e92b685996fc9074063eae25b0b71089c3b51fcb29611c101acf0f606dc14a508f37e46c5522041 SHA512 272f05b1cb92dbd9842dcac58a5ca322fae703eea58488b968812c12b6c26fb748aabbf5fde7100e9662191231fe12f5353b9ba12f02bd2e4982e0aff1c732f6 diff --git a/dev-python/spotipy/spotipy-2.22.0.ebuild b/dev-python/spotipy/spotipy-2.22.0.ebuild new file mode 100644 index 000000000000..65f4113b7fbe --- /dev/null +++ b/dev-python/spotipy/spotipy-2.22.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A light weight Python library for the Spotify Web API" +HOMEPAGE="https://spotipy.readthedocs.io" +SRC_URI="https://github.com/plamere/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="examples" + +RDEPEND=" + dev-python/redis-py[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # Needs internet access + sed -i -e 's:test_spotify_client_credentials_get_access_token:_&:' \ + tests/unit/test_oauth.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples +}