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/github3/
Date: Sat, 16 Oct 2021 13:48:05
Message-Id: 1634392067.0bd6d1d7e2074768c0b208cb46f28878991654e9.arthurzam@gentoo
1 commit: 0bd6d1d7e2074768c0b208cb46f28878991654e9
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 13:46:33 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 13:47:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bd6d1d7
7
8 dev-python/github3: add 2.0.0, enable py3.10, EAPI=8
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/github3/Manifest | 1 +
13 dev-python/github3/github3-2.0.0.ebuild | 34 +++++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest
17 index 94e50de93cb..9c0b8ccbb10 100644
18 --- a/dev-python/github3/Manifest
19 +++ b/dev-python/github3/Manifest
20 @@ -1 +1,2 @@
21 DIST github3-1.3.0.tar.gz 35345711 BLAKE2B 37d5b574c228b9e3c7ddd60931140679dcfa2a410964d25cfa51d621a0bc72cf4c5340ae3565c0112a3f5373aa064bdc4663dc2d3c4fdf3d0008239bd3498362 SHA512 0568d9730764fb81975da2ba336f1cdb2196de687fe6e68cb3dc2ac432bbcb201f1d78647ac2606a105ea00e6b244cb79b7222f88ebf305a9b7783c2b21e5a1b
22 +DIST github3-2.0.0.gh.tar.gz 35361555 BLAKE2B eafbabeb1557e55c27b268feaee4a0b49428ede7a419cb36163dc0437baa53a952b026971f07b30be2c33ed63d4c0b855369ee5260d4a3425e86dea101deea8c SHA512 92b044d0f0362c45773f8982043ab4e31cf180a955351fb9b035a8b2ed884330201d0cbb0e5f8f877c30cf6512f2e3864646a1bb1fe47e258a696720172d64b0
23
24 diff --git a/dev-python/github3/github3-2.0.0.ebuild b/dev-python/github3/github3-2.0.0.ebuild
25 new file mode 100644
26 index 00000000000..e782c17ddde
27 --- /dev/null
28 +++ b/dev-python/github3/github3-2.0.0.ebuild
29 @@ -0,0 +1,34 @@
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="A wrapper for the GitHub API written in python"
39 +HOMEPAGE="https://github3py.readthedocs.io/en/master/"
40 +SRC_URI="
41 + https://github.com/sigmavirus24/${PN}.py/archive/${PV}.tar.gz
42 + -> ${P}.gh.tar.gz
43 +"
44 +S="${WORKDIR}/${PN}.py-${PV}"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND="
51 + dev-vcs/git
52 + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
53 + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}]
55 + >=dev-python/jwcrypto-0.5.0[${PYTHON_USEDEP}]
56 +"
57 +BDEPEND="
58 + test? (
59 + >=dev-python/betamax-0.8.0[${PYTHON_USEDEP}]
60 + >=dev-python/betamax-matchers-0.1.0[${PYTHON_USEDEP}]
61 + )"
62 +
63 +distutils_enable_tests pytest