summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-23 21:10:19 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-27 19:41:28 +0000
commitc77a394072ff2ef4077d333251f1bd9f767c925f (patch)
treeb2e9f3a0c1af0b2e49e7b7c534c87774ec82ee82
parentc7e4c24a6477effdd7e769f0d2caefc83d8a40af (diff)
gnu: python-sparqlkernel: Switch to pyproject.
* gnu/packages/jupyter.scm (python-sparqlkernel): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Relocate phase 'install-kernelspec. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I2b65b4e23f212ef654d0efcb9a8a2e28bed343e1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/jupyter.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 7663e1916ce..3d67885a760 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -1274,7 +1274,7 @@ Docker registry.")
(sha256
(base32
"004v22nyi5cnpxq4fiws89p7i5wcnzv45n3n70axdd6prh6rkapx"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:tests? #f ;no test suite
@@ -1285,13 +1285,14 @@ Docker registry.")
(substitute* "sparqlkernel/install.py"
(("notebook.DEFAULT_STATIC_FILES_PATH") "\"/does-not-matter\"")
(("install_custom_css\\( destd, PKGNAME \\)") ""))))
- (add-after 'add-install-to-pythonpath 'install-kernelspec
+ (add-after 'wrap 'install-kernelspec
(lambda _
(setenv "HOME" "/tmp")
(invoke
(string-append #$output "/bin/jupyter-sparqlkernel")
"install"
(string-append "--InstallKernelSpec.prefix=" #$output)))))))
+ (native-inputs (list python-setuptools))
(propagated-inputs
(list python-ipykernel
python-notebook
@@ -1301,9 +1302,10 @@ Docker registry.")
python-traitlets))
(home-page "https://github.com/paulovn/sparql-kernel")
(synopsis "Jupyter kernel for SPARQL")
- (description "This module installs a Jupyter kernel for SPARQL. It allows
-sending queries to an SPARQL endpoint, fetching and presenting the results in
-a notebook.")
+ (description
+ "This module installs a Jupyter kernel for SPARQL. It allows sending
+queries to an SPARQL endpoint, fetching and presenting the results in a
+notebook.")
(license license:bsd-3)))
(define-public python-ipympl