makedeb


python3-pygls 0.11.1-1


Pythonic generic implementation of the Language Server Protocol

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for python3-pygls.

# Maintainer: Otreblan <otreblain@gmail.com>
# Contributor: Daniel M. Capella <polyzen@archlinux.org>

_name=pygls
pkgname=python3-pygls
pkgver=0.11.1
pkgrel=1
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
arch=('any')
url=https://github.com/openlawlibrary/pygls
license=('APACHE')
depends=('python3-pydantic' 'python3-typeguard')
makedepends=(
  'python3-setuptools-scm'
  'python3-toml'
  'python3-wheel'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('cb30ccf1eee14760ce1b7167a9d39df9e72368ec7a61accdd6bf0b9c73ea0319')
b2sums=('eba67cbcb7ac46784dc1c70f01e0b35d5ff2ce20fe51a0feb9d4be635576000f97c8b3bfd2bb2b38cf1c88cc9e77a3e998b805b5824ce7c2478c11f4c04af885')

build() {
  cd $_name-$pkgver
  python3 setup.py build
}

package() {
  cd $_name-$pkgver
  python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build --install-layout=deb
}

# vim:set ts=2 sw=2 et: