commit python-subliminal for openSUSE:Factory
Hello community, here is the log from the commit of package python-subliminal for openSUSE:Factory checked in at 2020-05-20 18:44:26 Comparing /work/SRC/openSUSE:Factory/python-subliminal (Old) and /work/SRC/openSUSE:Factory/.python-subliminal.new.2738 (New) Package is "python-subliminal" Wed May 20 18:44:26 2020 rev:4 rq:807158 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-subliminal/python-subliminal.changes 2020-05-03 22:46:39.667084691 +0200 +++ /work/SRC/openSUSE:Factory/.python-subliminal.new.2738/python-subliminal.changes 2020-05-20 18:45:18.397261343 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:07 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-subliminal.spec ++ --- /var/tmp/diff_new_pack.XK7joC/_old 2020-05-20 18:45:19.113262952 +0200 +++ /var/tmp/diff_new_pack.XK7joC/_new 2020-05-20 18:45:19.117262961 +0200 @@ -42,10 +42,12 @@ Requires: python-requests >= 2.7.0 Requires: python-six >= 1.9.0 Requires: python-stevedore >= 1.20.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-colorlog >= 2.6.0 -BuildArch: noarch Provides: subliminal = %{version} Obsoletes: subliminal < %{version} +BuildArch: noarch %python_subpackages %description @@ -60,12 +62,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/subliminal %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative subliminal + +%postun +%python_uninstall_alternative subliminal + %files %{python_files} %license LICENSE %doc HISTORY.rst README.rst -%python3_only %{_bindir}/subliminal +%python_alternative %{_bindir}/subliminal %{python_sitelib}/subliminal %{python_sitelib}/subliminal-%{version}-py%{python_version}.egg-info
commit python-subliminal for openSUSE:Factory
Hello community, here is the log from the commit of package python-subliminal for openSUSE:Factory checked in at 2020-05-03 22:46:35 Comparing /work/SRC/openSUSE:Factory/python-subliminal (Old) and /work/SRC/openSUSE:Factory/.python-subliminal.new.2738 (New) Package is "python-subliminal" Sun May 3 22:46:35 2020 rev:3 rq:799655 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-subliminal/python-subliminal.changes 2019-10-16 09:16:05.067343994 +0200 +++ /work/SRC/openSUSE:Factory/.python-subliminal.new.2738/python-subliminal.changes 2020-05-03 22:46:39.667084691 +0200 @@ -1,0 +2,42 @@ +Sat May 2 10:36:35 UTC 2020 - Luigi Baldoni + +- Update to version 2.1.0 + * Improve legendastv provider matches + * Fix video extensions (.mk3d .ogm .ogv) + * Use new url to search for titles in legendastv provider + * Fix stevedore incompatibility + * Add support to webm video extension + * Make providers easier to be extended and customized + * Update podnapisi URL + * Add support to VIP/Donor accounts in legendastv provider + * Proper handling titles with year / country in legendastv +provider + * Several minor enhancements in legendastv provider + * Add support for python 3.6, 3.7 and 3.8 + * Drop support for python 3.3 and 3.4 + * Do not discard providers bad zip/rar is downloaded + * SubsCenter provider removal + * Fix lxml parsing for Addic7ed provider + * Support titles with asterics in Addic7ed provider + * Add support to multi-episode search in Opensubtitles provider + * Fix multi-episode search in TVSubtitles provider + * Update to guessit 3 + * Improve archive scanning + * Add Opensubtitles VIP provider + * Add country to Movie and Episode + * Add streaming_service to Video + * Add info property to Subtitle + * Do not search for subtitles if all required languages is +already present + * Improve TVDB refiner to support series with comma + * Add alternative_titles to Video and enhance OMDB refiner to +use alternative_titles + * Only compute video hashes when required + * Add apikey to OMDB refiner + * Fix Subtitle validation when unable to guess encoding + * Add support to rar in Dockerfile +- Drop python2 support to simplify packaging +- Drop subliminal.1 manpage because it's no longer possible to + build it + +--- Old: subliminal-2.0.5.tar.gz subliminal.1 New: subliminal-2.1.0.tar.gz Other differences: -- ++ python-subliminal.spec ++ --- /var/tmp/diff_new_pack.Oognu7/_old 2020-05-03 22:46:40.639086669 +0200 +++ /var/tmp/diff_new_pack.Oognu7/_new 2020-05-03 22:46:40.639086669 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-subliminal # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,40 +17,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%define skip_python2 1 Name: python-subliminal -Version:2.0.5 +Version:2.1.0 Release:0 Summary:Python library to search and download subtitles License:MIT URL:https://github.com/Diaoul/subliminal Source: https://files.pythonhosted.org/packages/source/s/subliminal/subliminal-%{version}.tar.gz -# find a way to generate this -Source1:subliminal.1 -# stevedore is not yet unified -BuildRequires: %{oldpython}-stevedore >= 1.6.0 -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module babelfish >= 0.5.4} -BuildRequires: %{python_module beautifulsoup4 >= 4.4.0} -BuildRequires: %{python_module chardet >= 2.3.0} -BuildRequires: %{python_module click >= 4.1} -BuildRequires: %{python_module devel >= 2.7} -BuildRequires: %{python_module dogpile.cache >= 0.6.0} -BuildRequires: %{python_module enzyme >= 0.4.1} -BuildRequires: %{python_module pysrt >= 1.0.1} -BuildRequires: %{python_module pyxdg >= 0.25} -BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module setuptools >= 18.0.1} -BuildRequires: %{python_module six >= 1.9.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-guessit >= 2.0.1 -BuildRequires: python2-html5lib >= 0.99 -BuildRequires: python2-pbr >= 1.3.0 -BuildRequires: python2-python-dateutil >= 2.2 -BuildRequires: python2-rarfile >= 2.7 -BuildRequires: python3-appdirs >= 1.3 -BuildRequires: python3-stevedore >= 1.6.0 Requires: python-appdirs >= 1.3 Requires: python-babelfish >= 0.5.4 Requires: python-
commit python-subliminal for openSUSE:Factory
Hello community, here is the log from the commit of package python-subliminal for openSUSE:Factory checked in at 2019-10-16 09:16:03 Comparing /work/SRC/openSUSE:Factory/python-subliminal (Old) and /work/SRC/openSUSE:Factory/.python-subliminal.new.2352 (New) Package is "python-subliminal" Wed Oct 16 09:16:03 2019 rev:2 rq:738403 version:2.0.5 Changes: --- /work/SRC/openSUSE:Factory/python-subliminal/python-subliminal.changes 2017-07-19 12:21:51.993099116 +0200 +++ /work/SRC/openSUSE:Factory/.python-subliminal.new.2352/python-subliminal.changes 2019-10-16 09:16:05.067343994 +0200 @@ -1,0 +2,5 @@ +Mon Oct 14 14:43:50 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-subliminal.spec ++ --- /var/tmp/diff_new_pack.xIPylb/_old 2019-10-16 09:16:06.307340798 +0200 +++ /var/tmp/diff_new_pack.xIPylb/_new 2019-10-16 09:16:06.343340705 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-subliminal # -# Copyright (c) 2017 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,11 +23,12 @@ Release:0 Summary:Python library to search and download subtitles License:MIT -Group: Development/Languages/Python -Url:https://github.com/Diaoul/subliminal +URL:https://github.com/Diaoul/subliminal Source: https://files.pythonhosted.org/packages/source/s/subliminal/subliminal-%{version}.tar.gz # find a way to generate this Source1:subliminal.1 +# stevedore is not yet unified +BuildRequires: %{oldpython}-stevedore >= 1.6.0 BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module babelfish >= 0.5.4} BuildRequires: %{python_module beautifulsoup4 >= 4.4.0} @@ -41,29 +42,15 @@ BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module setuptools >= 18.0.1} BuildRequires: %{python_module six >= 1.9.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python2-guessit >= 2.0.1 BuildRequires: python2-html5lib >= 0.99 BuildRequires: python2-pbr >= 1.3.0 BuildRequires: python2-python-dateutil >= 2.2 BuildRequires: python2-rarfile >= 2.7 BuildRequires: python3-appdirs >= 1.3 -# stevedore is not yet unified -BuildRequires: %{oldpython}-stevedore >= 1.6.0 -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: python3-stevedore >= 1.6.0 -%ifpython2 -Requires: python-futures >= 3.0 -Requires: python-html5lib >= 0.99 -Requires: python-pbr >= 1.3.0 -Requires: python-python-dateutil >= 2.2 -# Stevedore is not yet unified -Requires: %{oldpython}-stevedore >= 1.6.0 -%endif -%ifpython3 -Requires: python-dbm -Requires: python3-stevedore >= 1.6.0 -%endif Requires: python-appdirs >= 1.3 Requires: python-babelfish >= 0.5.4 Requires: python-beautifulsoup4 >= 4.4.0 @@ -79,8 +66,19 @@ Requires: python-requests >= 2.7.0 Requires: python-six >= 1.9.0 Recommends: python-colorlog >= 2.6.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%ifpython2 +# Stevedore is not yet unified +Requires: %{oldpython}-stevedore >= 1.6.0 +Requires: python-futures >= 3.0 +Requires: python-html5lib >= 0.99 +Requires: python-pbr >= 1.3.0 +Requires: python-python-dateutil >= 2.2 +%endif +%ifpython3 +Requires: python-dbm +Requires: python3-stevedore >= 1.6.0 +%endif %ifpython3 Provides: subliminal = %{version} Obsoletes: subliminal < %{version} @@ -92,7 +90,7 @@ It comes with an easy to use CLI suitable for direct use or cron jobs. %prep -%setup -n subliminal-%{version} +%setup -q -n subliminal-%{version} %build %python_build @@ -101,11 +99,11 @@ %python_install mkdir -p %{buildroot}/%{_mandir}/man1 install -m 644 %{SOURCE1} -t %{buildroot}/%{_mandir}/man1 -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root) -%doc HISTORY.rst LICENSE README.rst +%license LICENSE +%doc HISTORY.rst README.rst %python3_only %{_bindir}/sublimi