# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_8 python3_9 python3_10 ) inherit distutils-r1 MY_PN="python-${PN}" MY_P="${MY_PN}-${PV}" DESCRIPTION="Python library to interact with the GitLab API" HOMEPAGE="https://pypi.org/project/python-gitlab/ https://github.com/python-gitlab/python-gitlab/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" DEPEND=" >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}] " RDEPEND="${DEPEND}" BDEPEND="" S="${WORKDIR}/${MY_P}" # Missing dependencies for testing (some docker stuff, which doesn't appear in # requirements-test.txt, but still seems to be required) RESTRICT="test"