[PythonCard] * Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.8.2-7 - Fix documentation syn
Orcan Ogetbil
oget at fedoraproject.org
Mon Aug 2 06:08:01 UTC 2010
commit 28ccf01948e14650028b0f65561b843e272f0c2e
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date: Mon Aug 2 02:07:58 2010 -0400
* Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.8.2-7
- Fix documentation syntax
PythonCard-docfix.patch | 53 +++++++++++++++++++++++++++++++++++++++++++++++
PythonCard.spec | 8 ++++++-
2 files changed, 60 insertions(+), 1 deletions(-)
---
diff --git a/PythonCard-docfix.patch b/PythonCard-docfix.patch
new file mode 100644
index 0000000..b457eff
--- /dev/null
+++ b/PythonCard-docfix.patch
@@ -0,0 +1,53 @@
+diff -rupN PythonCard-0.8.2.old/samples/financial/mortgage.py PythonCard-0.8.2/samples/financial/mortgage.py
+--- PythonCard-0.8.2.old/samples/financial/mortgage.py 2005-12-13 06:13:22.000000000 -0500
++++ PythonCard-0.8.2/samples/financial/mortgage.py 2010-08-02 01:59:11.000000000 -0400
+@@ -11,7 +11,7 @@ __date__ = "$Date: 2005/12/13 11:13:22 $
+ from PythonCard import dialog, model
+ import pyfi
+
+-class MyBackground(model.Background)
++class MyBackground(model.Background):
+
+ def on_initialize(self, event):
+ # if you have any initialization
+diff -rupN PythonCard-0.8.2.old/samples/flock/flock.py PythonCard-0.8.2/samples/flock/flock.py
+--- PythonCard-0.8.2.old/samples/flock/flock.py 2005-12-13 20:24:24.000000000 -0500
++++ PythonCard-0.8.2/samples/flock/flock.py 2010-08-02 01:59:11.000000000 -0400
+@@ -1,4 +1,5 @@
+ #!/usr/bin/python
++from __future__ import division
+
+ """
+ Builds on the "gravity" sample to show a simple animation of "boids"; shows simple emergent behaviour for a 2-D flock of "boids".
+@@ -15,7 +16,6 @@ __date__ = "$Date: 2005/12/14 01:24:24 $
+ # AGT 2004-10-05
+ # Based on Kevin's imagegravity sample - simple 2-D boids
+
+-from __future__ import division
+
+ try:
+ import psyco
+diff -rupN PythonCard-0.8.2.old/samples/jabberChat/connection.py PythonCard-0.8.2/samples/jabberChat/connection.py
+--- PythonCard-0.8.2.old/samples/jabberChat/connection.py 2005-12-13 06:13:23.000000000 -0500
++++ PythonCard-0.8.2/samples/jabberChat/connection.py 2010-08-02 02:00:01.000000000 -0400
+@@ -93,15 +93,15 @@ class JabberConnection:
+ """
+ Exception in thread Thread-1:
+ Traceback (most recent call last):
+- File "C:\Python22\lib\threading.py", line 408, in __bootstrap
++ File "C:\\Python22\\lib\\threading.py", line 408, in __bootstrap
+ self.run()
+- File "C:\Python22\lib\threading.py", line 396, in run
++ File "C:\\Python22\\lib\\threading.py", line 396, in run
+ apply(self.__target, self.__args, self.__kwargs)
+- File "C:\python\jabberChat\connection.py", line 92, in spinMyWheels
++ File "C:\\python\\jabberChat\\connection.py", line 92, in spinMyWheels
+ self.con.process(1)
+- File "C:\python\xmlstream.py", line 450, in process
++ File "C:\\python\\xmlstream.py", line 450, in process
+ if not len(self.read()): # length of 0 means disconnect
+- File "C:\python\xmlstream.py", line 379, in read
++ File "C:\\python\\xmlstream.py", line 379, in read
+ data_in = data_in + \
+ File "<string>", line 1, in recv
+ error: (10054, 'Connection reset by peer')
diff --git a/PythonCard.spec b/PythonCard.spec
index c30e1df..16ab27e 100644
--- a/PythonCard.spec
+++ b/PythonCard.spec
@@ -2,10 +2,12 @@
Name: PythonCard
Version: 0.8.2
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: PythonCard GUI construction toolkit
Source: http://dl.sf.net/pythoncard/%{name}-%{version}.tar.gz
+# Fix doc syntax. Otherwise package does not build. Upstreamable:
+Patch0: PythonCard-docfix.patch
URL: http://pythoncard.sourceforge.net/
Group: Development/Libraries
@@ -23,6 +25,7 @@ applications on Windows, Mac OS X, and Linux, using the Python language.
%prep
%setup -q
+%patch0 -p1
%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
@@ -50,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%{_docdir}/%{name}-%{version}
%changelog
+* Mon Aug 02 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.8.2-7
+- Fix documentation syntax
+
* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.8.2-6
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list