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

Morten Linderud foxboron at archlinux.org
Tue Jun 5 10:52:07 UTC 2018


    Date: Tuesday, June 5, 2018 @ 10:52:06
  Author: foxboron
Revision: 340508

upgpkg: python-language-server 0.19.0-1

Updated to 0.19.0

Modified:
  python-language-server/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-05 10:48:57 UTC (rev 340507)
+++ PKGBUILD	2018-06-05 10:52:06 UTC (rev 340508)
@@ -3,8 +3,8 @@
 
 pkgbase=python-language-server
 pkgname=(python-language-server python2-language-server)
-pkgver=0.18.0
-pkgrel=2
+pkgver=0.19.0
+pkgrel=1
 pkgdesc="An implementation of the Language Server Protocol for Python"
 arch=("any")
 url="https://github.com/palantir/python-language-server"
@@ -18,7 +18,7 @@
 	      "python2-autopep8" "python2-rope" "python2-mccabe" "python2-pydocstyle"
 	      "python2-mock" "python2-jedi" "python2-future" "python2-futures" "python2-yapf" "python2-pycodestyle" "python2-autopep8")
 source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('c7b6febf9e853f2a68903f8f7835b789072b09ebc48d71d24d75f951ddec11f9')
+sha256sums=('5bd07b4c6224622517862dfe704d2015ccfa53fe091e13a40421687dc24a8acc')
 
 prepare() {
   cp -r "$pkgname-$pkgver"{,-py2}
@@ -34,11 +34,10 @@
 
 check() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    python setup.py pytest
+    py.test
 
-    # TODO: tests on python2 does not work currently
     cd "${srcdir}/${pkgname}-${pkgver}-py2"
-    #python2 setup.py pytest
+    py.test2
 }
 
 package_python-language-server() {



More information about the arch-commits mailing list