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: Thu, 09 Sep 2021 21:25:13
Message-Id: 1631221837.58da3008ba6c3fba9addfc403956101b8cad9be3.mgorny@gentoo
1 commit: 58da3008ba6c3fba9addfc403956101b8cad9be3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 9 21:10:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 9 21:10:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58da3008
7
8 dev-python/tekore: Bump to 4.0.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.0.0.ebuild | 40 +++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest
17 index 18eb751ff37..d12017d7dc6 100644
18 --- a/dev-python/tekore/Manifest
19 +++ b/dev-python/tekore/Manifest
20 @@ -1 +1,2 @@
21 DIST tekore-3.7.1.tar.gz 258235 BLAKE2B e04edfab294ac3dac1fb086f296bf3fcc463cdad981d435fdd19ec812f1bb2ff79cacaa94d5105dc1070dd56602cc9a502537c68020cb27b2eb5b3c93788f193 SHA512 ed315a0b5b071265d2ba12d996bedafdea87286fd1beecc14d247176f2bdd2245e0220fb186ce4bd6eec2bc13a764f74b067ce1e546d8c30e618a4bdc3bf02e0
22 +DIST tekore-4.0.0.tar.gz 259755 BLAKE2B 5c4c990c14187c20ef3566d1bc0cf32e50fe108d90b59126e2d56105b6fe053ca02c98e7ad7a4fa09345792106e956873a0f42b8492420bd74898557c6d97f23 SHA512 7e5cf6044a6a7045257b9b9830fe4bdb6fb175240b295da3f93cb0557150536655ddf44ab551b52182815fc517b8e43ee704b1061db1284426574e741f7d9a56
23
24 diff --git a/dev-python/tekore/tekore-4.0.0.ebuild b/dev-python/tekore/tekore-4.0.0.ebuild
25 new file mode 100644
26 index 00000000000..fd70d3d6296
27 --- /dev/null
28 +++ b/dev-python/tekore/tekore-4.0.0.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Spotify Web API client"
39 +HOMEPAGE="
40 + https://tekore.readthedocs.io
41 + https://github.com/felix-hilden/tekore
42 +"
43 +SRC_URI="https://github.com/felix-hilden/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +KEYWORDS="~amd64"
47 +SLOT="0"
48 +
49 +RDEPEND="
50 + <dev-python/httpx-0.20[${PYTHON_USEDEP}]
51 +"
52 +
53 +BDEPEND="
54 + test? (
55 + >=dev-python/pytest-asyncio-0.11[${PYTHON_USEDEP}]
56 + )
57 +"
58 +
59 +DOCS=( readme.rst )
60 +
61 +distutils_enable_tests pytest
62 +distutils_enable_sphinx docs/src \
63 + dev-python/sphinx_rtd_theme \
64 + dev-python/sphinx-autodoc-typehints
65 +
66 +EPYTEST_DESELECT=(
67 + # Internet
68 + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error
69 +)