[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: Add python-pyqtwebengine, version 6.6.0.
From: |
guix-commits |
Subject: |
03/11: gnu: Add python-pyqtwebengine, version 6.6.0. |
Date: |
Fri, 22 Dec 2023 11:50:43 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit ea83ffbc3957f66724c2eec41096322b43f73e86
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Thu Nov 23 12:59:19 2023 +0100
gnu: Add python-pyqtwebengine, version 6.6.0.
* gnu/packages/qt.scm (python-pyqtwebengine-6): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/qt.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 002b750811..2b89e7e738 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3811,6 +3811,40 @@ set of three modules. Prior to v5.12 these bindings
were part of PyQt
itself.")
(license license:gpl3)))
+(define-public python-pyqtwebengine-6
+ (package
+ (inherit python-pyqtwebengine)
+ (version "6.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PyQt6_WebEngine" version))
+ (sha256
+ (base32 "11wlnggs5vi7z465xhmnz664wbaj44ki6mmijbk0kr457x69h2ym"))))
+ (native-inputs (list python python-sip python-pyqt-builder
+ ;; qtbase is required for qmake
+ qtbase))
+ (inputs (list python-pyqt-6 qtbase qtdeclarative qtwebchannel qtwebengine))
+ (arguments
+ (list
+ #:tests? #f ;No tests.
+ #:configure-flags #~`(@ ("--verbose" . "") ;Print commands run.
+ ("--jobs" unquote
+ (number->string (parallel-job-count))))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-include-dirs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((python (assoc-ref inputs "python"))
+ (sip-include-dirs (search-input-directory inputs
+ (string-append "/lib/python"
+ (python-version python)
+
"/site-packages/PyQt6/bindings"))))
+ (setenv "SIP_INCLUDE_DIRS" sip-include-dirs)))))))
+ (description
+ "PyQtWebEngine is a set of Python bindings for The Qt Company's Qt
+WebEngine libraries. The bindings sit on top of PyQt6 and are implemented as a
+set of three modules.")))
+
(define-public python-pyqt-builder
(package
(name "python-pyqt-builder")
- branch master updated (0de5677a18 -> 4a1b3830a8), guix-commits, 2023/12/22
- 02/11: gnu: Add python-pyqt, version 6.5.2., guix-commits, 2023/12/22
- 05/11: gnu: node-lts: Update to 18.19.0., guix-commits, 2023/12/22
- 03/11: gnu: Add python-pyqtwebengine, version 6.6.0.,
guix-commits <=
- 04/11: deprecation: Fix docstring typo., guix-commits, 2023/12/22
- 08/11: gnu: tensorflow-lite: Update to 2.13.1, guix-commits, 2023/12/22
- 09/11: gnu: Add node-normalize-path., guix-commits, 2023/12/22
- 11/11: gnu: dante: Enable preloading support., guix-commits, 2023/12/22
- 01/11: gnu: Add python-pyqt6-sip., guix-commits, 2023/12/22
- 06/11: gnu: Add liquidprompt., guix-commits, 2023/12/22
- 07/11: gnu: emacs-jinx: Update to 1.0., guix-commits, 2023/12/22
- 10/11: gnu: Add node-safe-stable-stringify., guix-commits, 2023/12/22