diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-04-29 23:35:12 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-31 14:53:34 -0400 |
commit | 4f18b13436f52c107e66056a9dd3a13bb99c8030 (patch) | |
tree | a79b625cb4b3b56938f0ba9d0042b831e98d9cad | |
parent | 955e7d628d6759e8be0d5fb2d8ca9ab4c99a54bf (diff) |
gnu: Remove python2-matplotlib.
* gnu/packages/python-xyz.scm (python2-matplotlib): Delete variable.
* tests/profiles.scm ("package->manifest-entry, search paths"): Use python 3
matplotlib in test.
-rw-r--r-- | gnu/packages/python-xyz.scm | 48 | ||||
-rw-r--r-- | tests/profiles.scm | 2 |
2 files changed, 2 insertions, 48 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 402b1b9871..8981ca0e47 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6518,53 +6518,7 @@ quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the python and ipython shell, web application servers, and six graphical user interface toolkits.") - (license license:psfl) - (properties `((python2-variant . ,(delay python2-matplotlib)))))) - -(define-public python2-matplotlib - (let ((matplotlib (package-with-python2 - (strip-python2-variant python-matplotlib)))) - (package/inherit matplotlib - (version "2.2.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "matplotlib" version)) - (sha256 - (base32 - "1sk05fdai9rw35l983rw2ymvz0nafs7szs7yz4nxrpyr1j27l0x3")))) - (arguments - (substitute-keyword-arguments (package-arguments matplotlib) - ((#:phases phases) - #~(modify-phases #$phases - (add-after 'install 'create-init-file - (lambda _ - (with-output-to-file - (string-append - #$output - "/lib/python2.7/site-packages/mpl_toolkits/__init__.py") - (lambda _ (display ""))))) - (delete 'fix-and-disable-failing-tests) - (delete 'check))))) ; These tests weren't run the the past. - (native-inputs - `(("pkg-config" ,pkg-config))) - (propagated-inputs - `(("gobject-introspection" ,gobject-introspection) - ("python2-backports-functools-lru-cache" ,python2-backports-functools-lru-cache) - ("python2-certifi" ,python2-certifi) - ("python2-cycler" ,python2-cycler) - ("python2-dateutil" ,python2-dateutil) - ("python2-functools32" ,python2-functools32) - ("python2-kiwisolver" ,python2-kiwisolver) - ("python2-numpy" ,python2-numpy) - ("python2-pillow" ,python2-pillow) - ("python2-pycairo" ,python2-pycairo) - ("python2-pygobject-2" ,python2-pygobject-2) - ("python2-pyparsing" ,python2-pyparsing) - ("python2-pytz" ,python2-pytz) - ("python2-six" ,python2-six) - ("python2-subprocess32" ,python2-subprocess32) - ("python2-tkinter" ,python-2 "tk")))))) + (license license:psfl))) (define-public python-matplotlib-documentation (package diff --git a/tests/profiles.scm b/tests/profiles.scm index d59d75985f..7418b7470f 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -471,7 +471,7 @@ (test-assert "package->manifest-entry, search paths" ;; See <http://bugs.gnu.org/22073>. - (let ((mpl (@ (gnu packages python-xyz) python2-matplotlib))) + (let ((mpl (@ (gnu packages python-xyz) python-matplotlib))) (lset= eq? (package-transitive-native-search-paths mpl) (manifest-entry-search-paths |