Mailinglist Archive: opensuse-commit (1826 mails)

< Previous Next >
commit pyxml
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 08 Sep 2008 01:36:57 +0200
  • Message-id: <20080907233657.6EB52678171@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pyxml
checked in at Mon Sep 8 01:36:57 CEST 2008.


--------
--- pyxml/pyxml.changes 2006-02-28 16:46:04.000000000 +0100
+++ /mounts/work_src_done/STABLE/pyxml/pyxml.changes 2008-08-19
13:05:33.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Aug 19 13:05:28 CEST 2008 - ro@xxxxxxx
+
+- fix build with python-2.6
+
+-------------------------------------------------------------------



New:
----
pyxml-keyword_as.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pyxml.spec ++++++
--- /var/tmp/diff_new_pack.w27426/_old 2008-09-08 01:36:44.000000000 +0200
+++ /var/tmp/diff_new_pack.w27426/_new 2008-09-08 01:36:44.000000000 +0200
@@ -1,32 +1,41 @@
#
# spec file for package pyxml (Version 0.8.4)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

+
Name: pyxml
BuildRequires: python-devel python-xml
Summary: XML Tools in Python
Version: 0.8.4
-Release: 8
+Release: 194
# Source0:
http://switch.dl.sourceforge.net/sourceforge/pyxml/PyXML-%{version}.tar.gz
Source0:
http://ftp1.sourceforge.net/sourceforge/pyxml/PyXML-%{version}.tar.gz
Patch0: pyxml-distutils.diff
-License: FSR, Other License(s), see package
+Patch1: pyxml-keyword_as.diff
+License: Any permissive
Group: Development/Libraries/Python
%define pyver %(python -c 'import sys; print sys.version[:3]')
Requires: python-xml python >= %pyver, python < %{pyver}.99
Provides: PyXML
-Autoreqprov: on
+AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: %{_prefix}
-URL: http://www.python.org/sigs/xml-sig/
+Url: http://www.python.org/sigs/xml-sig/

%description
The Python/XML distribution contains the basic tools required for
@@ -81,6 +90,7 @@
%prep
%setup -q -n PyXML-%{version}
%patch -P 0 -p 1
+%patch1

%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
@@ -100,26 +110,28 @@
%doc doc
%doc test

