Hello community,
here is the log from the commit of package python-guessit for openSUSE:Factory checked in at 2018-09-04 22:56:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-guessit (Old)
and /work/SRC/openSUSE:Factory/.python-guessit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-guessit"
Tue Sep 4 22:56:16 2018 rev:3 rq:632807 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-guessit/python-guessit.changes 2017-05-18 20:48:10.312515979 +0200
+++ /work/SRC/openSUSE:Factory/.python-guessit.new/python-guessit.changes 2018-09-04 22:56:16.805023449 +0200
@@ -1,0 +2,145 @@
+Mon Sep 3 09:01:03 UTC 2018 - Tomáš Chvátal
+
+- Update package test syntax to match up other python pkgs
+
+-------------------------------------------------------------------
+Sat Sep 1 11:14:33 UTC 2018 - aloisio@gmx.com
+
+- Update to version 3.0.0
+ * Renamed `format` property to `source`.
+ * `source` property `Cam` is now `Camera` or `HD Camera`
+ * `source` property `Telesync` is now `Telesync` or `HD
+ Telesync`
+ * `source` property `PPV` is now `Pay-per-view`
+ * `source` property `DVB` is now `Digital TV`
+ * `source` property `VOD` is now `Video on Demand`
+ * `source` property `WEBRip` is now `Web` with additional
+ property `other`: `Rip`
+ * `source` property `WEB-DL` is now `Web`
+ * `source` property `AHDTV` is now `Analog HDTV`
+ * `source` property `UHDTV` is now `Ultra HDTV`
+ * `source` property `HDTC` is now `HD Telecine`
+ * `screen_size` property `360i` was added.
+ * `screen_size` property `480i` was added.
+ * `screen_size` property `576i` was added.
+ * `screen_size` property `900i` was added.
+ * `screen_size` property `1440p` was added.
+ * `screen_size` property `4K` is now `2160p`
+ * `screen_size` property `4320p` was added.
+ * `video_codec` property `h264` is now `H.264`
+ * `video_codec` property `h265` is now `H.265`
+ * `video_codec` property `Mpeg2` is now `MPEG-2`
+ * `video_codec` property `Real` is now `RealVideo`
+ * `video_codec` property `XviD` is now `Xvid`
+ * `video_profile` property `BP` is now `Baseline`.
+ * `video_profile` property `HP` is now `High`.
+ * `video_profile` property `XP` is now `Extended`.
+ * `video_profile` property `MP` is now `Main`.
+ * `video_profile` property `Hi422P` is now `High 4:2:2`.
+ * `video_profile` property `Hi444PP` is now `High 4:4:4
+ Predictive`.
+ * `video_profile` property `High 10` was added.
+ * `video_profile` property `8bit` was removed. `8bit` is
+ detected as `color_depth`: `8-bit`
+ * `video_profile` property `10bit` was removed. `10bit` is
+ detected as `color_depth`: `10-bit`
+ * `audio_codec` property `DTS-HD` was added.
+ * `audio_codec` property `AC3` is now `Dolby Digital`
+ * `audio_codec` property `EAC3` is now `Dolby Digital Plus`
+ * `audio_codec` property `TrueHD` is now `Dolby TrueHD`
+ * `audio_codec` property `DolbyAtmos` is now `Dolby Atmos`.
+ * `audio_profile` property `HE` is now `High Efficiency`.
+ * `audio_profile` property `LC` is now `Low Complexity`.
+ * `audio_profile` property `HQ` is now `High Quality`.
+ * `audio_profile` property `HDMA` is now `Master Audio`.
+ * `edition` property `Collector Edition` is now `Collector`
+ * `edition` property `Special Edition` is now `Special`
+ * `edition` property `Criterion Edition` is now `Criterion`
+ * `edition` property `Deluxe Edition` is now `Deluxe`
+ * `edition` property `Limited Edition` is now `Limited`
+ * `edition` property `Theatrical Edition` is now `Theatrical`
+ * `edition` property `Director's Definitive Cut` was added.
+ * `episode_details` property `Oav` and `Ova` were removed.
+ They are now `other: Original Animated Video`
+ * `episode_details` property `Omake` is now `Extras`
+ * `episode_details` property `Final` was added.
+ * `other` property `Rip` was added.
+ * `other` property `DDC` was removed. `DDC` is now `edition`:
+ `Director's Definitive Cut`
+ * `other` property `CC` was removed. `CC` is now `edition`:
+ `Criterion`
+ * `other` property `FINAL` was removed. `FINAL` is now
+ `episode_details`: `Final`
+ * `other` property `Original Animated Video` was added.
+ * `other` property `OV` is now `Original Video`
+ * `other` property `AudioFix` is now `Audio Fixed`
+ * `other` property `SyncFix` is now `Sync Fixed`
+ * `other` property `DualAudio` is now `Dual Audio`
+ * `other` property `Fansub` is now `Fan Subtitled`
+ * `other` property `Fastsub` is now `Fast Subtitled`
+ * `other` property `FullHD` is now `Full HD`
+ * `other` property `UltraHD` is now `Ultra HD`
+ * `other` property `mHD` and `HDLight` are now `Micro HD`
+ * `other` property `HQ` is now `High Quality`
+ * `other` property `HR` is now `High Resolution`
+ * `other` property `LD` is now `Line Dubbed`
+ * `other` property `MD` is now `Mic Dubbed`
+ * `other` property `Low Definition` was added.
+ * `other` property `LiNE` is now `Line Audio`
+ * `other` property `R5` is now `Region 5`
+ * `other` property `Region C` was added.
+ * `other` property `ReEncoded` is now `Reencoded`
+ * `other` property `WideScreen` is now `Widescreen`
+ * Added `Ultra HD Blu-ray` as new `source` possible value.
+ * Added `Standard Dynamic Range` as new `other` possible value.
+ * Added `HDR10` as new `other` possible value.
+ * Added `Dolby Vision` as new `other` possible value.
+ * Added `BT.2020` as new `other` possible value.
+ * Added `12-bit` as new `color_depth` possible value.
+ * Added `IMAX` as new `edition` possible value.
+ * Added `Upscaled` as new `other` possible value.
+ * Added `High Frame Rate` as new `other` possible value.
+ * Added `Ultimate` as new `edition` possible value.
+ * Added `Fan` as new `edition` possible value.
+ * Added `High Resolution Audio` as new `audio_profile`
+ possible value.
+ * Added `Extended Surround` as new `audio_profile` possible
+ value.
+ * Added `EX` as new `audio_profile` possible value
+ * Added `Opus` as new `audio_codec` possible value
+ * Added `aspect_ratio` as new property. Also used to validate
+ if a screen_size is a standard resolution.
+ * Fixed unwanted language and country detection for exotic
+ languages.
+ * Added default and configurable list of allowed languages and
+ countries
+ * Added `VC-1` as new `video_codec` possible value
+ * Enhanced dash-separated `release_group` detection.
+ * Changed `size` output to return `guessit.Quantity` object.
+ * Changed `size` output to return `guessit.Size` object.
+ * Added `audio_video_rate` as new possible property.
+ * Added `video_video_rate` as new possible property.
+ * Added `frame_rate` as new possible property.
+ * Added `disc` as a new possible property.
+ * Added `H.263` as new `video_codec` possible value.
+ * Added `VP7` as new `video_codec` possible value.
+ * Added `VP8` as new `video_codec` possible value.
+ * Added `VP9` as new `video_codec` possible value.
+ * Added `Vorbis` as new `audio_codec` possible value.
+ * Added `PCM` as new `audio_codec` possible value.
+ * Added `LPCM` as new `audio_codec` possible value.
+ * Added `Digital Master` as new `source` possible value.
+ * Added several new values for `streaming_service`.
+ * Added new options `--includes` and `--excludes`.
+ * Added `Sample` as new `other` possible value.
+ * Added `Obfuscated` as new `other` possible value.
+ * Added `Proof` as new `other` possible value.
+ * Added `Repost` as new `other` possible value.
+ * Added advanced guessit configuration to config files.
+ * Add support for `pathlib.Path` objects on guessit API input.
+ version 2.1.4
+ * Fix broken match function when using `rebulk>=0.9.0`.
+
+- Enabled tests
+
+-------------------------------------------------------------------
Old:
----
guessit-2.1.1.tar.gz
New:
----
guessit-3.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-guessit.spec ++++++
--- /var/tmp/diff_new_pack.myqjES/_old 2018-09-04 22:56:17.181024733 +0200
+++ /var/tmp/diff_new_pack.myqjES/_new 2018-09-04 22:56:17.181024733 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-guessit
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,29 +18,26 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-guessit
-Version: 2.1.1
+Version: 3.0.0
Release: 0
Summary: GuessIt - a library for guessing information from video files
-License: LGPL-3.0
+License: LGPL-3.0-only
Group: Development/Languages/Python
Url: https://github.com/wackou/guessit
Source0: https://pypi.io/packages/source/g/guessit/guessit-%{version}.tar.gz
+BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module babelfish >= 0.5.5}
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module python-dateutil}
-BuildRequires: %{python_module rebulk >= 0.7.3}
+BuildRequires: %{python_module rebulk >= 0.9.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python-devel
-BuildRequires: python-pytest-runner
-BuildRequires: python-rebulk >= 0.7.3
BuildRequires: python-rpm-macros
-BuildRequires: python-setuptools
Requires: python-babelfish >= 0.5.5
Requires: python-python-dateutil
-Requires: python-rebulk >= 0.7.3
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: python-rebulk >= 0.9.0
BuildArch: noarch
%python_subpackages
@@ -54,13 +51,13 @@
%prep
%setup -q -n guessit-%{version}
# Remove shebang from non-executable files
-for i in {'audio_codec','bonus','cds','container','country','crc','date','edition','episodes','episode_title','film','format','__init__','language','mimetype','other','part','release_group','screen_size','streaming_service','title','type','video_codec','website'}; do
+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"
done
-for i in {'common/comparators','common/date','common/formatters','common/__init__','common/numeral','common/validators','common/words','__init__','markers/groups','markers/__init__','markers/path','processors'}; do
+for i in {'common/comparators','common/date','common/expected','common/formatters','common/__init__','common/numeral','common/pattern','common/quantity','common/validators','common/words','__init__','markers/groups','markers/__init__','markers/path','processors'}; do
sed -i -e "1d" "guessit/rules/$i.py"
done
-for i in {'api','backports','__init__','jsonutils','__main__','options','reutils','test/__init__','test/rules/__init__','test/rules/processors_test','test/test_api','test/test_api_unicode_literals','test/test_benchmark','test/test_main','test/test_yml','__version__','yamlutils'}; do
+for i in {'api','backports','__init__','jsonutils','__main__','options','reutils','test/__init__','test/rules/__init__','test/rules/processors_test','test/test_api','test/test_api_unicode_literals','test/test_benchmark','test/test_main','test/test_options','test/test_yml','__version__','yamlutils'}; do
sed -i -e "1d" "guessit/$i.py"
done
@@ -69,10 +66,18 @@
%install
%python_install
-%python_expand %fdupes -s %%{buildroot}%{$python_sitelib}
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+
+%check
+export LANG='en_US.UTF8'
+export PYTHONDONTWRITEBYTECODE=1
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+py.test-%{$python_version} guessit/test
+}
%files %{python_files}
-%defattr(-,root,root,-)
+%doc README.rst
+%license LICENSE
%python3_only %{_bindir}/guessit
%{python_sitelib}/guessit
%{python_sitelib}/guessit-%{version}-py%{python_version}.egg-info
++++++ guessit-2.1.1.tar.gz -> guessit-3.0.0.tar.gz ++++++
++++ 18125 lines of diff (skipped)