1
0

Accepting request 858537 from devel:languages:python

- Add use_cloudscraper code to use with CloudFlare sites, like
  fanfiction.net now does.
- Changes to allow email chapter update URLs to work in
  adapter_wattpadcom
- Updates for many included dependencies
- Update to 3.26.0:
  - Clear user_agent for literotica.com
  - Fix finding imgs in existing epubs. Closes #608 Many thanks to
    Epicpkmn11 for finding this before I released.
  - Fixes for adapter_fictionlive, thanks HazelSh
  - Make default CSS for fiction.live and royalroad.com use em instead
    of pt, thanks HazelSh
  - Fix for genre change in adapter_royalroadcom
  - Fix for adapter_storiesonlinenet 'access' issue.
  - Don't error on w/o class in replace_failed_smilies_with_alt_text
  - Allow tab to leave edit boxes.
  - Revert(ish) 'fix' for ffnet covers--they fixed it.
  - Change convert_inline_images default to false.
  - Fix http/https matching in identifiers:url search.
  - Allow tags without src attr in epub to update
  - Fix for ffnet cover images changed? Or broken?
  - Warn, not crash on when cover_min_size fails.
  - Add 2nd dup-story URL check after fetching metadata for when story
    URL changes.
  - Fix adapter_thesietchcom for site change
  - Add (optional, default on) convert support for data:image in-line s.
  - Adding pass-through support for data:image in-line s.
  - XenForo: Fixes for extra /s in normalized URLs.
  - Set default cover_min_size: 10,10 to avoid spacer images as covers.
  - New Site: squidgeworld.org - shares code with AO3.
  - adapter_wuxiaworldco: added status #592 from Rikkitp
  - Don't use polyglot, not included until Calibre3. Remove some debug
    output.
  - adapter_scribblehubcom: Accept chapter URLs.
  - adapter_wwwnovelallcom: Accept chapter URLs, must change to true
    storyId/URL after.
  - Make adapter_novelupdatescc share code with adapter_wuxiaworldco
  - adapter_literotica: Keep language domains & use for language
    metadata. #588
  - adapter_alternatehistorycom now uses same thread group HTML as
    XenForo2. Closes #590
  - adapter_wuxiaworldco/adapter_novelupdatescc: Re-add Don't include
    grayed out 'In preparation' chapters

OBS-URL: https://build.opensuse.org/request/show/858537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fanficfare?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2020-12-25 17:50:40 +00:00 committed by Git OBS Bridge
commit 53187106ca
6 changed files with 64 additions and 9 deletions

BIN
FanFicFare-3.25.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
FanFicFare-3.27.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
<services> <services>
<service mode="disabled" name="tar_scm"> <service mode="disabled" name="tar_scm">
<param name="versionprefix">3.18.1+git</param> <param name="versionprefix">3.26.0+git</param>
<param name="url">https://github.com/JimmXinu/FanFicFare.git</param> <param name="url">https://github.com/JimmXinu/FanFicFare.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>
<service mode="disabled" name="recompress"> <service mode="disabled" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">gz</param>
</service> </service>
<service mode="disabled" name="set_version"/> <service mode="disabled" name="set_version"/>
</services> </services>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">https://github.com/JimmXinu/FanFicFare.git</param> <param name="url">https://github.com/JimmXinu/FanFicFare.git</param>
<param name="changesrevision">54f843ec061d1760b994f081936384ccd84b9162</param></service></servicedata> <param name="changesrevision">fd11526da8a48d488df0ba019967ea41856a2f4c</param></service></servicedata>

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Thu Dec 24 16:17:00 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add use_cloudscraper code to use with CloudFlare sites, like
fanfiction.net now does.
- Changes to allow email chapter update URLs to work in
adapter_wattpadcom
- Updates for many included dependencies
-------------------------------------------------------------------
Tue Dec 22 23:09:58 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Update to 3.26.0:
- Clear user_agent for literotica.com
- Fix finding imgs in existing epubs. Closes #608 Many thanks to
Epicpkmn11 for finding this before I released.
- Fixes for adapter_fictionlive, thanks HazelSh
- Make default CSS for fiction.live and royalroad.com use em instead
of pt, thanks HazelSh
- Fix for genre change in adapter_royalroadcom
- Fix for adapter_storiesonlinenet 'access' issue.
- Don't error on w/o class in replace_failed_smilies_with_alt_text
- Allow tab to leave edit boxes.
- Revert(ish) 'fix' for ffnet covers--they fixed it.
- Change convert_inline_images default to false.
- Fix http/https matching in identifiers:url search.
- Allow tags without src attr in epub to update
- Fix for ffnet cover images changed? Or broken?
- Warn, not crash on when cover_min_size fails.
- Add 2nd dup-story URL check after fetching metadata for when story
URL changes.
- Fix adapter_thesietchcom for site change
- Add (optional, default on) convert support for data:image in-line s.
- Adding pass-through support for data:image in-line s.
- XenForo: Fixes for extra /s in normalized URLs.
- Set default cover_min_size: 10,10 to avoid spacer images as covers.
- New Site: squidgeworld.org - shares code with AO3.
- adapter_wuxiaworldco: added status #592 from Rikkitp
- Don't use polyglot, not included until Calibre3. Remove some debug
output.
- adapter_scribblehubcom: Accept chapter URLs.
- adapter_wwwnovelallcom: Accept chapter URLs, must change to true
storyId/URL after.
- Make adapter_novelupdatescc share code with adapter_wuxiaworldco
- adapter_literotica: Keep language domains & use for language
metadata. #588
- adapter_alternatehistorycom now uses same thread group HTML as
XenForo2. Closes #590
- adapter_wuxiaworldco/adapter_novelupdatescc: Re-add Don't include
grayed out 'In preparation' chapters
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 9 20:00:20 UTC 2020 - Matej Cepl <mcepl@suse.com> Mon Nov 9 20:00:20 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -21,14 +21,14 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fanficfare Name: python-fanficfare
Version: 3.25.0 Version: 3.27.0
Release: 0 Release: 0
Summary: Tool for making eBooks from stories on fanfiction and other web sites Summary: Tool for making eBooks from stories on fanfiction and other web sites
License: GPL-3.0-only License: GPL-3.0-only
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/JimmXinu/FanFicFare URL: https://github.com/JimmXinu/FanFicFare
Source: https://github.com/JimmXinu/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz Source: https://github.com/JimmXinu/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz
# Source: %%{modname}-%%{version}.tar.xz # Source: %%{modname}-%%{version}.tar.gz
BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module chardet} BuildRequires: %{python_module chardet}
BuildRequires: %{python_module html2text} BuildRequires: %{python_module html2text}
@ -39,6 +39,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-beautifulsoup4 Requires: python-beautifulsoup4
Requires: python-chardet Requires: python-chardet
Requires: python-cloudscraper
Requires: python-html2text Requires: python-html2text
Requires: python-html5lib Requires: python-html5lib
Requires: python-setuptools Requires: python-setuptools
@ -59,7 +60,10 @@ Main Features of FanFicFare:
- Ability to update already downloaded book - Ability to update already downloaded book
%prep %prep
%setup -q -n %{modname}-%{version} %autosetup -p1 -n %{modname}-%{version}
rm -rf included_dependencies/
sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py
dos2unix DESCRIPTION.rst README.md dos2unix DESCRIPTION.rst README.md