summaryrefslogtreecommitdiff
path: root/dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-10-19 12:39:40 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-10-19 12:40:15 -0500
commit2d1ba039dbf40e3183bb16439ad62e589f9764a9 (patch)
tree05815f3f62bd96f272e36bfbd8e2edb7645833a1 /dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild
parent33e3fd485ee9290ed77c663b45d45ef2dc9cf8ae (diff)
downloadgentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.tar.gz
gentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.tar.bz2
gentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.zip
dev-vcs/python-gitlab: 2.10.1 bump
Closes: https://bugs.gentoo.org/818784 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild')
-rw-r--r--dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild b/dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild
new file mode 100644
index 000000000000..5067288cbfbf
--- /dev/null
+++ b/dev-vcs/python-gitlab/python-gitlab-2.10.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7,8,9} )
+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"
+IUSE="test"
+
+BDEPEND="test? (
+ dev-python/httmock[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}] )"
+
+RDEPEND=">=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
+ >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}/${P}"-do-not-package-tests.patch
+)
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dodoc -r *.rst docs
+}