# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 pypi DESCRIPTION="Color palettes for Python" HOMEPAGE=" https://jiffyclub.github.io/palettable/ https://github.com/jiffyclub/palettable/ https://pypi.org/project/palettable/ " LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { # Remove non-package directories misdetected by setuptools. mv test "${WORKDIR}/tests" || die rm -r scripts docs || die distutils-r1_src_prepare } python_test() { epytest "${WORKDIR}/tests" }