Date: Tuesday, November 22, 2022 @ 22:56:21
  Author: arojas
Revision: 1351941

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-22 22:56:11 UTC (rev 1351940)
+++ PKGBUILD    2022-11-22 22:56:21 UTC (rev 1351941)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Otreblan <[email protected]>
-
-_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
-}

Copied: python-pygls/repos/community-any/PKGBUILD (from rev 1351940, 
python-pygls/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-22 22:56:21 UTC (rev 1351941)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Otreblan <[email protected]>
+
+_name=pygls
+pkgname=python-pygls
+pkgver=0.13.0
+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=('d76e44768d75805da26dfbaec187c6251450af4b7b1cc0b7eb3587e6e27e32a4')
+b2sums=('74b357add149d6fc6b3cb75136587c024b82989a5c6bcf88981f6e2f285e9d5b2014212757bb2526010f03278ac89b3d105755b8185eb61302992b309414dd97')
+
+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
+}

Reply via email to