[arch-commits] Commit in python-jedi/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Aug 30 10:31:14 UTC 2020


    Date: Sunday, August 30, 2020 @ 10:31:13
  Author: anthraxx
Revision: 692597

upgpkg: python-jedi 0.17.2-1

Modified:
  python-jedi/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-30 10:31:01 UTC (rev 692596)
+++ PKGBUILD	2020-08-30 10:31:13 UTC (rev 692597)
@@ -5,8 +5,8 @@
 # Contributor: Jesus Alvarez
 
 pkgname=python-jedi
-_gitcommit=8aaa8e00446f801c023bb4b056f51ac6f3d99e99
-pkgver=0.17.0
+_gitcommit=3b7106ae71cb7bd3431101d169a0110ee0c179aa
+pkgver=0.17.2
 pkgrel=1
 pkgdesc="Awesome autocompletion for python"
 url="https://github.com/davidhalter/jedi"
@@ -13,7 +13,7 @@
 arch=('any')
 license=('MIT')
 depends=('python' 'python-parso')
-makedepends=('git' 'python-setuptools')
+makedepends=('git' 'python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
 checkdepends=('python-pytest' 'python-parso')
 source=("git+https://github.com/davidhalter/jedi#commit=${_gitcommit}"
         git+https://github.com/davidhalter/typeshed
@@ -33,19 +33,19 @@
   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
+  sphinx-build -b text docs docs/_build/text
+  sphinx-build -b man docs docs/_build/man
 }
 
 check() {
   cd jedi
-  pytest test
+  # skip pytest 6 test issues https://github.com/davidhalter/jedi/issues/1660
+  pytest test -k 'not test_completion[pytest:130] and not test_completion[pytest:163]'
 }
 
 package() {
@@ -52,7 +52,8 @@
   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"
+  install -Dm 644 CHANGELOG.rst README.rst docs/_build/text/*.txt -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 docs/_build/man/jedi.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list