gnu: pyqt: Add versions based on non-modular Qt 5.5.
authorAndreas Enge <andreas@enge.fr>
Mon, 25 Jul 2016 21:19:01 +0000 (23:19 +0200)
committerAndreas Enge <andreas@enge.fr>
Mon, 25 Jul 2016 22:38:20 +0000 (00:38 +0200)
* gnu/packages/qt.scm (python-pyqt-5.5, python2-pyqt-5.5): New variables.

gnu/packages/qt.scm

index 6c1bbc3..f246550 100644 (file)
@@ -910,6 +910,33 @@ contain over 620 classes.")
     (inputs
      `(("python" ,python-2)))))
 
+(define-public python-pyqt-5.5
+  (package (inherit python-pyqt)
+    (version "5.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+          (string-append "mirror://sourceforge/pyqt/PyQt5/"
+                         "PyQt-" version "/PyQt-gpl-"
+                         version ".tar.gz"))
+        (sha256
+         (base32
+          "056qmkv02wdcfblqdaxiswrgn4wa88sz22i1x58dpb1iniavplfd"))
+       (patches (search-patches "pyqt-configure.patch"))))
+    (native-inputs
+     `(("python-sip" ,python-sip)
+       ("qt" ,qt)))))
+
+(define-public python2-pyqt-5.5
+  (package (inherit python-pyqt-5.5)
+    (name "python2-pyqt")
+    (native-inputs
+     `(("python-sip" ,python2-sip)
+       ("qt" ,qt)))
+    (inputs
+     `(("python" ,python-2)))))
+
 (define-public python-pyqt-4
   (package (inherit python-pyqt)
     (name "python-pyqt")