From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3EB5158086 for ; Mon, 8 Nov 2021 13:02:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF46C2BC11E; Mon, 8 Nov 2021 13:02:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 779082BC117 for ; Mon, 8 Nov 2021 13:02:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EB13342F41 for ; Mon, 8 Nov 2021 13:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 475821E3 for ; Mon, 8 Nov 2021 13:02:32 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1636374121.7d69200c89186c2ac5e5b517b0738be239dee4d2.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/ffsubsync/files/, media-video/ffsubsync/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/ffsubsync/Manifest media-video/ffsubsync/ffsubsync-0.4.19.ebuild media-video/ffsubsync/files/ffsubsync-0.4.19-remove-future_annotations.patch X-VCS-Directories: media-video/ffsubsync/ media-video/ffsubsync/files/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 7d69200c89186c2ac5e5b517b0738be239dee4d2 X-VCS-Branch: master Date: Mon, 8 Nov 2021 13:02:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9b2b96e6-a7f8-47f9-958e-fe9a0e67f1f0 X-Archives-Hash: 00a6f75e7a7bc428e4b9ce583a8b21e8 commit: 7d69200c89186c2ac5e5b517b0738be239dee4d2 Author: Nicola Smaniotto gmail com> AuthorDate: Mon Nov 8 12:22:01 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Nov 8 12:22:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d69200c media-video/ffsubsync: bump to 0.4.19 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto gmail.com> media-video/ffsubsync/Manifest | 1 + media-video/ffsubsync/ffsubsync-0.4.19.ebuild | 40 +++++ ...fsubsync-0.4.19-remove-future_annotations.patch | 176 +++++++++++++++++++++ 3 files changed, 217 insertions(+) diff --git a/media-video/ffsubsync/Manifest b/media-video/ffsubsync/Manifest index c439335e7..5efc8004f 100644 --- a/media-video/ffsubsync/Manifest +++ b/media-video/ffsubsync/Manifest @@ -1 +1,2 @@ DIST ffsubsync-0.4.18.tar.gz 3821259 BLAKE2B 79c1d7ed1316b1c91f23de442988c0234c89f3f51a605f3982aa32c880f2bb33f0bd280906d3b2ea3c3f9de4b1453b0c053b16cd382ee55ea24f692f81b6cd04 SHA512 be3243b8a24c163509f519105e509a26e8fac76ba2305b07c413ade1c645043bc90f9d0c862f346d911e5897bc1b97f5c34d9c210146df0aab24345b0541204b +DIST ffsubsync-0.4.19.tar.gz 3821580 BLAKE2B 0e34ab0c4426dc6c0319cd3ccee9ade3b1ebef5bf807511d96cd08a9e492d3e2f7220eb4c3bf80815643b52b0f23d44c04d014f909685e9d999ca5df25cfca12 SHA512 48b1810afa4f081a08932d85cdebbfba46de2adc452085d3191576a3b34c921145e6911508d09e4485b31e8ddfceeb5e8b9aaf1ee24d23a46608b4cba09fd4a7 diff --git a/media-video/ffsubsync/ffsubsync-0.4.19.ebuild b/media-video/ffsubsync/ffsubsync-0.4.19.ebuild new file mode 100644 index 000000000..ec84e2212 --- /dev/null +++ b/media-video/ffsubsync/ffsubsync-0.4.19.ebuild @@ -0,0 +1,40 @@ +# 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}] +" + +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 +} diff --git a/media-video/ffsubsync/files/ffsubsync-0.4.19-remove-future_annotations.patch b/media-video/ffsubsync/files/ffsubsync-0.4.19-remove-future_annotations.patch new file mode 100644 index 000000000..c8e743adc --- /dev/null +++ b/media-video/ffsubsync/files/ffsubsync-0.4.19-remove-future_annotations.patch @@ -0,0 +1,176 @@ +Removes the dependency from future-annotations, since the ebuild does +not support