[arch-commits] Commit in python-language-server/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Wed Sep 19 14:07:45 UTC 2018


    Date: Wednesday, September 19, 2018 @ 14:07:44
  Author: foxboron
Revision: 383410

upgpkg: python-language-server 0.21.2-2

Modified:
  python-language-server/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-19 14:02:23 UTC (rev 383409)
+++ PKGBUILD	2018-09-19 14:07:44 UTC (rev 383410)
@@ -4,7 +4,7 @@
 pkgbase=python-language-server
 pkgname=(python-language-server python2-language-server)
 pkgver=0.21.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"
@@ -41,7 +41,7 @@
 }
 
 package_python-language-server() {
-    depends=("python" "python-json-rpc" "python-future" "python-jedi" "python-pluggy")
+    depends=("python" "python-jsonrpc-server" "python-future" "python-jedi" "python-pluggy")
     optdepends=(
 	"python-mccabe: for complexity checking"
         "python-rope: for completions and renaming"
@@ -52,10 +52,11 @@
 	"python-pydocstyle: for docstring style checking")
     cd "${pkgbase}-${pkgver}"
     python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 
 package_python2-language-server() {
-    depends=("python2" "python2-json-rpc" "python2-future" "python2-jedi" "python2-pluggy")
+    depends=("python2" "python2-jsonrpc-server" "python2-future" "python2-jedi" "python2-pluggy")
     optdepends=(
 	"python2-mccabe: for complexity checking"
         "python2-rope: for completions and renaming"
@@ -67,4 +68,5 @@
     cd "${pkgbase}-${pkgver}-py2"
     python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
     mv "$pkgdir/usr/bin/pyls" "$pkgdir/usr/bin/pyls2"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list