# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 DESCRIPTION="Functions and utils related to VapourSynth" HOMEPAGE="https://github.com/Irrational-Encoding-Wizardry/vs-tools" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Irrational-Encoding-Wizardry/vs-tools.git" KEYWORDS="" else SRC_URI="https://github.com/Irrational-Encoding-Wizardry/vs-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="MIT" SLOT="0" IUSE="" RDEPEND+=" media-libs/vapoursynth[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep 'dev-python/rich[${PYTHON_USEDEP}]') $(python_gen_cond_dep 'dev-python/stgpytools[${PYTHON_USEDEP}]') " DEPEND="${RDEPEND}"