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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 21:38:33 UTC 2021


    Date: Thursday, December 2, 2021 @ 21:38:33
  Author: felixonmars
Revision: 1062645

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 21:38:33 UTC (rev 1062644)
+++ PKGBUILD	2021-12-02 21:38:33 UTC (rev 1062645)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Otreblan <otreblain at gmail.com>
-
-_name=pygls
-pkgname=python-pygls
-pkgver=0.11.2
-pkgrel=2
-pkgdesc='Pythonic generic implementation of the Language Server Protocol'
-arch=('any')
-url=https://github.com/openlawlibrary/pygls
-license=('APACHE')
-depends=('python-pydantic' 'python-typeguard')
-makedepends=('python-build' 'python-install' 'python-setuptools-scm'
-             'python-toml' 'python-wheel')
-checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('1ade26fc9cf0d7c0700fa5430e8dc8411b1108d1eb21565adbe480b64f721a84')
-b2sums=('3c26a4067c9f55eec9d151eee4dd90ff7c18084ab89999b70c944fdf5b6f1222938db1743524f433eb152d75a4446b024cff85f1d16924938727808844091271')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pygls/repos/community-staging-any/PKGBUILD (from rev 1062642, python-pygls/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 21:38:33 UTC (rev 1062645)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Otreblan <otreblain at gmail.com>
+
+_name=pygls
+pkgname=python-pygls
+pkgver=0.11.2
+pkgrel=3
+pkgdesc='Pythonic generic implementation of the Language Server Protocol'
+arch=('any')
+url=https://github.com/openlawlibrary/pygls
+license=('APACHE')
+depends=('python-pydantic' 'python-typeguard')
+makedepends=('python-build' 'python-install' 'python-setuptools-scm'
+             'python-toml' 'python-wheel')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('1ade26fc9cf0d7c0700fa5430e8dc8411b1108d1eb21565adbe480b64f721a84')
+b2sums=('3c26a4067c9f55eec9d151eee4dd90ff7c18084ab89999b70c944fdf5b6f1222938db1743524f433eb152d75a4446b024cff85f1d16924938727808844091271')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list