aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-04-15 11:39:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-17 11:45:42 +0000
commitadf961b8853fe682de3f2266f713a90cc9ed3ae5 (patch)
tree3048e3e9d8ee03174ef75b7ebe9b9d63b8f75987
parent4c054e6e20b02aade214fa07ae86a284fddcf59e (diff)
downloadaports-adf961b8853fe682de3f2266f713a90cc9ed3ae5.tar.gz
aports-adf961b8853fe682de3f2266f713a90cc9ed3ae5.tar.bz2
aports-adf961b8853fe682de3f2266f713a90cc9ed3ae5.tar.xz
community/py3-jedi: remove. does not work with python 3.7
https://github.com/davidhalter/jedi/issues/1263
-rw-r--r--community/py3-jedi/APKBUILD36
-rw-r--r--community/py3-jedi/adjust-speed-test.patch15
2 files changed, 0 insertions, 51 deletions
diff --git a/community/py3-jedi/APKBUILD b/community/py3-jedi/APKBUILD
deleted file mode 100644
index 8af611c8b8..0000000000
--- a/community/py3-jedi/APKBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=py3-jedi
-_pkgname=jedi
-pkgver=0.13.3
-pkgrel=0
-pkgdesc="Awesome autocompletion and static analysis library for python"
-url="https://pypi.org/project/jedi"
-arch="noarch"
-license="MIT"
-makedepends="py3-setuptools python3-dev"
-checkdepends="pytest py-parso py-tox"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
- adjust-speed-test.patch"
-builddir="$srcdir"/$_pkgname-$pkgver
-replaces="py-jedi"
-provides="py-jedi"
-
-build() {
- python3 setup.py build
-}
-
-_getpythonver(){
- echo $(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
-}
-
-check() {
- tox -e py$(_getpythonver)
-}
-
-package() {
- python3 setup.py install --prefix=/usr --root="$pkgdir"
-}
-
-sha512sums="b20fc75d909f9b7c6db434f468e7cefd9768991ca72d7026df9c4000805675a979f9e40f75623770df44bf8919a46270bcaa8e28d991a2299c64bc4c60d873fc jedi-0.13.3.tar.gz
-8a33c01f8d9f4f121176b0346759e74ab9847f1803f9d82515826c470822bf35ca5c84c29ac0c65b244457f8a05e26e05f6182337eadaf2aa4acc80a88972e32 adjust-speed-test.patch"
diff --git a/community/py3-jedi/adjust-speed-test.patch b/community/py3-jedi/adjust-speed-test.patch
deleted file mode 100644
index 0a95cacfec..0000000000
--- a/community/py3-jedi/adjust-speed-test.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-On aarch64, this tests takes ~0.4s, which is larger than the default
-threshold. Increase it a bit to let this test pass.
-diff --git a/test/test_speed.py b/test/test_speed.py
-index f3fa7c7b3d..ba5784acc8 100644
---- a/test/test_speed.py
-+++ b/test/test_speed.py
-@@ -30,7 +30,7 @@ def _check_speed(time_per_run, number=4, run_warm=True):
- return decorated
-
-
--@_check_speed(0.3)
-+@_check_speed(0.5)
- def test_os_path_join(Script):
- s = "from posixpath import join; join('', '')."
- assert len(Script(s).completions()) > 10 # is a str completion