Diff requests-2.32.4 with a requests-2.32.5-r1
| /usr/portage/dev-python/requests/requests-2.32.5-r1.ebuild 2026-03-03 11:46:17.180338165 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep |
| ... | ... | |
| 19 | 19 | |
| 20 | 20 |
LICENSE="Apache-2.0" |
| 21 | 21 |
SLOT="0" |
| 22 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" |
|
| 22 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" |
|
| 23 | 23 |
IUSE="socks5 test-rust" |
| 24 | 24 | |
| 25 | 25 |
RDEPEND=" |
| ... | ... | |
| 32 | 32 | |
| 33 | 33 |
BDEPEND=" |
| 34 | 34 |
test? ( |
| 35 |
>=dev-python/pytest-httpbin-2.0.0[${PYTHON_USEDEP}]
|
|
| 36 |
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
|
| 37 | 35 |
>=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}]
|
| 38 | 36 |
test-rust? ( |
| 39 | 37 |
dev-python/trustme[${PYTHON_USEDEP}]
|
| ... | ... | |
| 41 | 39 |
) |
| 42 | 40 |
" |
| 43 | 41 | |
| 42 |
EPYTEST_PLUGINS=( pytest-{httpbin,mock} )
|
|
| 43 |
EPYTEST_XDIST=1 |
|
| 44 | 44 |
distutils_enable_tests pytest |
| 45 | 45 | |
| 46 |
src_prepare() {
|
|
| 47 |
distutils-r1_src_prepare |
|
| 48 | ||
| 49 |
# remove useless dependency check spam |
|
| 50 |
sed -i -e '/def check_compatibility/a\ |
|
| 51 |
return' src/requests/__init__.py || die |
|
| 52 |
} |
|
| 53 | ||
| 46 | 54 |
python_test() {
|
| 47 | 55 |
local EPYTEST_DESELECT=( |
| 48 | 56 |
# Internet (doctests) |