Hello community,

here is the log from the commit of package python-beautifulsoup for 
openSUSE:Factory checked in at 2012-02-27 18:35:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-beautifulsoup (Old)
 and      /work/SRC/openSUSE:Factory/.python-beautifulsoup.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-beautifulsoup", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-beautifulsoup/python-beautifulsoup.changes    
    2011-09-23 12:42:30.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-beautifulsoup.new/python-beautifulsoup.changes
   2012-02-27 18:35:54.000000000 +0100
@@ -1,0 +2,14 @@
+Fri Dec  9 08:43:38 UTC 2011 - [email protected]
+
+- fix license to be in spdx.org format
+
+-------------------------------------------------------------------
+Fri Nov 25 07:18:06 UTC 2011 - [email protected]
+
+- Update to 3.2.0
+  - Gave the stable series a higher version number than the unstable series,
+    to make it very clear which series most people should be using.
+  - When creating a Tag object, you can specify its attributes as a dict
+    rather than as a list of 2-tuples.
+
+-------------------------------------------------------------------

Old:
----
  BeautifulSoup-3.0.8.1.tar.gz

New:
----
  BeautifulSoup-3.2.0.tar.gz

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

Other differences:
------------------
++++++ python-beautifulsoup.spec ++++++
--- /var/tmp/diff_new_pack.BB8IH7/_old  2012-02-27 18:35:55.000000000 +0100
+++ /var/tmp/diff_new_pack.BB8IH7/_new  2012-02-27 18:35:55.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-beautifulsoup (Version 3.0.8.1)
+# spec file for package python-beautifulsoup
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -19,13 +19,13 @@
 %define modname BeautifulSoup
 
 Name:           python-beautifulsoup
-Version:        3.0.8.1
-Release:        1
-License:        BSD
-Summary:        HTML/XML parser for quick-turnaround applications like 
screen-scraping
-Url:            http://www.crummy.com/software/BeautifulSoup/
+Version:        3.2.0
+Release:        0
+Summary:        HTML/XML Parser for Quick-Turnaround Applications Like 
Screen-Scraping
+License:        BSD-3-Clause
 Group:          Development/Libraries/Python
-Source:         %{modname}-%{version}.tar.gz
+Url:            http://www.crummy.com/software/BeautifulSoup/
+Source:         
http://www.crummy.com/software/BeautifulSoup/download/3.x/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{py_requires}

++++++ BeautifulSoup-3.0.8.1.tar.gz -> BeautifulSoup-3.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BeautifulSoup-3.0.8.1/BeautifulSoup.py 
new/BeautifulSoup-3.2.0/BeautifulSoup.py
--- old/BeautifulSoup-3.0.8.1/BeautifulSoup.py  2010-04-09 21:27:45.000000000 
+0200
+++ new/BeautifulSoup-3.2.0/BeautifulSoup.py    2010-11-21 14:35:28.000000000 
+0100
@@ -79,7 +79,7 @@
 from __future__ import generators
 
 __author__ = "Leonard Richardson ([email protected])"
-__version__ = "3.0.8.1"
+__version__ = "3.2.0"
 __copyright__ = "Copyright (c) 2004-2010 Leonard Richardson"
 __license__ = "New-style BSD"
 
@@ -531,6 +531,8 @@
         self.name = name
         if attrs is None:
             attrs = []
+        elif isinstance(attrs, dict):
+            attrs = attrs.items()
         self.attrs = attrs
         self.contents = []
         self.setup(parent, previous)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BeautifulSoup-3.0.8.1/BeautifulSoupTests.py 
new/BeautifulSoup-3.2.0/BeautifulSoupTests.py
--- old/BeautifulSoup-3.0.8.1/BeautifulSoupTests.py     2010-04-09 
21:22:40.000000000 +0200
+++ new/BeautifulSoup-3.2.0/BeautifulSoupTests.py       2010-11-21 
14:23:59.000000000 +0100
@@ -322,6 +322,16 @@
         a['href'] = 'http://foo.com/'
         self.assertRaises(KeyError, lambda : ol['href'])
 
+    def testNewTagWithAttributes(self):
+        """Makes sure new tags can be created complete with attributes."""
+        soup = BeautifulSoup()
+        a = Tag(soup, 'a', [('href', 'foo')])
+        b = Tag(soup, 'b', {'class':'bar'})
+        soup.insert(0,a)
+        soup.insert(1,b)
+        self.assertEqual(soup.a['href'], 'foo')
+        self.assertEqual(soup.b['class'], 'bar')
+
     def testTagReplacement(self):
         # Make sure you can replace an element with itself.
         text = "<a><b></b><c>Foo<d></d></c></a><a><e></e></a>"
@@ -395,7 +405,7 @@
         self.assertEqual(f.previousSibling, weText)
         self.assertEqual(f.nextSibling, None)
         self.assertEqual(weText.nextSibling, f)
-    
+
     def testReplaceWithChildren(self):
         soup = BeautifulStoneSoup(
             "<top><replace><child1/><child2/></replace></top>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/BeautifulSoup-3.0.8.1/PKG-INFO 
new/BeautifulSoup-3.2.0/PKG-INFO
--- old/BeautifulSoup-3.0.8.1/PKG-INFO  2010-04-09 21:32:14.000000000 +0200
+++ new/BeautifulSoup-3.2.0/PKG-INFO    2010-11-21 14:42:49.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: BeautifulSoup
-Version: 3.0.8.1
+Version: 3.2.0
 Summary: HTML/XML parser for quick-turnaround applications like 
screen-scraping.
 Home-page: http://www.crummy.com/software/BeautifulSoup/
 Author: Leonard Richardson

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to