Date: Wednesday, January 11, 2023 @ 00:32:30
Author: polyzen
Revision: 1382873
archrelease: copy trunk to community-any
Added:
python-pytest-lsp/repos/community-any/PKGBUILD
(from rev 1382872, python-pytest-lsp/trunk/PKGBUILD)
Deleted:
python-pytest-lsp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-11 00:32:12 UTC (rev 1382872)
+++ PKGBUILD 2023-01-11 00:32:30 UTC (rev 1382873)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Jeffrey Zhang <[email protected]>
-
-_name=pytest-lsp
-pkgname=python-pytest-lsp
-pkgver=0.1.3
-pkgrel=1
-pkgdesc='Pytest plugin for end-to-end testing of language servers'
-arch=('any')
-url=https://alcarney.github.io/lsp-devtools
-license=('MIT')
-depends=('python-appdirs' 'python-pygls' 'python-pytest-asyncio')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-source=("https://github.com/alcarney/lsp-devtools/archive/pytest-lsp-v$pkgver/$_name-$pkgver.tar.gz")
-b2sums=('7cc9e864bd722b498f2886587c18c449eade7eee18f06bf11c5ec54f2c4aa3b3d10189bd4e8ba168b78dd26b20e7e98fae8c307dbf113696c1e009c3a4a6f3d7')
-
-build() {
- cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
- python -m venv --system-site-packages test-env
- test-env/bin/python -m installer dist/*.whl
- test-env/bin/python -m pytest
-}
-
-package() {
- cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
- python -m installer --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"/pytest_lsp-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pytest-lsp/repos/community-any/PKGBUILD (from rev 1382872,
python-pytest-lsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-11 00:32:30 UTC (rev 1382873)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Jeffrey Zhang <[email protected]>
+
+_name=pytest-lsp
+pkgname=python-pytest-lsp
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Pytest plugin for end-to-end testing of language servers'
+arch=('any')
+url=https://swyddfa.github.io/lsp-devtools
+license=('MIT')
+depends=('python-appdirs' 'python-pygls' 'python-pytest-asyncio')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://github.com/swyddfa/lsp-devtools/archive/pytest-lsp-v$pkgver/$_name-$pkgver.tar.gz")
+b2sums=('ad85371dd5f778ce380c5a7f23a2e5bd3dab3659b032446afe3ca5456b9f07a5d1005dde9e4e04ffa5bff3db250a2b72675936e7cb20400f1627e5dfa44cd43f')
+
+build() {
+ cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
+ python -m venv --system-site-packages test-env
+ test-env/bin/python -m installer dist/*.whl
+ test-env/bin/python -m pytest
+}
+
+package() {
+ cd lsp-devtools-pytest-lsp-v$pkgver/lib/pytest-lsp
+ python -m installer --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"/pytest_lsp-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}