Date: Friday, May 12, 2023 @ 20:29:36
Author: polyzen
Revision: 1460123
archrelease: copy trunk to community-any
Added:
ruff-lsp/repos/community-any/PKGBUILD
(from rev 1460122, ruff-lsp/trunk/PKGBUILD)
Deleted:
ruff-lsp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-12 20:29:15 UTC (rev 1460122)
+++ PKGBUILD 2023-05-12 20:29:36 UTC (rev 1460123)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=ruff-lsp
-_name=${pkgname/-/_}
-pkgver=0.0.25
-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=('ab9a2025b8630dea9dce1d9ee4b989ed682dc3b557116468752eb6f484589ba4')
-b2sums=('4fce21261c9a83dbd5fc18d64f27c30668d0edf31d7c13fcbb13017136e8b00d600a58dff311f2883eee9e009128e690a40349a318b17df099c33d364702cc94')
-
-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 1460122,
ruff-lsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-12 20:29:36 UTC (rev 1460123)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=ruff-lsp
+_name=${pkgname/-/_}
+pkgver=0.0.27
+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=('329e4f5fced415400397f20dc59a6d4ec1d407136969246a76c3e044d9cb09a4')
+b2sums=('14beebc9c2c7d823bb363d53b87fd2652e2daf83102f27f24a29d355bfaf7194e17f4895e04aade581aa2c89303f3c3d3fbd65c26c745c2da32e96c8cab9b682')
+
+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
+}