diff --git PKGBUILD PKGBUILD index b0ce76f..60f2840 100644 --- PKGBUILD +++ PKGBUILD @@ -4,7 +4,7 @@ pkgname=python-lsp-server pkgver=1.7.4 -pkgrel=1 +pkgrel=2 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" @@ -43,13 +43,16 @@ checkdepends=( python-appdirs ) source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz - https://github.com/python-lsp/python-lsp-server/commit/43104e98.patch) + https://github.com/python-lsp/python-lsp-server/commit/43104e98.patch + https://github.com/python-lsp/python-lsp-server/commit/f33a93a.patch) sha256sums=('c84254485a4d9431b24ecefd59741d21c00165611bcf6037bd7d54d0ed06a197' - '74994a6122dba591b7e95727ae3502c2c5864be65cf399d5ba2cf5e1b4e94ca7') + '74994a6122dba591b7e95727ae3502c2c5864be65cf399d5ba2cf5e1b4e94ca7' + '9b98df3ad8ec3750c890ea7cfb47d130fbae2ede0dae6eed41380f022ccc8170') prepare() { cd ${pkgname}-${pkgver} patch -p1 -i ../43104e98.patch # support pyflakes 3.1 + patch -p1 -i ../f33a93a.patch # support jedi 0.19 sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|' -i pyproject.toml sed 's|flake8>=6.1.0,<7|flake8>=6.1.0|' -i pyproject.toml sed 's|mccabe>=0.7.0,<0.8.0|mccabe>=0.7.0|' -i pyproject.toml