ports/devel/py-qt5-qscintilla2/files/patch-project.py
Loïc Bartoletti 108f234f7f PyQt5: Update PyQt5 to 5.15.3, QScintilla2 to 2.12.0, py-qtbuilder to 1.9.0
* PyQt5: update to 5.15.3

This is a minor feature and bug-fix release. There are corresponding releases of the other PyQt5-related packages.

 - Added the missing QImage.setAlphaChannel().
 - Support for the QtNetworkAuth library has been moved to a separate PyQtNetworkAuth package.
 - Wheels no longer bundle the corresponding Qt libraries and instead automatically install them from an external wheel.

* QScintilla2: update to 2.12.0

This adds support for Qt6 and removes support for Qt4.

 - Change the new distname (again)i due to a conflict
 - Use the new sip-build system

* devel/py-qtbuilder: update to 1.9.0
* devel/py-sip: fix flavor for sip-distinfo

PR:		253865
Exp-run by:	antoine
2021-03-08 06:49:17 +00:00

20 lines
556 B
Python

--- project.py.orig 2021-03-04 14:24:28 UTC
+++ project.py
@@ -81,7 +81,8 @@ class Qsci(PyQtBindings):
qmake_CONFIG = ['qscintilla2']
else:
qmake_CONFIG = []
-
+
+ self.project = project
super().__init__(project, 'Qsci', qmake_CONFIG=qmake_CONFIG)
def apply_user_defaults(self, tool):
@@ -125,6 +126,7 @@ class Qsci(PyQtBindings):
self._add_internal_lib_sources()
+ self.tags.append("WS_X11")
super().apply_user_defaults(tool)
def get_options(self):