Verified Commit 7c299047 authored by Efraim Flashner's avatar Efraim Flashner
Browse files

python24-matplotlib: Unbundle python-pytz.

* modules/past/packages/python.scm (python24-matplitlib)[source]: Add
snippet to remove bundled library.
[propagated-inputs]: Add python24-pytz.
(python24-pytz): New variable.
parent ec24146a
......@@ -31,6 +31,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages tcl)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (srfi srfi-1))
......@@ -343,7 +344,12 @@ capabilities.")
(uri (pypi-uri "matplotlib" version))
(modules '((guix build utils)))
(delete-file-recursively "lib/pytz")
(build-system python-build-system)
`(#:python ,python-2.4))
......@@ -351,7 +357,8 @@ capabilities.")
`(("pkg-config" ,pkg-config)
("setuptools" ,python24-setuptools)))
`(("numpy" ,python24-numpy-1.1)))
`(("numpy" ,python24-numpy-1.1)
("pytz" ,python24-pytz)))
`(("freetype" ,freetype)
("libpng" ,libpng)))
......@@ -361,3 +368,12 @@ capabilities.")
(description "Matplotlib is a comprehensive library for creating static,
animated, and interactive visualizations in Python.")
(license license:psfl)))
(define-public python24-pytz
(inherit python-pytz)
(name "python24-pytz")
`(#:python ,python-2.4))
`(("setuptools" ,python24-setuptools)))))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment