summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122016-07-05 09:43:58 +0200
committerwillemw122016-07-05 09:43:58 +0200
commit0f265aefee9ff4ce5cfa918ff5d42a48197b6a86 (patch)
tree4e63210f51d149fce6ff75896dc27416a3741415
parente9394e5b344a42b753061a1bb21bf5e71293d6f6 (diff)
downloadaur-0f265aefee9ff4ce5cfa918ff5d42a48197b6a86.tar.gz
Rename "pep8" to "pycodestyle" patch
-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
}