Date: Thursday, January 12, 2023 @ 08:34:49
  Author: polyzen
Revision: 1383057

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-12 08:34:28 UTC (rev 1383056)
+++ PKGBUILD    2023-01-12 08:34:49 UTC (rev 1383057)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-_name=lsprotocol
-pkgname=python-lsprotocol
-pkgver=2022.0.0a9
-pkgrel=1
-pkgdesc='Python implementation of the Language Server Protocol'
-arch=('any')
-url=https://github.com/microsoft/lsprotocol
-license=('MIT')
-depends=('python-cattrs')
-makedepends=('git' 'python-build' 'python-flit-core' 'python-installer')
-checkdepends=('python-jsonschema' 'python-pyhamcrest' 'python-pytest')
-source=("git+$url.git?tag=$pkgver")
-b2sums=('SKIP')
-
-build() {
-  cd $_name
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name
-  pytest tests
-}
-
-package() {
-  cd $_name
-  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"/$_name-$pkgver.dist-info/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-lsprotocol/repos/community-any/PKGBUILD (from rev 1383056, 
python-lsprotocol/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-12 08:34:49 UTC (rev 1383057)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+_name=lsprotocol
+pkgname=python-lsprotocol
+pkgver=2022.0.0a10
+pkgrel=1
+pkgdesc='Python implementation of the Language Server Protocol'
+arch=('any')
+url=https://github.com/microsoft/lsprotocol
+license=('MIT')
+depends=('python-cattrs')
+makedepends=('git' 'python-build' 'python-flit-core' 'python-installer')
+checkdepends=('python-jsonschema' 'python-pyhamcrest' 'python-pytest')
+source=("git+$url.git?tag=$pkgver")
+b2sums=('SKIP')
+
+build() {
+  cd $_name
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name
+  pytest tests
+}
+
+package() {
+  cd $_name
+  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"/$_name-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to