Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
pyright
Commits:
55447ed0 by Daniel M. Capella at 2023-11-01T01:44:44-04:00
upgpkg: 1.1.334-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = pyright
pkgdesc = Type checker for the Python language
- pkgver = 1.1.333
+ pkgver = 1.1.334
pkgrel = 1
url = https://microsoft.github.io/pyright
arch = any
@@ -8,7 +8,7 @@ pkgbase = pyright
makedepends = git
makedepends = npm
depends = nodejs
- source = git+https://github.com/microsoft/pyright.git#tag=1.1.333
+ source = git+https://github.com/microsoft/pyright.git#tag=1.1.334
b2sums = SKIP
pkgname = pyright
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
# Contributor: Kaizhao Zhang <[email protected]>
pkgname=pyright
-pkgver=1.1.333
+pkgver=1.1.334
pkgrel=1
pkgdesc='Type checker for the Python language'
arch=('any')
@@ -29,16 +29,15 @@ check() {
}
package() {
- local _npmdir=/usr/lib/node_modules/$pkgname
- install -d "$pkgdir"/{usr/bin,$_npmdir}
- ln -s $_npmdir/index.js "$pkgdir"/usr/bin/$pkgname
- ln -s $_npmdir/langserver.index.js \
- "$pkgdir"/usr/bin/$pkgname-langserver
+ local mod_dir=/usr/lib/node_modules/$pkgname
+ install -d "$pkgdir"/{usr/bin,$mod_dir}
+ ln -s $mod_dir/index.js "$pkgdir"/usr/bin/$pkgname
+ ln -s $mod_dir/langserver.index.js "$pkgdir"/usr/bin/$pkgname-langserver
cd $pkgname
install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
cd packages/$pkgname
- cp -r dist {,langserver.}index.js "$pkgdir"/$_npmdir
+ cp -r dist {,langserver.}index.js "$pkgdir"/$mod_dir
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pyright/-/commit/55447ed0a82f24d121e0547e118e22fcacd57bf1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/pyright/-/commit/55447ed0a82f24d121e0547e118e22fcacd57bf1
You're receiving this email because of your account on gitlab.archlinux.org.