From c5c9ca2077e2c937ea717fe3f3cafeec8c8d7d280fb63e6f91c8999e6e348b18 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 3 Jan 2019 13:59:04 +0000 Subject: [PATCH] Accepting request 662669 from home:mcepl - Update to version 3.3.9: * Fix metadata parsing for adapter_siyecouk * Fix adapter_whoficcom for site changes. * Update translations. * Fix AO3 logout url used to detect when already logged in. * Add conditionals_use_lists(default:true) setting for replace_metadata & Include/Exclude metadata conditionals. Might change existing behavior for some users. * Remove outdated comment. * Allow ==, !=, =~ and !~ in replace_metadata conditionals like in/exclude_metadata. * Additional metadata edit recursion proofing. * Allow animated gifs through Calibre Image proc -- need to remove gif.py later. * Update some comments in adapter_archiveofourownorg * Additional fix for AO3 login site changes. * Fix for AO3 login site changes. * Update translations * Force Translation Update * Add bookmarkprivate and bookmarkrec site-specific metadata to adapter_archiveofourownorg * Accept archiveofourown.com for archiveofourown.org. archiveofourown.org remains the 'canonical' domain. * Update translations. * Workaround for adapter_hentaifoundrycom bad dateUpdated value. * New Site: www.hentai-foundry.com - Stories only. * Improve recursion-proofing of replace_metadata for performance and duplicate lines. * Don't cache file: URLs. Option --save-cache can mask changes to _filelist files while debugging. * Don't sleep when fetching file: URLs. * Remove defunct site www.artemis-fowl.com * Remove defunct site asr3.slashzone.org * Remove defunct site tolkienfanfiction.com * Remove defunct site fanfiction.tenhawkpresents.com * Remove defunct site unknowableroom.org * Remove defunct site mujaji.net * Update adapter_harrypotterfanfictioncom for site change. * Change for adapter_storiesonlinenet for 'Full Access' stories. - Switch from pull commits to the released tarballs again. OBS-URL: https://build.opensuse.org/request/show/662669 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fanficfare?expand=0&rev=9 --- ...cFare-3.2.1+git.1543262085.5eb1f1f3.tar.xz | 3 -- FanFicFare-3.3.0.tar.gz | 3 ++ _service | 14 ------ _servicedata | 4 -- python-fanficfare.changes | 45 +++++++++++++++++++ python-fanficfare.spec | 16 +++---- 6 files changed, 56 insertions(+), 29 deletions(-) delete mode 100644 FanFicFare-3.2.1+git.1543262085.5eb1f1f3.tar.xz create mode 100644 FanFicFare-3.3.0.tar.gz delete mode 100644 _service delete mode 100644 _servicedata diff --git a/FanFicFare-3.2.1+git.1543262085.5eb1f1f3.tar.xz b/FanFicFare-3.2.1+git.1543262085.5eb1f1f3.tar.xz deleted file mode 100644 index c0e0221..0000000 --- a/FanFicFare-3.2.1+git.1543262085.5eb1f1f3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:105d3ca89e716d62f040064180122191265322cdb5c57184bd025806c10a0776 -size 684724 diff --git a/FanFicFare-3.3.0.tar.gz b/FanFicFare-3.3.0.tar.gz new file mode 100644 index 0000000..56eee1f --- /dev/null +++ b/FanFicFare-3.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3fa306f94b34870f3812cb65276ee0876cf9831b355934baa7108154fdbe6b5 +size 1073812 diff --git a/_service b/_service deleted file mode 100644 index dbc3bc1..0000000 --- a/_service +++ /dev/null @@ -1,14 +0,0 @@ - - - 3.2.1+git - https://github.com/JimmXinu/FanFicFare.git - git - .git* - enable - - - xz - *.tar - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index f48bc3c..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/JimmXinu/FanFicFare.git - 5eb1f1f3c03cdfb837e31bf94582211cbe5062ea \ No newline at end of file diff --git a/python-fanficfare.changes b/python-fanficfare.changes index 9d5a8d4..55170ac 100644 --- a/python-fanficfare.changes +++ b/python-fanficfare.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Thu Jan 03 13:32:26 UTC 2019 - opensuse-packaging@opensuse.org + +- Update to version 3.3.9: + * Fix metadata parsing for adapter_siyecouk + * Fix adapter_whoficcom for site changes. + * Update translations. + * Fix AO3 logout url used to detect when already logged in. + * Add conditionals_use_lists(default:true) setting for + replace_metadata & Include/Exclude metadata conditionals. + Might change existing behavior for some users. + * Remove outdated comment. + * Allow ==, !=, =~ and !~ in replace_metadata conditionals like + in/exclude_metadata. + * Additional metadata edit recursion proofing. + * Allow animated gifs through Calibre Image proc -- need to + remove gif.py later. + * Update some comments in adapter_archiveofourownorg + * Additional fix for AO3 login site changes. + * Fix for AO3 login site changes. + * Update translations + * Force Translation Update + * Add bookmarkprivate and bookmarkrec site-specific metadata to + adapter_archiveofourownorg + * Accept archiveofourown.com for archiveofourown.org. + archiveofourown.org remains the 'canonical' domain. + * Update translations. + * Workaround for adapter_hentaifoundrycom bad dateUpdated + value. + * New Site: www.hentai-foundry.com - Stories only. + * Improve recursion-proofing of replace_metadata for + performance and duplicate lines. + * Don't cache file: URLs. Option --save-cache can mask changes + to _filelist files while debugging. + * Don't sleep when fetching file: URLs. + * Remove defunct site www.artemis-fowl.com + * Remove defunct site asr3.slashzone.org + * Remove defunct site tolkienfanfiction.com + * Remove defunct site fanfiction.tenhawkpresents.com + * Remove defunct site unknowableroom.org + * Remove defunct site mujaji.net + * Update adapter_harrypotterfanfictioncom for site change. + * Change for adapter_storiesonlinenet for 'Full Access' stories. +- Switch from pull commits to the released tarballs again. + ------------------------------------------------------------------- Mon Dec 03 06:50:01 UTC 2018 - opensuse-packaging@opensuse.org diff --git a/python-fanficfare.spec b/python-fanficfare.spec index c5844be..edd5909 100644 --- a/python-fanficfare.spec +++ b/python-fanficfare.spec @@ -1,7 +1,7 @@ # # spec file for package python-fanficfare # -# 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 @@ -16,17 +16,17 @@ # -%define upname FanFicFare -%define upnamedown fanficfare +%define modname FanFicFare +%define modnamedown fanficfare %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-fanficfare -Version: 3.2.1+git.1543262085.5eb1f1f3 +Version: 3.3.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: %{upname}-%{version}.tar.xz +Source: https://github.com/JimmXinu/%{modname}/archive/v%{version}/%{modname}-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module chardet} BuildRequires: %{python_module html2text} @@ -51,7 +51,7 @@ Main Features of FanFicFare: - Ability to update already downloaded book %prep -%setup -q -n %{upname}-%{version} +%setup -q -n %{modname}-%{version} sed -i -e '/^#!\/usr\/bin\/python/d' fanficfare/mobi{,html}.py for f in DESCRIPTION.rst README.md ; do tr -d '\r' < $f > $f.new @@ -64,7 +64,7 @@ done %install %python_install -%python_clone -a %{buildroot}%{_bindir}/%{upnamedown} +%python_clone -a %{buildroot}%{_bindir}/%{modnamedown} %python_expand %fdupes %{buildroot}%{$python_sitelib} %post @@ -76,7 +76,7 @@ done %files %{python_files} %license LICENSE %doc DESCRIPTION.rst README.md -%python_alternative %{_bindir}/%{upnamedown} +%python_alternative %{_bindir}/%{modnamedown} %{python_sitelib}/* %changelog