- update to 4.37.0:
- Fix for paginated AO3 series, closes #1091 - Allow scribblehub.com story URLs w/o title and search calibre w/o title - Use titlepage_entry for titlepage_wide_entry unless explicitly set. - adapter_storiesonlinenet: Fix for chapter select getting cover image link. - adapter_storiesonlinenet: Remove ''s Page' to '.s Page' - Full OTW settings for www.adastrafanfic.com in defaults.ini - Update translations OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fanficfare?expand=0&rev=122
This commit is contained in:
commit
424784c98a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
BIN
FanFicFare-4.36.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
FanFicFare-4.36.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
FanFicFare-4.37.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
FanFicFare-4.37.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
1668
python-fanficfare.changes
Normal file
1668
python-fanficfare.changes
Normal file
File diff suppressed because it is too large
Load Diff
99
python-fanficfare.spec
Normal file
99
python-fanficfare.spec
Normal file
@ -0,0 +1,99 @@
|
||||
#
|
||||
# spec file for package python-fanficfare
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname FanFicFare
|
||||
%define modnamedown fanficfare
|
||||
%define skip_python2 1
|
||||
Name: python-fanficfare
|
||||
Version: 4.37.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/FanFicFare/archive/v%{version}/FanFicFare-%{version}.tar.gz
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module chardet}
|
||||
BuildRequires: %{python_module cloudscraper}
|
||||
BuildRequires: %{python_module html2text}
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module requests-file}
|
||||
BuildRequires: %{python_module setuptools >= 17.1}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Brotli
|
||||
Requires: python-beautifulsoup4
|
||||
Requires: python-chardet
|
||||
Requires: python-cloudscraper
|
||||
Requires: python-html2text
|
||||
Requires: python-html5lib
|
||||
Requires: python-requests
|
||||
Requires: python-requests-file
|
||||
Requires: python-urllib3
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
FanFicFare is a tool for downloading fanfiction and original stories from various sites into ebook form.
|
||||
|
||||
FanFicFare is the rename and move of the FanFictionDownLoader (AKA FFDL, AKA fanficdownloader) project.
|
||||
|
||||
Main Features of FanFicFare:
|
||||
- Download fanfiction stories from various sites into ebooks.
|
||||
- Create various ebook formats (currently epub, mobi, HTML, txt)
|
||||
- Also available as a Calibre plugin (not in this package)
|
||||
- Ability to update already downloaded book
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
rm -rf included_dependencies/
|
||||
|
||||
find . -name \*.py -exec sed -i -e '/^#!\/usr\/bin\/python/d' '{}' \;
|
||||
dos2unix DESCRIPTION.rst README.md
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/%{modnamedown}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative fanficfare
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative fanficfare
|
||||
|
||||
%check
|
||||
# no upstream tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc DESCRIPTION.rst README.md
|
||||
%python_alternative %{_bindir}/%{modnamedown}
|
||||
%{python_sitelib}/%{modname}-%{version}*-info
|
||||
%{python_sitelib}/%{modnamedown}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user