mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-python/quex: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/17602 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
8fe6769a61
commit
ecc147a5d3
@@ -1,34 +0,0 @@
|
||||
--- 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)
|
||||
|
||||
-if os.environ.has_key("QUEX_PATH") == False:
|
||||
- print("Environment variable QUEX_PATH has not been defined.")
|
||||
-else:
|
||||
- sys.path.insert(0, os.environ["QUEX_PATH"])
|
||||
-
|
||||
try:
|
||||
exception_checker.do_on_import(sys.argv)
|
||||
import quex.DEFINITIONS
|
||||
--- 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
|
||||
|
||||
QUEX_PATH = QUEX_INSTALLATION_DIR
|
||||
-QUEX_CODEC_DB_PATH = QUEX_PATH + "/quex/engine/codec_db/database"
|
||||
+QUEX_CODEC_DB_PATH = "/usr/share/quex/database"
|
||||
|
||||
-sys.path.insert(0, QUEX_INSTALLATION_DIR)
|
||||
|
||||
def check():
|
||||
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':"
|
||||
Reference in New Issue
Block a user