2022-11-11 15:48:06 +01:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Generate and change color-schemes on the fly"
|
|
|
|
HOMEPAGE="https://github.com/dylanaraps/${PN}"
|
2022-11-11 18:06:13 +01:00
|
|
|
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/dylanaraps/${PN}.git"
|
|
|
|
else
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
SRC_URI="https://github.com/dylanaraps/pywal/archive/refs/tags/${PV}.tar.gz"
|
|
|
|
fi
|
2022-11-11 15:48:06 +01:00
|
|
|
RESTRICT="test"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
RDEPEND="${DEPEND} media-gfx/imagemagick"
|
|
|
|
BDEPEND=""
|