From 5fd48812cb7362de03641c1906fe7c4e844b9364 Mon Sep 17 00:00:00 2001 From: Sundaram Ramaswamy Date: Tue, 18 Oct 2022 01:27:21 +0530 Subject: [PATCH] Fix pyproject.toml based on upstream fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream commit doesn’t cleanly apply to released tar.gz. Instead apply the fix using sed; there’re already other patches which are applied thus to the same pyproject.toml. --- mingw-w64-manim/PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mingw-w64-manim/PKGBUILD b/mingw-w64-manim/PKGBUILD index f57bd4ac1c..e65af2d303 100644 --- a/mingw-w64-manim/PKGBUILD +++ b/mingw-w64-manim/PKGBUILD @@ -48,19 +48,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" options=(!strip) source=( "${_realname}-${pkgver}.tar.gz"::"https://github.com/ManimCommunity/${_realname}/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz" - https://github.com/ManimCommunity/manim/commit/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch -) -sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886' - '56b4d960f1044a4fab2b1123157fe0fe8549c2aaef1ae3ea016707a1dd4a139bed0e5e7fa0cdaf5f42d071357a1436bacec9b58f2dd303ee3c4601b8cd8afd73' ) +sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886') prepare() { cd "${srcdir}/${_realname}-${pkgver}" - patch -Np1 -i "${srcdir}/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch" - sed -i 's/cloup = "^0.13.0"/cloup = "*"/g' pyproject.toml sed -i 's/mapbox-earcut = "^0.12.10"/mapbox-earcut = "*"/g' pyproject.toml + sed -i 's/click = ">=7.2<=9.0"/click = ">=7.2,<=9.0"/g' pyproject.toml } build() {