Date: Thursday, May 14, 2020 @ 10:24:00 Author: anthraxx Revision: 627912
archrelease: copy trunk to community-any Added: python-jedi/repos/community-any/PKGBUILD (from rev 627911, python-jedi/trunk/PKGBUILD) Deleted: python-jedi/repos/community-any/0001-Jedi-understand-now-when-you-use-del-fixes-313.patch python-jedi/repos/community-any/PKGBUILD -----------------------------------------------------------+ 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch | 46 ---- PKGBUILD | 117 +++++------- 2 files changed, 58 insertions(+), 105 deletions(-) Deleted: 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch =================================================================== --- 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch 2020-05-14 10:23:55 UTC (rev 627911) +++ 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch 2020-05-14 10:24:00 UTC (rev 627912) @@ -1,46 +0,0 @@ -From bec87f7ff82b0731713c6520a14c213341b4cecf Mon Sep 17 00:00:00 2001 -From: Dave Halter <davidhalte...@gmail.com> -Date: Sun, 26 Jan 2020 20:07:25 +0100 -Subject: [PATCH] Jedi understand now when you use del, fixes #313 - ---- - test/completion/basic.py | 6 +++--- - test/test_api/test_full_name.py | 3 ++- - 2 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/test/completion/basic.py b/test/completion/basic.py -index b4006817..3ff919ca 100644 ---- a/test/completion/basic.py -+++ b/test/completion/basic.py -@@ -209,11 +209,11 @@ if r: - - deleted_var = 3 - del deleted_var --#? int() -+#? - deleted_var --#? ['deleted_var'] -+#? [] - deleted_var --#! ['deleted_var = 3'] -+#! [] - deleted_var - - # ----------------- -diff --git a/test/test_api/test_full_name.py b/test/test_api/test_full_name.py -index 4fdb861b..6858b6ca 100644 ---- a/test/test_api/test_full_name.py -+++ b/test/test_api/test_full_name.py -@@ -112,7 +112,8 @@ def test_os_path(Script): - - def test_os_issues(Script): - """Issue #873""" -- assert [c.name for c in Script('import os\nos.nt''').complete()] == ['nt'] -+ # nt is not found, because it's deleted -+ assert [c.name for c in Script('import os\nos.nt''').complete()] == [] - - - def test_param_name(Script): --- -2.25.1 - Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-14 10:23:55 UTC (rev 627911) +++ PKGBUILD 2020-05-14 10:24:00 UTC (rev 627912) @@ -1,59 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Danilo Bargen <gez...@gmail.com> -# Contributor: Simon Conseil <contact+aur at saimon dot org> -# Contributor: Jesus Alvarez - -pkgname=python-jedi -_gitcommit=18f84d3af73c0de04883c10ab8745d7efb16593b -pkgver=0.16.0 -pkgrel=1 -pkgdesc="Awesome autocompletion for python" -url="https://github.com/davidhalter/jedi" -arch=('any') -license=('MIT') -depends=('python' 'python-parso') -makedepends=('git' 'python-setuptools') -checkdepends=('python-pytest' 'python-parso') -source=("git+https://github.com/davidhalter/jedi#commit=${_gitcommit}" - git+https://github.com/davidhalter/typeshed - 0001-Jedi-understand-now-when-you-use-del-fixes-313.patch) -sha256sums=('SKIP' - 'SKIP' - 'c8ac3df187d59eb8a9ea18290a829b4b23e16b131b5580a6677d208fe8726d81') - -pkgver() { - cd jedi - git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - -prepare() { - (cd jedi - git submodule init - git config submodule."jedi/third_party/typeshed".url "${srcdir}/typeshed" - git submodule update --recursive - - patch -Np1 -i ${srcdir}/0001-Jedi-understand-now-when-you-use-del-fixes-313.patch - ) -} - -build() { - (cd jedi - python setup.py build - ) -} - -check() { - (cd jedi - pytest test - ) -} - -package() { - cd jedi - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname" - install -Dm 644 CHANGELOG.rst README.rst -t "$pkgdir/usr/share/doc/$pkgname" -} - -# vim: ts=2 sw=2 et: Copied: python-jedi/repos/community-any/PKGBUILD (from rev 627911, python-jedi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-14 10:24:00 UTC (rev 627912) @@ -0,0 +1,58 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Danilo Bargen <gez...@gmail.com> +# Contributor: Simon Conseil <contact+aur at saimon dot org> +# Contributor: Jesus Alvarez + +pkgname=python-jedi +_gitcommit=8aaa8e00446f801c023bb4b056f51ac6f3d99e99 +pkgver=0.17.0 +pkgrel=1 +pkgdesc="Awesome autocompletion for python" +url="https://github.com/davidhalter/jedi" +arch=('any') +license=('MIT') +depends=('python' 'python-parso') +makedepends=('git' 'python-setuptools') +checkdepends=('python-pytest' 'python-parso') +source=("git+https://github.com/davidhalter/jedi#commit=${_gitcommit}" + git+https://github.com/davidhalter/typeshed + git+https://github.com/typeddjango/django-stubs) +sha256sums=('SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd jedi + git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd jedi + 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 + + # Inc difference limit in TestSetupReadline::test_import for py3.8 + git cherry-pick -n e7feeef64e9ef4a0e543afd13c9ed72decdcc533 +} + +build() { + cd jedi + python setup.py build +} + +check() { + cd jedi + pytest test +} + +package() { + cd jedi + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 CHANGELOG.rst README.rst -t "$pkgdir/usr/share/doc/$pkgname" +} + +# vim: ts=2 sw=2 et: