Diff python-gitlab-3.13.0 with a python-gitlab-4.6.0
| /usr/portage/dev-vcs/python-gitlab/python-gitlab-4.6.0.ebuild 2025-07-29 16:22:14.264455053 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 |
PYTHON_COMPAT=( python3_{9,10,11} )
|
|
| 5 |
MY_PN="${PN/-/_}"
|
|
| 6 |
PYTHON_COMPAT=( python3_{10..13} )
|
|
| 6 | 7 |
DISTUTILS_USE_PEP517=setuptools |
| 7 | 8 |
PYPI_NO_NORMALIZE=1 |
| 8 | 9 |
inherit distutils-r1 |
| ... | ... | |
| 15 | 16 |
inherit git-r3 |
| 16 | 17 |
else |
| 17 | 18 |
inherit pypi |
| 19 |
SRC_URI="$(pypi_sdist_url) -> ${P}.tar.gz"
|
|
| 18 | 20 |
KEYWORDS="amd64" |
| 21 |
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
| 19 | 22 |
fi |
| 20 | 23 | |
| 21 | 24 |
LICENSE="LGPL-3" |
| 22 | 25 |
SLOT="0" |
| 23 | 26 | |
| 24 | 27 |
BDEPEND="test? ( |
| 25 |
dev-python/coverage[${PYTHON_USEDEP}]
|
|
| 26 | 28 |
>=dev-python/pytest-console-scripts-1.3.1[${PYTHON_USEDEP}]
|
| 27 |
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
|
| 28 | 29 |
>=dev-python/pyyaml-5.2[${PYTHON_USEDEP}]
|
| 29 | 30 |
dev-python/responses[${PYTHON_USEDEP}]
|
| 30 | 31 |
)" |
| 31 | 32 | |
| 32 |
RDEPEND=">=dev-python/requests-2.28.2[${PYTHON_USEDEP}]
|
|
| 33 |
>=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}]"
|
|
| 33 |
RDEPEND=">=dev-python/requests-2.32.2[${PYTHON_USEDEP}]
|
|
| 34 |
>=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}]"
|
|
| 34 | 35 | |
| 35 | 36 |
distutils_enable_tests pytest |
| 36 | 37 | |
| 38 |
EPYTEST_IGNORE=( |
|
| 39 |
# These tests do not make sense downstream |
|
| 40 |
"tests/smoke/test_dists.py" |
|
| 41 |
# Requires ability to run docker and pytest-docker |
|
| 42 |
# https://bugs.gentoo.org/938085 |
|
| 43 |
"tests/functional" |
|
| 44 |
) |
|
| 45 | ||
| 37 | 46 |
python_install_all() {
|
| 38 | 47 |
distutils-r1_python_install_all |
| 39 | 48 |
dodoc -r *.rst docs |