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

Antonio Rojas arojas at gemini.archlinux.org
Wed Aug 31 17:19:00 UTC 2022


    Date: Wednesday, August 31, 2022 @ 17:19:00
  Author: arojas
Revision: 1289183

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-31 17:18:51 UTC (rev 1289182)
+++ PKGBUILD	2022-08-31 17:19:00 UTC (rev 1289183)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Otreblan <otreblain at gmail.com>
-
-_name=pygls
-pkgname=python-pygls
-pkgver=0.11.3
-pkgrel=1
-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-installer' '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=('4d86fc854e6d6613cd42bf7511e9c6aac947fc8d62ff973a705570b036d969f2')
-b2sums=('c98e70822a340ecbde924e9a2f237a32bf1f7710fb6ca76e55b0c7631cfd8b2bc14ebf87fb78fe9db1ea87f600388f620c7fb01c37cb7f14a185d6521df62611')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  rm -r "$pkgdir"/usr/lib/site-packages
-
-  # 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
-}

Copied: python-pygls/repos/community-any/PKGBUILD (from rev 1289182, python-pygls/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-31 17:19:00 UTC (rev 1289183)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Otreblan <otreblain at gmail.com>
+
+_name=pygls
+pkgname=python-pygls
+pkgver=0.12.1
+pkgrel=1
+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-installer' '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=('3b9da223fd6e7624aed047dec2cbb6ab471c1441d5b48369daad012594c11610')
+b2sums=('ccfc747e9b645c5ffafadf7d7b6af25d3f014f3d7cf0888ca896feddca5ea3672af3b33d2aa7042819d4dbef44e1d49230e513ee795a618baa5484e7586c01b5')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  rm -r "$pkgdir"/usr/lib/site-packages
+
+  # 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
+}



More information about the arch-commits mailing list