From bdc651f9f8425f33c8249a83b3d76929e404cf94 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Mon, 4 Oct 2021 16:05:31 +0200 Subject: [PATCH] media-video/ffsubsync: bump to 0.4.18 The patch removes the dependency from future-annotations, since those features are available in the __future__ module since python 3.7 Closes: https://bugs.gentoo.org/805260 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto --- media-video/ffsubsync/Manifest | 2 +- ...-0.4.11.ebuild => ffsubsync-0.4.18.ebuild} | 4 + ...ync-0.4.18-remove-future_annotations.patch | 176 ++++++++++++++++++ 3 files changed, 181 insertions(+), 1 deletion(-) rename media-video/ffsubsync/{ffsubsync-0.4.11.ebuild => ffsubsync-0.4.18.ebuild} (93%) create mode 100644 media-video/ffsubsync/files/ffsubsync-0.4.18-remove-future_annotations.patch diff --git a/media-video/ffsubsync/Manifest b/media-video/ffsubsync/Manifest index 2a956b3594..c439335e71 100644 --- a/media-video/ffsubsync/Manifest +++ b/media-video/ffsubsync/Manifest @@ -1 +1 @@ -DIST ffsubsync-0.4.11.tar.gz 3818585 BLAKE2B 2f17da90306b4060553508b445c59eff4d73dfebf57754924a0836d791054a41e5f84e34813d85ea528136d8d1c64e71dd41e843b752015b9de6fac1edb38689 SHA512 decb4ff110c723228271961692bb12eac12c0e8c7b574d23d22fe760f0bcee3ad44811ce8ef8a7ee03a68ae9d15721ede363e6b0389ff44d48f521b045489ccb +DIST ffsubsync-0.4.18.tar.gz 3821259 BLAKE2B 79c1d7ed1316b1c91f23de442988c0234c89f3f51a605f3982aa32c880f2bb33f0bd280906d3b2ea3c3f9de4b1453b0c053b16cd382ee55ea24f692f81b6cd04 SHA512 be3243b8a24c163509f519105e509a26e8fac76ba2305b07c413ade1c645043bc90f9d0c862f346d911e5897bc1b97f5c34d9c210146df0aab24345b0541204b diff --git a/media-video/ffsubsync/ffsubsync-0.4.11.ebuild b/media-video/ffsubsync/ffsubsync-0.4.18.ebuild similarity index 93% rename from media-video/ffsubsync/ffsubsync-0.4.11.ebuild rename to media-video/ffsubsync/ffsubsync-0.4.18.ebuild index 84410fb6e4..789c74400e 100644 --- a/media-video/ffsubsync/ffsubsync-0.4.11.ebuild +++ b/media-video/ffsubsync/ffsubsync-0.4.18.ebuild @@ -28,6 +28,10 @@ RDEPEND=" dev-python/webrtcvad[${PYTHON_USEDEP}] " +PATCHES=( + "${FILESDIR}"/"${P}"-remove-future_annotations.patch +) + distutils_enable_tests pytest python_prepare_all() { diff --git a/media-video/ffsubsync/files/ffsubsync-0.4.18-remove-future_annotations.patch b/media-video/ffsubsync/files/ffsubsync-0.4.18-remove-future_annotations.patch new file mode 100644 index 0000000000..c8e743adc2 --- /dev/null +++ b/media-video/ffsubsync/files/ffsubsync-0.4.18-remove-future_annotations.patch @@ -0,0 +1,176 @@ +Removes the dependency from future-annotations, since the ebuild does +not support