Package Details: pyright-git 1.1.82.r6.ga50a5358-1

Git Clone URL: https://aur.archlinux.org/pyright-git.git (read-only, click to copy)
Package Base: pyright-git
Description: Static type checker for Python
Upstream URL: https://github.com/microsoft/pyright
Keywords: lsp
Licenses: MIT
Conflicts: pyright
Provides: pyright
Submitter: sainnhe
Maintainer: sainnhe
Last Packager: alienzj
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-27 00:14 (UTC)
Last Updated: 2020-11-05 14:21 (UTC)

Required by (3)

Sources (1)

Latest Comments

sainnhe commented on 2021-05-16 12:22 (UTC)

@gshpychka: I can't reproduce but looks like it's because of the wrong branch. Microsoft has switched from master branch to main branch, so does this patch work for you?

diff --git a/PKGBUILD b/PKGBUILD
index 57c4a35..0747a07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,12 +11,12 @@ depends=('nodejs')
 makedepends=('npm')
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
-source=("${_pkgname}::git+https://github.com/microsoft/pyright.git")
+source=("${_pkgname}::git+https://github.com/microsoft/pyright.git#branch=main")
 sha256sums=('SKIP')

 pkgver() {
   cd "$srcdir/$_pkgname"
-  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe main --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 prepare() {

gshpychka commented on 2021-05-15 14:22 (UTC) (edited on 2021-05-15 14:22 (UTC) by gshpychka)

Cannot install this lately:

warning: remote HEAD refers to nonexistent ref, unable to checkout

ERROR: pkgver is not allowed to be empty

alienzj commented on 2020-11-05 14:07 (UTC)

Thanks too~

sainnhe commented on 2020-11-01 23:55 (UTC)

@alienzj: Thanks! I've added you to collaborators.

alienzj commented on 2020-11-01 09:16 (UTC)

Compared to pyright, pyright-git fails to compile.

alienzj commented on 2020-11-01 09:15 (UTC)

Hi, sainnhe, could add me as a collaborator?