commit: b4f063218f0b3030cc501b05d654ade37aa47834 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jul 7 02:01:30 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jul 7 03:14:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f06321
dev-python/tekore: Bump to 5.0.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/tekore/Manifest | 1 + dev-python/tekore/tekore-5.0.1.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index bbd06ae4e24f..5a7d2e82e0a0 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1,2 +1,3 @@ DIST tekore-4.6.1.gh.tar.gz 264775 BLAKE2B 38371bfd377c51d0dc790ad1571573709b6f233e1174addb1621ae7603a50a3dfd7274d74243f95c51b94ab22143e69417ad02110a71d5db4d98516f29b9a308 SHA512 0e76434da0a03e2e808009ca471bcf2dae25db0cc27769d5df9ec1075ca177d3d6faaa35fbf3532646b6bad27dc503c8262361dda23127ee3b8bc4e4e4abfe06 DIST tekore-5.0.0.gh.tar.gz 261056 BLAKE2B 3d3659d68329b0cd4de655cae018b89ad0bbe0173087f11b3ad9cf6af0be60a6c0202978316321c4962ff6259126159b84d48a8dafe916f687a8098240d218dd SHA512 60e269bac72b7717f7f81a2865b4e317c7d4f161457b8c12073150dbc3a1ea8307c3256e28381cc4c7b1f1daf698c9083890f498d0d96067d4bd1df5f15b10da +DIST tekore-5.0.1.gh.tar.gz 261087 BLAKE2B a5355f6604dee84cbd169b7de2574f5a46b5651784f9aa8201b56127dbac239c58548c8a1ae9928ba3da19a6275cf7f3eb4139d5a0402bb99548bfae051d89a3 SHA512 6c49f6434434d68845aa5e7de8cb2b2075921b9c27f36f2e5d8a8e0ea14996e7cf96e44bd2bc4081278c329e157c30c4aa95192b14d99df8bf607bce10cdd6a8 diff --git a/dev-python/tekore/tekore-5.0.1.ebuild b/dev-python/tekore/tekore-5.0.1.ebuild new file mode 100644 index 000000000000..e364947bea00 --- /dev/null +++ b/dev-python/tekore/tekore-5.0.1.ebuild @@ -0,0 +1,54 @@ +# 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" +SLOT="0" + +RDEPEND=" + <dev-python/httpx-0.25[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=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 + # these tests use calls specific to pydantic-2 + # TODO: reselect when we can depend on >=pydantic-2 + tests/model.py::TestModel::test_enum_in_model + tests/model.py::TestModel::test_unknown_attribute_ignored +)