-%changelog -n pyxml
-* Tue Feb 28 2006 - jmatejek@xxxxxxx
+%changelog
+* Tue Aug 19 2008 ro@xxxxxxx
+- fix build with python-2.6
+* Tue Feb 28 2006 jmatejek@xxxxxxx
- updated to reflect python changes due to #149809
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Wed Dec 01 2004 - ke@xxxxxxx
+* Wed Dec 01 2004 ke@xxxxxxx
- Update to version 0.8.4; changes (from the announcement):
* Expat 1.95.8 is provided; pyexpat is extended to expose more
expat features:
-- CurrentLineNumber, CurrentColumnNumber, CurrentByteIndex
-- symbolic error numbers added in Expat 1.95.7 and 1.95.8
+ - CurrentLineNumber, CurrentColumnNumber, CurrentByteIndex
+ - symbolic error numbers added in Expat 1.95.7 and 1.95.8
* Add Dublin Core Metadata Initiative (DCMI) namespaces to the
xml.ns module.
* Fix memory leaks in pyexpat.
* Fix line number reporting in SAX.
-* Sat Jan 10 2004 - adrian@xxxxxxx
+* Sat Jan 10 2004 adrian@xxxxxxx
- build as user
-* Fri Aug 29 2003 - mcihar@xxxxxxx
+* Fri Aug 29 2003 mcihar@xxxxxxx
- require same python version as it was built with
-* Fri Aug 01 2003 - ke@xxxxxxx
+* Fri Aug 01 2003 ke@xxxxxxx
- Update to version 0.8.3, changes compared to 0.8.2 (from the
announcement):
* Various bug fixes (e.g., memory leak in Expat bindings: content
@@ -131,12 +143,12 @@
invasive.
* expatreader now implements feature_namespace_prefixes.
* drv_xmlproc now supports EntityResolvers that return system IDs.
-* Tue Jun 17 2003 - ke@xxxxxxx
+* Tue Jun 17 2003 ke@xxxxxxx
- Apply pyxml-distutils.diff provided by Michal Cihar for building a
clean %%files list.
-* Mon Jun 16 2003 - ke@xxxxxxx
+* Mon Jun 16 2003 ke@xxxxxxx
- Also list missing directories.
-* Mon Jan 27 2003 - ke@xxxxxxx
+* Mon Jan 27 2003 ke@xxxxxxx
- Update to version 0.8.2, changes compared to 0.8.1 (from the
announcement):
* Update expat 1.95.6.
@@ -144,27 +156,27 @@
isWhitespaceInElementContent, schemaType, isId,
DOMImplementationSource.
* Various bug fixes, including
-- 609641: minidom nodes not pickleable
-- 618156: Use character references in XMLGenerator if necessary
-- 622286: marshal.wddx: 'recordset' element typo
-- 624420: Can't create 2nd Sax2.Reader
-- 665486: Implement SAX skippedEntity for Expat
-- tracing works now with pyexpat
-- fix registry key for MSIE XBEL support
-- correct ill-formedness of xmlproc.dtd2schema
-- avoid adding comments and PIs in the internal subset as Document
+ - 609641: minidom nodes not pickleable
+ - 618156: Use character references in XMLGenerator if necessary
+ - 622286: marshal.wddx: 'recordset' element typo
+ - 624420: Can't create 2nd Sax2.Reader
+ - 665486: Implement SAX skippedEntity for Expat
+ - tracing works now with pyexpat
+ - fix registry key for MSIE XBEL support
+ - correct ill-formedness of xmlproc.dtd2schema
+ - avoid adding comments and PIs in the internal subset as Document
children when building minidom trees
-- properly close files in xml.dom.ext.reader.
+ - properly close files in xml.dom.ext.reader.
* Add features to xml.parsers.expat:
-- new method "UseForeignDTD"
-- new attribute "features"
+ - new method "UseForeignDTD"
+ - new attribute "features"
* Update to 25 July 2002 LS spec for xml.dom.xmlbuilder. Use
expatbuilder if no parser is given to xml.dom.minidom.parse[String].
* Fix many obscure DOM bugs.
* Define and document the implementation-defined behaviors of
cloneNode() for xml.dom.minidom.
* Use urllib2 instead of urllib throughout.
-* Thu Aug 01 2002 - ke@xxxxxxx
+* Thu Aug 01 2002 ke@xxxxxxx
- Update to version 0.8:
* Update expat to 1.95.4.
* Enhance pyexpat: report skipped entities, combine subsequent
@@ -189,7 +201,7 @@
* The sgmlop SAX driver now invokes skippedEntity.
* Update the xml-howto.
* Bug fixes in the MSIE, ADR, and NS XBEL parsers.
-* Wed May 08 2002 - ke@xxxxxxx
+* Wed May 08 2002 ke@xxxxxxx
- Update to version 0.7.1:
* sgmlop offers XMLUnicodeParser.
* Improve XBEL support for parsing Opera, MSIE, and Netscape
@@ -206,7 +218,7 @@
xml.utils.characters happens lazily through accessor functions.
* Fix various bugs (4DOM, minidom, c14n, marshal.generic, xmlproc,
sax.expatreader, sax.writer, xml.utils.iso8601).
-* Thu Jan 10 2002 - ke@xxxxxxx
+* Thu Jan 10 2002 ke@xxxxxxx
- Update to version 0.7; extract from the announcement:
* Integrate Expat 1.95.2.
* Implementation of TREX (in the xml.schema.trex module).
@@ -221,29 +233,29 @@
* Add Swedish and French messages to xmlproc.
* New SAX2 drivers have for htmllib, sgmllib, sgmlop, and
sgmlop_html.
-* Mon Sep 24 2001 - ke@xxxxxxx
+* Mon Sep 24 2001 ke@xxxxxxx
- pyxml.spec: Require 'python-xml' (also add it do #neeededforbuild).
-* Mon Aug 06 2001 - ke@xxxxxxx
+* Mon Aug 06 2001 ke@xxxxxxx
- Update to version 0.6.6.
-* Wed Mar 28 2001 - ke@xxxxxxx
+* Wed Mar 28 2001 ke@xxxxxxx
- Update to version 0.6.5.
-* Mon Jan 22 2001 - ke@xxxxxxx
+* Mon Jan 22 2001 ke@xxxxxxx
- Update to version 0.6.3.
-* Mon Jan 22 2001 - ke@xxxxxxx
+* Mon Jan 22 2001 ke@xxxxxxx
- pyxml.spec: Require 'python'.
-* Wed Nov 22 2000 - ke@xxxxxxx
+* Wed Nov 22 2000 ke@xxxxxxx
- Update to version 0.6.2.
- Change the spec file to make use of Python 2.0 features.
-* Sun Oct 29 2000 - kukuk@xxxxxxx
+* Sun Oct 29 2000 kukuk@xxxxxxx
- fix need for build
-* Tue Jun 06 2000 - ke@xxxxxxx
+* Tue Jun 06 2000 ke@xxxxxxx
- update to version 0.5.5.
-* Fri Jun 02 2000 - ke@xxxxxxx
+* Fri Jun 02 2000 ke@xxxxxxx
- update to version 0.5.4.
- spec file: cleanup.
-* Mon Sep 13 1999 - bs@xxxxxxx
+* Mon Sep 13 1999 bs@xxxxxxx
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Thu Sep 09 1999 - bs@xxxxxxx
+* Thu Sep 09 1999 bs@xxxxxxx
- fixed call of Check at the end of %%install section
-* Tue Apr 27 1999 - ke@xxxxxxx
+* Tue Apr 27 1999 ke@xxxxxxx
- initial package: version 0.5.1.

++++++ pyxml-keyword_as.diff ++++++
--- xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
+++ xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py
@@ -24,8 +24,8 @@
self._rel = rel
nt = ParsedNodeTest.ParsedNodeTest('node', '')
ppl = ParsedPredicateList.ParsedPredicateList([])
- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
- self._step = ParsedStep.ParsedStep(as, nt, ppl)
+ xs = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+ self._step = ParsedStep.ParsedStep(xs, nt, ppl)
return

def evaluate(self, context):
--- xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
+++ xml/xpath/ParsedAbbreviatedRelativeLocationPath.py
@@ -28,8 +28,8 @@
self._right = right
nt = ParsedNodeTest.ParsedNodeTest('node','')
ppl = ParsedPredicateList.ParsedPredicateList([])
- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
+ xs = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+ self._middle = ParsedStep.ParsedStep(xs, nt, ppl)

def evaluate(self, context):
res = []
--- xml/xslt/Stylesheet.py
+++ xml/xslt/Stylesheet.py
@@ -373,8 +373,8 @@

#Attribute sets
attribute_sets = filter(lambda x: x.nodeType == Node.ELEMENT_NODE and
(x.namespaceURI, x.localName) == (XSL_NAMESPACE, 'attribute-set'),
self.childNodes)
- for as in attribute_sets:
- as.instantiate(context, processor)
+ for xs in attribute_sets:
+ xs.instantiate(context, processor)
overridden_params = {}
for k in topLevelParams.keys():
if type(k) != types.TupleType:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages