libfirm: move to python3
Build and diffoscope with old version. Nothing changed.
This commit is contained in:
parent
e40a92fe18
commit
80b067a872
|
@ -0,0 +1,33 @@
|
|||
--- a/scripts/jinja2/filters.py
|
||||
+++ b/scripts/jinja2/filters.py
|
||||
@@ -21,7 +21,7 @@ from jinja2.exceptions import FilterArgu
|
||||
from jinja2._compat import imap, string_types, text_type, iteritems
|
||||
|
||||
|
||||
-_word_re = re.compile(r'\w+(?u)')
|
||||
+_word_re = re.compile(r'\w+')
|
||||
|
||||
|
||||
def contextfilter(f):
|
||||
--- a/scripts/jinja2/tests.py
|
||||
+++ b/scripts/jinja2/tests.py
|
||||
@@ -9,7 +9,7 @@
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import re
|
||||
-from collections import Mapping
|
||||
+from collections.abc import Mapping
|
||||
from jinja2.runtime import Undefined
|
||||
from jinja2._compat import text_type, string_types
|
||||
|
||||
--- a/scripts/markupsafe/__init__.py
|
||||
+++ b/scripts/markupsafe/__init__.py
|
||||
@@ -10,7 +10,7 @@
|
||||
"""
|
||||
import re
|
||||
import string
|
||||
-from collections import Mapping
|
||||
+from collections.abc import Mapping
|
||||
from markupsafe._compat import text_type, string_types, int_types, \
|
||||
unichr, iteritems, PY2
|
||||
|
|
@ -3,7 +3,7 @@ pkgname=libfirm
|
|||
version=1.22.0
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="perl python"
|
||||
hostmakedepends="perl python3"
|
||||
short_desc="Graph based SSA intermediate code representation"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
|
|
Loading…
Reference in New Issue