Date: Sunday, May 3, 2020 @ 16:14:48 Author: jelle Revision: 624602 upgpkg: python-parso 0.7.0-1
Upstream update. Modified: python-parso/trunk/PKGBUILD Deleted: python-parso/trunk/python3.8.2-compat.patch --------------------------+ PKGBUILD | 12 +++--------- python3.8.2-compat.patch | 25 ------------------------- 2 files changed, 3 insertions(+), 34 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-03 15:12:18 UTC (rev 624601) +++ PKGBUILD 2020-05-03 16:14:48 UTC (rev 624602) @@ -2,7 +2,7 @@ _pkgbase=parso pkgname=python-parso -pkgver=0.6.2 +pkgver=0.7.0 pkgrel=1 pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions" arch=('any') @@ -11,15 +11,9 @@ depends=('python') makedepends=('python-setuptools') checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz" "python3.8.2-compat.patch") -sha512sums=('da011c6fbab3ca2157c8934086cc0db0b7a37f5cd67debe70f56429f409de8762b124948ee75ac65779b806d8aaab759ee790eacb580910f3609ffd280dba2a8' - '819f1e5821cdb992dff2d5e6fed0bc57694f8acd2ceb7560eaa084e5f1662c1bc65d16d88de82414d93d2d83e73cd093ef61120dbecca377b55cf8ab6989a506') +source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz") +sha512sums=('41ad60b1d7dff682281059aabff0d43ccd3048b6cc6ee3e9e141d4a0a965fd99449f6d3f23689914c1f7bda371e3cc86266775a1c23fb1c430ea689c916fbb71') -prepare() { - cd "$_pkgbase-$pkgver" - patch -Np1 -i ${srcdir}/python3.8.2-compat.patch -} - check() { cd "$_pkgbase-$pkgver" pytest test Deleted: python3.8.2-compat.patch =================================================================== --- python3.8.2-compat.patch 2020-05-03 15:12:18 UTC (rev 624601) +++ python3.8.2-compat.patch 2020-05-03 16:14:48 UTC (rev 624602) @@ -1,25 +0,0 @@ -From 0234a70e95199d4b9bb257d9ea7a5fcb8baa8c91 Mon Sep 17 00:00:00 2001 -From: Dave Halter <davidhalte...@gmail.com> -Date: Fri, 28 Feb 2020 00:31:50 +0100 -Subject: [PATCH] Python 3.8.2 was released and an error message changed, fixes - #103 - ---- - parso/python/errors.py | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/parso/python/errors.py b/parso/python/errors.py -index a6f3ae9..eba4181 100644 ---- a/parso/python/errors.py -+++ b/parso/python/errors.py -@@ -976,9 +976,7 @@ def _check_assignment(self, node, is_deletion=False, is_namedexpr=False): - - 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 - else: - cannot = "can't" if self._normalizer.version < (3, 8) else "cannot" - message = ' '.join([cannot, "delete" if is_deletion else "assign to", error])