Updated, please test.
Search Criteria
Package Details: python-matplotlib-noqt 1.4.3-1
Package Actions
| Package Base: | python-matplotlib-noqt |
|---|---|
| Description: | A python plotting library, making publication quality plots |
| Upstream URL: | http://matplotlib.org |
| Category: | lib |
| Licenses: | |
| Submitter: | pedromj |
| Maintainer: | pedromj |
| Last Packager: | pedromj |
| Votes: | 2 |
| First Submitted: | 2013-01-03 14:07 |
| Last Updated: | 2015-07-14 11:30 |
Dependencies (21)
- python-cairo
- python-dateutil
- python-numpy
- python-pyparsing
- python-pytz
- ghostscript (make)
- python-cairo (make)
- python-dateutil (make)
- python-gobject (make)
- python-numpy (make)
- python-pyparsing (make)
- python-pytz (make)
- python-six (make)
- texlive-bin (make)
- tk (make)
- ghostscript (optional) – usetex dependencies
- python-cairo (optional) – for GTK3Cairo backend
- python-gobject (optional) – for GTK3Agg/GTK3Cairo backend
- python-tornado (optional) – for webagg backend
- texlive-bin (optional) – usetex dependencies
- tk (optional) – used by the TkAgg backend
Required by (0)
Sources
Latest Comments
Comment by pedromj
Comment by pedromj
Hi,
I have updated and fixed the stated problems in the PKGBUILD. Please check them and test it. Thank you.
Regards,
Pedro
Comment by TrialnError
And one more:
python-gobject is not just a makedep. Maybe it should be additionally added as optdep?
Without it python complains, as it defaults to the GTK3 backend
$ python -c "import matplotlib.pyplot"
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/matplotlib/backends/backend_gtk3.py", line 7, in <module>
import gi
ImportError: No module named 'gi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.4/site-packages/matplotlib/pyplot.py", line 98, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/usr/lib/python3.4/site-packages/matplotlib/backends/__init__.py", line 28, in pylab_setup
globals(),locals(),[backend_name],0)
File "/usr/lib/python3.4/site-packages/matplotlib/backends/backend_gtk3cairo.py", line 1, in <module>
from . import backend_gtk3
File "/usr/lib/python3.4/site-packages/matplotlib/backends/backend_gtk3.py", line 9, in <module>
raise ImportError("Gtk3 backend requires pygobject to be installed.")
ImportError: Gtk3 backend requires pygobject to be installed.
Comment by TrialnError
A few things about this PKGBuild and the one for python2.
Is there a specific reason why there is no conflicts/provides entry in the PKGBuild to conflict the package from repo?
And secondly. The Guidelines suggest, that every code, that changes the code should be in the extra function prepare()[0].
Which means the part which changes the shebang of the files should be in prepare().
______
[0]https://wiki.archlinux.org/index.php/Creating_packages#PKGBUILD_Functions
Comment by pedromj
New package, please test.
Comment by pedromj
Updated, please test. Thank you.