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 - [email protected]
+
+- Set correct group
+
+-------------------------------------------------------------------
+Wed Mar 29 13:08:15 UTC 2017 - [email protected]
+
+- Fixed source URL
+
+-------------------------------------------------------------------
+Tue Mar 28 17:34:13 UTC 2017 - [email protected]
+
+- Converted to single-spec
+- Added tests
+- Dropped python-pysrt-rpmlintrc (those are pertinent warnings)
+
+-------------------------------------------------------------------
+Thu Dec 15 15:32:32 UTC 2016 - [email protected]
+
+- 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 - [email protected]
+
+- 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

Reply via email to