Compare commits
5 Commits
python-mat
...
f13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd5b4f53de | ||
|
|
e77417f331 | ||
|
|
4006838b91 | ||
|
|
edfabceb98 | ||
|
|
2bed5b16eb |
@@ -1 +0,0 @@
|
|||||||
matplotlib-1.0.0-without-gpc.tar.gz
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
matplotlib-0.99.1.2.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,17 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
version=$1
|
|
||||||
|
|
||||||
[ -z $version ] && exit 1
|
|
||||||
|
|
||||||
dir=matplotlib-${version}
|
|
||||||
file=matplotlib-${version}.tar.gz
|
|
||||||
result=matplotlib-${version}-without-gpc.tar.gz
|
|
||||||
|
|
||||||
rm -rf matplotlib-${version}
|
|
||||||
tar xzf $file
|
|
||||||
|
|
||||||
rm matplotlib-${version}/agg24/include/agg_conv_gpc.h
|
|
||||||
|
|
||||||
rm -f $result
|
|
||||||
tar czf $result $dir
|
|
||||||
@@ -1,18 +1,14 @@
|
|||||||
%{!?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: 1.0.0
|
Version: 0.99.1.2
|
||||||
Release: 1%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Python plotting library
|
Summary: Python plotting library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: Python
|
License: Python
|
||||||
URL: http://sourceforge.net/projects/matplotlib
|
URL: http://sourceforge.net/projects/matplotlib
|
||||||
#Modified Sources to remove the one undistributable file
|
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}.tar.gz
|
||||||
#See generate-tarball.sh in fedora cvs repository for logic
|
|
||||||
#sha1sum matplotlib-1.0.0-without-gpc.tar.gz
|
|
||||||
#c3c2cb82ee122b36977f636948bb4a79b15c03ba matplotlib-1.0.0-without-gpc.tar.gz
|
|
||||||
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}-without-gpc.tar.gz
|
|
||||||
Source1: setup.cfg
|
Source1: setup.cfg
|
||||||
Patch0: matplotlib-gcc43.patch
|
Patch0: matplotlib-gcc43.patch
|
||||||
Patch1: matplotlib_gtk_tooltip.patch
|
Patch1: matplotlib_gtk_tooltip.patch
|
||||||
@@ -43,10 +39,10 @@ Requires: tkinter
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n matplotlib-%{version}
|
#%setup -q -n matplotlib-%{version}
|
||||||
#%setup -q -n matplotlib-0.99.3
|
%setup -q -n matplotlib-0.99.1.1
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
#%patch1 -p0
|
%patch1 -p0
|
||||||
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -85,13 +81,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 8 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.0.0-1
|
|
||||||
- New upstream release
|
|
||||||
- Remove undistributable file from bundled agg library
|
|
||||||
|
|
||||||
* Thu Jul 1 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.99.3-1
|
|
||||||
- New upstream release
|
|
||||||
|
|
||||||
* Thu May 27 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.99.1.2-4
|
* Thu May 27 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.99.1.2-4
|
||||||
- Upstream patch to fix deprecated gtk tooltip warning.
|
- Upstream patch to fix deprecated gtk tooltip warning.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user