Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/discogs-client/
Date: Sun, 22 Aug 2021 22:21:55
Message-Id: 1629670872.14261b2c0b7bd2d84fc52f122a035c659eb98c3b.sbraz@gentoo
1 commit: 14261b2c0b7bd2d84fc52f122a035c659eb98c3b
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 17:05:19 2021 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 22:21:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14261b2c
7
8 dev-python/discogs-client: enable py3.10, fix deps
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11
12 .../discogs-client/discogs-client-2.3.12-r1.ebuild | 33 ++++++++++++++++++++++
13 1 file changed, 33 insertions(+)
14
15 diff --git a/dev-python/discogs-client/discogs-client-2.3.12-r1.ebuild b/dev-python/discogs-client/discogs-client-2.3.12-r1.ebuild
16 new file mode 100644
17 index 00000000000..36b9175dec9
18 --- /dev/null
19 +++ b/dev-python/discogs-client/discogs-client-2.3.12-r1.ebuild
20 @@ -0,0 +1,33 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +PYTHON_COMPAT=( python3_{8..10} )
27 +
28 +inherit distutils-r1
29 +
30 +if [[ ${PV} == "9999" ]]; then
31 + EGIT_REPO_URI="https://github.com/joalla/discogs_client.git"
32 + inherit git-r3
33 +else
34 + MY_PN='python3-discogs-client'
35 + MY_P=${MY_PN}-${PV}
36 + SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~amd64 ~x86"
38 + S="${WORKDIR}/${MY_P}"
39 +fi
40 +
41 +DESCRIPTION="Continuation of the official Python API client for Discogs"
42 +HOMEPAGE="https://github.com/joalla/discogs_client https://pypi.org/project/python3-discogs-client/"
43 +
44 +LICENSE="BSD-2"
45 +SLOT="0"
46 +
47 +RDEPEND="
48 + dev-python/requests[${PYTHON_USEDEP}]
49 + dev-python/oauthlib[${PYTHON_USEDEP}]
50 + dev-python/python-dateutil[${PYTHON_USEDEP}]
51 +"
52 +
53 +distutils_enable_tests nose