summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1007b3b00a7..8f9139610d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,13 @@ pkgver() {
}
prepare() {
+ sed -i 's|"pep8"|"pycodestyle"|g' $_pkgname2/spyderlib/utils/codeanalysis.py
+ sed -i "s|'pep8'|'pycodestyle'|g" $_pkgname2/create_app.py \
+ $_pkgname2/setup.py \
+ $_pkgname2/spyderlib/plugins/editor.py \
+ $_pkgname2/spyderlib/utils/codeanalysis.py \
+ $_pkgname2/spyderlib/widgets/editor.py
+
rm -rf $_pkgname3
cp -a $_pkgname2 $_pkgname3
}