thefuck: update to 3.31.

This commit is contained in:
Arda Demir 2021-08-10 10:34:01 +03:00 committed by Érico Nogueira Rolim
parent 9d0adc917a
commit 006113827a

View file

@ -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 <orphan@voidlinux.org>"
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() {