Date: Sunday, August 30, 2020 @ 10:31:17 Author: anthraxx Revision: 692599
archrelease: copy trunk to community-any Added: python-jedi/repos/community-any/PKGBUILD (from rev 692598, python-jedi/trunk/PKGBUILD) Deleted: python-jedi/repos/community-any/PKGBUILD ----------+ PKGBUILD | 117 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 59 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-30 10:31:14 UTC (rev 692598) +++ PKGBUILD 2020-08-30 10:31:17 UTC (rev 692599) @@ -1,58 +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=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: Copied: python-jedi/repos/community-any/PKGBUILD (from rev 692598, python-jedi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-30 10:31:17 UTC (rev 692599) @@ -0,0 +1,59 @@ +# 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=3b7106ae71cb7bd3431101d169a0110ee0c179aa +pkgver=0.17.2 +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' '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 + 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 +} + +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 + # 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() { + 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 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: