- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fanficfare?expand=0&rev=59
This commit is contained in:
Matej Cepl 2020-12-24 16:19:27 +00:00 committed by Git OBS Bridge
parent 9fa4297158
commit 081fb57bbf
6 changed files with 22 additions and 9 deletions

BIN
FanFicFare-3.26.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>
<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="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">gz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<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,12 @@
-------------------------------------------------------------------
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>

View File

@ -21,14 +21,14 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fanficfare
Version: 3.26.0
Version: 3.27.0
Release: 0
Summary: Tool for making eBooks from stories on fanfiction and other web sites
License: GPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/JimmXinu/FanFicFare
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 chardet}
BuildRequires: %{python_module html2text}
@ -39,6 +39,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-beautifulsoup4
Requires: python-chardet
Requires: python-cloudscraper
Requires: python-html2text
Requires: python-html5lib
Requires: python-setuptools
@ -59,7 +60,10 @@ Main Features of FanFicFare:
- Ability to update already downloaded book
%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
dos2unix DESCRIPTION.rst README.md