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

Morten Linderud foxboron at archlinux.org
Mon Jul 13 19:03:06 UTC 2020


    Date: Monday, July 13, 2020 @ 19:03:06
  Author: foxboron
Revision: 663526

archrelease: copy trunk to community-any

Added:
  python-language-server/repos/community-any/PKGBUILD
    (from rev 663525, python-language-server/trunk/PKGBUILD)
Deleted:
  python-language-server/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-13 19:02:59 UTC (rev 663525)
+++ PKGBUILD	2020-07-13 19:03:06 UTC (rev 663526)
@@ -1,51 +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.34.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")
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('b96ff466b5aa24e212493de863899298f229a9e250e7353972563c7f2495d23d')
-
-
-prepare(){
-    cd "${pkgname}-${pkgver}"
-    sed -i "s/ujson.*/ujson'/" setup.py
-}
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    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 663525, python-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-13 19:03:06 UTC (rev 663526)
@@ -0,0 +1,52 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: fenuks
+
+pkgname=python-language-server
+pkgver=0.34.1
+pkgrel=2
+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")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('b96ff466b5aa24e212493de863899298f229a9e250e7353972563c7f2495d23d')
+
+
+prepare(){
+    cd "${pkgname}-${pkgver}"
+    sed -i "s/ujson.*/ujson'/" setup.py
+}
+
+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:



More information about the arch-commits mailing list