[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Aug 27 16:44:47 UTC 2021


    Date: Friday, August 27, 2021 @ 16:44:47
  Author: jelle
Revision: 1007378

initial commit

Added:
  python-lsp-server/
  python-lsp-server/repos/
  python-lsp-server/trunk/
  python-lsp-server/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Added: python-lsp-server/trunk/PKGBUILD
===================================================================
--- python-lsp-server/trunk/PKGBUILD	                        (rev 0)
+++ python-lsp-server/trunk/PKGBUILD	2021-08-27 16:44:47 UTC (rev 1007378)
@@ -0,0 +1,26 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Platon Pronko <platon7pronko at gmail.com>
+
+pkgname=python-lsp-server
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community"
+arch=(any)
+url="https://github.com/python-lsp/python-lsp-server"
+license=(MIT)
+depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson)
+makedepends=(python-setuptools)
+
+source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz)
+sha256sums=('5408cffb405bef5e74d5a9de4ba6f1f45e5ab1c5d67755824a0beb31dfb489a3')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --root=${pkgdir} --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list