Files
guru/media-video/ffsubsync/ffsubsync-0.4.19.ebuild
Nicola Smaniotto 1eea9e6ad9 media-video/ffsubsync: fix 0.4.19 dependencies
Closes: https://bugs.gentoo.org/823074
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
2021-11-12 14:29:36 +01:00

42 lines
1.1 KiB
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Automagically syncronize subtitles with video"
HOMEPAGE="https://github.com/smacke/ffsubsync"
SRC_URI="https://github.com/smacke/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/auditok[${PYTHON_USEDEP}]
dev-python/cchardet[${PYTHON_USEDEP}]
dev-python/ffmpeg-python[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
>=dev-python/numpy-1.12.0[${PYTHON_USEDEP}]
>=dev-python/pysubs2-1.2.0[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=dev-python/srt-3.0.0[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/webrtcvad[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/"${P}"-remove-future_annotations.patch
)
distutils_enable_tests pytest
python_prepare_all() {
sed "/argparse/d" -i requirements.txt || die
distutils-r1_python_prepare_all
}