# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) inherit python-single-r1 git-r3 DESCRIPTION="A top class de-noising filter against compression artifacts" HOMEPAGE="https://github.com/IFeelBloated/Oyster" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/IFeelBloated/Oyster.git" KEYWORDS="" else inherit vcs-snapshot SRC_URI="https://github.com/IFeelBloated/Oyster/archive/r${PV}.tar.gz -> ${PN}-${PV}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="LGPL-2.1" SLOT="0" IUSE="doc" RDEPEND+=" media-libs/vapoursynth[${PYTHON_SINGLE_USEDEP}] media-plugins/vapoursynth-bm3d media-plugins/vapoursynth-knlmeanscl media-plugins/vapoursynth-fmtconv media-plugins/vapoursynth-dfttest media-plugins/vapoursynth-mvtools-sf media-plugins/vapoursynth-nnedi3 " DEPEND="${RDEPEND}" DOCS=( "README.md" ) src_install(){ use doc && dodoc ${DOCS} python_domodule Oyster.py }