Hello community, here is the log from the commit of package python-beautifulsoup4 for openSUSE:Factory checked in at 2013-05-27 09:57:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-beautifulsoup4 (Old) and /work/SRC/openSUSE:Factory/.python-beautifulsoup4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-beautifulsoup4" Changes: -------- --- /work/SRC/openSUSE:Factory/python-beautifulsoup4/python-beautifulsoup4.changes 2013-05-02 15:56:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-beautifulsoup4.new/python-beautifulsoup4.changes 2013-05-27 09:57:56.000000000 +0200 @@ -1,0 +2,51 @@ +Sat May 18 13:30:00 UTC 2013 - toddrme2178@gmail.com + +- Update to 4.2.0 + * The Tag.select() method now supports a much wider variety of CSS + selectors. + - Added support for the adjacent sibling combinator (+) and the + general sibling combinator (~). Tests by "liquider". [bug=1082144] + - The combinators (>, +, and ~) can now combine with any supported + selector, not just one that selects based on tag name. + - Added limited support for the "nth-of-type" pseudo-class. Code + by Sven Slootweg. [bug=1109952] + * The BeautifulSoup class is now aliased to "_s" and "_soup", making + it quicker to type the import statement in an interactive session + The alias may change in the future, so don't use this in code you're + going to run more than once. + * Added the 'diagnose' submodule, which includes several useful + functions for reporting problems and doing tech support. + - diagnose(data) tries the given markup on every installed parser, + reporting exceptions and displaying successes. If a parser is not + installed, diagnose() mentions this fact. + - lxml_trace(data, html=True) runs the given markup through lxml's + XML parser or HTML parser, and prints out the parser events as + they happen. This helps you quickly determine whether a given + problem occurs in lxml code or Beautiful Soup code. + - htmlparser_trace(data) is the same thing, but for Python's + built-in HTMLParser class. + * In an HTML document, the contents of a <script> or <style> tag will + no longer undergo entity substitution by default. XML documents work + the same way they did before. [bug=1085953] + * Methods like get_text() and properties like .strings now only give + you strings that are visible in the document--no comments or + processing commands. [bug=1050164] + * The prettify() method now leaves the contents of <pre> tags + alone. [bug=1095654] + * Fix a bug in the html5lib treebuilder which sometimes created + disconnected trees. [bug=1039527] + * Fix a bug in the lxml treebuilder which crashed when a tag included + an attribute from the predefined "xml:" namespace. [bug=1065617] + * Fix a bug by which keyword arguments to find_parent() were not + being passed on. [bug=1126734] + * Stop a crash when unwisely messing with a tag that's been + decomposed. [bug=1097699] + * Now that lxml's segfault on invalid doctype has been fixed, fixed a + corresponding problem on the Beautiful Soup end that was previously + invisible. [bug=984936] + * Fixed an exception when an overspecified CSS selector didn't match + anything. Code by Stefaan Lippens. [bug=1168167] +- Re-enable lxml support (unit tests require it) +- Build documentation and add doc sub-package + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-beautifulsoup4/python3-beautifulsoup4.changes 2013-03-08 13:26:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-beautifulsoup4.new/python3-beautifulsoup4.changes 2013-05-27 09:57:56.000000000 +0200 @@ -1,0 +2,50 @@ +Sat May 18 13:30:00 UTC 2013 - toddrme2178@gmail.com + +- Update to 4.2.0 + * The Tag.select() method now supports a much wider variety of CSS + selectors. + - Added support for the adjacent sibling combinator (+) and the + general sibling combinator (~). Tests by "liquider". [bug=1082144] + - The combinators (>, +, and ~) can now combine with any supported + selector, not just one that selects based on tag name. + - Added limited support for the "nth-of-type" pseudo-class. Code + by Sven Slootweg. [bug=1109952] + * The BeautifulSoup class is now aliased to "_s" and "_soup", making + it quicker to type the import statement in an interactive session + The alias may change in the future, so don't use this in code you're + going to run more than once. + * Added the 'diagnose' submodule, which includes several useful + functions for reporting problems and doing tech support. + - diagnose(data) tries the given markup on every installed parser, + reporting exceptions and displaying successes. If a parser is not + installed, diagnose() mentions this fact. + - lxml_trace(data, html=True) runs the given markup through lxml's + XML parser or HTML parser, and prints out the parser events as + they happen. This helps you quickly determine whether a given + problem occurs in lxml code or Beautiful Soup code. + - htmlparser_trace(data) is the same thing, but for Python's + built-in HTMLParser class. + * In an HTML document, the contents of a <script> or <style> tag will + no longer undergo entity substitution by default. XML documents work + the same way they did before. [bug=1085953] + * Methods like get_text() and properties like .strings now only give + you strings that are visible in the document--no comments or + processing commands. [bug=1050164] + * The prettify() method now leaves the contents of <pre> tags + alone. [bug=1095654] + * Fix a bug in the html5lib treebuilder which sometimes created + disconnected trees. [bug=1039527] + * Fix a bug in the lxml treebuilder which crashed when a tag included + an attribute from the predefined "xml:" namespace. [bug=1065617] + * Fix a bug by which keyword arguments to find_parent() were not + being passed on. [bug=1126734] + * Stop a crash when unwisely messing with a tag that's been + decomposed. [bug=1097699] + * Now that lxml's segfault on invalid doctype has been fixed, fixed a + corresponding problem on the Beautiful Soup end that was previously + invisible. [bug=984936] + * Fixed an exception when an overspecified CSS selector didn't match + anything. Code by Stefaan Lippens. [bug=1168167] +- Build documentation and add doc sub-package + +------------------------------------------------------------------- Old: ---- beautifulsoup4-4.1.3.tar.gz New: ---- beautifulsoup4-4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-beautifulsoup4.spec ++++++ --- /var/tmp/diff_new_pack.duzoZP/_old 2013-05-27 09:57:57.000000000 +0200 +++ /var/tmp/diff_new_pack.duzoZP/_new 2013-05-27 09:57:57.000000000 +0200 @@ -17,10 +17,8 @@ %define _name beautifulsoup4 -%define _major 4.x - Name: python-%{_name} -Version: 4.1.3 +Version: 4.2.0 Release: 0 Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping License: MIT @@ -29,11 +27,12 @@ Source: http://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel >= 2.6 +BuildRequires: python-Sphinx BuildRequires: python-html5lib +BuildRequires: python-lxml BuildRequires: python-nose -BuildRequires: python-xml Requires: python-html5lib -Requires: python-xml +Requires: python-lxml %{py_requires} # build fails for SLE11 64bit due to 'noarch' @@ -70,6 +69,14 @@ your reach. Projects that would have taken hours take only minutes with Beautiful Soup. +%package doc +Summary: Documentation for %{name} +Recommends: %{name} = %{version} +Group: Development/Libraries/Python + +%description doc +Documentation and help files for %{name} + %prep %setup -q -n %{_name}-%{version} @@ -81,14 +88,21 @@ python setup.py install \ --prefix=%{_prefix} \ --root=%{buildroot} +cd doc +make html %check nosetests %files %defattr(-,root,root) -%doc AUTHORS.txt COPYING.txt NEWS.txt README.txt TODO.txt +%doc AUTHORS.txt COPYING.txt %{python_sitelib}/bs4/ %{python_sitelib}/%{_name}-%{version}-py*.egg-info +%files doc +%defattr(-,root,root) +%doc NEWS.txt README.txt TODO.txt +%doc doc/build/html + %changelog ++++++ python3-beautifulsoup4.spec ++++++ --- /var/tmp/diff_new_pack.duzoZP/_old 2013-05-27 09:57:57.000000000 +0200 +++ /var/tmp/diff_new_pack.duzoZP/_new 2013-05-27 09:57:57.000000000 +0200 @@ -17,10 +17,8 @@ %define _name beautifulsoup4 -%define _major 4.x - Name: python3-%{_name} -Version: 4.1.3 +Version: 4.2.0 Release: 0 Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping License: MIT @@ -30,6 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-2to3 BuildRequires: python3-devel +BuildRequires: python3-Sphinx BuildRequires: python3-lxml BuildRequires: python3-nose Requires: python3-lxml @@ -61,6 +60,14 @@ Valuable data that was once locked up in poorly-designed websites is now within your reach. Projects that would have taken hours take only minutes with Beautiful Soup. +Beautiful Soup. + +%package doc +Summary: Documentation for %{name} +Recommends: %{name} = %{version} + +%description doc +Documentation and help files for %{name} %prep @@ -73,11 +80,19 @@ python3 setup.py install \ --prefix=%{_prefix} \ --root=%{buildroot} +cd doc +make html %files %defattr(-,root,root) -%doc AUTHORS.txt COPYING.txt NEWS.txt README.txt TODO.txt +%doc AUTHORS.txt COPYING.txt %{python3_sitelib}/bs4/ %{python3_sitelib}/%{_name}-%{version}-py*.egg-info +%files doc +%defattr(-,root,root) +%doc NEWS.txt README.txt TODO.txt +%doc doc/build/html + + %changelog ++++++ beautifulsoup4-4.1.3.tar.gz -> beautifulsoup4-4.2.0.tar.gz ++++++ ++++ 1717 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org