SPECS: python-matplotlib.spec - build with (new) numpy; Numeric/nu...

qboosh qboosh at pld-linux.org
Mon Jul 17 16:57:15 CEST 2006


Author: qboosh                       Date: Mon Jul 17 14:57:15 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with (new) numpy; Numeric/numarray don't work properly in this release
- don't include Vera fonts, matplotlib can use system fonts

---- Files affected:
SPECS:
   python-matplotlib.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/python-matplotlib.spec
diff -u SPECS/python-matplotlib.spec:1.11 SPECS/python-matplotlib.spec:1.12
--- SPECS/python-matplotlib.spec:1.11	Mon Jul 17 11:41:16 2006
+++ SPECS/python-matplotlib.spec	Mon Jul 17 16:57:10 2006
@@ -1,12 +1,12 @@
 # $Revision$, $Date$
 # 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
@@ -16,16 +16,16 @@
 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)
 
@@ -56,6 +56,9 @@
 
 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
 
@@ -87,6 +90,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/07/17 14:57:10  qboosh
+- build with (new) numpy; Numeric/numarray don't work properly in this release
+- don't include Vera fonts, matplotlib can use system fonts
+
 Revision 1.11  2006/07/17 09:41:16  qboosh
 - updated to 0.87.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-matplotlib.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list