# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools # PYTHON_COMPAT is used only for testing PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) PYTHON_REQ_USE="ssl(+),threads(+)" inherit distutils-r1 MY_P=${P#ensurepip-} DESCRIPTION="Shared pip wheel for ensurepip Python module" HOMEPAGE=" https://pip.pypa.io/en/stable/ https://pypi.org/project/pip/ https://github.com/pypa/pip/ " SRC_URI=" https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz " S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test test-rust" RESTRICT="!test? ( test )" BDEPEND=" ${RDEPEND} test? (