]> git.pld-linux.org Git - packages/python-matplotlib.git/commitdiff
- build with (new) numpy; Numeric/numarray don't work properly in this release
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 17 Jul 2006 14:57:10 +0000 (14:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't include Vera fonts, matplotlib can use system fonts

Changed files:
    python-matplotlib.spec -> 1.12

python-matplotlib.spec

index 91c09a23c6c80d0121ea373e95f302d1406d961a..e39ea91f9decd30e53bee32b5db1535bb4128cf9 100644 (file)
@@ -1,11 +1,11 @@
 # TODO:
-# - use system fonts (*.ttf and metrics in mpl-data dir)
+# - use system fonts (cm*.ttf) and metrics in mpl-data dir?
 %define                module  matplotlib
 Summary:       Matlab(TM) style Python plotting package
 Summary(pl):   Pakiet do rysowania w Pythonie podobny do Matlaba(TM)
 Name:          python-%{module}
 Version:       0.87.4
-Release:       0.1
+Release:       0.3
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://dl.sourceforge.net/matplotlib/%{module}-%{version}.tar.gz
@@ -15,16 +15,16 @@ BuildRequires:      freetype-devel
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
 BuildRequires: python >= 2.2.1
+BuildRequires: python-Numeric-devel
 BuildRequires: python-dateutil
 BuildRequires: python-devel
 BuildRequires: python-pygtk-devel
 BuildRequires: python-pytz
 BuildRequires: python-numarray-devel
-BuildRequires: python-numpy-devel
+BuildRequires: python-numpy-devel >= 1:0.9
 %pyrequires_eq python-modules
 Requires:      python-dateutil
-Requires:      python-numpy-FFT
-Requires:      python-numpy-MA
+Requires:      python-numpy-FFT >= 1:0.9
 Requires:      python-pytz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -55,6 +55,9 @@ python setup.py install \
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py | xargs rm -f
 
+# matplotlib can use system fonts, so drop these copies
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/matplotlib/mpl-data/Vera*.ttf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.098651 seconds and 4 git commands to generate.