public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spotipy/
Date: Tue,  5 Apr 2022 13:11:39 +0000 (UTC)	[thread overview]
Message-ID: <1649159725.7c43f3153f726f05ae946a61afbf834ba5261be5.xgqt@gentoo> (raw)

commit:     7c43f3153f726f05ae946a61afbf834ba5261be5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 21:37:07 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr  5 11:55:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c43f315

dev-python/spotipy: new package; add version 2.19.0

Bug: https://github.com/deepjyoti30/ytmdl/issues/222
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-python/spotipy/Manifest              |  1 +
 dev-python/spotipy/metadata.xml          | 13 +++++++++
 dev-python/spotipy/spotipy-2.19.0.ebuild | 48 ++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest
new file mode 100644
index 000000000000..12c83ee2269b
--- /dev/null
+++ b/dev-python/spotipy/Manifest
@@ -0,0 +1 @@
+DIST spotipy-2.19.0.tar.gz 102703 BLAKE2B bc132edb972236b43097c0bbc9d86932a3305d8bd3807e44e20767b123455950b8e01060efd83c87b3a162e329f5c48614205f131686af7f9312a44894a7f1e7 SHA512 fbaecd1a2cab3ef458d30de46cb89462021dfc3cfc85516d8bfe509af016a0b19af2f8de4f5cae36188b1ce1f5718c75edff0e71af2a87f4d720ee99d4541a6a

diff --git a/dev-python/spotipy/metadata.xml b/dev-python/spotipy/metadata.xml
new file mode 100644
index 000000000000..d6cea39e5dcb
--- /dev/null
+++ b/dev-python/spotipy/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/plamere/spotipy/issues/</bugs-to>
+    <remote-id type="github">plamere/spotipy</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/spotipy/spotipy-2.19.0.ebuild b/dev-python/spotipy/spotipy-2.19.0.ebuild
new file mode 100644
index 000000000000..91857474e8f3
--- /dev/null
+++ b/dev-python/spotipy/spotipy-2.19.0.ebuild
@@ -0,0 +1,48 @@
+# 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}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+	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() {
+	# Requires user credentials
+	rm tests/integration/test_user_endpoints.py || die
+
+	# Requires a spotify client ID
+	rm tests/integration/test_non_user_endpoints.py || die
+
+	# 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
+}


             reply	other threads:[~2022-04-05 13:12 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 13:11 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-10 20:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/spotipy/ Maciej Barć
2022-06-19  1:15 Maciej Barć
2022-10-29 23:06 Maciej Barć
2022-12-10 19:31 Maciej Barć
2023-01-16  1:57 Maciej Barć
2023-01-24  7:04 Michał Górny
2023-01-27 20:10 Michał Górny
2023-03-04  7:05 Joonas Niilola
2023-04-07 21:22 Maciej Barć
2023-04-14  4:04 Sam James
2023-04-14 13:16 Michał Górny
2023-11-05  5:45 Michał Górny
2024-05-31  4:22 Michał Górny
2024-06-15 10:54 Arthur Zamarin
2024-06-15 13:08 Michał Górny
2025-01-04  9:30 Michał Górny
2025-01-25 11:01 Arthur Zamarin
2025-01-25 11:41 Michał Górny
2025-02-28  4:42 Michał Górny
2025-03-15 13:16 Arthur Zamarin
2025-03-15 15:10 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1649159725.7c43f3153f726f05ae946a61afbf834ba5261be5.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox