summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-10 06:54:28 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-10 06:54:28 +0000
commit21bc4b6ed6a0315868a4d850055160daccce7d89 (patch)
treec2fb0442190d168ff3550471ebf85858b7d223a2 /dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch
parentf1d1e3f6c9dfccf03e3c89bf580d97496ad8b2de (diff)
downloadbaldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.tar.gz
baldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.tar.xz
baldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.zip
Adding metadata
Diffstat (limited to 'dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch b/dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch
new file mode 100644
index 000000000000..229d372aa5af
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.2.2-setuppy.patch
@@ -0,0 +1,38 @@
+Created by Quincy Fleming
+https://bugs.gentoo.org/909973
+
+--- a/setup.py
++++ b/setup.py
+@@ -113,6 +113,7 @@
+ """
+ user_options = [
+ ('skip-build', None, 'skip building the C/C++ code (assumes it has already been done)'),
++ ('buildpy-options=', None, 'string of commands and options passed to build.py'),
+ ]
+ boolean_options = ['skip-build']
+
+@@ -120,6 +121,7 @@
+ def initialize_options(self):
+ orig_build.initialize_options(self)
+ self.skip_build = '--skip-build' in sys.argv
++ self.buildpy_options = 'build'
+
+ def finalize_options(self):
+ orig_build.finalize_options(self)
+@@ -135,7 +137,7 @@
+ 'message and the wxWidgets and Phoenix build steps in the future.\n')
+
+ # Use the same Python that is running this script.
+- cmd = ['"{}"'.format(sys.executable), '-u', 'build.py', 'build']
++ cmd = ['"{}"'.format(sys.executable), '-u', 'build.py',self.buildpy_options]
+ cmd = ' '.join(cmd)
+ runcmd(cmd)
+
+@@ -143,7 +145,6 @@
+ # build/lib folder like normal.
+ orig_build.run(self)
+
+-
+ def _cleanup_symlinks(cmd):
+ # Clean out any libwx* symlinks in the build_lib folder, as they will
+ # turn into copies in the egg since zip files can't handle symlinks.