commit:     4754231b6cd4b94018f095a206f26495b0d1fdf4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 04:09:39 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 04:15:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4754231b

dev-python/tekore: Bump to 6.0.0

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

 dev-python/tekore/Manifest            |  1 +
 dev-python/tekore/tekore-6.0.0.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index ddafffb35eb4..26f750358e5a 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1,2 @@
 DIST tekore-5.5.1.tar.gz 270328 BLAKE2B 
44a03289ff908b97da7ef089513156b00b8858d99172139981ce6b618074a628796f3f965a1180f7ee0cb2c23e5c97fd0f7ce1ea9da3d6352102e2da3406b1cf
 SHA512 
aec3eddadfd27098a4608a193750bb521d1e4c5c786c09b98e4295ed167dc3ac88b9382528778513a8b2143153950a02b7cbbdbbae1775259ab29c3df17abe05
+DIST tekore-6.0.0.tar.gz 271904 BLAKE2B 
f5b0b8b296506c2d91e4cb763c535485a5c0ecb872e0d9e4920a74e58b97ecb8304d9daf24ebb08a47512fa922c9962e37a1b744affaba3bf846805a07d227db
 SHA512 
204599394d6b7fdfd0c43f6e8ab692de2105fafddd00694194be036c12f705203d46b11be672c8b258c1cb2e7605c31f3e7721d5f8dd52b75dd83c9741615972

diff --git a/dev-python/tekore/tekore-6.0.0.ebuild 
b/dev-python/tekore/tekore-6.0.0.ebuild
new file mode 100644
index 000000000000..1f28340fe779
--- /dev/null
+++ b/dev-python/tekore/tekore-6.0.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Spotify Web API client"
+HOMEPAGE="
+       https://tekore.readthedocs.io/
+       https://github.com/felix-hilden/tekore/
+       https://pypi.org/project/tekore/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+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}]
+       )
+"
+
+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