commit python-feedparser for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2020-10-26 16:22:17

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new.3463 (New)


Package is "python-feedparser"

Mon Oct 26 16:22:17 2020 rev:28 rq:844040 version:6.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2020-09-28 14:30:52.854242157 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.3463/python-feedparser.changes
2020-10-26 16:22:55.639254317 +0100
@@ -1,0 +2,9 @@
+Sun Oct 25 17:59:36 UTC 2020 - Benoît Monin 
+
+- update to version 6.0.2:
+  * Stop building Python wheels with universal=1 set. (#251)
+  * Fix a bug that put a trailing quote in the documentation
+version. (#232)
+  * Update the documentation URL to point to ReadTheDocs.
+
+---

Old:

  feedparser-6.0.1.tar.gz

New:

  feedparser-6.0.2.tar.gz



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.BcC9fI/_old  2020-10-26 16:22:58.019256232 +0100
+++ /var/tmp/diff_new_pack.BcC9fI/_new  2020-10-26 16:22:58.023256234 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-feedparser
-Version:6.0.1
+Version:6.0.2
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause

++ feedparser-6.0.1.tar.gz -> feedparser-6.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.1/NEWS new/feedparser-6.0.2/NEWS
--- old/feedparser-6.0.1/NEWS   2020-09-15 13:50:57.0 +0200
+++ new/feedparser-6.0.2/NEWS   2020-10-25 18:37:10.0 +0100
@@ -1,10 +1,19 @@
 coming in the next release:
 
-6.0.1 - 15 September 2020
+6.0.2 - 25 October 2020
+*   Stop building Python wheels with ``universal=1`` set. (#251)
+
+This was causing pip to find and install the feedparser 6.x wheels
+on Python 2 even though Python 2 is no longer supported.
+
+*   Fix a bug that put a trailing quote in the documentation version. 
(#232)
+*   Update the documentation URL to point to ReadTheDocs.
+
+6.0.1 - 15 September 2020 [YANKED]
 * Remove all Python 2 compatibility code (#228)
 * Add *python_requires* to ``setup.py`` (#231)
 
-6.0.0 - 12 September 2020
+6.0.0 - 12 September 2020 [YANKED]
 * Support Python 3.6, 3.7, 3.8 and 3.9
 * Drop support for Python 2.4 through 2.7, and Python 3.0 through 3.5 
(#169)
 * Convert feedparser from a monolithic file to a package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.1/PKG-INFO 
new/feedparser-6.0.2/PKG-INFO
--- old/feedparser-6.0.1/PKG-INFO   2020-09-15 13:51:18.969905000 +0200
+++ new/feedparser-6.0.2/PKG-INFO   2020-10-25 18:37:47.110600200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: feedparser
-Version: 6.0.1
+Version: 6.0.2
 Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 
0.3, and Atom 1.0 feeds
 Home-page: https://github.com/kurtmckee/feedparser
 Author: Kurt McKee
@@ -30,7 +30,7 @@
 
 The feedparser documentation is available on the web at:
 
-https://pythonhosted.org/feedparser/
+https://feedparser.readthedocs.io/en/latest/
 
 It is also included in its source format, ReST, in the ``docs/`` 
directory.
 To build the documentation you'll need the Sphinx package, which is 
available at:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.1/README.rst 
new/feedparser-6.0.2/README.rst
--- old/feedparser-6.0.1/README.rst 2020-09-12 21:29:21.0 +0200
+++ new/feedparser-6.0.2/README.rst 2020-10-25 18:36:15.0 +0100
@@ -21,7 +21,7 @@
 
 The feedparser documentation is available on the web at:
 
-https://pythonhosted.org/feedparser/
+https://feedparser.readthedocs.io/en/latest/
 
 It is also included in its source format, ReST, in the ``docs/`` directory.
 To build the documentation you'll need the Sphinx package, which is available 
at:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.1/docs/conf.py 
new/feedparser-6.0.2/docs/conf.py
--- old/feedparser-6.0.1/docs/conf.py   2020-09-12 21:29:21.0 +0200
+++ new/feedparser-6.0.2/docs/conf.py   2020-10-25 18:36:08.0 +0100
@@ -5,7 +5,7 @@
 
 
 content = 

commit python-feedparser for openSUSE:Factory

2020-09-28 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2020-09-28 14:30:03

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new.4249 (New)


Package is "python-feedparser"

Mon Sep 28 14:30:03 2020 rev:27 rq:838247 version:6.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2020-09-25 16:31:40.563897928 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.4249/python-feedparser.changes
2020-09-28 14:30:52.854242157 +0200
@@ -1,0 +2,7 @@
+Mon Sep 28 11:20:26 UTC 2020 - Dirk Mueller 
+
+- update to 6.0.1:
+  * Remove all Python 2 compatibility code (#228)
+  * Add *python_requires* to ``setup.py`` (#2 
+
+---

Old:

  feedparser-6.0.0.tar.gz

New:

  feedparser-6.0.1.tar.gz



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.nr3ztG/_old  2020-09-28 14:30:53.558242768 +0200
+++ /var/tmp/diff_new_pack.nr3ztG/_new  2020-09-28 14:30:53.562242771 +0200
@@ -16,10 +16,10 @@
 #
 
 
-%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-feedparser
-Version:6.0.0
+Version:6.0.1
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause

++ feedparser-6.0.0.tar.gz -> feedparser-6.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.0/NEWS new/feedparser-6.0.1/NEWS
--- old/feedparser-6.0.0/NEWS   2020-09-12 21:27:17.0 +0200
+++ new/feedparser-6.0.1/NEWS   2020-09-15 13:50:57.0 +0200
@@ -1,5 +1,9 @@
 coming in the next release:
 
+6.0.1 - 15 September 2020
+* Remove all Python 2 compatibility code (#228)
+* Add *python_requires* to ``setup.py`` (#231)
+
 6.0.0 - 12 September 2020
 * Support Python 3.6, 3.7, 3.8 and 3.9
 * Drop support for Python 2.4 through 2.7, and Python 3.0 through 3.5 
(#169)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.0/PKG-INFO 
new/feedparser-6.0.1/PKG-INFO
--- old/feedparser-6.0.0/PKG-INFO   2020-09-12 21:27:28.84688 +0200
+++ new/feedparser-6.0.1/PKG-INFO   2020-09-15 13:51:18.969905000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: feedparser
-Version: 6.0.0
+Version: 6.0.1
 Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 
0.3, and Atom 1.0 feeds
 Home-page: https://github.com/kurtmckee/feedparser
 Author: Kurt McKee
@@ -75,4 +75,5 @@
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Text Processing :: Markup :: XML
+Requires-Python: >=3.6
 Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.0/feedparser/__init__.py 
new/feedparser-6.0.1/feedparser/__init__.py
--- old/feedparser-6.0.0/feedparser/__init__.py 2020-09-12 21:27:17.0 
+0200
+++ new/feedparser-6.0.1/feedparser/__init__.py 2020-09-15 13:50:57.0 
+0200
@@ -25,9 +25,6 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE."""
 
-from __future__ import absolute_import
-from __future__ import unicode_literals
-
 from .api import parse
 from .datetimes import registerDateHandler
 from .exceptions import *
@@ -35,7 +32,7 @@
 
 __author__ = 'Kurt McKee '
 __license__ = 'BSD 2-clause'
-__version__ = '6.0.0'
+__version__ = '6.0.1'
 
 # HTTP "User-Agent" header to send to servers when downloading feeds.
 # If you are embedding feedparser in a larger application, you should
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-6.0.0/feedparser/api.py 
new/feedparser-6.0.1/feedparser/api.py
--- old/feedparser-6.0.0/feedparser/api.py  2020-09-01 05:42:10.0 
+0200
+++ new/feedparser-6.0.1/feedparser/api.py  2020-09-15 13:49:58.0 
+0200
@@ -26,29 +26,10 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 
-from __future__ import absolute_import
-from __future__ import unicode_literals
-
+import io
+import urllib.parse
 import xml.sax
 
-try:
-from io import BytesIO as _StringIO
-except ImportError:
-# Python 2.7
-try:
-from cStringIO import StringIO as _StringIO
-except ImportError:
-from StringIO import StringIO as _StringIO
-
-try:

commit python-feedparser for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2020-09-25 16:31:24

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new.4249 (New)


Package is "python-feedparser"

Fri Sep 25 16:31:24 2020 rev:26 rq:834521 version:6.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2019-04-05 12:03:24.142586054 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.4249/python-feedparser.changes
2020-09-25 16:31:40.563897928 +0200
@@ -1,0 +2,40 @@
+Mon Sep 14 20:10:18 UTC 2020 - Benoît Monin 
+
+- update to version 6.0.0:
+  * Support Python 3.6, 3.7, 3.8 and 3.9
+  * Drop support for Python 2.4 through 2.7, and Python 3.0 through
+3.5 (#169)
+  * Convert feedparser from a monolithic file to a package
+  * feedparser.parse(sanitize_html=bool) argument replaces the
+feedparser.SANITIZE_HTML global
+  * feedparser.parse(resolve_relative_uris=bool) replaces the
+feedparser.RESOLVE_RELATIVE_URIS global
+  * Unify the codebase so that 2to3 conversion is no longer
+required
+  * Remove references to iconv_codecs
+  * Update the Creative Commons namespace URI's
+  * Update the default User-Agent name and URL
+  * Support Middle European (Summer) Time timezones (#20)
+  * Pass data to lazy_chardet_encoding() (#50)
+  * Document that datetimes are returned in UTC (#51)
+  * Remove cjkpython references in the documentation (#57)
+  * Resolve ResourceWarnings thrown during unit tests (#170)
+  * Fix tox build failures (#213)
+  * Use base64.decodebytes() directly to support Python 3.9 (#201)
+  * Fix Python 3.8 urllib.parse.splittype() deprecation warning
+(#211)
+  * Support parsing colons in RFC822 timezones (#144)
+  * Add `chardet` as an optional tox environment dependency
+  * Fix the Big5 unit test that fails when chardet is installed
+(#184)
+- build the package only for python3
+- drop py37.patch: fixed upstream
+- drop non-ascii-entity-hiding.patch: fixed upstream
+- drop catch-gzip-error.patch: fixed upstream
+- fix build requires for chardet and sgmllib3k
+- remove chmod on all source files: fixed upstream
+- drop moving around source files: reworked upstream
+- run the tests as described by upstream
+- fix the list of packaged files
+
+---

Old:

  catch-gzip-error.patch
  feedparser-5.2.1.tar.bz2
  non-ascii-entity-hiding.patch
  py37.patch

New:

  feedparser-6.0.0.tar.gz



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.g5YKWg/_old  2020-09-25 16:31:41.211898503 +0200
+++ /var/tmp/diff_new_pack.g5YKWg/_new  2020-09-25 16:31:41.215898507 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +16,25 @@
 #
 
 
+%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-feedparser
-Version:5.2.1
+Version:6.0.0
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
 Group:  Development/Libraries/Python
 URL:https://github.com/kurtmckee/feedparser
-Source: 
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
-Patch0: py37.patch
-Patch1: non-ascii-entity-hiding.patch
-# Similar to https://github.com/kurtmckee/feedparser/commit/b3d9463.patch
-# However the "gets overwritten as xml.sax.SAXException later" is not
-# happening in version 5.2.1.
-Patch2: catch-gzip-error.patch
+Source: 
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.gz
+BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module sgmllib3k}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-sgmllib3k
-# Tests fail in Python 2 and 3 when chardet is installed
-#BuildRequires:  python3-chardet
 Requires:   python-xml
-# chardet is an optional dependency, but some tests fail when it is present
 Recommends: python-chardet
-%ifpython3
-# If sgmllib is not available, the parser can fail with undefined local 
variable
-Requires:   python3-sgmllib3k
-%endif
+Requires:   python-sgmllib3k
 BuildArch:  noarch
 %python_subpackages
 
@@ -54,17 +44,6 

commit python-feedparser for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2019-04-05 12:00:57

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new.3908 (New)


Package is "python-feedparser"

Fri Apr  5 12:00:57 2019 rev:25 rq:690297 version:5.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2018-12-13 19:44:25.377014290 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.3908/python-feedparser.changes
2019-04-05 12:03:24.142586054 +0200
@@ -1,0 +2,14 @@
+Sat Mar 30 22:06:01 UTC 2019 - John Vandenberg 
+
+- Activate test suite
+- Add Requires sgmllib3k to fix exception in Python 3 when
+  using the loose parser:
+  UnboundLocalError: local variable 'feedparser' referenced before assignment
+  and less clear but similarly broken result with the strict
+  parser.
+- Add catch-gzip-error.patch to fix fetch crash in Python 3
+- Add non-ascii-entity-hiding.patch to workaround failure
+  to properly parse non-ASCII based encodings on Python 3.5+
+- Add py37.patch to fix parsing crash on Python 3.7
+
+---

New:

  catch-gzip-error.patch
  non-ascii-entity-hiding.patch
  py37.patch



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.pHNUYe/_old  2019-04-05 12:03:24.814586294 +0200
+++ /var/tmp/diff_new_pack.pHNUYe/_new  2019-04-05 12:03:24.818586295 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Tests require a network connection
-%bcond_without tests
 Name:   python-feedparser
 Version:5.2.1
 Release:0
@@ -27,12 +25,26 @@
 Group:  Development/Libraries/Python
 URL:https://github.com/kurtmckee/feedparser
 Source: 
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
+Patch0: py37.patch
+Patch1: non-ascii-entity-hiding.patch
+# Similar to https://github.com/kurtmckee/feedparser/commit/b3d9463.patch
+# However the "gets overwritten as xml.sax.SAXException later" is not
+# happening in version 5.2.1.
+Patch2: catch-gzip-error.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-2to3
+BuildRequires:  python3-sgmllib3k
+# Tests fail in Python 2 and 3 when chardet is installed
+#BuildRequires:  python3-chardet
 Requires:   python-xml
+# chardet is an optional dependency, but some tests fail when it is present
+Recommends: python-chardet
+%ifpython3
+# If sgmllib is not available, the parser can fail with undefined local 
variable
+Requires:   python3-sgmllib3k
+%endif
 BuildArch:  noarch
 %python_subpackages
 
@@ -42,8 +54,18 @@
 
 %prep
 %setup -q -n feedparser-%{version}
+%autopatch -p1
+
 find . -type f -exec chmod 0644 {} \;  # 5.2.1 had executable bit set on 
almost all files
 
+# In version 5.2.1, it contains only test data, so move it out of install
+mv feedparser/tests .
+
+# Move the test module out of the runtime install, into top level directory
+# so it can find the test data, and manually run 2to3.
+python3 -m lib2to3 -w -n -o . --add-suffix=-%{python3_bin_suffix} --no-diffs 
feedparser/feedparsertest.py
+mv feedparser/feedparsertest.py feedparsertest.py-%{python2_bin_suffix}
+
 %build
 %python_build
 
@@ -51,13 +73,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
-# Tests only work on Python 2.x
-pushd feedparser
-python2 feedparsertest.py
-popd
-%endif
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}
+cp feedparsertest.py-%{$python_bin_suffix} feedparsertest.py
+$python -c 'import feedparser; assert feedparser._XML_AVAILABLE == 1; assert 
feedparser._SGML_AVAILABLE == 1'
+$python -c 'import feedparsertest; assert feedparsertest._UTF32_AVAILABLE == 1'
+$python feedparsertest.py
+}
 
 %files %{python_files}
 %license LICENSE

++ catch-gzip-error.patch ++
diff -ur feedparser-5.2.1-orig/feedparser/feedparser.py 
feedparser-5.2.1/feedparser/feedparser.py
--- feedparser-5.2.1-orig/feedparser/feedparser.py  2015-07-24 
12:00:04.0 +0700
+++ 

commit python-feedparser for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2018-12-13 19:44:22

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new.28833 (New)


Package is "python-feedparser"

Thu Dec 13 19:44:22 2018 rev:24 rq:654051 version:5.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2017-05-17 17:18:19.753286213 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-feedparser.new.28833/python-feedparser.changes
   2018-12-13 19:44:25.377014290 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:47:57 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.zVZakf/_old  2018-12-13 19:44:25.797013743 +0100
+++ /var/tmp/diff_new_pack.zVZakf/_new  2018-12-13 19:44:25.797013743 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,26 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-# Tests require a network connection
-%bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# Tests require a network connection
+%bcond_without tests
 Name:   python-feedparser
 Version:5.2.1
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
 Group:  Development/Libraries/Python
-Url:https://github.com/kurtmckee/feedparser
+URL:https://github.com/kurtmckee/feedparser
 Source: 
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-2to3
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module xml}
 Requires:   python-xml
 BuildArch:  noarch
 %python_subpackages
@@ -62,8 +60,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc LICENSE NEWS README.rst
+%license LICENSE
+%doc NEWS README.rst
 %{python_sitelib}/feedparser.py*
 %pycache_only %{python_sitelib}/__pycache__/feedparser.*.py*
 %{python_sitelib}/feedparser-%{version}-py*.egg-info




commit python-feedparser for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2017-05-17 17:18:13

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is "python-feedparser"

Wed May 17 17:18:13 2017 rev:23 rq:492313 version:5.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2015-04-25 11:25:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2017-05-17 17:18:19.753286213 +0200
@@ -1,0 +2,8 @@
+Wed Apr 26 16:57:56 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 5.2.1
+  * Bumpy version number to avoid unnecessary pip reinstalls.
+- Implement single-spec version.
+- Fix source URL.
+
+---

Old:

  feedparser-5.2.0.post1.tar.bz2

New:

  feedparser-5.2.1.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.otYtA8/_old  2017-05-17 17:18:20.969114760 +0200
+++ /var/tmp/diff_new_pack.otYtA8/_new  2017-05-17 17:18:20.973114196 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,27 +15,28 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# Tests require a network connection
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-feedparser
-Version:5.2.0
+Version:5.2.1
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
 Group:  Development/Libraries/Python
 Url:https://github.com/kurtmckee/feedparser
-# the archive name on pypi does not match the version
-%define srcversion 5.2.0.post1
-Source: 
https://pypi.python.org/packages/source/f/feedparser/feedparser-%{srcversion}.tar.bz2
+Source: 
https://files.pythonhosted.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-xml
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-2to3
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module xml}
 Requires:   python-xml
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS
@@ -43,21 +44,28 @@
 
 %prep
 %setup -q -n feedparser-%{version}
+find . -type f -exec chmod 0644 {} \;  # 5.2.1 had executable bit set on 
almost all files
 
 %build
-python setup.py build
+%python_build
+
+%install
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if 0%{?suse_version} > 1010
+%if %{with tests}
 %check
-cd feedparser && python feedparsertest.py
+# Tests only work on Python 2.x
+pushd feedparser
+python2 feedparsertest.py
+popd
 %endif
 
-%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc LICENSE NEWS README.rst
-%{python_sitelib}/*
+%{python_sitelib}/feedparser.py*
+%pycache_only %{python_sitelib}/__pycache__/feedparser.*.py*
+%{python_sitelib}/feedparser-%{version}-py*.egg-info
 
 %changelog

++ feedparser-5.2.0.post1.tar.bz2 -> feedparser-5.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-5.2.0/NEWS new/feedparser-5.2.1/NEWS
--- old/feedparser-5.2.0/NEWS   2015-04-17 01:00:35.0 +0200
+++ new/feedparser-5.2.1/NEWS   2015-07-24 07:00:04.0 +0200
@@ -1,3 +1,6 @@
+5.2.1 - July 23, 2015
+* Fix #22 (pip package keeps upgrading all the time)
+
 5.2.0 - April 16, 2015
 * Support PyPy
 * Remove the HTTP Status 9001 test that caused unit test tracebacks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-5.2.0/PKG-INFO 
new/feedparser-5.2.1/PKG-INFO
--- old/feedparser-5.2.0/PKG-INFO   2015-04-17 01:03:03.0 +0200
+++ new/feedparser-5.2.1/PKG-INFO   2015-07-24 07:01:02.0 

commit python-feedparser for openSUSE:Factory

2015-04-25 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2015-04-25 09:52:46

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2013-10-25 11:15:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2015-04-25 11:25:32.0 +0200
@@ -1,0 +2,54 @@
+Wed Apr 22 18:13:50 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 5.2.0:
+  * Support PyPy
+  * Remove the HTTP Status 9001 test that caused unit test
+tracebacks
+  * Remove the completely-untested HTML tidy code
+  * Remove BeautifulSoup as a dependency
+  * Remove the XFN microformat parsing code
+  * Remove the rel_enclosure microformat parsing code
+  * Remove the rel_hcard microformat parsing code
+  * Remove the rel_tag microformat parsing code
+  * Replace the regex-based RFC 822 date parser with a procedural
+one
+  * Replace the Python-licensed W3DTF date parser
+  * Support HTML5 audio/source/video element relative URL's
+  * Remove the unparsed itunes_keywords key from the result
+dictionary
+  * Fix issue 321 just a little more (yet another code path was
+missed)
+  * Issue 62 (support georss and gml namespaces)
+  * Issue 296 (GUID's are always treated like relative URI's)
+  * Issue 334 (media:restriction element content is not returned)
+  * Issue 335 (sub-elements of media:group are not parsed and
+returned)
+  * Issue 342 (support multiple dc:creator elements)
+  * Issue 357 (loose parser breaks ampersands in link element
+URL's)
+  * Issue 374 (support the Podlove Simple Chapters namespace)
+  * Issue 380 (support media:rating element)
+  * Issue 384 (fix chardet support in Python 3)
+  * Issue 389 (elements in unknown uppercase namespaces are
+ignored)
+  * Issue 392 (tags element subverts 'tags' key in result
+dictionary)
+  * Issue 396 (Podlove Simple Chapters version 1.0 causes a
+KeyError)
+  * Issue 399 (docs call `request_headers` parameter
+`extra_headers`)
+  * Issue 401 (support additional dcterms and media namespaces
+elements)
+  * Issue 404 (support asctime datetime strings with timezone
+information)
+  * Issue 407 (decode forward slashes encoded as character
+entities)
+  * Issue 421 (delay chardet invocation as long as possible)
+  * Issue 422 (add return types docstrings)
+  * Issue 433 (update the list of allowed MathML elements and
+attributes)
+- update URL to project homepage
+- point the source URL to pypi and take care of archive naming
+- change README to README.rst on package documentation
+
+---

Old:

  feedparser-5.1.3.tar.bz2

New:

  feedparser-5.2.0.post1.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.rzVy3Y/_old  2015-04-25 11:25:33.0 +0200
+++ /var/tmp/diff_new_pack.rzVy3Y/_new  2015-04-25 11:25:33.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,15 @@
 
 
 Name:   python-feedparser
-Version:5.1.3
+Version:5.2.0
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
 Group:  Development/Libraries/Python
-Url:http://sourceforge.net/projects/feedparser/
-Source: feedparser-%{version}.tar.bz2
+Url:https://github.com/kurtmckee/feedparser
+# the archive name on pypi does not match the version
+%define srcversion 5.2.0.post1
+Source: 
https://pypi.python.org/packages/source/f/feedparser/feedparser-%{srcversion}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
@@ -55,7 +57,7 @@
 
 %files
 %defattr(-,root,root)
-%doc LICENSE NEWS README
+%doc LICENSE NEWS README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-feedparser for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2013-10-25 11:15:46

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2013-03-08 09:39:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2013-10-25 11:15:46.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:05:37 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.EcN9Sr/_old  2013-10-25 11:15:49.0 +0200
+++ /var/tmp/diff_new_pack.EcN9Sr/_new  2013-10-25 11:15:49.0 +0200
@@ -26,7 +26,7 @@
 Source: feedparser-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 BuildRequires:  python-xml
 Requires:   python-xml
 %if 0%{?suse_version}  0%{?suse_version} = 1110

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-feedparser for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2013-06-19 16:37:13

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser

Changes:


Old:

  python3-feedparser.changes
  python3-feedparser.spec



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-feedparser for openSUSE:Factory

2012-06-13 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2012-06-13 13:32:30

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2012-03-29 14:05:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2012-06-13 13:32:49.0 +0200
@@ -1,0 +2,14 @@
+Sat Jun  9 23:56:05 UTC 2012 - os-...@jacraig.com
+
+- Update to 5.1.2:
+  * Minor changes to the documentation
+  * Strip potentially dangerous ENTITY declarations in encoded feeds
+  * feedparser will now try to continue parsing despite compression errors
+  * Fix issue 321 a little more (the initial fix missed a code path)
+  * Issue 337 (`_parse_date_rfc822()` returns None on single-digit days)
+  * Issue 343 (add magnet links to the ACCEPTABLE_URI_SCHEMES)
+  * Issue 344 (handle deflated data with no headers nor checksums)
+  * Issue 347 (support `itunes:image` elements with a `url` attribute)
+- Remove now-unneeded chmod of README
+
+---

Old:

  feedparser-5.1.1.tar.bz2

New:

  feedparser-5.1.2.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.W82zWd/_old  2012-06-13 13:32:52.0 +0200
+++ /var/tmp/diff_new_pack.W82zWd/_new  2012-06-13 13:32:52.0 +0200
@@ -16,9 +16,8 @@
 #
 
 
-
 Name:   python-feedparser
-Version:5.1.1
+Version:5.1.2
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
@@ -42,13 +41,11 @@
 
 %prep
 %setup -q -n feedparser-%{version}
-chmod 0644 README # Fix executable bits
 
 %build
 python setup.py build
 
 %if 0%{?suse_version}  1010
-
 %check
 cd feedparser  python feedparsertest.py
 %endif
@@ -57,7 +54,7 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %files
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc LICENSE NEWS README
 %{python_sitelib}/*
 

++ feedparser-5.1.1.tar.bz2 - feedparser-5.1.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-5.1.1/NEWS new/feedparser-5.1.2/NEWS
--- old/feedparser-5.1.1/NEWS   2012-03-20 16:07:12.0 +0100
+++ new/feedparser-5.1.2/NEWS   2012-05-03 15:43:47.0 +0200
@@ -1,3 +1,13 @@
+5.1.2 - May 3, 2012
+* Minor changes to the documentation
+* Strip potentially dangerous ENTITY declarations in encoded feeds
+* feedparser will now try to continue parsing despite compression errors
+* Fix issue 321 a little more (the initial fix missed a code path)
+* Issue 337 (`_parse_date_rfc822()` returns None on single-digit days)
+* Issue 343 (add magnet links to the ACCEPTABLE_URI_SCHEMES)
+* Issue 344 (handle deflated data with no headers nor checksums)
+* Issue 347 (support `itunes:image` elements with a `url` attribute)
+
 5.1.1 - March 20, 2011
 * Fix mistakes, typos, and bugs in the unit test code
 * Fix crash in Python 2.4 and 2.5 if the feed has a UTF_32 byte order mark
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-5.1.1/PKG-INFO 
new/feedparser-5.1.2/PKG-INFO
--- old/feedparser-5.1.1/PKG-INFO   2012-03-20 16:36:07.0 +0100
+++ new/feedparser-5.1.2/PKG-INFO   2012-05-03 15:57:53.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: feedparser
-Version: 5.1.1
+Version: 5.1.2
 Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 
0.3, and Atom 1.0 feeds
 Home-page: http://code.google.com/p/feedparser/
 Author: Kurt McKee
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/feedparser-5.1.1/docs/common-rss-elements.rst 
new/feedparser-5.1.2/docs/common-rss-elements.rst
--- old/feedparser-5.1.1/docs/common-rss-elements.rst   2012-02-16 
08:29:25.0 +0100
+++ new/feedparser-5.1.2/docs/common-rss-elements.rst   2012-05-03 
15:36:49.0 +0200
@@ -2,8 +2,8 @@
 ===
 
 The most commonly used elements in :abbr:`RSS (Rich Site Summary)` feeds
-(regardless of version) are title, link, description, modified date, and entry
-ID.  The modified date comes from the pubDate element, and the entry ID comes
+(regardless of version) are title, link, description, publication date, and 
entry
+ID.  The publication date comes from the pubDate element, and the entry ID 
comes
 from the guid element.
 
 This sample 

commit python-feedparser for openSUSE:Factory

2012-03-29 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2012-03-29 14:05:01

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2012-03-05 18:01:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2012-03-29 14:05:03.0 +0200
@@ -1,0 +2,24 @@
+Tue Mar 20 19:18:36 UTC 2012 - jf...@funktronics.ca
+
+- Update to 5.1.1:
+  * Fix mistakes, typos, and bugs in the unit test code
+  * Fix crash in Python 2.4 and 2.5 if the feed has a UTF_32 byte order mark
+  * Replace the RFC822 date parser for more extensibility
+  * Issue 304  (handle RFC822 dates with timezones like GMT+00:00)
+  * Issue 309  (itunes:keywords should be split by commas, not whitespace)
+  * Issue 310  (pubDate should map to published, not updated)
+  * Issue 313  (include the compression test files in MANIFEST.in)
+  * Issue 314  (far-flung RFC822 dates don't throw OverflowError on x64)
+  * Issue 315  (HTTP server for unit tests runs on 0.0.0.0)
+  * Issue 321  (malformed URIs can cause ValueError to be thrown)
+  * Issue 322  (HTTP redirect to HTTP 304 causes SAXParseException)
+  * Issue 323  (installing chardet causes 11 unit test failures)
+  * Issue 325  (map description_detail to summary_detail)
+  * Issue 326  (Unicode filename causes UnicodeEncodeError if locale is ASCII)
+  * Issue 327  (handle RFC822 dates with extraneous commas)
+  * Issue 328  (temporarily map updated to published due to  issue 310 )
+  * Issue 329  (escape backslashes in Windows path in docs/introduction.rst)
+  * Issue 331  (don't escape backslashes that are in raw strings in the docs)
+- Re-enabled tests now that the broken ones are fixed
+
+---

Old:

  feedparser-5.1.tar.bz2

New:

  feedparser-5.1.1.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.E56Nis/_old  2012-03-29 14:05:07.0 +0200
+++ /var/tmp/diff_new_pack.E56Nis/_new  2012-03-29 14:05:07.0 +0200
@@ -16,8 +16,9 @@
 #
 
 
+
 Name:   python-feedparser
-Version:5.1
+Version:5.1.1
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
@@ -49,11 +50,7 @@
 %if 0%{?suse_version}  1010
 
 %check
-# Temporarily disabled due to broken tests:
-#   Issue 314: FAIL: test__parse_date_rfc822_01 (__main__.TestDateParsers)
-#   Issue 320: Several test data files missing from feedparser-5.1 tarball
-# Both will be fixed in 5.1.1
-# cd feedparser  python feedparsertest.py
+cd feedparser  python feedparsertest.py
 %endif
 
 %install

++ feedparser-5.1.tar.bz2 - feedparser-5.1.1.tar.bz2 ++
 9379 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-feedparser for openSUSE:Factory

2012-03-05 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2012-03-05 18:01:36

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2012-02-22 16:36:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2012-03-05 18:01:38.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 21 12:48:33 UTC 2012 - sasc...@suse.de
+
+- Fix feedparser.py syntax error
+
+---



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.FifxiR/_old  2012-03-05 18:01:42.0 +0100
+++ /var/tmp/diff_new_pack.FifxiR/_new  2012-03-05 18:01:42.0 +0100
@@ -42,7 +42,6 @@
 %prep
 %setup -q -n feedparser-%{version}
 chmod 0644 README # Fix executable bits
-sed -i 1d feedparser/feedparser.py # Fix non-executable script
 
 %build
 python setup.py build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-feedparser for openSUSE:Factory

2012-02-22 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2012-02-22 16:36:34

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2011-12-12 17:03:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2012-02-22 16:36:38.0 +0100
@@ -1,0 +2,54 @@
+Sun Feb 19 20:37:04 UTC 2012 - sasc...@gmx.de
+
+- Remove outdated %clean section, no CFLAGS for noarch package
+
+---
+Thu Jan 12 19:34:06 UTC 2012 - jf...@funktronics.ca
+
+- Temporarily disabled tests due to false failures. Should be re-enabled in
+  5.1.1
+- Update to 5.1:
+  * Extensive, extensive unit test refactoring
+  * Convert the Docbook documentation to ReST
+  * Include the documentation in the source distribution
+  * Consolidate the disparate README files into one
+  * Support Jython somewhat (almost all unit tests pass)
+  * Support Python 3.2
+  * Fix Python 3 issues exposed by improved unit tests
+  * Fix international domain name issues exposed by improved unit tests
+  * Issue 148 (loose parser doesn't always return unicode strings)
+  * Issue 204 (FeedParserDict behavior should not be controlled by `assert`)
+  * Issue 247 (mssql date parser uses hardcoded tokyo timezone)
+  * Issue 249 (KeyboardInterrupt and SystemExit exceptions being caught)
+  * Issue 250 (`updated` can be a 9-tuple or a string, depending on context)
+  * Issue 252 (running setup.py in Python 3 fails due to missing sgmllib)
+  * Issue 253 (document that text/plain content isn't sanitized)
+  * Issue 260 (Python 3 doesn't decompress gzip'ed or deflate'd content)
+  * Issue 261 (popping from empty tag list)
+  * Issue 262 (docs are missing from distribution files)
+  * Issue 264 (vcard parser crashes on non-ascii characters)
+  * Issue 265 (http header comparisons are case sensitive)
+  * Issue 271 (monkey-patching sgmllib breaks other libraries)
+  * Issue 272 (can't pass bytes or str to `parse()` in Python 3)
+  * Issue 275 (`_parse_date()` doesn't catch OverflowError)
+  * Issue 276 (mutable types used as default values in `parse()`)
+  * Issue 277 (`python3 setup.py install` fails)
+  * Issue 281 (`_parse_date()` doesn't catch ValueError)
+  * Issue 282 (`_parse_date()` crashes when passed `None`)
+  * Issue 285 (crash on empty xmlns attribute)
+  * Issue 286 ('apos' character entity not handled properly)
+  * Issue 289 (add an option to disable microformat parsing)
+  * Issue 290 (Blogger's invalid img tags are unparseable)
+  * Issue 292 (atom id element not explicitly supported)
+  * Issue 294 ('categories' key exists but raises KeyError)
+  * Issue 297 (unresolvable external doctype causes crash)
+  * Issue 298 (nested nodes clobber actual values)
+  * Issue 300 (performance improvements)
+  * Issue 303 (unicode characters cause crash during relative uri resolution)
+  * Remove Hot RSS support since the format doesn't actually exist
+  * Remove the old feedparser.org website files from the source
+  * Remove the feedparser command line interface
+  * Remove the Zope interoperability hack
+  * Remove extraneous whitespace
+
+---

Old:

  feedparser-5.0.1.tar.bz2

New:

  feedparser-5.1.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.DgUJI1/_old  2012-02-22 16:36:39.0 +0100
+++ /var/tmp/diff_new_pack.DgUJI1/_new  2012-02-22 16:36:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-feedparser
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,8 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-feedparser
-Version:5.0.1
+Version:5.1
 Release:0
 Summary:Universal Feed Parser Module for Python
 License:BSD-2-Clause
@@ -25,16 +26,14 @@
 Source: feedparser-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
+BuildRequires:  python-distribute
 BuildRequires:  python-xml
 Requires:   python-xml
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version}  1110
+%if 0%{?suse_version}  0%{?suse_version} = 1110

commit python-feedparser for openSUSE:Factory

2011-12-12 Thread h_root
Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory checked in at 2011-12-12 16:58:48

Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-feedparser.new (New)


Package is python-feedparser, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes  
2011-09-23 12:42:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-feedparser.new/python-feedparser.changes 
2011-12-12 17:03:39.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec  8 13:54:33 UTC 2011 - co...@suse.com
+
+- fix license to be in spdx.org format
+
+---



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.nVSWh8/_old  2011-12-12 17:03:44.0 +0100
+++ /var/tmp/diff_new_pack.nVSWh8/_new  2011-12-12 17:03:44.0 +0100
@@ -15,15 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   python-feedparser
 Version:5.0.1
-Release:1
+Release:0
 Summary:Universal Feed Parser Module for Python
-Url:http://sourceforge.net/projects/feedparser/
-License:BSD
+License:BSD-2-Clause
 Group:  Development/Libraries/Python
+Url:http://sourceforge.net/projects/feedparser/
 Source: feedparser-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-feedparser for openSUSE:Factory

2011-06-09 Thread h_root

Hello community,

here is the log from the commit of package python-feedparser for 
openSUSE:Factory
checked in at Thu Jun 9 15:37:59 CEST 2011.




--- python-feedparser/python-feedparser.changes 2009-09-03 15:56:52.0 
+0200
+++ python-feedparser/python-feedparser.changes 2011-06-09 12:33:40.0 
+0200
@@ -1,0 +2,37 @@
+Thu Jun  9 10:31:45 UTC 2011 - sasc...@suse.de
+
+- * Moved chmod 0644 README back to %prep section
+
+---
+Tue May 31 12:46:05 UTC 2011 - sasc...@suse.de
+
+- Spec file cleanup:
+  * Moved unittests to %check section
+  * Removed authors from description
+  * Don't test on SLES_9, fixes build
+
+---
+Mon May 30 18:22:09 UTC 2011 - jf...@funktronics.ca
+
+- Update to 5.0.1
+  - Fix issue 91 (invalid text in XML declaration causes sanitizer to crash)
+  - Fix issue 254 (sanitization can be bypassed by malformed XML comments)
+  - Fix issue 255 (sanitizer doesn't strip unsafe URI schemes)
+- Previous release: 5.0 - January 25, 2011
+  - Improved MathML support
+  - Support microformats (rel-tag, rel-enclosure, xfn, hcard)
+  - Support IRIs
+  - Allow safe CSS through sanitization
+  - Allow safe HTML5 through sanitization
+  - Support SVG
+  - Support inline XML entity declarations
+  - Support unescaped quotes and angle brackets in attributes
+  - Support additional date formats
+  - Added the request_headers argument to parse()
+  - Added the response_headers argument to parse()
+  - Support multiple entry, feed, and source authors
+  - Officially make Python 2.4 the earliest supported version
+  - Support Python 3
+  - Bug fixes, bug fixes, bug fixes
+
+---

calling whatdependson for head-i586


Old:

  feedparser-4.1.tar.bz2

New:

  feedparser-5.0.1.tar.bz2



Other differences:
--
++ python-feedparser.spec ++
--- /var/tmp/diff_new_pack.orJ22J/_old  2011-06-09 15:33:53.0 +0200
+++ /var/tmp/diff_new_pack.orJ22J/_new  2011-06-09 15:33:53.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-feedparser (Version 4.1)
+# spec file for package python-feedparser
 #
-# Copyright (c) 2009 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
@@ -16,48 +16,56 @@
 #
 
 
-%define modname feedparser
 
 Name:   python-feedparser
-Version:4.1
+Version:5.0.1
 Release:1
 Summary:Universal Feed Parser Module for Python
 Url:http://sourceforge.net/projects/feedparser/
 License:BSD
 Group:  Development/Libraries/Python
-Source: %{modname}-%{version}.tar.bz2
+Source: feedparser-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-BuildRequires:  python-devel python-setuptools
-Requires:   python-setuptools
-%if %{?suse_version: %{suse_version}  1110} %{!?suse_version:1}
+BuildRequires:  python-devel
+BuildRequires:  python-xml
+Requires:   python-xml
+%if 0%{?suse_version}
+%py_requires
+%if 0%{?suse_version}  1110
 BuildArch:  noarch
 %endif
+%endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib(1))}
 
 %description
 A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS
 2.0, CDF, Atom 0.3, Atom 1.0 feeds.
 
-Authors:
-
-Mark Pilgrim m...@diveintomark.org
-
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n feedparser-%{version}
 chmod 0644 README
 
 %build
-export CFLAGS=$RPM_OPT_FLAGS
+export CFLAGS=%{optflags}
 python setup.py build
 
+%if 0%{?suse_version}  1010
+
+%check
+cd feedparser  python feedparsertest.py
+%endif
+
 %install
-python setup.py install --single-version-externally-managed 
--prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+chmod 0755 %{buildroot}%{python_sitelib}/feedparser.py
 
 %clean
 rm -rf %{buildroot}
 
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
-%doc README
+%files
+%defattr(-,root,root,-)
+%doc LICENSE NEWS README README-PYTHON3
+%{python_sitelib}/*
 
 %changelog

++ feedparser-4.1.tar.bz2 - feedparser-5.0.1.tar.bz2 ++
 74446 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional