commit python-pysrt for openSUSE:Factory
Hello community, here is the log from the commit of package python-pysrt for openSUSE:Factory checked in at 2020-05-06 11:04:31 Comparing /work/SRC/openSUSE:Factory/python-pysrt (Old) and /work/SRC/openSUSE:Factory/.python-pysrt.new.2738 (New) Package is "python-pysrt" Wed May 6 11:04:31 2020 rev:5 rq:800527 version:1.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-pysrt/python-pysrt.changes 2020-04-18 00:33:48.122471210 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysrt.new.2738/python-pysrt.changes 2020-05-06 11:04:39.335312693 +0200 @@ -1,0 +2,5 @@ +Tue May 5 22:18:14 UTC 2020 - Matej Cepl + +- Don't use %python3_only command, but properly use alternatives. + +--- Other differences: -- ++ python-pysrt.spec ++ --- /var/tmp/diff_new_pack.bRQfmn/_old 2020-05-06 11:04:41.151316591 +0200 +++ /var/tmp/diff_new_pack.bRQfmn/_new 2020-05-06 11:04:41.159316609 +0200 @@ -31,6 +31,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -48,14 +50,21 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/srt %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative srt + +%postun +%python_uninstall_alternative srt + %files %{python_files} %doc README.rst -%python3_only %{_bindir}/srt +%python_alternative %{_bindir}/srt %{python_sitelib}/pysrt %{python_sitelib}/pysrt-%{version}-py%{python_version}.egg-info
commit python-pysrt for openSUSE:Factory
Hello community, here is the log from the commit of package python-pysrt for openSUSE:Factory checked in at 2020-04-18 00:32:52 Comparing /work/SRC/openSUSE:Factory/python-pysrt (Old) and /work/SRC/openSUSE:Factory/.python-pysrt.new.2738 (New) Package is "python-pysrt" Sat Apr 18 00:32:52 2020 rev:4 rq:794912 version:1.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-pysrt/python-pysrt.changes 2020-01-20 22:57:37.887394035 +0100 +++ /work/SRC/openSUSE:Factory/.python-pysrt.new.2738/python-pysrt.changes 2020-04-18 00:33:48.122471210 +0200 @@ -1,0 +2,5 @@ +Fri Apr 17 11:45:05 UTC 2020 - Paolo Stivanin + +- Use pytest instead of nose + +--- Other differences: -- ++ python-pysrt.spec ++ --- /var/tmp/diff_new_pack.5ImcLA/_old 2020-04-18 00:33:48.758472527 +0200 +++ /var/tmp/diff_new_pack.5ImcLA/_new 2020-04-18 00:33:48.758472527 +0200 @@ -26,7 +26,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/pysrt/pysrt-%{version}.tar.gz BuildRequires: %{python_module base} BuildRequires: %{python_module chardet} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -51,7 +51,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec %{_bindir}/nosetests +%pytest %files %{python_files} %doc README.rst
commit python-pysrt for openSUSE:Factory
Hello community, here is the log from the commit of package python-pysrt for openSUSE:Factory checked in at 2020-01-20 22:57:29 Comparing /work/SRC/openSUSE:Factory/python-pysrt (Old) and /work/SRC/openSUSE:Factory/.python-pysrt.new.26092 (New) Package is "python-pysrt" Mon Jan 20 22:57:29 2020 rev:3 rq:765900 version:1.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-pysrt/python-pysrt.changes 2019-10-16 09:15:26.451443516 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysrt.new.26092/python-pysrt.changes 2020-01-20 22:57:37.887394035 +0100 @@ -1,0 +2,10 @@ +Mon Jan 20 18:03:47 UTC 2020 - Luigi Baldoni + +- Update to version 1.1.2 + * open(): don't use universal 'U' mode + * Switched broken pypip.in badges to shields.io + * to use print in py2 and py3, print from __future__ + * if file not exist show message + * Add Python 3 trove classifiers + +--- Old: pysrt-1.1.1.tar.gz New: pysrt-1.1.2.tar.gz Other differences: -- ++ python-pysrt.spec ++ --- /var/tmp/diff_new_pack.AYHq6k/_old 2020-01-20 22:57:39.743394779 +0100 +++ /var/tmp/diff_new_pack.AYHq6k/_new 2020-01-20 22:57:39.743394779 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pysrt # -# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysrt -Version:1.1.1 +Version:1.1.2 Release:0 Summary:SubRip (.srt) subtitle parser and writer License:GPL-3.0-only @@ -54,6 +54,7 @@ %python_exec %{_bindir}/nosetests %files %{python_files} +%doc README.rst %python3_only %{_bindir}/srt %{python_sitelib}/pysrt %{python_sitelib}/pysrt-%{version}-py%{python_version}.egg-info ++ pysrt-1.1.1.tar.gz -> pysrt-1.1.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysrt-1.1.1/PKG-INFO new/pysrt-1.1.2/PKG-INFO --- old/pysrt-1.1.1/PKG-INFO2016-04-23 15:34:16.0 +0200 +++ new/pysrt-1.1.2/PKG-INFO2020-01-20 16:19:14.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pysrt -Version: 1.1.1 +Version: 1.1.2 Summary: SubRip (.srt) subtitle parser and writer Home-page: https://github.com/byroot/pysrt Author: Jean Boussier @@ -15,11 +15,8 @@ :target: http://travis-ci.org/byroot/pysrt .. image:: https://coveralls.io/repos/byroot/pysrt/badge.png?branch=master :target: https://coveralls.io/r/byroot/pysrt?branch=master -.. image:: https://pypip.in/v/pysrt/badge.png +.. image:: https://img.shields.io/pypi/v/pysrt.svg :target: https://crate.io/packages/pysrt/ -.. image:: https://pypip.in/d/pysrt/badge.png - :target: https://crate.io/packages/pysrt/ - Foreword @@ -114,6 +111,10 @@ Classifier: License :: OSI Approved :: GNU General Public License (GPL) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 Classifier: Topic :: Multimedia :: Video Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Text Processing :: Markup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysrt-1.1.1/README.rst new/pysrt-1.1.2/README.rst --- old/pysrt-1.1.1/README.rst 2014-01-11 01:46:23.0 +0100 +++ new/pysrt-1.1.2/README.rst 2020-01-20 16:05:29.0 +0100 @@ -7,11 +7,8 @@ :target: http://travis-ci.org/byroot/pysrt .. image:: https://coveralls.io/repos/byroot/pysrt/badge.png?branch=master :target: https://coveralls.io/r/byroot/pysrt?branch=master -.. image:: https://pypip.in/v/pysrt/badge.png +.. image:: https://img.shields.io/pypi/v/pysrt.svg :target: https://crate.io/packages/pysrt/ -.. image:: https://pypip.in/d/pysrt/badge.png - :target: https://crate.io/packages/pysrt/ - Foreword diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pysrt-1.1.1/pysrt/commands.py new/pysrt-1.1.2/pysrt/commands.py --- old/pysrt-1.1.1/pysrt/commands.py 2014-05-19 22:32:56.0 +0200 +++ new/pysrt-1.1.2/pysrt/commands.py 2020-01-20 16:05:29.0 +0100 @@ -1,6 +1,7 @@ #!/usr/bin/e
commit python-pysrt for openSUSE:Factory
Hello community, here is the log from the commit of package python-pysrt for openSUSE:Factory checked in at 2019-10-16 09:15:23 Comparing /work/SRC/openSUSE:Factory/python-pysrt (Old) and /work/SRC/openSUSE:Factory/.python-pysrt.new.2352 (New) Package is "python-pysrt" Wed Oct 16 09:15:23 2019 rev:2 rq:738381 version:1.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-pysrt/python-pysrt.changes 2017-04-20 20:49:58.404249942 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysrt.new.2352/python-pysrt.changes 2019-10-16 09:15:26.451443516 +0200 @@ -1,0 +2,5 @@ +Mon Oct 14 14:17:23 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-pysrt.spec ++ --- /var/tmp/diff_new_pack.VE5sPs/_old 2019-10-16 09:15:26.983442146 +0200 +++ /var/tmp/diff_new_pack.VE5sPs/_new 2019-10-16 09:15:26.983442146 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pysrt # -# 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/ # @@ -21,10 +21,9 @@ Version:1.1.1 Release:0 Summary:SubRip (.srt) subtitle parser and writer -License:GPL-3.0 -Group: Development/Languages/Python -Url:https://github.com/byroot/pysrt -Source0:https://pypi.io/packages/source/p/pysrt/pysrt-%{version}.tar.gz +License:GPL-3.0-only +URL:https://github.com/byroot/pysrt +Source0: https://files.pythonhosted.org/packages/source/p/pysrt/pysrt-%{version}.tar.gz BuildRequires: %{python_module base} BuildRequires: %{python_module chardet} BuildRequires: %{python_module nose} @@ -32,7 +31,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -50,13 +48,12 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec %{_bindir}/nosetests %files %{python_files} -%defattr(-,root,root) %python3_only %{_bindir}/srt %{python_sitelib}/pysrt %{python_sitelib}/pysrt-%{version}-py%{python_version}.egg-info
commit python-pysrt for openSUSE:Factory
Hello community, here is the log from the commit of package python-pysrt for openSUSE:Factory checked in at 2017-04-20 20:49:55 Comparing /work/SRC/openSUSE:Factory/python-pysrt (Old) and /work/SRC/openSUSE:Factory/.python-pysrt.new (New) Package is "python-pysrt" Thu Apr 20 20:49:55 2017 rev:1 rq:484133 version:1.1.1 Changes: New Changes file: --- /dev/null 2017-03-01 00:40:19.279048016 +0100 +++ /work/SRC/openSUSE:Factory/.python-pysrt.new/python-pysrt.changes 2017-04-20 20:49:58.404249942 +0200 @@ -0,0 +1,40 @@ +--- +Fri Mar 31 07:56:17 UTC 2017 - aloi...@gmx.com + +- Set correct group + +--- +Wed Mar 29 13:08:15 UTC 2017 - aloi...@gmx.com + +- Fixed source URL + +--- +Tue Mar 28 17:34:13 UTC 2017 - aloi...@gmx.com + +- Converted to single-spec +- Added tests +- Dropped python-pysrt-rpmlintrc (those are pertinent warnings) + +--- +Thu Dec 15 15:32:32 UTC 2016 - aloi...@gmx.com + +- Update to version 1.1.1 + * Include tests in release source tarball + changes introduced in version 1.1.0: + * Make character_per_seconds correctly deal with tags and +introduce text_without_tags property + * Get rid of unused builtin_str + * pep8 + * Fix conding style + * Make str() method of SrtItem function properly in both +Python 2 and 3 + * Make SrtFile.encoding be set when autodetecting encoding + * Handle division by zero in characters_per_second + * Implement SubRipItem.characters_per_second + * Add duration property to SubRipItem + +--- +Tue Feb 10 22:20:06 UTC 2015 - aloi...@gmx.com + +- Initial version 1.0.1 + New: pysrt-1.1.1.tar.gz python-pysrt.changes python-pysrt.spec Other differences: -- ++ python-pysrt.spec ++ # # spec file for package python-pysrt # # Copyright (c) 2017 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 # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pysrt Version:1.1.1 Release:0 Summary:SubRip (.srt) subtitle parser and writer License:GPL-3.0 Group: Development/Languages/Python Url:https://github.com/byroot/pysrt Source0:https://pypi.io/packages/source/p/pysrt/pysrt-%{version}.tar.gz BuildRequires: %{python_module base} BuildRequires: %{python_module chardet} BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-chardet BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description pysrt is a python library to search and download subtitles. It comes with an easy to use CLI suitable for direct use or cron jobs. %prep %setup -q -n pysrt-%{version} # Remove shebang from non-executable file sed -e '1d' -i pysrt/commands.py %build %python_build %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec %{_bindir}/nosetests %files %{python_files} %defattr(-,root,root) %python3_only %{_bindir}/srt %{python_sitelib}/pysrt %{python_sitelib}/pysrt-%{version}-py%{python_version}.egg-info %changelog