[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/242: gnu: python-ipython: Re-order fields.
From: |
guix-commits |
Subject: |
01/242: gnu: python-ipython: Re-order fields. |
Date: |
Wed, 11 May 2022 18:02:42 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6f9a5a2b1a3324aad277e89894caef111398cfa1
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Mar 22 23:36:56 2022 -0400
gnu: python-ipython: Re-order fields.
* gnu/packages/python-xyz.scm (python-ipython): Move the 'arguments' field
right after the 'build-system' one, Re-indent 'inputs' field.
[propagated-inputs]: Sort inputs.
---
gnu/packages/python-xyz.scm | 80 +++++++++++++++++++++------------------------
1 file changed, 37 insertions(+), 43 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 659538d193..17be321930 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9016,34 +9016,6 @@ callback signature using a prototype function.")
(sha256
(base32 "04xgymypnbfgf2q0d5b0hanjbjsp53f055sh1p8xlq52vyzmxdaq"))))
(build-system python-build-system)
- (propagated-inputs
- (list python-backcall
- python-decorator
- python-pyzmq
- python-prompt-toolkit-2
- python-terminado
- python-matplotlib
- python-matplotlib-inline
- python-numpy
- python-numpydoc
- python-jedi
- python-jinja2
- python-mistune
- python-pexpect
- python-pickleshare
- python-simplegeneric
- python-jsonschema
- python-traitlets
- python-nbformat
- python-pygments))
- (inputs
- (list readline which))
- (native-inputs
- (list graphviz
- pkg-config
- python-requests ;; for tests
- python-testpath
- python-nose))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -9053,20 +9025,6 @@ callback signature using a prototype function.")
((".*import datetime") "")
((".*datetime.datetime.now\\(\\)") "")
(("%timeit") "# %timeit"))))
- ;; Tests can only be run after the library has been installed and not
- ;; within the source directory.
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (if tests?
- (begin
- ;; Make installed package available for running the tests
- (add-installed-pythonpath inputs outputs)
- (setenv "HOME" "/tmp/") ;; required by a test
- ;; We only test the core because one of the other tests
- ;; tries to import ipykernel.
- (invoke "python" "IPython/testing/iptest.py"
- "-v" "IPython/core/tests")))))
(add-before 'check 'fix-tests
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "./IPython/utils/_process_posix.py"
@@ -9081,7 +9039,43 @@ callback signature using a prototype function.")
(delete-file "IPython/core/tests/test_interactiveshell.py")
;; AttributeError: module 'matplotlib_inline' has no
;; attribute 'backend_inline'
- (delete-file "IPython/core/tests/test_pylabtools.py"))))))
+ (delete-file "IPython/core/tests/test_pylabtools.py")))
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath inputs outputs)
+ (setenv "HOME" "/tmp/") ;; required by a test
+ ;; We only test the core because one of the other tests
+ ;; tries to import ipykernel.
+ (invoke "python" "IPython/testing/iptest.py"
+ "-v" "IPython/core/tests")))))))
+ (inputs (list readline which))
+ (propagated-inputs
+ (list python-backcall
+ python-jedi
+ python-jinja2
+ python-jsonschema
+ python-matplotlib
+ python-matplotlib-inline
+ python-mistune
+ python-nbformat
+ python-numpy
+ python-numpydoc
+ python-pexpect
+ python-pickleshare
+ python-prompt-toolkit-2
+ python-pygments
+ python-pyzmq
+ python-simplegeneric
+ python-terminado
+ python-traitlets))
+ (native-inputs
+ (list graphviz
+ pkg-config
+ python-requests ;for tests
+ python-testpath
+ python-nose))
(home-page "https://ipython.org")
(synopsis "IPython is a tool for interactive computing in Python")
(description
- 49/242: gnu: python-mypy: Update to 0.942 and fix search path., (continued)
- 49/242: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/05/11
- 63/242: gnu: Add psautohint-font-data., guix-commits, 2022/05/11
- 20/242: gnu: Add opentype-sanitizer., guix-commits, 2022/05/11
- 25/242: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/05/11
- 13/242: gnu: Add texlive-stix2-otf., guix-commits, 2022/05/11
- 54/242: gnu: Add python-jaraco-functools., guix-commits, 2022/05/11
- 56/242: gnu: Add python-path., guix-commits, 2022/05/11
- 48/242: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/05/11
- 60/242: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/05/11
- 82/242: gnu: Add python-ufolib2., guix-commits, 2022/05/11
- 01/242: gnu: python-ipython: Re-order fields.,
guix-commits <=
- 31/242: gnu: Add python-defcon., guix-commits, 2022/05/11
- 32/242: gnu: Add python-fontparts., guix-commits, 2022/05/11
- 39/242: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/05/11
- 44/242: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/05/11
- 50/242: gnu: Add python-types-docutils., guix-commits, 2022/05/11
- 59/242: gnu: Add python-pytest-perf., guix-commits, 2022/05/11
- 62/242: gnu: Add python-pytest-randomly., guix-commits, 2022/05/11
- 65/242: gnu: Add python-ordered-set., guix-commits, 2022/05/11
- 68/242: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/05/11
- 86/242: gnu: Add font-amiri., guix-commits, 2022/05/11