Accepting request 799837 from home:alois:branches:devel:languages:python

- Update to version 3.1.1
  * Drop python `3.4` support
  * Use SafeLoader with `yaml.load()`

OBS-URL: https://build.opensuse.org/request/show/799837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=24
This commit is contained in:
Luigi Baldoni 2020-05-03 14:27:43 +00:00 committed by Git OBS Bridge
parent 563e81c6e8
commit e55809fa66
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dcd3f2acaf6c1a864f903f084ddd6a6b753f3107ae864355d7c8c1e9cb205b2
size 144079

3
guessit-3.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71c68c6d4e9d639eba6534a838468115ad20f4c5a688eae3079f0c08d605a3b0
size 147605

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun May 3 13:55:37 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.1.1
* Drop python `3.4` support
* Use SafeLoader with `yaml.load()`
-------------------------------------------------------------------
Tue Sep 3 06:44:13 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-guessit
#
# 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-guessit
Version: 3.1.0
Version: 3.1.1
Release: 0
Summary: A library for guessing information from video files
License: LGPL-3.0-only
@ -48,7 +48,7 @@ a video using its filename only. This matcher works with both movies
and TV shows episodes.
%prep
%setup -q -n guessit-%{version}
%autosetup -n guessit-%{version}
# Remove shebang from non-executable files
for i in {'audio_codec','bit_rate','bonus','cds','container','country','crc','date','edition','episodes','episode_title','film','__init__','language','mimetype','other','part','release_group','screen_size','size','source','streaming_service','title','type','video_codec','website'}; do
sed -i -e "1d" "guessit/rules/properties/$i.py"