diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/quex/files | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/quex/files')
-rw-r--r-- | dev-python/quex/files/quex-0.65.4-gentoo.patch | 17 | ||||
-rw-r--r-- | dev-python/quex/files/quex-0.70.0-gentoo.patch | 11 | ||||
-rw-r--r-- | dev-python/quex/files/quex-0.71.0-gentoo.patch | 11 | ||||
-rw-r--r-- | dev-python/quex/files/quex-0.71.0-py37.patch | 11 | ||||
-rw-r--r-- | dev-python/quex/files/quex.sh | 1 |
5 files changed, 38 insertions, 13 deletions
diff --git a/dev-python/quex/files/quex-0.65.4-gentoo.patch b/dev-python/quex/files/quex-0.65.4-gentoo.patch index cbe161a18e11..d870c765f784 100644 --- a/dev-python/quex/files/quex-0.65.4-gentoo.patch +++ b/dev-python/quex/files/quex-0.65.4-gentoo.patch @@ -1,5 +1,5 @@ ---- quex-0.65.4/quex-exe.py.old 2017-12-13 21:42:48.633280478 +0100 -+++ quex-0.65.4/quex-exe.py 2017-12-13 21:43:02.066040530 +0100 +--- a/quex-exe.py 2017-12-13 21:42:48.633280478 +0100 ++++ b/quex-exe.py 2017-12-13 21:43:02.066040530 +0100 @@ -40,11 +40,6 @@ print("error: Please, use Python versions 2.x.") sys.exit(-1) @@ -12,17 +12,8 @@ try: exception_checker.do_on_import(sys.argv) import quex.DEFINITIONS ---- quex-0.65.4/quex/DEFINITIONS.py.old 2017-12-13 21:48:52.887765325 +0100 -+++ quex-0.65.4/quex/DEFINITIONS.py 2017-12-13 21:52:29.805877359 +0100 -@@ -23,7 +23,7 @@ - QUEX_VERSION = '0.65.4' - - try: -- QUEX_INSTALLATION_DIR = os.environ["QUEX_PATH"] -+ QUEX_INSTALLATION_DIR = "@PYTHON_SITEDIR@" - # Note, that windows can also deal with backslashes. - QUEX_INSTALLATION_DIR = QUEX_INSTALLATION_DIR.replace("\\", "/") - except: +--- a/quex/DEFINITIONS.py 2017-12-13 21:48:52.887765325 +0100 ++++ b/quex/DEFINITIONS.py 2017-12-13 21:52:29.805877359 +0100 @@ -49,15 +49,14 @@ sys.exit(-1) # sys.exit(-1) is acceptable diff --git a/dev-python/quex/files/quex-0.70.0-gentoo.patch b/dev-python/quex/files/quex-0.70.0-gentoo.patch new file mode 100644 index 000000000000..c110c4bdb24d --- /dev/null +++ b/dev-python/quex/files/quex-0.70.0-gentoo.patch @@ -0,0 +1,11 @@ +--- a/quex/DEFINITIONS.py 2017-12-13 21:48:52.887765325 +0100 ++++ b/quex/DEFINITIONS.py 2017-12-13 21:52:29.805877359 +0100 +@@ -57,7 +57,7 @@ + global QUEX_INSTALLATION_DIR + + # -- Try to acces the file 'quex-exe.py' in order to verify +- if os.access(QUEX_INSTALLATION_DIR + "/quex-exe.py", os.F_OK) == False: ++ if False: + print "error: Environment variable 'QUEX_PATH' does not point to" + print "error: a valid installation directory of quex." + print "error: current setting of 'QUEX_PATH':" diff --git a/dev-python/quex/files/quex-0.71.0-gentoo.patch b/dev-python/quex/files/quex-0.71.0-gentoo.patch new file mode 100644 index 000000000000..80eb411f5a0e --- /dev/null +++ b/dev-python/quex/files/quex-0.71.0-gentoo.patch @@ -0,0 +1,11 @@ +--- a/quex/DEFINITIONS.py 2017-12-13 21:48:52.887765325 +0100 ++++ b/quex/DEFINITIONS.py 2017-12-13 21:52:29.805877359 +0100 +@@ -57,7 +57,7 @@ + global QUEX_INSTALLATION_DIR + + # -- Try to acces the file 'quex-exe.py' in order to verify +- if os.access(QUEX_INSTALLATION_DIR + "/quex-exe.py", os.F_OK) == False: ++ if False: + print("error: Environment variable 'QUEX_PATH' does not point to") + print("error: a valid installation directory of quex.") + print("error: current setting of 'QUEX_PATH':") diff --git a/dev-python/quex/files/quex-0.71.0-py37.patch b/dev-python/quex/files/quex-0.71.0-py37.patch new file mode 100644 index 000000000000..9c2ed48d5495 --- /dev/null +++ b/dev-python/quex/files/quex-0.71.0-py37.patch @@ -0,0 +1,11 @@ +--- a/quex/input/code/base.py 2020-08-17 11:27:16.948578316 +0200 ++++ b/quex/input/code/base.py 2020-08-17 11:27:27.604426654 +0200 +@@ -123,7 +123,7 @@ + def set_source_reference(self, SourceReference): + self.__source_reference = SourceReference + +- @typed(Re=re._pattern_type) ++ @typed(Re=re.Pattern) + def contains_string(self, Re): return self.__check_code(lambda x: Re.search(x) is not None) + def is_empty(self): return not self.__check_code(lambda x: len(x) != 0) + def is_whitespace(self): return not self.__check_code(lambda x: len(x.strip()) != 0) diff --git a/dev-python/quex/files/quex.sh b/dev-python/quex/files/quex.sh new file mode 100644 index 000000000000..26bd161e969c --- /dev/null +++ b/dev-python/quex/files/quex.sh @@ -0,0 +1 @@ +export QUEX_PATH=/usr/share |