git » pyqt5.git » commit e4b4628

Restore qscintilla api file (FS#64919)

author Antonio Rojas
2019-12-21 09:15:41 UTC
committer Antonio Rojas
2019-12-21 09:15:41 UTC
parent a3cd84aba17fd003bcb1d3d5710f5899f422d5e9

Restore qscintilla api file (FS#64919)

PKGBUILD +3 -2
pyqt5-no-write-check.patch +0 -13

diff --git a/PKGBUILD b/PKGBUILD
index 0294b22..689fc01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 pkgbase=pyqt5
 pkgname=('python-pyqt5' 'python2-pyqt5')
 pkgver=5.14.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://riverbankcomputing.com/software/pyqt/intro"
 license=('GPL')
@@ -26,7 +26,8 @@ build() {
   cd "$srcdir"/PyQt5-$pkgver
   sip-build \
     --confirm-license \
-    --no-make
+    --no-make \
+    --api-dir /usr/share/qt/qsci/api/python
   cd build
   make
 
diff --git a/pyqt5-no-write-check.patch b/pyqt5-no-write-check.patch
deleted file mode 100644
index 4c8516b..0000000
--- a/pyqt5-no-write-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- PyQt5-5.13.2/project.py.orig	2019-12-13 19:02:20.618573711 +0000
-+++ PyQt5-5.13.2/project.py	2019-12-13 19:02:31.142055299 +0000
-@@ -306,10 +306,6 @@
-         target_plugin_dir = os.path.join(
-                 builder.qt_configuration['QT_INSTALL_PLUGINS'], target_subdir)
- 
--        if not os.access(target_plugin_dir, os.W_OK):
--            self.progress("The {0} plugin was disabled because you do not have write permission on '{1}'.".format(user_name, target_plugin_dir))
--            return
--
-         # Create the buildable and add it to the builder.
-         buildable = Buildable(self, name)
-         self.buildables.append(buildable)