Date: Friday, November 6, 2020 @ 21:38:09
  Author: polyzen
Revision: 744618

archrelease: copy trunk to community-any

Added:
  python-pygls/repos/community-any/
  python-pygls/repos/community-any/PKGBUILD
    (from rev 744617, python-pygls/trunk/PKGBUILD)

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

Copied: python-pygls/repos/community-any/PKGBUILD (from rev 744617, 
python-pygls/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2020-11-06 21:38:09 UTC (rev 744618)
@@ -0,0 +1,30 @@
+# Maintainer: Otreblan <[email protected]>
+
+_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
+}

Reply via email to