# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{10,11} ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Command-line tool for looking up colors, shades and palettes" HOMEPAGE="https://github.com/joowani/colorpedia" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" if [[ "${PV}" == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/joowani/colorpedia" else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi RDEPEND=" dev-python/six[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] dev-python/fire[${PYTHON_USEDEP}] dev-python/termcolor[${PYTHON_USEDEP}]" BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools-scm[${PYTHON_USEDEP}]" DOCS=( docs/README.md docs/CONTRIBUTING.md ) #distutils_enable_tests setup.py src_install() { distutils-r1_src_install }