commit:     879de0d4a28e3a043639a894c41c125bb3e07f6b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 06:24:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 06:59:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879de0d4

dev-python/tekore: Bump to 5.3.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tekore/Manifest            |  1 +
 dev-python/tekore/tekore-5.3.0.ebuild | 58 +++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index c23cd281b3d9..d4afb1be2146 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1,2 @@
 DIST tekore-5.2.1.gh.tar.gz 262294 BLAKE2B 
9572f4e45d4e90421b49697e816e4c83220af55360276f77ad86fd4469afdb214ec5dceab6e65170e9050d0e728f0f4998c99c30e6379c25c405f922b61ad853
 SHA512 
f91d9b166acf2a9906dff4aec00328221f4d54e6f833b982cc782168552284c29ddd03f8da052ccabd93dc2e7bbe72c95019599d6b57fcccd1561f36d7136e63
+DIST tekore-5.3.0.gh.tar.gz 262670 BLAKE2B 
7d97a94ddb516e4c1fdfd391377d08b5df444fd4e753be6d7f8a41cd21ed118e27ee29a8364e69e564d94f31916f10511c1472aad2586c4ba016aa97ae8248f5
 SHA512 
5ff2520af36236a61be4681ebe5df011a67f0db9c2b88e58958368435f8c3a4c183f94657f9a84c16156cff54b856a8f93867ce2d475075ccffaf2230428c219

diff --git a/dev-python/tekore/tekore-5.3.0.ebuild 
b/dev-python/tekore/tekore-5.3.0.ebuild
new file mode 100644
index 000000000000..6e7f60d52dae
--- /dev/null
+++ b/dev-python/tekore/tekore-5.3.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Spotify Web API client"
+HOMEPAGE="
+       https://tekore.readthedocs.io/
+       https://github.com/felix-hilden/tekore/
+       https://pypi.org/project/tekore/
+"
+SRC_URI="
+       https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm64"
+SLOT="0"
+
+RDEPEND="
+       dev-python/httpx[${PYTHON_USEDEP}]
+       >=dev-python/pydantic-1.8[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               >=dev-python/pydantic-2[${PYTHON_USEDEP}]
+               >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}]
+               dev-python/pytest-httpx[${PYTHON_USEDEP}]
+       )
+"
+
+DOCS=( readme.rst )
+
+distutils_enable_tests pytest
+# TODO: package sphinx_codeautolink
+# distutils_enable_sphinx docs/src \
+#      dev-python/sphinx-rtd-theme \
+#      dev-python/sphinx-tabs \
+#      dev-python/sphinx-autodoc-typehints
+
+EPYTEST_DESELECT=(
+       # Internet
+       
tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error
+)
+
+src_prepare() {
+       # unpin dependencies
+       sed -i -e 's:,<[0-9.]*::' pyproject.toml || die
+
+       distutils-r1_src_prepare
+}

Reply via email to