Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/python-gitlab/
Date: Fri, 29 Jan 2021 18:59:03
Message-Id: 1611946732.e80f4a61c9de49a7a742ca1b65ce11f99dee0414.williamh@gentoo
1 commit: e80f4a61c9de49a7a742ca1b65ce11f99dee0414
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 29 18:58:00 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 18:58:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80f4a61
7
8 dev-vcs/python-gitlab: 2.6.0 bump
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 dev-vcs/python-gitlab/Manifest | 1 +
13 dev-vcs/python-gitlab/python-gitlab-2.6.0.ebuild | 36 ++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-vcs/python-gitlab/Manifest b/dev-vcs/python-gitlab/Manifest
17 index f875efd5448..1a283609216 100644
18 --- a/dev-vcs/python-gitlab/Manifest
19 +++ b/dev-vcs/python-gitlab/Manifest
20 @@ -1 +1,2 @@
21 DIST python-gitlab-2.5.0.tar.gz 148916 BLAKE2B f870833a01adac08b71dc402bc11ba9c1be19c920735faf04de9bfca3b1a154706da4bc0475437997e3b03d8c9a56977a6691df05b750d64a1f8b964ecd05612 SHA512 7382f9ea2388c6916f3c7e63df137d73f0fdfb3890a8bbb47e766f3476b6febecd1dcbc588445ae1af1b5f17c9a3e6ed9a931fd9fff010c2c37967eab5440824
22 +DIST python-gitlab-2.6.0.tar.gz 153577 BLAKE2B 4fa0206faa601061fde257988362eca962c9e20f50e5ad57d602a76618581db646f26b035d4d86b9c460ef75f241fcbcdf360419b2e62ec6f95a664ab237d7d2 SHA512 b63dd4657b44fb484d114ceddc1d67465c17560978a8e6b09a9b14634ae6d80bf864b9b4583ddfc102c27c1082f4a015958c30944a734ec635761af524956fbe
23
24 diff --git a/dev-vcs/python-gitlab/python-gitlab-2.6.0.ebuild b/dev-vcs/python-gitlab/python-gitlab-2.6.0.ebuild
25 new file mode 100644
26 index 00000000000..e395f7feed1
27 --- /dev/null
28 +++ b/dev-vcs/python-gitlab/python-gitlab-2.6.0.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +PYTHON_COMPAT=( python3_{6,7,8} )
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Python command line interface to gitlab API"
39 +HOMEPAGE="https://github.com/python-gitlab/python-gitlab/"
40 +
41 +if [[ ${PV} = *9999* ]]; then
42 + EGIT_REPO_URI="https://github.com/python-gitlab/python-gitlab"
43 + inherit git-r3
44 +else
45 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 + KEYWORDS="~amd64"
47 +fi
48 +
49 +LICENSE="LGPL-3"
50 +SLOT="0"
51 +IUSE="test"
52 +
53 +BDEPEND="test? (
54 + dev-python/httmock[${PYTHON_USEDEP}]
55 + dev-python/mock[${PYTHON_USEDEP}] )"
56 +
57 +RDEPEND=">=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
58 + >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]"
59 +
60 +distutils_enable_tests unittest
61 +
62 +python_install_all() {
63 + distutils-r1_python_install_all
64 + dodoc -r *.rst docs
65 +}