[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/21: gnu: python-sip: Update to 5.5.0. Add python-sip-4
From: |
guix-commits |
Subject: |
01/21: gnu: python-sip: Update to 5.5.0. Add python-sip-4 |
Date: |
Mon, 29 Mar 2021 19:03:25 -0400 (EDT) |
lfam pushed a commit to branch wip-update-calibre
in repository guix.
commit 2daf66987027d475510e3a74ec58db341b3b79f9
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Mon Feb 22 21:15:21 2021 +1100
gnu: python-sip: Update to 5.5.0. Add python-sip-4
* gnu/packages/qt.scm (python-sip): Update to 5.5.0.
(python-sip-4): New variable. Rename the old python-sip to python-sip-4.
(python2-sip): Inherit from python-sip-4.
* gnu/packages/maths.scm (veusz)[native-inputs]: Use python-sip-4.
* gnu/packages/pdf.scm (python-poppler-qt5): Use python-sip-4.
---
gnu/packages/maths.scm | 3 ++-
gnu/packages/pdf.scm | 2 +-
gnu/packages/qt.scm | 54 +++++++++++++++++++++++++++++++++++++-------------
3 files changed, 43 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 2e072e7..2bd20e9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2289,7 +2289,8 @@ ASCII text files using Gmsh's own scripting language.")
(native-inputs
`(("pkg-config" ,pkg-config)
;;("python-astropy" ,python-astropy) ;; FIXME: Package this.
- ("qttools" ,qttools)))
+ ("qttools" ,qttools)
+ ("python-sip" ,python-sip-4)))
(inputs
`(("ghostscript" ,ghostscript) ;optional, for EPS/PS output
("python-dbus" ,python-dbus)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index cbbdf68..689d03a 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -339,7 +339,7 @@ When present, Poppler is able to correctly render CJK and
Cyrillic text.")
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
- `(("python-sip" ,python-sip)
+ `(("python-sip" ,python-sip-4)
("python-pyqt" ,python-pyqt)
("poppler-qt5" ,poppler-qt5)
("qtbase" ,qtbase)))
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 21ccf15..83501b8 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -88,6 +89,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)
@@ -1807,6 +1809,42 @@ and binaries removed, and adds modular support for using
system libraries.")
(define-public python-sip
(package
(name "python-sip")
+ (version "5.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (list (pypi-uri "sip" version)
+ (string-append "https://www.riverbankcomputing.com/static/"
+ "Downloads/sip/" version
+ "/sip-" version ".tar.gz")))
+ (sha256
+ (base32
+ "1idaivamp1jvbbai9yzv471c62xbqxhaawccvskaizihkd0lq0jx"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python" ,python-wrapper)))
+ (propagated-inputs
+ `(("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
+ "SIP is a tool to create Python bindings for C and C++ libraries. It
+was originally developed to create PyQt, the Python bindings for the Qt
+toolkit, but can be used to create bindings for any C or C++ library.
+
+SIP comprises a code generator and a Python module. The code generator
+processes a set of specification files and generates C or C++ code, which
+is then compiled to create the bindings extension module. The SIP Python
+module provides support functions to the automatically generated code.")
+ ;; There is a choice between a python like license, gpl2 and gpl3.
+ ;; For compatibility with pyqt, we need gpl3.
+ (license license:gpl3)))
+
+(define-public python-sip-4
+ (package
+ (inherit python-sip)
+ (name "python-sip")
(version "4.19.24")
(source
(origin
@@ -1821,6 +1859,7 @@ and binaries removed, and adds modular support for using
system libraries.")
(build-system gnu-build-system)
(native-inputs
`(("python" ,python-wrapper)))
+ (propagated-inputs `())
(arguments
`(#:tests? #f ; no check target
#:imported-modules ((guix build python-build-system)
@@ -1843,23 +1882,10 @@ and binaries removed, and adds modular support for
using system libraries.")
"--bindir" bin
"--destdir" lib
"--incdir" include)))))))
- (home-page "https://www.riverbankcomputing.com/software/sip/intro")
- (synopsis "Python binding creator for C and C++ libraries")
- (description
- "SIP is a tool to create Python bindings for C and C++ libraries. It
-was originally developed to create PyQt, the Python bindings for the Qt
-toolkit, but can be used to create bindings for any C or C++ library.
-
-SIP comprises a code generator and a Python module. The code generator
-processes a set of specification files and generates C or C++ code, which
-is then compiled to create the bindings extension module. The SIP Python
-module provides support functions to the automatically generated code.")
- ;; There is a choice between a python like license, gpl2 and gpl3.
- ;; For compatibility with pyqt, we need gpl3.
(license license:gpl3)))
(define-public python2-sip
- (package/inherit python-sip
+ (package/inherit python-sip-4
(name "python2-sip")
(native-inputs
`(("python" ,python-2)))))
- branch wip-update-calibre created (now 792a8d0), guix-commits, 2021/03/29
- 04/21: gnu: python-pyqt: Fix build for new python-sip., guix-commits, 2021/03/29
- 07/21: gnu: Add python-pyannotate., guix-commits, 2021/03/29
- 09/21: gnu: Add python-ppmd-cffi., guix-commits, 2021/03/29
- 08/21: gnu: Add python-multivolumefile., guix-commits, 2021/03/29
- 11/21: gnu: Add python-pyzstd, guix-commits, 2021/03/29
- 02/21: gnu: Add python-pyqt-builder., guix-commits, 2021/03/29
- 03/21: gnu: Add python-pyqt5-sip., guix-commits, 2021/03/29
- 01/21: gnu: python-sip: Update to 5.5.0. Add python-sip-4,
guix-commits <=
- 10/21: gnu: python-zstandard: Update to 0.15.2., guix-commits, 2021/03/29
- 12/21: gnu: Add python-bcj-cffi., guix-commits, 2021/03/29
- 15/21: gnu: python-feedparser: Update to 6.0.2., guix-commits, 2021/03/29
- 06/21: gnu: Add python-zeroconf., guix-commits, 2021/03/29
- 14/21: gnu: python-markdown: Update to 3.3.4., guix-commits, 2021/03/29
- 21/21: gnu: Remove python2-pyqt., guix-commits, 2021/03/29
- 05/21: gnu: Add python-ifaddr., guix-commits, 2021/03/29
- 13/21: gnu: Add python-py7zr., guix-commits, 2021/03/29
- 16/21: gnu: Add python-pychm., guix-commits, 2021/03/29
- 18/21: gnu: python-html5lib: Depend on python-chardet., guix-commits, 2021/03/29