[arch-commits] Commit in (8 files)

Daniel M. Capella polyzen at archlinux.org
Fri Nov 6 21:37:38 UTC 2020


    Date: Friday, November 6, 2020 @ 21:37:38
  Author: polyzen
Revision: 744617

Add jedi-language-server and python-pygls

Added:
  jedi-language-server/
  jedi-language-server/repos/
  jedi-language-server/trunk/
  jedi-language-server/trunk/PKGBUILD
  python-pygls/
  python-pygls/repos/
  python-pygls/trunk/
  python-pygls/trunk/PKGBUILD

-------------------------------------+
 jedi-language-server/trunk/PKGBUILD |   26 ++++++++++++++++++++++++++
 python-pygls/trunk/PKGBUILD         |   30 ++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Added: jedi-language-server/trunk/PKGBUILD
===================================================================
--- jedi-language-server/trunk/PKGBUILD	                        (rev 0)
+++ jedi-language-server/trunk/PKGBUILD	2020-11-06 21:37:38 UTC (rev 744617)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=jedi-language-server
+pkgver=0.21.0
+pkgrel=2
+pkgdesc='Language server for Jedi'
+arch=('any')
+url=https://github.com/pappasam/jedi-language-server
+license=('MIT')
+depends=('python-click' 'python-jedi' 'python-pygls')
+makedepends=('python-pip' 'python-poetry')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('bb9d5e5c0aadf69cc441263685c83c12e67b6ed6f546dbd92dbed417123d8a47')
+b2sums=('73d3b3fecca4d7df7eb9dafd0bc9618844754c3ba8cbeeb402bab6e342f223ee4de49593dc27e3c1c1bd0a329f49f54e2c17bd5a98750c4f756cba9bca074a3f')
+
+build() {
+  cd $pkgname-$pkgver
+  poetry build --format wheel
+}
+
+package() {
+  cd $pkgname-$pkgver
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
+}
+
+# vim:set ts=2 sw=2 et:

Added: python-pygls/trunk/PKGBUILD
===================================================================
--- python-pygls/trunk/PKGBUILD	                        (rev 0)
+++ python-pygls/trunk/PKGBUILD	2020-11-06 21:37:38 UTC (rev 744617)
@@ -0,0 +1,30 @@
+# Maintainer: Otreblan <otreblain at gmail.com>
+
+_name=pygls
+pkgname=python-pygls
+pkgver=0.9.1
+pkgrel=2
+pkgdesc='Pythonic generic implementation of the Language Server Protocol'
+arch=('any')
+url=https://github.com/openlawlibrary/pygls
+license=('APACHE')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
+source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
+b2sums=('f723ce70d1d080c52266b9449c589b9aabf04c748793a67d775436fa326fbdd6fd63876061fb5bdad95434c832e4ee351e36483b2a8406ad7b4dd9bdc9a1c2d2')
+
+build() {
+  cd $_name-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list