From 006113827a96de507811a0abdaf7a1ae21ea5be1 Mon Sep 17 00:00:00 2001 From: Arda Demir Date: Tue, 10 Aug 2021 10:34:01 +0300 Subject: [PATCH] thefuck: update to 3.31. --- srcpkgs/thefuck/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/thefuck/template b/srcpkgs/thefuck/template index 29704030c8..3558008383 100644 --- a/srcpkgs/thefuck/template +++ b/srcpkgs/thefuck/template @@ -1,7 +1,7 @@ # Template file for 'thefuck' pkgname=thefuck -version=3.30 -revision=4 +version=3.31 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-colorama python3-decorator python3-psutil python3-pyte @@ -12,7 +12,7 @@ maintainer="Orphaned " license="MIT" homepage="https://github.com/nvbn/thefuck" distfiles="https://github.com/nvbn/thefuck/archive/${version}.tar.gz" -checksum=dd2e7bc94e9453beabbafc10c4d62c67601ea705250103a67ababcdad2991dd3 +checksum=ac12705b95e22b356f23b20181a34d549267b7b1702523a1f0a22ba7ba3d30df case "$XBPS_TARGET_MACHINE" in # archs where go is available - the test suite uses it @@ -20,12 +20,10 @@ case "$XBPS_TARGET_MACHINE" in *) make_check=no ;; esac -do_check() { +pre_check() { # on python3 mock is unittest.mock sed -i 's|from mock|from unittest.mock|g' tests/**.py sed -i 's|from mock|from unittest.mock|g' tests/**/*.py - - python3 -m pytest } post_install() {