aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-05-10 11:10:57 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-05-10 11:23:05 +0000
commit1e93ba896af5a0c4e60a384525852a69bc882284 (patch)
tree266cea0b2f16de72066bab7ba7f97c7b17f988df /testing
parent151bfe2a24ca7d3a9be92051784fdb7206cfba63 (diff)
downloadaports-1e93ba896af5a0c4e60a384525852a69bc882284.tar.bz2
aports-1e93ba896af5a0c4e60a384525852a69bc882284.tar.xz
testing/py3-astroid: upgrade to 2.4.1
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-astroid/0001-Relax-upper-bound-on-wrapt.patch38
-rw-r--r--testing/py3-astroid/APKBUILD13
2 files changed, 5 insertions, 46 deletions
diff --git a/testing/py3-astroid/0001-Relax-upper-bound-on-wrapt.patch b/testing/py3-astroid/0001-Relax-upper-bound-on-wrapt.patch
deleted file mode 100644
index 08da78fb97..0000000000
--- a/testing/py3-astroid/0001-Relax-upper-bound-on-wrapt.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 597c044378bdcac0e02205e151f180f85a40a729 Mon Sep 17 00:00:00 2001
-From: Michael <michael-k@users.noreply.github.com>
-Date: Thu, 27 Feb 2020 08:33:48 +0000
-Subject: [PATCH] Relax upper bound on `wrapt` (#756)
-
-Closes PyCQA/astroid#755
----
- ChangeLog | 4 ++++
- astroid/__pkginfo__.py | 2 +-
- 2 files changed, 5 insertions(+), 1 deletions(-)
-
-diff --git a/ChangeLog b/ChangeLog
-index c42d122e..1ca51f73 100644
---- a/ChangeLog
-+++ b/ChangeLog
-@@ -123,6 +123,10 @@ Release Date: TBA
- ``Arguments.type_comment_posonlyargs`` and
- ``Arguments.type_comment_kwonlyargs`` attributes respectively.
-
-+* Relax upper bound on `wrapt`
-+
-+ Close #755
-+
- What's New in astroid 2.3.2?
- ============================
- Release Date: TBA
-diff --git a/astroid/__pkginfo__.py b/astroid/__pkginfo__.py
-index 4647a6eb..d7b1d544 100644
---- a/astroid/__pkginfo__.py
-+++ b/astroid/__pkginfo__.py
-@@ -24,7 +24,7 @@
- install_requires = [
- "lazy_object_proxy==1.4.*",
- "six~=1.12",
-- "wrapt==1.11.*",
-+ "wrapt~=1.11",
- 'typed-ast>=1.4.0,<1.5;implementation_name== "cpython" and python_version<"3.8"',
- ]
diff --git a/testing/py3-astroid/APKBUILD b/testing/py3-astroid/APKBUILD
index f20bb46eb9..14a784cf60 100644
--- a/testing/py3-astroid/APKBUILD
+++ b/testing/py3-astroid/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-astroid
-_pkgname=astroid
-pkgver=2.3.3
-pkgrel=1
+pkgver=2.4.1
+pkgrel=0
pkgdesc="A new abstract syntax tree from Python's ast"
url="https://www.astroid.org"
arch="noarch"
@@ -12,9 +11,8 @@ depends="py3-lazy-object-proxy py3-six py3-typed-ast py3-wrapt"
replaces="py-logilab-astng"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-runner"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
- 0001-Relax-upper-bound-on-wrapt.patch"
-builddir="$srcdir"/$_pkgname-$pkgver
+source="https://files.pythonhosted.org/packages/source/a/astroid/astroid-$pkgver.tar.gz"
+builddir="$srcdir"/astroid-$pkgver
build() {
python3 setup.py build
@@ -28,5 +26,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="72011f3eb312ea7ce7dd55f7615972f6bfc152d8f16f9052b405f44fe17e594d5da22e0502b4c3034881b9783be9e808509d4ded3d679182ddf6d34eb90748f1 astroid-2.3.3.tar.gz
-7c6bd0af34903a64d32b915237c8d8bbc69d4961ae082651c5f6c6b47e9a99941952b3af0e9fa33238130d69c2012250260c10126feb81ae991959816a591247 0001-Relax-upper-bound-on-wrapt.patch"
+sha512sums="10723236306c8a181d536acc047a18436851c7c8b9c532303f39ca1eae9ca9eba3e3e0c135aea7596642528d39e0115b38ad705bef9140cd0f5fa8b170569738 astroid-2.4.1.tar.gz"