From 36085a18fc7bb718baae2e02030619e695a8ab784d68347868b99c5c5ba6c6a8 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Tue, 5 Mar 2013 01:31:14 +0000 Subject: [PATCH] Accepting request 157140 from home:apersaud:branches:devel:languages:python updated to 5.1.3 and added python3 spec file. Not sure how to submit a linkpac request to create that then will link to devel:languages:python, so it would be great, if this gets accepted also a linkpac package with the name python3-feedparser could be created. Thanks! OBS-URL: https://build.opensuse.org/request/show/157140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=27 --- feedparser-5.1.2.tar.bz2 | 3 - feedparser-5.1.3.tar.bz2 | 3 + python-feedparser.changes | 15 ++++ python-feedparser.spec | 4 +- python3-feedparser.changes | 161 +++++++++++++++++++++++++++++++++++++ python3-feedparser.spec | 54 +++++++++++++ 6 files changed, 235 insertions(+), 5 deletions(-) delete mode 100644 feedparser-5.1.2.tar.bz2 create mode 100644 feedparser-5.1.3.tar.bz2 create mode 100644 python3-feedparser.changes create mode 100644 python3-feedparser.spec diff --git a/feedparser-5.1.2.tar.bz2 b/feedparser-5.1.2.tar.bz2 deleted file mode 100644 index 143ce94..0000000 --- a/feedparser-5.1.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7773afb41481add990539baeb0e441811ec48cb8c1b6c2911cabbe9c5d9d1d0 -size 199404 diff --git a/feedparser-5.1.3.tar.bz2 b/feedparser-5.1.3.tar.bz2 new file mode 100644 index 0000000..519c9fc --- /dev/null +++ b/feedparser-5.1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f6507d400d07edfd1ea8205da36808009b0c539f5b8a6e0ab54337b955e6dc3 +size 202373 diff --git a/python-feedparser.changes b/python-feedparser.changes index 50adf82..972b709 100644 --- a/python-feedparser.changes +++ b/python-feedparser.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Mar 3 05:01:07 UTC 2013 - arun@gmx.de + +- Update to 5.1.3 (taken from google code webpage: + * feedparser 5.1.3 (December 9, 2012) + * Consolidated and simplified the character encoding detection code + * Issue 346 (the gb2312 encoding isn't always upgraded to gb18030) + * Issue 350 (HTTP Last-Modified example is incorrect in documentation) + * Issue 352 (importing lxml.etree changes what exceptions libxml2 throws) + * Issue 356 (add support for the HTML5 attributes poster and preload) + * Issue 364 (enclosure-sniffing microformat code can throw ValueError) + * Issue 373 (support RFC822-ish dates with swapped days and months) + * Issue 376 (uppercase 'X' in hex character references cause ValueError) + * Issue 382 (don't strip inline user:password credentials from FTP URL's) + ------------------------------------------------------------------- Sat Jun 9 23:56:05 UTC 2012 - os-dev@jacraig.com diff --git a/python-feedparser.spec b/python-feedparser.spec index fed48a2..4b233c3 100644 --- a/python-feedparser.spec +++ b/python-feedparser.spec @@ -1,7 +1,7 @@ # # spec file for package python-feedparser # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -17,7 +17,7 @@ Name: python-feedparser -Version: 5.1.2 +Version: 5.1.3 Release: 0 Summary: Universal Feed Parser Module for Python License: BSD-2-Clause diff --git a/python3-feedparser.changes b/python3-feedparser.changes new file mode 100644 index 0000000..972b709 --- /dev/null +++ b/python3-feedparser.changes @@ -0,0 +1,161 @@ +------------------------------------------------------------------- +Sun Mar 3 05:01:07 UTC 2013 - arun@gmx.de + +- Update to 5.1.3 (taken from google code webpage: + * feedparser 5.1.3 (December 9, 2012) + * Consolidated and simplified the character encoding detection code + * Issue 346 (the gb2312 encoding isn't always upgraded to gb18030) + * Issue 350 (HTTP Last-Modified example is incorrect in documentation) + * Issue 352 (importing lxml.etree changes what exceptions libxml2 throws) + * Issue 356 (add support for the HTML5 attributes poster and preload) + * Issue 364 (enclosure-sniffing microformat code can throw ValueError) + * Issue 373 (support RFC822-ish dates with swapped days and months) + * Issue 376 (uppercase 'X' in hex character references cause ValueError) + * Issue 382 (don't strip inline user:password credentials from FTP URL's) + +------------------------------------------------------------------- +Sat Jun 9 23:56:05 UTC 2012 - os-dev@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 + +------------------------------------------------------------------- +Tue Mar 20 19:18:36 UTC 2012 - jfunk@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 + +------------------------------------------------------------------- +Tue Feb 21 12:48:33 UTC 2012 - saschpe@suse.de + +- Fix feedparser.py syntax error + +------------------------------------------------------------------- +Sun Feb 19 20:37:04 UTC 2012 - saschpe@gmx.de + +- Remove outdated %clean section, no CFLAGS for noarch package + +------------------------------------------------------------------- +Thu Jan 12 19:34:06 UTC 2012 - jfunk@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 + +------------------------------------------------------------------- +Thu Dec 8 13:54:33 UTC 2011 - coolo@suse.com + +- fix license to be in spdx.org format + +------------------------------------------------------------------- +Thu Jun 9 10:31:45 UTC 2011 - saschpe@suse.de + +- * Moved chmod 0644 README back to %prep section + +------------------------------------------------------------------- +Tue May 31 12:46:05 UTC 2011 - saschpe@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 - jfunk@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 + +------------------------------------------------------------------- +Thu Sep 3 15:54:31 CEST 2009 - matejcik@suse.cz + +- build as noarch +- import from OBS, original changelog follows: +* Sun Feb 15 2009 - James Oakley - 4.1-1 +- initial release diff --git a/python3-feedparser.spec b/python3-feedparser.spec new file mode 100644 index 0000000..cd8ee32 --- /dev/null +++ b/python3-feedparser.spec @@ -0,0 +1,54 @@ +# +# spec file for package python3-feedparser +# +# Copyright (c) 2013 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/ +# + + +Name: python3-feedparser +Version: 5.1.3 +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 +BuildRequires: python3-2to3 +BuildRequires: python3-devel +BuildRequires: python3-distribute +BuildRequires: python3-xml +Requires: python3-xml +BuildArch: noarch + +%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. + +%prep +%setup -q -n feedparser-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE NEWS README +%{python3_sitelib}/* + +%changelog