[arch-commits] Commit in python-lsp-server/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Dec 5 15:25:32 UTC 2021
Date: Sunday, December 5, 2021 @ 15:25:32
Author: archange
Revision: 1065167
Python 3.10 rebuild
Modified:
python-lsp-server/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-05 15:23:43 UTC (rev 1065166)
+++ PKGBUILD 2021-12-05 15:25:32 UTC (rev 1065167)
@@ -4,7 +4,7 @@
pkgname=python-lsp-server
pkgver=1.3.2
-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"
@@ -27,8 +27,10 @@
flake8
yapf
)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('c768f5714880b38111516339384bbb0f7328cd1c50090038c915210f3f6b01cb')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}-fix-py3.10.patch::${url}/pull/133.patch)
+sha256sums=('c768f5714880b38111516339384bbb0f7328cd1c50090038c915210f3f6b01cb'
+ '2faa399a1dc34f6956d6d0196cecf5ece53cbff5ec2f2cc8bea8400997f9957e')
prepare() {
cd ${pkgname}-${pkgver}
@@ -37,6 +39,7 @@
sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.py
sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.py
sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.py
+ patch -p1 < ../${pkgname}-fix-py3.10.patch
}
build() {
More information about the arch-commits
mailing list