Date: Friday, August 27, 2021 @ 15:39:16 Author: jelle Revision: 1007377
archrelease: copy trunk to community-any Added: python-lsp-jsonrpc/repos/community-any/ python-lsp-jsonrpc/repos/community-any/PKGBUILD (from rev 1007376, python-lsp-jsonrpc/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: python-lsp-jsonrpc/repos/community-any/PKGBUILD (from rev 1007376, python-lsp-jsonrpc/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2021-08-27 15:39:16 UTC (rev 1007377) @@ -0,0 +1,25 @@ +# Maintainer: Jelle van der Waa <je...@vdwaa.nl> +# Contributor: Platon Pronko <platon7pro...@gmail.com> + +pkgname=python-lsp-jsonrpc +pkgver=1.0.0 +pkgrel=1 +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" +}