Package Details: python2-jedi-git 1:v0.17.0.r148.2d672d2f-1

Git Clone URL: (read-only, click to copy)
Package Base: python2-jedi-git
Description: An awesome autocompletion, static analysis and refactoring library for Python
Upstream URL:
Licenses: MIT
Conflicts: python2-jedi
Provides: python2-jedi
Submitter: guibou
Maintainer: None
Last Packager: xiretza
Votes: 8
Popularity: 0.000000
First Submitted: 2013-01-17 12:28 (UTC)
Last Updated: 2020-05-24 19:28 (UTC)

Latest Comments

davidovitch commented on 2020-05-24 21:54 (UTC)

Great, thanks. I wasn't aware of the epoch option, now I do :-)

xiretza commented on 2020-05-24 19:30 (UTC)

No problem at all, two days is an absolutely fine response time :) Co-maintainership is much appreciated, thanks.

Because the new versioning scheme always counts as "older" than the old one (vercmp 3964.7b50bb0 v0.17.0.r148.2d672d2f is >0), the epoch PKGBUILD variable needs to be increased to make sure any upgrades will count as such in the future (vercmp 3964.7b50bb0 1:v0.17.0.r148.2d672d2f is <0). Just did that in the latest commit.

davidovitch commented on 2020-05-24 17:53 (UTC) (edited on 2020-05-24 17:53 (UTC) by davidovitch)

@xiretza, sorry for late reply. I've applied your patch and made you a co-maintainer (I can also hand it over to you if you prefer that). I am not sure I know what you mean with epoch that requires a bump.

xiretza commented on 2020-05-23 20:01 (UTC)

Ah, sorry, epoch needs to be bumped too, forgot that in the patch.

xiretza commented on 2020-05-22 14:38 (UTC)

Package is broken in a lot of ways, here's a patch (partly based on python-jedi):

@@ -1,30 +1,50 @@
+# Maintainer: David Verelst <david dott verelst hat gmail com>
+# Contributor: xiretza <>
-pkgdesc="Jedi is an autocompletion tool for Python that can be used in IDEs/editors"
+pkgdesc="An awesome autocompletion, static analysis and refactoring library for Python"
-makedepends=('git' 'python2-distribute')
+makedepends=('git' 'python2-setuptools')
-# Because the sources are not static, skip Git checksum:
+        git+
+        git+
+         'SKIP'
+         'SKIP')

 pkgver() {
-  cd $_gitname
-  # Use the tag of the last commit
-  #git describe --always | sed 's|-|.|g'
-  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+  cd "$srcdir/$_gitname"
+  printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+prepare() {
+  cd "$srcdir/$_gitname"
+  git submodule init
+  git config submodule."jedi/third_party/typeshed".url "${srcdir}/typeshed"
+  git config submodule."jedi/third_party/django-stubs".url "${srcdir}/django-stubs"
+  git submodule update --recursive
+build() {
+  cd "$srcdir/$_gitname"
+  python2 build

 package() {
-   cd $_gitname
-   python2 install --root="${pkgdir}" --optimize=1 || exit 1
\ No newline at end of file
+  cd "$srcdir/$_gitname"
+  python2 install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt

davidovitch commented on 2015-02-25 07:43 (UTC)

@guibou: do you have any plans updating this package? If not, I am willing to take the package over from you.

davidovitch commented on 2014-05-16 11:20 (UTC)

This package needs an update (no package() function, no automatic versioning, license changed from LGPL to MIT), and I have proposed an improved version here:

<deleted-account> commented on 2013-01-20 20:52 (UTC)

There is a small error in the makedepends section of the PKGBUILD file. Each package needs to be enclosed by single quotes: makedepends=('git' 'python2-distribute')