[arch-commits] Commit in python-pygls/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jul 2 19:08:16 UTC 2022


    Date: Saturday, July 2, 2022 @ 19:08:16
  Author: arojas
Revision: 1243652

Update to 0.11.3

Modified:
  python-pygls/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-02 19:03:04 UTC (rev 1243651)
+++ PKGBUILD	2022-07-02 19:08:16 UTC (rev 1243652)
@@ -3,8 +3,8 @@
 
 _name=pygls
 pkgname=python-pygls
-pkgver=0.11.2
-pkgrel=3
+pkgver=0.11.3
+pkgrel=1
 pkgdesc='Pythonic generic implementation of the Language Server Protocol'
 arch=('any')
 url=https://github.com/openlawlibrary/pygls
@@ -14,8 +14,8 @@
              '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')
+sha256sums=('4d86fc854e6d6613cd42bf7511e9c6aac947fc8d62ff973a705570b036d969f2')
+b2sums=('c98e70822a340ecbde924e9a2f237a32bf1f7710fb6ca76e55b0c7631cfd8b2bc14ebf87fb78fe9db1ea87f600388f620c7fb01c37cb7f14a185d6521df62611')
 
 build() {
   cd $_name-$pkgver
@@ -30,6 +30,7 @@
 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])")
@@ -37,5 +38,3 @@
   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