summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-03-26 09:09:20 +0100
committerCayetano Santos <csantosb@inventati.org>2026-04-01 15:06:38 +0200
commit507d60f3f89a721eb1d772833c67e87e9eb9ab0d (patch)
treeacfeba0017d01100af09891a92c4d9481e9c3b4f /gnu
parent7eb36c0f27acc487c5583b2203910ad1f43b53b4 (diff)
gnu: Remove python-pyside-2.
* gnu/packages/qt.scm (python-pyside-2): Delete variable. Merges guix/guix!7482 Change-Id: I00b979a6f705bd52e17bbb9361ee0cf36f9ca45b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/qt.scm106
1 files changed, 0 insertions, 106 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 849a39795b3..8230e0d69b0 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5930,112 +5930,6 @@ color-related widgets.")
license:lgpl3
license:bsd-3))))
-(define-public python-pyside-2
- (package
- (name "python-pyside-2")
- (version (package-version python-shiboken-2))
- (source (package-source python-shiboken-2))
- (build-system cmake-build-system)
- (inputs
- (list qtbase-5
- qtdatavis3d-5
- qtdeclarative-5
- qtlocation-5
- qtmultimedia-5
- qtquickcontrols-5
- qtquickcontrols2-5
- qtscript-5
- qtscxml-5
- qtsensors-5
- qtspeech-5
- qtsvg-5
- qttools-5
- qtwebchannel-5
- qtwebengine-5
- qtwebsockets-5
- qtx11extras
- qtxmlpatterns-5))
- (propagated-inputs
- (list python-shiboken-2))
- (native-inputs
- (list python-wrapper))
- (arguments
- (list
- #:tests? #f
- ;; FIXME: Building tests fail.
- #:configure-flags
- #~(list "-DBUILD_TESTS=FALSE"
- (string-append "-DPYTHON_EXECUTABLE="
- (search-input-file %build-inputs
- "/bin/python")))
- #:modules '((guix build cmake-build-system)
- (guix build utils)
- (srfi srfi-1))
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'go-to-source-dir
- (lambda _ (chdir "sources/pyside2")))
- (add-after 'go-to-source-dir 'fix-qt-module-detection
- (lambda _
- ;; Activate qt module support even if it not in the same
- ;; directory as qtbase.
- (substitute* "../cmake_helpers/helpers.cmake"
- (("\\(\"\\$\\{found_basepath\\}\" GREATER \"0\"\\)")
- "true"))
- ;; Add include directories for qt modules.
- (let ((dirs (map (lambda (path)
- (string-append path "/include/qt5"))
- (list
- #$@(map (lambda (name)
- (this-package-input name))
- '("qtdatavis3d"
- "qtdeclarative"
- "qtlocation"
- "qtmultimedia"
- "qtquickcontrols"
- "qtquickcontrols2"
- "qtscript"
- "qtscxml"
- "qtsensors"
- "qtspeech"
- "qtsvg"
- "qttools"
- "qtwebchannel"
- "qtwebengine"
- "qtwebsockets"
- "qtx11extras"
- "qtxmlpatterns"))))))
- (substitute* "cmake/Macros/PySideModules.cmake"
- (("\\$\\{PATH_SEP\\}\\$\\{core_includes\\}" all)
- (fold (lambda (dir paths)
- (string-append paths "${PATH_SEP}" dir))
- all
- dirs)))
- (setenv "CXXFLAGS" (fold (lambda (dir paths)
- (string-append paths " -I" dir))
- ""
- dirs))))))))
- (home-page "https://wiki.qt.io/Qt_for_Python")
- (synopsis
- "The Qt for Python product enables the use of Qt5 APIs in Python applications")
- (description
- "The Qt for Python product enables the use of Qt5 APIs in Python
-applications. It lets Python developers utilize the full potential of Qt,
-using the PySide2 module. The PySide2 module provides access to the
-individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also
-comes with the Shiboken2 CPython binding code generator, which can be used to
-generate Python bindings for your C or C++ code.")
- (license (list
- license:lgpl3
- ;;They state that:
- ;; this file may be used under the terms of the GNU General
- ;; Public License version 2.0 or (at your option) the GNU
- ;; General Public license version 3 or any later version
- ;; approved by the KDE Free Qt Foundation.
- ;; Thus, it is currently v2 or v3, but no "+".
- license:gpl3
- license:gpl2))))
-
(define-public python-pyside-6
(package
(name "python-pyside-6")