[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
160/204: gnu: python-sparqlkernel: Use gexps and fix inputs.
From: |
guix-commits |
Subject: |
160/204: gnu: python-sparqlkernel: Use gexps and fix inputs. |
Date: |
Wed, 20 Apr 2022 02:03:40 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit d36055f769e2a2615243956663874c3424fb90dc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 21:31:37 2022 -0400
gnu: python-sparqlkernel: Use gexps and fix inputs.
[arguments]: Use gexps.
[tests?]: Add comment.
[phases]: Delete trailing #t.
{no-custom-css}: Use a regular lambda.
{install-kernelspec}: Move after the add-installed-pythonpath phase. Remove
now extraneous add-installed-pythonpath call. Adjust for gexps.
[native-inputs]: Delete field.
[propagated-inputs]: Add python-ipykernel, python-notebook, python-rdflib
and
pythopython-traitlets.
[description]: Avoid '&' in description.
---
gnu/packages/jupyter.scm | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index bd78229e44..bab13b7b69 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -620,33 +620,32 @@ Docker registry.")
"004v22nyi5cnpxq4fiws89p7i5wcnzv45n3n70axdd6prh6rkapx"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'no-custom-css
- (lambda* (#:key inputs #:allow-other-keys)
+ (list
+ #:tests? #f ;no test suite
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'no-custom-css
+ (lambda _
(substitute* "sparqlkernel/install.py"
- (("install_custom_css\\( destd, PKGNAME \\)") ""))
- #t))
- (add-after 'install 'install-kernelspec
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "HOME" "/tmp")
- (add-installed-pythonpath inputs outputs)
- (invoke
- (string-append out "/bin/jupyter-sparqlkernel")
- "install"
- (string-append "--InstallKernelSpec.prefix=" out))
- #t))))))
- (native-inputs
- (list python-traitlets python-jupyter-client python-notebook
- python-ipykernel python-html5lib-0.9))
+ (("install_custom_css\\( destd, PKGNAME \\)") ""))))
+ (add-after 'add-install-to-pythonpath 'install-kernelspec
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke
+ (string-append #$output "/bin/jupyter-sparqlkernel")
+ "install"
+ (string-append "--InstallKernelSpec.prefix=" #$output)))))))
(propagated-inputs
- (list python-sparqlwrapper python-pygments))
+ (list python-ipykernel
+ python-notebook
+ python-pygments
+ python-rdflib
+ python-sparqlwrapper
+ 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 and fetching & presenting the results in
+sending queries to an SPARQL endpoint, fetching and presenting the results in
a notebook.")
(license license:bsd-3)))
- 200/204: gnu: Remove python2-keyring., (continued)
- 200/204: gnu: Remove python2-keyring., guix-commits, 2022/04/20
- 201/204: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/04/20
- 82/204: gnu: Add python-ufolib2., guix-commits, 2022/04/20
- 122/204: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/20
- 125/204: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/20
- 127/204: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/20
- 131/204: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/20
- 138/204: gnu: Add python-socksio., guix-commits, 2022/04/20
- 151/204: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/20
- 154/204: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/20
- 160/204: gnu: python-sparqlkernel: Use gexps and fix inputs.,
guix-commits <=
- 162/204: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/20
- 163/204: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/20
- 168/204: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/20
- 172/204: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/20
- 173/204: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/20
- 179/204: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/04/20
- 182/204: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/20
- 185/204: gnu: Add python-crccheck., guix-commits, 2022/04/20
- 186/204: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/20
- 187/204: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/04/20