[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Nov 13 06:30:19 UTC 2021


    Date: Saturday, November 13, 2021 @ 06:30:19
  Author: polyzen
Revision: 1044887

archrelease: copy trunk to community-any

Added:
  pyright/repos/community-any/PKGBUILD
    (from rev 1044886, pyright/trunk/PKGBUILD)
Deleted:
  pyright/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-13 06:30:01 UTC (rev 1044886)
+++ PKGBUILD	2021-11-13 06:30:19 UTC (rev 1044887)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.186
-pkgrel=1
-pkgdesc='Type checker for the Python language'
-arch=('any')
-url=https://github.com/microsoft/pyright
-license=('MIT')
-depends=('nodejs>=12')
-makedepends=('npm')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('ef3bde29a80064009842996a73cc3d49a01162f202893e2e898e18d17554490cc1966398f5d5c8ba89eace02bdc8764986d1ebc788af3543e91b75c1519f942f')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm ci
-}
-
-build() {
-  cd $pkgname-$pkgver/packages/$pkgname
-  npm run build
-}
-
-package() {
-  install -d "$pkgdir"/usr/bin
-  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
-  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
-    "$pkgdir"/usr/bin/$pkgname-langserver
-
-  cd $pkgname-$pkgver
-  install -d "$pkgdir"/usr/share/doc/$pkgname
-  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
-  cd packages/$pkgname
-  install -d "$pkgdir"/usr/lib/node_modules/$pkgname
-  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pyright/repos/community-any/PKGBUILD (from rev 1044886, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-13 06:30:19 UTC (rev 1044887)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.187
+pkgrel=1
+pkgdesc='Type checker for the Python language'
+arch=('any')
+url=https://github.com/microsoft/pyright
+license=('MIT')
+depends=('nodejs>=12')
+makedepends=('npm')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('a8e6f6270eca41d353a4d2bd954990d2311730fc9879625ce7736c23c98b3aaf87d6be9f530fb02201f5026207a911a586d36f54ed7aca1aac478a1ce462ab9b')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm ci
+}
+
+build() {
+  cd $pkgname-$pkgver/packages/$pkgname
+  npm run build
+}
+
+package() {
+  install -d "$pkgdir"/usr/bin
+  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
+  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
+    "$pkgdir"/usr/bin/$pkgname-langserver
+
+  cd $pkgname-$pkgver
+  install -d "$pkgdir"/usr/share/doc/$pkgname
+  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+  cd packages/$pkgname
+  install -d "$pkgdir"/usr/lib/node_modules/$pkgname
+  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list