rpms/pybliographer/FC-3 pybliographer.patch, 1.1, 1.2 pybliographer.spec, 1.6, 1.7
Zoltan Kota (zkota)
fedora-extras-commits at redhat.com
Tue Dec 20 14:11:09 UTC 2005
- Previous message: rpms/gnupg2/devel .cvsignore, 1.7, 1.8 gnupg2.spec, 1.29, 1.30 sources, 1.8, 1.9
- Next message: rpms/pybliographer/FC-4 gnome-python.patch, NONE, 1.1 pybliographer.patch, 1.1, 1.2 pybliographer.spec, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zkota
Update of /cvs/extras/rpms/pybliographer/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10347/FC-3
Modified Files:
pybliographer.patch pybliographer.spec
Log Message:
Applying patches from upstream
pybliographer.patch:
Index: pybliographer.patch
===================================================================
RCS file: /cvs/extras/rpms/pybliographer/FC-3/pybliographer.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pybliographer.patch 15 Oct 2005 21:56:03 -0000 1.1
+++ pybliographer.patch 20 Dec 2005 14:11:07 -0000 1.2
@@ -1,13 +1,112 @@
+--- pybliographer-1.2.7-orig/Pyblio/Format/BibTeX.py 2005-10-13 18:11:13.000000000 +0200
++++ pybliographer-1.2.7/Pyblio/Format/BibTeX.py 2005-12-09 13:33:04.000000000 +0100
+@@ -425,7 +425,7 @@
+ else:
+ if self.dict.has_key (entry.key):
+ errors.append (_("%s:%d: key `%s' already defined") % (
+- str (self.key), entry.line, entry.key.key))
++ repr (self.key), entry.line, repr (entry.key.key)))
+ else:
+ self.dict [entry.key] = entry
+
+--- pybliographer-1.2.7-orig/Pyblio/Format/Medline.py 2005-10-13 18:11:13.000000000 +0200
++++ pybliographer-1.2.7/Pyblio/Format/Medline.py 2005-12-09 13:33:04.000000000 +0100
+@@ -111,7 +111,7 @@
+ first, last, lineage = [], [], []
+
+ for part in string.split (au, ' '):
+- if part == string.upper (part):
++ if part.isupper ():
+ # in upper-case, this is a first name
+ if len (last) > 0:
+ first.append (part)
+@@ -130,7 +130,7 @@
+ first = first [0:1]
+
+ if len (first) > 0:
+- first = string.join (first [0], '.') + '.'
++ first = string.join (first [0], '. ') + '.'
+ else:
+ first = None
+
+@@ -158,8 +158,6 @@
+ for f in table.keys ():
+ f_mapped = one_to_one.get(f, 'medline-%s' %(f.lower()))
+ text_type = Types.get_field(f_mapped).type
+- print 'MEDLINE: field name %s has type %s' %(
+- f_mapped, text_type)
+ norm [f_mapped] = text_type (string.join (table [f], " ; "))
+
+ return Base.Entry (None, type, norm)
+@@ -302,3 +300,8 @@
+ Autoload.register ('format', 'Medline', {'open' : opener,
+ 'write' : writer,
+ 'iter' : iterator})
++
++### Local Variables:
++### Mode: python
++### py-master-file : "ut_medline.py"
++### End:
+--- pybliographer-1.2.7-orig/Pyblio/GnomeUI/Document.py 2005-10-13 18:11:17.000000000 +0200
++++ pybliographer-1.2.7/Pyblio/GnomeUI/Document.py 2005-12-09 13:33:04.000000000 +0100
+@@ -1052,7 +1052,6 @@
+ try:
+ self.lyx = LyX.LyXClient ()
+ except IOError, msg:
+- msg = msg [1].decode (enc)
+ self.w.error (_("Can't connect to LyX:\n%s") % msg)
+ return
+
+--- pybliographer-1.2.7-orig/Pyblio/GnomeUI/FileSelector.py 2005-10-13 18:11:13.000000000 +0200
++++ pybliographer-1.2.7/Pyblio/GnomeUI/FileSelector.py 2005-12-19 11:58:43.000000000 +0100
+@@ -87,11 +87,13 @@
+ liste = Autoload.available ('format')
+ liste.sort ()
+
+- self.formats = [ None ]
++ self.formats = []
+
+ if has_auto:
+ self.menu.append_text (_(' - According to file suffix - '))
+ self.ftype = None
++ self.formats.append(None)
++
+ else:
+ self.ftype = liste [0]
+
+--- pybliographer-1.2.7-orig/Pyblio/LyX.py 2005-10-13 18:11:13.000000000 +0200
++++ pybliographer-1.2.7/Pyblio/LyX.py 2005-12-09 13:33:05.000000000 +0100
+@@ -33,14 +33,14 @@
+ pin = os.path.expanduser (base + '.in')
+ try:
+ ans = os.stat (pin)
+- except os.error:
+- raise IOError, (-1, _("no input pipe `%s'") % pin)
++ except OSError, msg:
++ raise IOError (_("no input pipe `%s'") % pin)
+
+ pout = os.path.expanduser (base + '.out')
+ try:
+ ans = os.stat (pout)
+ except os.error:
+- raise IOError, (-1, _("no output pipe `%s'") % pout)
++ raise IOError (_("no output pipe `%s'") % pout)
+
+ def noaction (* arg): return
+
--- pybliographer-1.2.7-orig/setup-check.py 2005-10-13 18:11:19.000000000 +0200
-+++ pybliographer-1.2.7/setup-check.py 2005-10-15 23:27:16.000000000 +0200
-@@ -86,8 +86,8 @@
++++ pybliographer-1.2.7/setup-check.py 2005-10-18 12:04:58.000000000 +0200
+@@ -86,9 +86,10 @@
error ('unexpected error')
-if gtk.pygtk_version < (2,4,0):
- error ('requested version for PyGtk is %s, but I detected %s' % ('2.4.0', v))
-+#if gtk.pygtk_version < (2,4,0):
-+# error ('requested version for PyGtk is %s, but I detected %s' % ('2.4.0', v))
-
+-
++else:
++ if gtk.pygtk_version < (2,4,0):
++ error ('requested version for PyGtk is %s, but I detected %s' % ('2.4.0', v))
++
try:
+ import _recode
Index: pybliographer.spec
===================================================================
RCS file: /cvs/extras/rpms/pybliographer/FC-3/pybliographer.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- pybliographer.spec 15 Oct 2005 21:56:03 -0000 1.6
+++ pybliographer.spec 20 Dec 2005 14:11:07 -0000 1.7
@@ -1,7 +1,7 @@
Summary: Framework for working with bibliographic databases
Name: pybliographer
Version: 1.2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Applications/Publishing
Source: http://dl.sf.net/pybliographer/pybliographer-1.2.7.tar.gz
@@ -154,6 +154,9 @@
%changelog
+* Tue Dec 20 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.7-2
+- add patch for fixing different bugs
+
* Fri Oct 15 2005 Zoltan Kota <z.kota at gmx.net> - 1.2.7-1
- update to 1.2.7
- drop gnome-help.patch, fixed upstream
- Previous message: rpms/gnupg2/devel .cvsignore, 1.7, 1.8 gnupg2.spec, 1.29, 1.30 sources, 1.8, 1.9
- Next message: rpms/pybliographer/FC-4 gnome-python.patch, NONE, 1.1 pybliographer.patch, 1.1, 1.2 pybliographer.spec, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list