Compare commits
5 Commits
F-13-split
...
f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c39608fe0b | ||
|
|
669f8b50bb | ||
|
|
52fbb72a4a | ||
|
|
95d462416d | ||
|
|
6059013b7f |
@@ -1 +0,0 @@
|
|||||||
matplotlib-0.99.1.2.tar.gz
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
matplotlib-0.90.1.tar.gz
|
||||||
21
Makefile
21
Makefile
@@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: python-matplotlib
|
|
||||||
# $Id$
|
|
||||||
NAME := python-matplotlib
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
diff -u -r matplotlib-0.91.2-old/ttconv/pprdrv.h matplotlib-0.91.2/ttconv/pprdrv.h
|
|
||||||
--- matplotlib-0.91.2-old/ttconv/pprdrv.h 2007-11-29 17:36:53.000000000 -0900
|
|
||||||
+++ matplotlib-0.91.2/ttconv/pprdrv.h 2008-03-21 13:58:01.000000000 -0800
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <vector>
|
|
||||||
-#include <assert.h>
|
|
||||||
+#include <cassert>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Encapsulates all of the output to write to an arbitrary output
|
|
||||||
diff -u -r matplotlib-0.91.2-old/ttconv/pprdrv_tt2.cpp matplotlib-0.91.2/ttconv/pprdrv_tt2.cpp
|
|
||||||
--- matplotlib-0.91.2-old/ttconv/pprdrv_tt2.cpp 2007-11-29 17:36:53.000000000 -0900
|
|
||||||
+++ matplotlib-0.91.2/ttconv/pprdrv_tt2.cpp 2008-03-21 16:04:49.000000000 -0800
|
|
||||||
@@ -31,10 +31,11 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "global_defines.h"
|
|
||||||
-#include <math.h>
|
|
||||||
-#include <stdlib.h>
|
|
||||||
-#include <string.h>
|
|
||||||
-#include <memory.h>
|
|
||||||
+#include <cmath>
|
|
||||||
+#include <cstdlib>
|
|
||||||
+#include <cstdio>
|
|
||||||
+#include <cstring>
|
|
||||||
+#include <memory>
|
|
||||||
#include "pprdrv.h"
|
|
||||||
#include "truetype.h"
|
|
||||||
#include <algorithm>
|
|
||||||
diff -u -r matplotlib-0.91.2-old/ttconv/pprdrv_tt.cpp matplotlib-0.91.2/ttconv/pprdrv_tt.cpp
|
|
||||||
--- matplotlib-0.91.2-old/ttconv/pprdrv_tt.cpp 2007-11-29 17:36:53.000000000 -0900
|
|
||||||
+++ matplotlib-0.91.2/ttconv/pprdrv_tt.cpp 2008-03-21 15:57:42.000000000 -0800
|
|
||||||
@@ -23,9 +23,9 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "global_defines.h"
|
|
||||||
-#include <stdio.h>
|
|
||||||
-#include <stdlib.h>
|
|
||||||
-#include <string.h>
|
|
||||||
+#include <cstdio>
|
|
||||||
+#include <cstdlib>
|
|
||||||
+#include <cstring>
|
|
||||||
#include "pprdrv.h"
|
|
||||||
#include "truetype.h"
|
|
||||||
#include <sstream>
|
|
||||||
diff -u -r matplotlib-0.91.2-old/ttconv/ttutil.cpp matplotlib-0.91.2/ttconv/ttutil.cpp
|
|
||||||
--- matplotlib-0.91.2-old/ttconv/ttutil.cpp 2007-11-29 17:36:53.000000000 -0900
|
|
||||||
+++ matplotlib-0.91.2/ttconv/ttutil.cpp 2008-03-24 11:25:06.000000000 -0800
|
|
||||||
@@ -8,9 +8,9 @@
|
|
||||||
/* (c) Frank Siegert 1996 */
|
|
||||||
|
|
||||||
#include "global_defines.h"
|
|
||||||
-#include <stdio.h>
|
|
||||||
-#include <stdarg.h>
|
|
||||||
-#include <stdlib.h>
|
|
||||||
+#include <cstdio>
|
|
||||||
+#include <cstdarg>
|
|
||||||
+#include <cstdlib>
|
|
||||||
#include "pprdrv.h"
|
|
||||||
|
|
||||||
#if DEBUG_TRUETYPE
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Name: python-matplotlib
|
Name: python-matplotlib
|
||||||
Version: 0.99.1.2
|
Version: 0.91.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python plotting library
|
Summary: Python plotting library
|
||||||
|
|
||||||
@@ -10,7 +10,6 @@ License: Python
|
|||||||
URL: http://sourceforge.net/projects/matplotlib
|
URL: http://sourceforge.net/projects/matplotlib
|
||||||
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}.tar.gz
|
||||||
Source1: setup.cfg
|
Source1: setup.cfg
|
||||||
Patch0: matplotlib-gcc43.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: python-devel, freetype-devel, libpng-devel, zlib-devel
|
BuildRequires: python-devel, freetype-devel, libpng-devel, zlib-devel
|
||||||
@@ -18,7 +17,7 @@ BuildRequires: pygtk2-devel, gtk2-devel, tkinter, tk-devel
|
|||||||
BuildRequires: pytz, python-dateutil, numpy
|
BuildRequires: pytz, python-dateutil, numpy
|
||||||
Requires: numpy, pytz, python-dateutil
|
Requires: numpy, pytz, python-dateutil
|
||||||
Requires: pycairo >= 1.2.0
|
Requires: pycairo >= 1.2.0
|
||||||
Requires: dejavu-sans-fonts
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Matplotlib is a pure python plotting library with the goal of making
|
Matplotlib is a pure python plotting library with the goal of making
|
||||||
@@ -38,9 +37,7 @@ Requires: tkinter
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#%setup -q -n matplotlib-%{version}
|
%setup -q -n matplotlib-%{version}
|
||||||
%setup -q -n matplotlib-0.99.1.1
|
|
||||||
#%patch0 -p1
|
|
||||||
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -51,22 +48,20 @@ cp %{SOURCE1} ./setup.cfg
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
||||||
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/dates.py
|
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/dates.py
|
||||||
rm -rf $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/mpl-data/fonts
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.txt license/LICENSE license/LICENSE_enthought.txt
|
%doc README license/LICENSE license/LICENSE_enthought.txt
|
||||||
%doc license/LICENSE_PAINT license/LICENSE_PIL
|
%doc license/LICENSE_PAINT license/LICENSE_PIL
|
||||||
%doc CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
|
%doc API_CHANGES CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
|
||||||
%doc PKG-INFO TODO examples
|
%doc PKG-INFO TODO examples
|
||||||
%if 0%{?fedora} >= 9
|
%if 0%{?fedora} >= 9
|
||||||
%{python_sitearch}/*egg-info
|
%{python_sitearch}/*egg-info
|
||||||
%endif
|
%endif
|
||||||
%{python_sitearch}/matplotlib/
|
%{python_sitearch}/matplotlib/
|
||||||
%{python_sitearch}/mpl_toolkits/
|
|
||||||
%{python_sitearch}/pylab.py*
|
%{python_sitearch}/pylab.py*
|
||||||
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
||||||
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
||||||
@@ -79,36 +74,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 11 2009 Jon Ciesla <limb@jcomserv.net> - 0.99.1.2
|
* Wed Aug 6 2008 Fedora Release Engineering <jspaleta [AT]fedoraproject.org> - 0.91.4-1
|
||||||
- Update to 0.99.1.2
|
- New upstream release with multiple fixes including crashers
|
||||||
|
|
||||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.5.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Mar 06 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.5-4
|
|
||||||
- Fixed font dep after font guideline change
|
|
||||||
|
|
||||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.5.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Dec 23 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.5-2
|
|
||||||
- Add dep on DejaVu Sans font for default font support
|
|
||||||
|
|
||||||
* Mon Dec 22 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.5-1
|
|
||||||
- Latest upstream release
|
|
||||||
- Strip out included fonts
|
|
||||||
|
|
||||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.98.3-2
|
|
||||||
- Rebuild for Python 2.6
|
|
||||||
|
|
||||||
* Wed Aug 6 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.3-1
|
|
||||||
- Latest upstream release
|
|
||||||
|
|
||||||
* Fri Jul 1 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.1-1
|
|
||||||
- Latest upstream release
|
|
||||||
|
|
||||||
* Fri Mar 21 2008 Jef Spaleta <jspaleta[AT]fedoraproject org> - 0.91.2-2
|
|
||||||
- gcc43 cleanups
|
|
||||||
|
|
||||||
* Fri Mar 21 2008 Jef Spaleta <jspaleta[AT]fedoraproject org> - 0.91.2-1
|
* Fri Mar 21 2008 Jef Spaleta <jspaleta[AT]fedoraproject org> - 0.91.2-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
|
|||||||
Reference in New Issue
Block a user