Date: Saturday, March 11, 2023 @ 06:12:50
Author: polyzen
Revision: 1418512
archrelease: copy trunk to community-any
Added:
ruff-lsp/repos/community-any/PKGBUILD
(from rev 1418511, 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-11 06:12:25 UTC (rev 1418511)
+++ PKGBUILD 2023-03-11 06:12:50 UTC (rev 1418512)
@@ -1,37 +0,0 @@
-# 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
-}
Copied: ruff-lsp/repos/community-any/PKGBUILD (from rev 1418511,
ruff-lsp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-11 06:12:50 UTC (rev 1418512)
@@ -0,0 +1,37 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=ruff-lsp
+_name=${pkgname/-/_}
+pkgver=0.0.21
+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=('7232819bf081b8886cdf58648befcfbace6e8985ea5dcad68d55fa7a83f74e31')
+b2sums=('ea57286c0428dc68c908aa5f4ad69a7119f4c883637f3d0294bdb59eec2b32b7190a3e78251c168a722cb3a56df4b1698d0f76e372b4fb3a606533ef3d2f02a4')
+
+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
+}