From a89fe54bc40fad8b8687e5f586d7f438cd3012ec Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Mon, 22 Feb 2021 21:15:21 +1100 Subject: [PATCH 1/4] gnu: python-sip: Upgrade to 6.0.1. * gnu/packages/qt.scm (python-sip): Upgrade to 6.0.1. --- gnu/packages/qt.scm | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 4fbb157600..38903803be 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -88,6 +88,7 @@ #:use-module (gnu packages pulseaudio) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) #:use-module (gnu packages regex) #:use-module (gnu packages ruby) @@ -1960,7 +1961,7 @@ and binaries removed, and adds modular support for using system libraries.") (define-public python-sip (package (name "python-sip") - (version "4.19.24") + (version "6.0.1") (source (origin (method url-fetch) @@ -1970,32 +1971,12 @@ and binaries removed, and adds modular support for using system libraries.") "/sip-" version ".tar.gz"))) (sha256 (base32 - "1ra15vb5i9gkg2vdvh16cq9x2mmzw1yi3xphxs8q34q1pf83gkgd")))) - (build-system gnu-build-system) + "11574y8580i239l8cvjjw5fjn409f8bdi2vl4xc6vp5f4hmyjcy9")))) + (build-system python-build-system) (native-inputs - `(("python" ,python-wrapper))) - (arguments - `(#:tests? #f ; no check target - #:imported-modules ((guix build python-build-system) - ,@%gnu-build-system-modules) - #:modules ((srfi srfi-1) - ((guix build python-build-system) #:select (python-version)) - ,@%gnu-build-system-modules) - #:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (include (string-append out "/include")) - (python (assoc-ref inputs "python")) - (lib (string-append out "/lib/python" - (python-version python) - "/site-packages"))) - (invoke "python" "configure.py" - "--bindir" bin - "--destdir" lib - "--incdir" include))))))) + `(("python" ,python-wrapper) + ("python-toml" ,python-toml) + ("python-packaging" ,python-packaging))) (home-page "https://www.riverbankcomputing.com/software/sip/intro") (synopsis "Python binding creator for C and C++ libraries") (description -- 2.30.1