[arch-commits] Commit in python-jedi/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun May 16 14:05:09 UTC 2021
Date: Sunday, May 16, 2021 @ 14:05:08
Author: foxboron
Revision: 935799
archrelease: copy trunk to community-any
Added:
python-jedi/repos/community-any/PKGBUILD
(from rev 935798, python-jedi/trunk/PKGBUILD)
Deleted:
python-jedi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 14:04:59 UTC (rev 935798)
+++ PKGBUILD 2021-05-16 14:05:08 UTC (rev 935799)
@@ -1,60 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Danilo Bargen <gezuru at gmail.com>
-# Contributor: Simon Conseil <contact+aur at saimon dot org>
-# Contributor: Jesus Alvarez
-
-pkgname=python-jedi
-_gitcommit=4b5b2e791b66f3a99542bc2a0e1d5730dc1491df
-pkgver=0.18.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' '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/davidhalter/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
- # these are also skipped in upstream's Travis CI
- pytest test -k 'not test_completion[pytest'
-}
-
-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:
Copied: python-jedi/repos/community-any/PKGBUILD (from rev 935798, python-jedi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 14:05:08 UTC (rev 935799)
@@ -0,0 +1,61 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Danilo Bargen <gezuru at gmail.com>
+# Contributor: Simon Conseil <contact+aur at saimon dot org>
+# Contributor: Jesus Alvarez
+
+pkgname=python-jedi
+_gitcommit=4b5b2e791b66f3a99542bc2a0e1d5730dc1491df
+pkgver=0.18.0
+pkgrel=2
+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/davidhalter/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
+ # these are also skipped in upstream's Travis CI
+ pytest test -k 'not test_completion[pytest'
+}
+
+package() {
+ cd jedi
+ export PYTHONHASHSEED=0
+ 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:
More information about the arch-commits
mailing list