diff --git a/testing/thefuck/APKBUILD b/testing/thefuck/APKBUILD index 0e9719445942e509ed896a554f66e49f189f9fd5..b50af86895b84679d5bc260a2ca653f6cae8c259 100644 --- a/testing/thefuck/APKBUILD +++ b/testing/thefuck/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Simon Frankenberger <simon-alpine@fraho.eu> # Maintainer: Simon Frankenberger <simon-alpine@fraho.eu> pkgname=thefuck -pkgver=3.31 -pkgrel=1 +pkgver=3.32 +pkgrel=0 pkgdesc="The Fuck is a magnificent app that corrects errors in previous console commands." url="https://github.com/nvbn/thefuck" arch="noarch" @@ -10,7 +10,6 @@ license="MIT" depends="py3-colorama py3-six py3-decorator py3-psutil py3-pyte" makedepends="py3-setuptools" source="thefuck-$pkgver.tar.gz::https://github.com/nvbn/thefuck/archive/$pkgver.tar.gz -ash.patch " check() { @@ -27,6 +26,5 @@ package() { sha512sums=" -6ba3546e44311fc5c91513e87eb3de3636369fa5c7aff7b78e24f65f3c7bee5a5ee1405e442558cfb0b2b643d21705ce28943afc3fdac717e038cd980c87966d thefuck-3.31.tar.gz -648186326bd3a21180b3dade99f7015518319a44ae51a5b55667595b868ed342d7e337ea4a12889a40381f75dc6d1005b9e55cf6b0a6e472d019720835cf7836 ash.patch +961b9b6dc374cc0b854698455f688cf110adb21cfebd4cb645eb5f1ce11c14de6699bb4d40de86a5f9461273cbfc2eea318a9d437f803dc578dd431966cf26c1 thefuck-3.32.tar.gz " diff --git a/testing/thefuck/ash.patch b/testing/thefuck/ash.patch deleted file mode 100644 index fdcb4c5ee44f158b152a991e0db10e70b1e90da6..0000000000000000000000000000000000000000 --- a/testing/thefuck/ash.patch +++ /dev/null @@ -1,15 +0,0 @@ -This patch replaces the default call to "fc" (which is a builtin -function in many shells) to a sed command to work on the alpine -default shell (ash). - ---- old/thefuck/shells/generic.py -+++ new/thefuck/shells/generic.py -@@ -37,7 +37,7 @@ - - def app_alias(self, alias_name): - return """alias {0}='eval "$(TF_ALIAS={0} PYTHONIOENCODING=utf-8 """ \ -- """thefuck "$(fc -ln -1)")"'""".format(alias_name) -+ """thefuck "$(sed -n '\"'x;\\$p'\"' $HISTFILE)")"'""".format(alias_name) - - def instant_mode_alias(self, alias_name): - warn("Instant mode not supported by your shell")