[arch-commits] Commit in python-pygls/repos (community-any community-any/PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Fri Nov 6 21:38:10 UTC 2020


    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 <otreblain at gmail.com>
+
+_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
+}



More information about the arch-commits mailing list