Date: Friday, April 7, 2023 @ 03:54:49
Author: felixonmars
Revision: 1440388
archrelease: copy trunk to community-staging-any
Added:
python-lsp-jsonrpc/repos/community-staging-any/
python-lsp-jsonrpc/repos/community-staging-any/PKGBUILD
(from rev 1440385, python-lsp-jsonrpc/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-lsp-jsonrpc/repos/community-staging-any/PKGBUILD (from rev
1440385, python-lsp-jsonrpc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 03:54:49 UTC (rev 1440388)
@@ -0,0 +1,25 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+# Contributor: Platon Pronko <[email protected]>
+
+pkgname=python-lsp-jsonrpc
+pkgver=1.0.0
+pkgrel=4
+pkgdesc="Fork of the python-jsonrpc-server project, maintained by the Spyder
IDE team and the community"
+arch=("any")
+url="https://github.com/python-lsp/python-lsp-jsonrpc"
+license=(MIT)
+depends=(python-ujson)
+makedepends=(python-setuptools)
+source=($pkgname-$pkgver.targz::https://github.com/python-lsp/python-lsp-jsonrpc/archive/v${pkgver}.tar.gz)
+sha256sums=('058f21fa9e5c49fbb978c3f92c4b0ed84f3a859dc6568632cb69ddec2bcb38c0')
+
+build() {
+ cd "${srcdir}/python-lsp-jsonrpc-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/python-lsp-jsonrpc-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}