[arch-commits] Commit in python-lsp-server/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Mon Oct 18 13:30:50 UTC 2021


    Date: Monday, October 18, 2021 @ 13:30:49
  Author: archange
Revision: 1030837

Allow incoming flake8, blocked for pip reasons

Modified:
  python-lsp-server/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-18 13:14:50 UTC (rev 1030836)
+++ PKGBUILD	2021-10-18 13:30:49 UTC (rev 1030837)
@@ -4,7 +4,7 @@
 
 pkgname=python-lsp-server
 pkgver=1.2.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community"
 arch=(any)
 url="https://github.com/python-lsp/python-lsp-server"
@@ -35,6 +35,8 @@
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p1 < ../${pkgname}-fix-pylint-2.10.patch
+  sed 's|flake8>=3.8.0,<4.0.0|flake8>=3.8.0|g' -i setup.py
+  sed 's|pyflakes>=2.3.0,<2.4.0|pyflakes>=2.3.0|g' -i setup.py
 }
 
 build() {
@@ -45,7 +47,7 @@
 check() {
   cd ${pkgname}-${pkgver}
   sed -i '/addopts =$/,$d' setup.cfg
-  pytest -v --color=yes test
+  pytest -v --color=yes
 }
 
 package() {



More information about the arch-commits mailing list