Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tekore/
Date: Mon, 07 Nov 2022 05:54:39
Message-Id: 1667799245.abebc0170a888d60cb0d1b1eddb3436d4055705f.mgorny@gentoo
1 commit: abebc0170a888d60cb0d1b1eddb3436d4055705f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 7 05:34:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 7 05:34:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abebc017
7
8 dev-python/tekore: Bump to 4.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tekore/Manifest | 1 +
13 dev-python/tekore/tekore-4.5.0.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
17 index 1a5469498e0b..ffadd94bb081 100644
18 --- a/dev-python/tekore/Manifest
19 +++ b/dev-python/tekore/Manifest
20 @@ -1,2 +1,3 @@
21 DIST tekore-4.4.0.gh.tar.gz 261768 BLAKE2B b0da919bd0feb32fa5770eb02cd817142d80f63e29602695b7cc6e9099203e502e61aab816ec3586595ab06f7f493243b13dd98cdb9e89913854e7cfcefcfd61 SHA512 86ef782971f1ea9d9f49e9683b27a8d9f70511e89a7fa7c8cffd01ba716782b1d91adcde2e24a52e42ec5b5b936005545ea1e15b067d1f109d2ecd2cebbd930d
22 DIST tekore-4.4.1.gh.tar.gz 261791 BLAKE2B 380685868923bed258739bae67e1d1d57c5cdb23cfb43651c1400a38d40176ba9ad55780e1906b72afc97701918817341e7a2c501c0e7bfb2c57711920877f2e SHA512 f2eb0ee9852d2ef971974871890e5150eecdb30f5894301b22ec728852d680af0d476311b83f3ea4528d4d60cedf5379645aa7ea35015dd8beb1a9a9aeab4671
23 +DIST tekore-4.5.0.gh.tar.gz 265075 BLAKE2B 830a7c006ea13650ecc639bc8277d7022eed29fb92e13d4ff0bd98cb30f9bf2c53c9fb5dc88f3195938c22e12c8cc73a52517629c1db2d7bdc5e80360ea7b8bc SHA512 c69f47611447fec72fe2c4f09689dc93b8ff4dc94d430f213866b349c5867eeefd5351f3707b05648a74bd30576e4fd5d7e0c81203f5c7f90d54710433e25980
24
25 diff --git a/dev-python/tekore/tekore-4.5.0.ebuild b/dev-python/tekore/tekore-4.5.0.ebuild
26 new file mode 100644
27 index 000000000000..57eb81c83689
28 --- /dev/null
29 +++ b/dev-python/tekore/tekore-4.5.0.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Spotify Web API client"
42 +HOMEPAGE="
43 + https://tekore.readthedocs.io/
44 + https://github.com/felix-hilden/tekore/
45 + https://pypi.org/project/tekore/
46 +"
47 +SRC_URI="
48 + https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="MIT"
53 +KEYWORDS="~amd64"
54 +SLOT="0"
55 +
56 +RDEPEND="
57 + <dev-python/httpx-0.24[${PYTHON_USEDEP}]
58 +"
59 +
60 +BDEPEND="
61 + test? (
62 + >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}]
63 + dev-python/pytest-httpx[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +DOCS=( readme.rst )
68 +
69 +distutils_enable_tests pytest
70 +# TODO: package sphinx_codeautolink
71 +# distutils_enable_sphinx docs/src \
72 +# dev-python/sphinx_rtd_theme \
73 +# dev-python/sphinx-tabs \
74 +# dev-python/sphinx-autodoc-typehints
75 +
76 +EPYTEST_DESELECT=(
77 + # Internet
78 + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error
79 +)