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

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Jan 1 21:42:11 UTC 2022


    Date: Saturday, January 1, 2022 @ 21:42:11
  Author: polyzen
Revision: 1092012

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-01 21:41:44 UTC (rev 1092011)
+++ PKGBUILD	2022-01-01 21:42:11 UTC (rev 1092012)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.202
-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=('3528f1fb4425c374046fbc4e5ec66e99e93fc19a66c146af2d78bc3674f3aedc4c68ee0a26425808274c50966896911eed80146e3ea21052ac472858d80606fc')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm ci
-}
-
-build() {
-  cd $pkgname-$pkgver/packages/$pkgname
-  npm run build
-}
-
-package() {
-  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
-  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
-  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
-  cd packages/$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 1092011, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-01 21:42:11 UTC (rev 1092012)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.203
+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=('621d1e4faebc1fe825f7cf07065e4b1203126ac39fec04499a73574cfeb6aabc9f89094230d7292bc2b25cded51c2d18f253f4f00c42e1321d21a72f6c632c3e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm ci
+}
+
+build() {
+  cd $pkgname-$pkgver/packages/$pkgname
+  npm run build
+}
+
+package() {
+  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
+  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
+  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+  cd packages/$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