commit:     9b092671e8e420296fc4f681c3623be63c18289a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 03:50:18 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 04:02:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b092671

dev-python/tekore: Bump to 5.4.0

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

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

diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
index 14a252efae0e..9f7109958368 100644
--- a/dev-python/tekore/Manifest
+++ b/dev-python/tekore/Manifest
@@ -1 +1,2 @@
 DIST tekore-5.3.1.tar.gz 270742 BLAKE2B 
08fd8a4deeaa5024f5bb138c4f9bc3fae25f5a2b21c4298bf5d12932793b33e778dd2b15cbdbeec2f62cba841f55a59e6f2c43d51f968d01603dcadd5883d91a
 SHA512 
8d81af1528bedcc4d76ee96f2b310d0522262b0466bbc30bf3849eb7b936067e42311acf9fe724377ec801f2863fa50de61f409363d00486c6d596ab01acb09e
+DIST tekore-5.4.0.tar.gz 270967 BLAKE2B 
6cfaa8a113707e6944c445f3fda4d55a66fe9719870ce97a7e8f1a5f556ba9fa3a2ee09ff4e98a1e976cbeedbed23dd6268dfd47d06c159f29d30eb5d3fb041b
 SHA512 
a2b943c066ad344a247b5861719965a57f151bdadd50c660a789f59a60bebd82ccbe88fc19cff4d50d21675f35d98c131069f700ff88952b58fe989d098242b5

diff --git a/dev-python/tekore/tekore-5.4.0.ebuild 
b/dev-python/tekore/tekore-5.4.0.ebuild
new file mode 100644
index 000000000000..34aae5f71d45
--- /dev/null
+++ b/dev-python/tekore/tekore-5.4.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..12} )
+
+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"
+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}]
+       )
+"
+
+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