rpms/pychart/devel pychart-1.39-optparse.patch, NONE, 1.1 pychart.spec, 1.5, 1.6
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Sat Jan 6 03:19:48 UTC 2007
Author: spot
Update of /cvs/extras/rpms/pychart/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22970
Modified Files:
pychart.spec
Added Files:
pychart-1.39-optparse.patch
Log Message:
Jef fixed pychart, hooray!
pychart-1.39-optparse.patch:
--- NEW FILE pychart-1.39-optparse.patch ---
diff -u PyChart-1_39-BAD/doc/doc.py PyChart-1_39/doc/doc.py
--- PyChart-1_39-BAD/doc/doc.py 2006-12-23 00:45:52.000000000 -0900
+++ PyChart-1_39/doc/doc.py 2006-12-23 00:46:36.000000000 -0900
@@ -1,11 +1,11 @@
from pychart import *
import pychart.doc_support
-import optik
+import optparse
import string
import sys
import re
-parser = optik.OptionParser()
+parser = optparse.OptionParser()
parser.add_option("-S", "--ps", action="store_true", default=None)
parser.add_option("-D", "--pdf", action="store_true", default=None)
parser.add_option("-X", "--pychart-dir", action="store", default=None)
Index: pychart.spec
===================================================================
RCS file: /cvs/extras/rpms/pychart/devel/pychart.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pychart.spec 15 Sep 2006 15:58:48 -0000 1.5
+++ pychart.spec 6 Jan 2007 03:19:18 -0000 1.6
@@ -2,7 +2,7 @@
Name: pychart
Version: 1.39
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL
Group: System Environment/Libraries
Summary: Python library for generating chart images
@@ -14,10 +14,10 @@
# it as an addon source tarball. This is BZ #177350
Source1: python-2.4.2-Doc.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: ghostscript-devel, tetex-latex, latex2html
+BuildRequires: ghostscript-devel, tetex-latex, latex2html, python-devel, python-tools
BuildArch: noarch
Patch0: pychart-1.39-mkhowto.patch
-
+Patch1: pychart-1.39-optparse.patch
%description
PyChart is a Python library for creating high quality Encapsulated Postscript,
PDF, PNG, or SVG charts. It currently supports line plots, bar plots,
@@ -41,6 +41,7 @@
%prep
%setup -q -n PyChart-1_39 -T -b 0 -a 1
%patch0 -p1
+%patch1 -p1
%build
%{__python} setup.py build
@@ -66,6 +67,9 @@
%doc doc/examples doc/pychart
%changelog
+* Fri Dec 22 2006 Jef Spaleta <jspaleta at gmail.com> 1.39-5
+- bump for python 2.5 in development
+
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa at redhat.com> 1.39-4
- bump for FC-6
More information about the scm-commits
mailing list