aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-08 11:20:33 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-08 12:05:04 +0100
commitde0ec3749e2eefb28cc13d77db0f6fcc0a325c27 (patch)
treea058abd34a6856184a210cb3e02f07b9e0621a16
parent5a7170e7ed550935628e4a76ee242eef75d30ccd (diff)
downloadguix-de0ec3749e2eefb28cc13d77db0f6fcc0a325c27.tar.gz
guix-de0ec3749e2eefb28cc13d77db0f6fcc0a325c27.zip
gnu: python-pari-jupyter: Move to jupyter.
* gnu/packages/python-xyz.scm (python-pari-jupyter): Move from here ... * gnu/packages/jupyter.scm: ... to here. Change-Id: Id0fcd902f9cecd685e912345ce8ef8ee9146d926
-rw-r--r--gnu/packages/jupyter.scm35
-rw-r--r--gnu/packages/python-xyz.scm28
2 files changed, 33 insertions, 30 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 5c95d6a144..9564d6ef6b 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -1,10 +1,11 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019, 2022 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2019, 2022 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2021-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
+;;; Copyright © 2021-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,6 +31,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
+ #:use-module (gnu packages algebra)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages cpp)
@@ -47,6 +49,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages time)
#:use-module (gnu packages xml)
#:use-module (gnu packages tls)
@@ -272,6 +275,34 @@ tests kernels for successful code execution and conformance with the
Messaging Protocol}.")
(license license:bsd-3)))
+(define-public python-pari-jupyter
+ (package
+ (name "python-pari-jupyter")
+ (version "1.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pari-jupyter" version))
+ (sha256
+ (base32 "178v8y3sj3lh3y8i7krbmjqvmv7549bg535fqq1q6axr0lfjknbw"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; there are no proper tests
+ (native-inputs
+ (list python-cython
+ python-jupyter-kernel-test
+ python-setuptools
+ python-wheel))
+ (inputs
+ (list pari-gp
+ readline))
+ (propagated-inputs
+ (list python-ipykernel))
+ (home-page "https://github.com/sagemath/pari-jupyter")
+ (synopsis "Jupyter kernel for PARI/GP")
+ (description "The package provides a PARI/GP kernel for Jupyter.")
+ (license license:gpl3+)))
+
(define-public python-pytest-jupyter
(package
(name "python-pytest-jupyter")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d23b314121..666de1bcd7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14253,34 +14253,6 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
(modify-inputs (package-propagated-inputs parent)
(replace "python-jupyter-client" python-jupyter-client-bootstrap)))))))
-(define-public python-pari-jupyter
- (package
- (name "python-pari-jupyter")
- (version "1.4.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pari-jupyter" version))
- (sha256
- (base32 "178v8y3sj3lh3y8i7krbmjqvmv7549bg535fqq1q6axr0lfjknbw"))))
- (build-system pyproject-build-system)
- (arguments
- (list #:tests? #f)) ; there are no proper tests
- (native-inputs
- (list python-cython
- python-jupyter-kernel-test
- python-setuptools
- python-wheel))
- (inputs
- (list pari-gp
- readline))
- (propagated-inputs
- (list python-ipykernel))
- (home-page "https://github.com/sagemath/pari-jupyter")
- (synopsis "Jupyter kernel for PARI/GP")
- (description "The package provides a PARI/GP kernel for Jupyter.")
- (license license:gpl3+)))
-
(define-public python-backcall
(package
(name "python-backcall")