Date: Friday, March 3, 2023 @ 19:10:55
  Author: polyzen
Revision: 1410762

archrelease: copy trunk to community-any

Added:
  ruff-lsp/repos/community-any/PKGBUILD
    (from rev 1410758, ruff-lsp/trunk/PKGBUILD)
Deleted:
  ruff-lsp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-03 19:10:54 UTC (rev 1410761)
+++ PKGBUILD    2023-03-03 19:10:55 UTC (rev 1410762)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=ruff-lsp
-_name=${pkgname/-/_}
-pkgver=0.0.19
-pkgrel=1
-pkgdesc='Language Server Protocol implementation for Ruff'
-arch=('any')
-url=https://github.com/charliermarsh/ruff-lsp
-license=('MIT')
-depends=('python-pygls' 'python-typing_extensions' 'ruff')
-makedepends=('python-build' 'python-hatchling' 'python-installer')
-checkdepends=('python-lsp-jsonrpc')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('4a45ccbb2a6d297137dc17f345e2aec76efd9a802a960903089797cdbe71f321')
-b2sums=('e58b510293560adb63d5aecd395f90c5cacdfed5879371a00e04e8323634708bb517e62cb74367f3e7f7c13a7e4e39c3482ecd726c8663614a38ad1db8d61ab7')
-
-build() {
-  cd "$_name"-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd "$_name"-$pkgver
-  python -m unittest
-}
-
-package() {
-  cd "$_name"-$pkgver
-  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/licenses/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: ruff-lsp/repos/community-any/PKGBUILD (from rev 1410758, 
ruff-lsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-03 19:10:55 UTC (rev 1410762)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=ruff-lsp
+_name=${pkgname/-/_}
+pkgver=0.0.20
+pkgrel=1
+pkgdesc='Language Server Protocol implementation for Ruff'
+arch=('any')
+url=https://github.com/charliermarsh/ruff-lsp
+license=('MIT')
+depends=('python-pygls' 'python-typing_extensions' 'ruff')
+makedepends=('python-build' 'python-hatchling' 'python-installer')
+checkdepends=('python-lsp-jsonrpc')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('5fcaa94ea6597851a5c38bbd9e48deed6289bbb844fe8a326894ae7f2959e281')
+b2sums=('4da95f505a9efccb1c413cae6afd7af44d3d45785c4dfc2e95c6cf71dda1dd4345a54d2473ade4fb8f22f01bdbc78e1a1c63850b3f1af87323ca3a8015c9dfa2')
+
+build() {
+  cd "$_name"-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd "$_name"-$pkgver
+  python -m unittest
+}
+
+package() {
+  cd "$_name"-$pkgver
+  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/licenses/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to