Date: Saturday, December 17, 2022 @ 00:55:57
Author: polyzen
Revision: 1359705
archrelease: copy trunk to community-any
Added:
python-pygls/repos/community-any/PKGBUILD
(from rev 1359704, python-pygls/trunk/PKGBUILD)
Deleted:
python-pygls/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-17 00:55:37 UTC (rev 1359704)
+++ PKGBUILD 2022-12-17 00:55:57 UTC (rev 1359705)
@@ -1,40 +0,0 @@
-# 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
-}
Copied: python-pygls/repos/community-any/PKGBUILD (from rev 1359704,
python-pygls/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-17 00:55:57 UTC (rev 1359705)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Otreblan <[email protected]>
+
+_name=pygls
+pkgname=python-pygls
+pkgver=0.13.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=('b2d3f5cbf3d0e5dfa88b9150a371e3a0e619d7f25b77113aba4ca746c8385a66')
+b2sums=('3c2f71a35bce4064bb514ae69ceb38002d924ffaae88f4896c9de177038f80749937372ae479999b3de059d90fc5f9ab16a27d4d44051ade3ae8185a5df91782')
+
+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
+}