[arch-commits] Commit in python-antlr4/trunk (PKGBUILD fix-tests.patch)

Konstantin Gizdov kgizdov at archlinux.org
Mon Mar 15 08:33:34 UTC 2021


    Date: Monday, March 15, 2021 @ 08:33:33
  Author: kgizdov
Revision: 891410

upgpkg: python-antlr4 4.9.2-1

Modified:
  python-antlr4/trunk/PKGBUILD
  python-antlr4/trunk/fix-tests.patch

-----------------+
 PKGBUILD        |    6 +++---
 fix-tests.patch |   24 ++++++++++++------------
 2 files changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-15 08:20:34 UTC (rev 891409)
+++ PKGBUILD	2021-03-15 08:33:33 UTC (rev 891410)
@@ -3,7 +3,7 @@
 
 _pkgname=antlr4
 pkgname=python-${_pkgname}
-pkgver=4.9.1
+pkgver=4.9.2
 pkgrel=1
 pkgdesc="ANTLR4 runtime for Python"
 arch=('any')
@@ -13,8 +13,8 @@
 makedepends=('python-setuptools')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/antlr/${_pkgname}/archive/${pkgver}.tar.gz"
         'fix-tests.patch')
-sha256sums=('db170179917ce6fec7bc4ecf72edba36b97c9881e09e03af6ac0c901eba52a8f'
-            '3a1735cafc4794b4e7c268b1de3028001cacd181c99044ae6779420d2a2f5e32')
+sha256sums=('6c86ebe2f3583ac19b199e704bdff9d70379f12347f7f2f1efa38051cd9a18cf'
+            '4e33e19f83a09997914e5650c5c19aa11ce2c79ad00b41c0759770cdfafd9a80')
 
 prepare() {
   patch -Np1 -i "${srcdir}"/fix-tests.patch -d "${srcdir}/${_pkgname}-${pkgver}"

Modified: fix-tests.patch
===================================================================
--- fix-tests.patch	2021-03-15 08:20:34 UTC (rev 891409)
+++ fix-tests.patch	2021-03-15 08:33:33 UTC (rev 891410)
@@ -1,6 +1,6 @@
-diff -aur antlr4-4.8-old/runtime/Python3/test/ctest.py antlr4-4.8-new/runtime/Python3/test/ctest.py
---- antlr4-4.8-old/runtime/Python3/test/ctest.py	2020-01-19 18:18:55.000000000 +0200
-+++ antlr4-4.8-new/runtime/Python3/test/ctest.py	2020-06-30 16:32:13.862026103 +0300
+diff -aur antlr4-4.8-old/runtime/Python3/tests/ctest.py antlr4-4.8-new/runtime/Python3/tests/ctest.py
+--- antlr4-4.8-old/runtime/Python3/tests/ctest.py	2020-01-19 18:18:55.000000000 +0200
++++ antlr4-4.8-new/runtime/Python3/tests/ctest.py	2020-06-30 16:32:13.862026103 +0300
 @@ -7,8 +7,8 @@
  import sys
  sys.setrecursionlimit(4000)
@@ -12,9 +12,9 @@
  from datetime import datetime
  import cProfile
  
-diff --color -aur --color antlr4-4.9.1-old/runtime/Python3/test/run.py antlr4-4.9.1-new/runtime/Python3/test/run.py
---- antlr4-4.9.1-old/runtime/Python3/test/run.py	2021-01-05 21:22:02.000000000 +0200
-+++ antlr4-4.9.1-new/runtime/Python3/test/run.py	2021-01-18 12:43:13.915624039 +0200
+diff --color -aur --color antlr4-4.9.1-old/runtime/Python3/tests/run.py antlr4-4.9.1-new/runtime/Python3/tests/run.py
+--- antlr4-4.9.1-old/runtime/Python3/tests/run.py	2021-01-05 21:22:02.000000000 +0200
++++ antlr4-4.9.1-new/runtime/Python3/tests/run.py	2021-01-18 12:43:13.915624039 +0200
 @@ -3,7 +3,7 @@
  src_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'src')
  sys.path.insert(0,src_path)
@@ -24,9 +24,9 @@
  from TestFileStream import TestFileStream
  from TestInputStream import TestInputStream
  from TestIntervalSet import TestIntervalSet
-diff -aur antlr4-4.8-old/runtime/Python3/test/TestTokenStreamRewriter.py antlr4-4.8-new/runtime/Python3/test/TestTokenStreamRewriter.py
---- antlr4-4.8-old/runtime/Python3/test/TestTokenStreamRewriter.py	2020-01-19 18:18:55.000000000 +0200
-+++ antlr4-4.8-new/runtime/Python3/test/TestTokenStreamRewriter.py	2020-06-30 16:32:36.462025917 +0300
+diff -aur antlr4-4.8-old/runtime/Python3/tests/TestTokenStreamRewriter.py antlr4-4.8-new/runtime/Python3/tests/TestTokenStreamRewriter.py
+--- antlr4-4.8-old/runtime/Python3/tests/TestTokenStreamRewriter.py	2020-01-19 18:18:55.000000000 +0200
++++ antlr4-4.8-new/runtime/Python3/tests/TestTokenStreamRewriter.py	2020-06-30 16:32:36.462025917 +0300
 @@ -5,7 +5,7 @@
  import unittest
  
@@ -36,9 +36,9 @@
  from antlr4.TokenStreamRewriter import TokenStreamRewriter
  from antlr4.InputStream import InputStream
  from antlr4.CommonTokenStream import CommonTokenStream
-diff -aur antlr4-4.8-old/runtime/Python3/test/xpathtest.py antlr4-4.8-new/runtime/Python3/test/xpathtest.py
---- antlr4-4.8-old/runtime/Python3/test/xpathtest.py	2020-01-19 18:18:55.000000000 +0200
-+++ antlr4-4.8-new/runtime/Python3/test/xpathtest.py	2020-06-30 16:32:44.398692519 +0300
+diff -aur antlr4-4.8-old/runtime/Python3/tests/xpathtest.py antlr4-4.8-new/runtime/Python3/tests/xpathtest.py
+--- antlr4-4.8-old/runtime/Python3/tests/xpathtest.py	2020-01-19 18:18:55.000000000 +0200
++++ antlr4-4.8-new/runtime/Python3/tests/xpathtest.py	2020-06-30 16:32:44.398692519 +0300
 @@ -2,8 +2,8 @@
  from antlr4 import InputStream, CommonTokenStream, TerminalNode
  from antlr4.xpath.XPath import XPath



More information about the arch-commits mailing list