Accepting request 662670 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/662670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fanficfare?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-01-08 11:27:44 +00:00 committed by Git OBS Bridge
commit bce9b77925
6 changed files with 56 additions and 29 deletions

Binary file not shown.

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

Binary file not shown.

View File

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

View File

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

View File

@ -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

View File

@ -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