Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/discogs-client/
Date: Sat, 10 Sep 2022 18:45:34
Message-Id: 1662835429.bff989c603f3922a329d0b371e0aa411a2cb547e.arthurzam@gentoo
1 commit: bff989c603f3922a329d0b371e0aa411a2cb547e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 10 18:43:49 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 10 18:43:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff989c6
7
8 dev-python/discogs-client: add 2.4
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/discogs-client/Manifest | 1 +
13 .../discogs-client/discogs-client-2.4.ebuild | 35 ++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/discogs-client/Manifest b/dev-python/discogs-client/Manifest
17 index 2fcd15853789..3d45913d2a3b 100644
18 --- a/dev-python/discogs-client/Manifest
19 +++ b/dev-python/discogs-client/Manifest
20 @@ -1 +1,2 @@
21 DIST python3-discogs-client-2.3.15.tar.gz 35059 BLAKE2B fe2b577b4810480fcad8a76c8f961809baa5b217c0d01c262f4a6a0a2993b2a6d2515edf90f276f7a104f6bdf0a1edb0f439c69e51507e3c0cf1ab927049e7f7 SHA512 8da52cc6c125cc4b3c5fb93626075ba32046798f71f72cc9f685fdf10a92a813fbd74b35625994cd4c6b7e394e36265ce01a33b52b607bf498a5f11f68d82ad9
22 +DIST python3-discogs-client-2.4.tar.gz 35724 BLAKE2B 98976cb4bd52c459ab63e5d178bc0a7eb2c6ee56ff866d2248b326423a9b7f5187ed348d3cfa67d2aa38b1f4cc107367351e40408b9f577ecec27f28724d9be3 SHA512 96a3f1e653c95751b790f58dae2efd7e33a1af581a945327704a31df96e99dad543ca978c4e42f6f05824f6f74ccfcf7fe5e59e46c82df1634a655581d833442
23
24 diff --git a/dev-python/discogs-client/discogs-client-2.4.ebuild b/dev-python/discogs-client/discogs-client-2.4.ebuild
25 new file mode 100644
26 index 000000000000..6e7748b475a9
27 --- /dev/null
28 +++ b/dev-python/discogs-client/discogs-client-2.4.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +if [[ ${PV} == 9999 ]]; then
41 + EGIT_REPO_URI="https://github.com/joalla/discogs_client.git"
42 + inherit git-r3
43 +else
44 + SRC_URI="mirror://pypi/p/python3-${PN}/python3-${P}.tar.gz"
45 + KEYWORDS="~amd64 ~x86"
46 + S="${WORKDIR}/python3-${P}"
47 +fi
48 +
49 +DESCRIPTION="Continuation of the official Python API client for Discogs"
50 +HOMEPAGE="
51 + https://github.com/joalla/discogs_client/
52 + https://pypi.org/project/python3-discogs-client/
53 +"
54 +
55 +LICENSE="BSD-2"
56 +SLOT="0"
57 +
58 +RDEPEND="
59 + dev-python/requests[${PYTHON_USEDEP}]
60 + dev-python/oauthlib[${PYTHON_USEDEP}]
61 + dev-python/python-dateutil[${PYTHON_USEDEP}]
62 +"
63 +
64 +distutils_enable_tests unittest