[arch-commits] Commit in python-language-server/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Thu Mar 11 06:11:19 UTC 2021
Date: Thursday, March 11, 2021 @ 06:11:19
Author: polyzen
Revision: 887415
upgpkg: python-language-server 0.36.2-2: Jedi 0.18.0 rebuild
test_snippet_parsing and test_numpy_hover also fail with 0.17.2.
Modified:
python-language-server/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-11 06:08:43 UTC (rev 887414)
+++ PKGBUILD 2021-03-11 06:11:19 UTC (rev 887415)
@@ -4,7 +4,7 @@
pkgname=python-language-server
pkgver=0.36.2
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of the Language Server Protocol for Python"
arch=("any")
url="https://github.com/palantir/python-language-server"
@@ -24,14 +24,18 @@
"autopep8" "python-rope" "python-pydocstyle" "python-pylint" "python-jsonrpc-server"
"python-numpy" "python-pandas" "python-matplotlib" "python-flaky")
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- "fix-test.patch")
+ "fix-test.patch"
+ 'jedi-018-support.patch::https://github.com/palantir/python-language-server/commit/40afab312a6bf0dcd620c82e59555ea2967aacdf.patch')
sha256sums=('9984c84a67ee2c5102c8e703215f407fcfa5e62b0ae86c9572d0ada8c4b417b0'
- '75bee7f9e288bf72e116c8a8f10d32758a800409a91266c7cd15888c6c254bdf')
+ '75bee7f9e288bf72e116c8a8f10d32758a800409a91266c7cd15888c6c254bdf'
+ '84dc8c69f7bee9d60679141b25c81a849ff0b45e91f435e1aa8ae6dd6db6bb84')
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 < "$srcdir/fix-test.patch"
+ patch -Np1 < "$srcdir/jedi-018-support.patch"
+ sed -i 's/0.18.0/0.19.0/' python_language_server.egg-info/requires.txt
}
build() {
@@ -42,7 +46,7 @@
check() {
cd "${pkgname}-${pkgver}"
- py.test -k 'not test_pyqt_completion'
+ py.test -k 'not test_pyqt_completion and not test_snippet_parsing and not test_numpy_hover'
}
package() {
More information about the arch-commits
mailing list