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

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Aug 29 14:00:21 UTC 2021


    Date: Sunday, August 29, 2021 @ 14:00:20
  Author: polyzen
Revision: 1010001

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-29 14:00:01 UTC (rev 1010000)
+++ PKGBUILD	2021-08-29 14:00:20 UTC (rev 1010001)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.163
-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=('6933f1a21c787ec5cafee28290f64bc0043b895356944cfe0ba205d8835b9e479a9f428af3edcc238093c67c9fdbd12d6ea56f9792c6a7bdf04222846b259cba')
-
-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 1010000, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-29 14:00:20 UTC (rev 1010001)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.164
+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=('e8cb1ae486a4807a459e1a55d5f54e213ab4aad1638189c0a786f1b31e560d3c4284dc8f0d41b160d5c92b0cfb06a43d350ad4d11917e5230a4e8ecb5cab35db')
+
+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