[arch-commits] Commit in python-language-server/repos/community-any (4 files)

Morten Linderud foxboron at archlinux.org
Wed Dec 2 18:18:27 UTC 2020


    Date: Wednesday, December 2, 2020 @ 18:18:27
  Author: foxboron
Revision: 769240

archrelease: copy trunk to community-any

Added:
  python-language-server/repos/community-any/PKGBUILD
    (from rev 769239, python-language-server/trunk/PKGBUILD)
  python-language-server/repos/community-any/fix-test.patch
    (from rev 769239, python-language-server/trunk/fix-test.patch)
Deleted:
  python-language-server/repos/community-any/PKGBUILD
  python-language-server/repos/community-any/fix-test.patch

----------------+
 PKGBUILD       |  108 +++++++++++++++++++++++++++----------------------------
 fix-test.patch |   24 ++++++------
 2 files changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-02 18:18:18 UTC (rev 769239)
+++ PKGBUILD	2020-12-02 18:18:27 UTC (rev 769240)
@@ -1,54 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: fenuks
-
-pkgname=python-language-server
-pkgver=0.36.0
-pkgrel=3
-pkgdesc="An implementation of the Language Server Protocol for Python"
-arch=("any")
-url="https://github.com/palantir/python-language-server"
-license=("MIT")
-depends=("python" "python-setuptools" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy" "python-ujson")
-optdepends=("python-mccabe: for complexity checking"
-            "python-rope: for completions and renaming"
-            "python-pyflakes: for linter to detect various errors"
-            "flake8: for code linting"
-            "python-pycodestyle: for style checking"
-            "python-pylint: for code linting"
-            "autopep8: for code formatting"
-            "yapf: for code formatting (preferred over autopep8)"
-            "python-pydocstyle: for docstring style checking")
-checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  "python-pyflakes" "flake8"
-              "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle"
-              "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")
-sha256sums=('a0fab3c37e3f61e4ee0a721418bf753b66b188a163b3ec04df7efac35599411b'
-            '75bee7f9e288bf72e116c8a8f10d32758a800409a91266c7cd15888c6c254bdf')
-
-
-prepare() {
-    cd "${pkgname}-${pkgver}"
-    patch -Np1 < "$srcdir/fix-test.patch"
-}
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    export PYTHONHASHSEED=0
-    python setup.py build
-}
-
-check() {
-    cd "${pkgname}-${pkgver}"
-    py.test -k 'not test_pyqt_completion'
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=4 sw=4 et:

Copied: python-language-server/repos/community-any/PKGBUILD (from rev 769239, python-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-02 18:18:27 UTC (rev 769240)
@@ -0,0 +1,54 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: fenuks
+
+pkgname=python-language-server
+pkgver=0.36.1
+pkgrel=1
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server"
+license=("MIT")
+depends=("python" "python-setuptools" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy" "python-ujson")
+optdepends=("python-mccabe: for complexity checking"
+            "python-rope: for completions and renaming"
+            "python-pyflakes: for linter to detect various errors"
+            "flake8: for code linting"
+            "python-pycodestyle: for style checking"
+            "python-pylint: for code linting"
+            "autopep8: for code formatting"
+            "yapf: for code formatting (preferred over autopep8)"
+            "python-pydocstyle: for docstring style checking")
+checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  "python-pyflakes" "flake8"
+              "python-mock" "python-jedi" "python-future" "yapf" "python-mccabe" "python-pycodestyle"
+              "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")
+sha256sums=('c85d718ef6860319ad59fd6f2acb1166e9349b782ee8e8908e08ecf241615f52'
+            '75bee7f9e288bf72e116c8a8f10d32758a800409a91266c7cd15888c6c254bdf')
+
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 < "$srcdir/fix-test.patch"
+}
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    export PYTHONHASHSEED=0
+    python setup.py build
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    py.test -k 'not test_pyqt_completion'
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=4 sw=4 et:

Deleted: fix-test.patch
===================================================================
--- fix-test.patch	2020-12-02 18:18:18 UTC (rev 769239)
+++ fix-test.patch	2020-12-02 18:18:27 UTC (rev 769240)
@@ -1,12 +0,0 @@
-diff --git a/test/plugins/test_folding.py b/test/plugins/test_folding.py
-index 05f0cdd..06e644f 100644
---- a/test/plugins/test_folding.py
-+++ b/test/plugins/test_folding.py
-@@ -118,6 +118,7 @@ def test_folding(workspace):
-                 {'startLine': 2, 'endLine': 3},
-                 {'startLine': 5, 'endLine': 6},
-                 {'startLine': 8, 'endLine': 11},
-+                {'startLine': 9, 'endLine': 10},
-                 {'startLine': 12, 'endLine': 20},
-                 {'startLine': 13, 'endLine': 14},
-                 {'startLine': 15, 'endLine': 16},

Copied: python-language-server/repos/community-any/fix-test.patch (from rev 769239, python-language-server/trunk/fix-test.patch)
===================================================================
--- fix-test.patch	                        (rev 0)
+++ fix-test.patch	2020-12-02 18:18:27 UTC (rev 769240)
@@ -0,0 +1,12 @@
+diff --git a/test/plugins/test_folding.py b/test/plugins/test_folding.py
+index 05f0cdd..06e644f 100644
+--- a/test/plugins/test_folding.py
++++ b/test/plugins/test_folding.py
+@@ -118,6 +118,7 @@ def test_folding(workspace):
+                 {'startLine': 2, 'endLine': 3},
+                 {'startLine': 5, 'endLine': 6},
+                 {'startLine': 8, 'endLine': 11},
++                {'startLine': 9, 'endLine': 10},
+                 {'startLine': 12, 'endLine': 20},
+                 {'startLine': 13, 'endLine': 14},
+                 {'startLine': 15, 'endLine': 16},



More information about the arch-commits mailing list