diff options
Diffstat (limited to 'community/py3-parso')
-rw-r--r-- | community/py3-parso/APKBUILD | 8 | ||||
-rw-r--r-- | community/py3-parso/fix-python-3.8.2.patch | 15 |
2 files changed, 3 insertions, 20 deletions
diff --git a/community/py3-parso/APKBUILD b/community/py3-parso/APKBUILD index 528ba9a3b0..508536c6f8 100644 --- a/community/py3-parso/APKBUILD +++ b/community/py3-parso/APKBUILD @@ -1,18 +1,17 @@ # Contributor: Kevin Daudt <kdaudt@alpinelinux.org> # Maintainer: Kevin Daudt <kdaudt@alpinelinux.org> pkgname=py3-parso -pkgver=0.6.2 +pkgver=0.7.0 pkgrel=0 pkgdesc="Python3 parser that supports error recovery and round-trip parsing for different Python versions" url="https://github.com/davidhalter/parso" arch="noarch" license="MIT" depends="python3" -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-pbr" checkdepends="py3-pytest" source=" https://files.pythonhosted.org/packages/source/p/parso/parso-$pkgver.tar.gz - fix-python-3.8.2.patch " builddir="$srcdir/parso-$pkgver" @@ -31,5 +30,4 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="00856f5756f0c7ba9935f0d31a80e1eef3cc0eee8e71c38dd1500d9b64b57cd8c8f3f2adf000e4d514ba30012ffd8c0d05eb9875f1444d6c0099e36624fb4f53 parso-0.6.2.tar.gz -a08c3410fe6303bcbd202aa454785df9a636fbae3c26e5f160a670327d577e4e2a478e426491643a75180f8c0e103a764defda41231bc2b8ed0e5036dcfb6392 fix-python-3.8.2.patch" +sha512sums="7ca6fbf001826afd57c9777bc5cc0d206b52c5c15b8f237ab4add041c2a7b9cf911a9959e1e9e24c5a00d46d447b0c66efd5381955201d7053933a97e32b8934 parso-0.7.0.tar.gz" diff --git a/community/py3-parso/fix-python-3.8.2.patch b/community/py3-parso/fix-python-3.8.2.patch deleted file mode 100644 index 1a2254c2b6..0000000000 --- a/community/py3-parso/fix-python-3.8.2.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/parso/python/errors.py b/parso/python/errors.py -index a6f3ae9..afc207d 100644 ---- a/parso/python/errors.py -+++ b/parso/python/errors.py -@@ -977,8 +977,8 @@ class _CheckAssignmentRule(SyntaxRule): - if error is not None: - if is_namedexpr: - # c.f. CPython bpo-39176, should be changed in next release -- # message = 'cannot use assignment expressions with %s' % error -- message = 'cannot use named assignment with %s' % error -+ message = 'cannot use assignment expressions with %s' % error -+ #message = 'cannot use named assignment with %s' % error - else: - cannot = "can't" if self._normalizer.version < (3, 8) else "cannot" - message = ' '.join([cannot, "delete" if is_deletion else "assign to", error]) |