From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09808158089 for ; Wed, 4 Oct 2023 17:43:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A4632BC106; Wed, 4 Oct 2023 17:43:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FAD02BC104 for ; Wed, 4 Oct 2023 17:43:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12B1A335CD2 for ; Wed, 4 Oct 2023 17:43:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3785995 for ; Wed, 4 Oct 2023 17:43:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1696441413.682de3d5816dd485887ea9dc9b600aaad83c6d3d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tekore/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tekore/Manifest dev-python/tekore/tekore-5.1.0.ebuild X-VCS-Directories: dev-python/tekore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 682de3d5816dd485887ea9dc9b600aaad83c6d3d X-VCS-Branch: master Date: Wed, 4 Oct 2023 17:43:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 107ee9f7-1aef-4aa2-b8f3-c78c44761c38 X-Archives-Hash: c78f2be83b11f44b33d11aa9cc2a462c commit: 682de3d5816dd485887ea9dc9b600aaad83c6d3d Author: Michał Górny gentoo org> AuthorDate: Wed Oct 4 16:18:21 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 4 17:43:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682de3d5 dev-python/tekore: Bump to 5.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/tekore/Manifest | 1 + dev-python/tekore/tekore-5.1.0.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index 1a67c847de63..b5393ffd381b 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1 +1,2 @@ DIST tekore-5.0.1.gh.tar.gz 261087 BLAKE2B a5355f6604dee84cbd169b7de2574f5a46b5651784f9aa8201b56127dbac239c58548c8a1ae9928ba3da19a6275cf7f3eb4139d5a0402bb99548bfae051d89a3 SHA512 6c49f6434434d68845aa5e7de8cb2b2075921b9c27f36f2e5d8a8e0ea14996e7cf96e44bd2bc4081278c329e157c30c4aa95192b14d99df8bf607bce10cdd6a8 +DIST tekore-5.1.0.gh.tar.gz 261207 BLAKE2B 7c52fe1bd0a29da10d846d04543ccca5770e2e5682e5f816fd6ac56c0f351ba2374662187ab71350cf2e8c298175c045c1d35b4512f529b67aef11a4a80a8f15 SHA512 13c8853c707ee2234632e8f051b22df67935afa26c5f4c684728031a78ded88b9d71fff44093d9765a2287ecb5613b8b6b792727d632bce234d89a8668d86ca4 diff --git a/dev-python/tekore/tekore-5.1.0.ebuild b/dev-python/tekore/tekore-5.1.0.ebuild new file mode 100644 index 000000000000..98ce61f606a8 --- /dev/null +++ b/dev-python/tekore/tekore-5.1.0.ebuild @@ -0,0 +1,55 @@ +# 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/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 + # 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 +)