# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_USE_PEP517=setuptools inherit pypi distutils-r1 DESCRIPTION="Read key-value pairs from a .env file and set them as environment variables" HOMEPAGE="https://pypi.org/project/python-dotenv/" LICENSE="BSD-3-Clause" SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" dev-python/click[${PYTHON_USEDEP}] " BDEPEND=" test? ( dev-python/click[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest src_install() { distutils-r1_src_install # Avoid collision with dev-ruby/dotenv (bug #798648) mv "${ED}"/usr/bin/{,python-}dotenv || die }