# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_TESTED=( python3_{12..15} ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3_12 python3_{14..15}t ) inherit distutils-r1 TAG=${P/-/-v} DESCRIPTION="Modern, extensible Python project management" HOMEPAGE=" https://pypi.org/project/hatch/ https://github.com/pypa/hatch/ " SRC_URI="https://github.com/pypa/hatch/archive/${TAG}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/hatch-${TAG}" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" RESTRICT="mirror test" RDEPEND=" >=dev-python/click-8.0.6[${PYTHON_USEDEP}] >=dev-python/distro-1.0.0[${PYTHON_USEDEP}] >=dev-python/hatchling-1.27.0[${PYTHON_USEDEP}] >=dev-python/httpx2-0.22.0[${PYTHON_USEDEP}] >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] >=dev-python/keyring-23.5.0[${PYTHON_USEDEP}] >=dev-python/packaging-24.2[${PYTHON_USEDEP}] >=dev-python/pexpect-4.8[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.5.0[${PYTHON_USEDEP}] dev-python/pyproject-hooks[${PYTHON_USEDEP}] >=dev-python/python-discovery-1.1[${PYTHON_USEDEP}] >=dev-python/rich-11.2.0[${PYTHON_USEDEP}] >=dev-python/shellingham-1.4.0[${PYTHON_USEDEP}] >=dev-python/tomli-w-1.0[${PYTHON_USEDEP}] >=dev-python/tomlkit-0.11.1[${PYTHON_USEDEP}] >=dev-python/userpath-1.7[${PYTHON_USEDEP}] >=dev-python/uv-0.5.23 >=dev-python/virtualenv-21[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/backports-zstd-1.0.0[${PYTHON_USEDEP}] ' 3.{12..13}) "