summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-10-21 10:34:47 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-10-21 10:37:49 -0500
commit0d0693ca47de3d54045e64d16c35bc8e7278d713 (patch)
tree9e8b9ec9162009b31ccdf8af6c356388260d77bd /dev-vcs/python-gitlab
parentdev-python/ruamel-yaml-clib: Bump to 0.2.7 (diff)
downloadgentoo-0d0693ca47de3d54045e64d16c35bc8e7278d713.tar.gz
gentoo-0d0693ca47de3d54045e64d16c35bc8e7278d713.tar.bz2
gentoo-0d0693ca47de3d54045e64d16c35bc8e7278d713.zip
dev-vcs/python-gitlab: add 3.10.0
Closes: https://bugs.gentoo.org/877745 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-vcs/python-gitlab')
-rw-r--r--dev-vcs/python-gitlab/Manifest1
-rw-r--r--dev-vcs/python-gitlab/python-gitlab-3.10.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/python-gitlab/Manifest b/dev-vcs/python-gitlab/Manifest
index f8d3cdf0d34d..47450bc06f2c 100644
--- a/dev-vcs/python-gitlab/Manifest
+++ b/dev-vcs/python-gitlab/Manifest
@@ -1,2 +1,3 @@
+DIST python-gitlab-3.10.0.tar.gz 254166 BLAKE2B 74b1a200e4ac1e99d5fc89b3906e8e623e3e7c210b0483e3947f24b882e61ce4ca9dafd43cfb047e4fa848c8970429ff0391db7c750d452db0ca4f5034bb772f SHA512 5dc0fbe826fe1a07833a8d443721e540b6b6e8c35cf100286b9a1a964f2f8b4faa34df2eff9888507c6ba1835857216a73084f860343a494eac9f1353a28f327
DIST python-gitlab-3.5.0.tar.gz 225751 BLAKE2B 25efd5de5addde6cdb19307217080213e8f0aa9b189307fe10fb9af55d8db92752794cf71c3e826629f043dd85d6078dbf9e96418d3e96d38209a5a81629d589 SHA512 fdc719f0cb0bf588390f0f6f0ffc4814bb5135156ecbe96cb4b381a7f93606a49773d1e8a34397a0f3b4522c8867704429070bae7bec6cf34b9e713f0a9c9189
DIST python-gitlab-3.6.0.tar.gz 235738 BLAKE2B 4ed26f2d8add0fbfdc52bd8d7f61e06b717a2f8b7995b8c75eaf67a20362c259d0c487177ba695310cff11bb0129e49cb3c0058682488da9b8f61b477c4a07f1 SHA512 b2fe2dd62b76929d3acef0c8fc815b91ac5949af47fa43110d461d541ecd943af2e3c7afc94ad4b396b8d8815b4201a65ef7199bf886f5e5b0419b3d9bff2575
diff --git a/dev-vcs/python-gitlab/python-gitlab-3.10.0.ebuild b/dev-vcs/python-gitlab/python-gitlab-3.10.0.ebuild
new file mode 100644
index 000000000000..88e18c0203c2
--- /dev/null
+++ b/dev-vcs/python-gitlab/python-gitlab-3.10.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="Python command line interface to gitlab API"
+HOMEPAGE="https://github.com/python-gitlab/python-gitlab/"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/python-gitlab/python-gitlab"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+
+BDEPEND="test? (
+dev-python/coverage[${PYTHON_USEDEP}]
+>=dev-python/pytest-console-scripts-1.3.1[${PYTHON_USEDEP}]
+dev-python/pytest-cov[${PYTHON_USEDEP}]
+>=dev-python/pyyaml-5.2[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ )"
+
+RDEPEND=">=dev-python/requests-2.28.1[${PYTHON_USEDEP}]
+ >=dev-python/requests-toolbelt-0.10.0[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dodoc -r *.rst docs
+}