python-guessit/python-guessit.spec

95 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-guessit
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define skip_python2 1
Name: python-guessit
Version: 3.4.3
Release: 0
Summary: A library for guessing information from video files
Accepting request 632651 from home:alois:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/632651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=11
2018-09-03 08:30:11 +00:00
License: LGPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/wackou/guessit
Source0: https://files.pythonhosted.org/packages/source/g/guessit/guessit-%{version}.tar.gz
Accepting request 632651 from home:alois:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/632651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=11
2018-09-03 08:30:11 +00:00
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module babelfish >= 0.6.0}
BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module pytest >= 5}
Accepting request 632651 from home:alois:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/632651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=11
2018-09-03 08:30:11 +00:00
BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module rebulk >= 3.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-babelfish >= 0.6.0
Requires: python-importlib-resources
Requires: python-python-dateutil
Requires: python-rebulk >= 3.1.0
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
%description
GuessIt is a Python library that extracts as much information as
possible from a video file.
It has a filename matcher that allows to guess a lot of metadata from
a video using its filename only. This matcher works with both movies
and TV shows episodes.
%prep
%autosetup -n guessit-%{version}
# Remove shebang from non-executable files
for i in {'audio_codec','bit_rate','bonus','cd','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/expected','common/formatters','common/__init__','common/numeral','common/pattern','common/quantity','common/validators','common/words','__init__','markers/groups','markers/__init__','markers/path','processors','properties/audio_codec','properties/bit_rate','properties/bonus','properties/cd','properties/container','properties/country','properties/crc','properties/date','properties/edition','properties/episodes','properties/episode_title','properties/film','properties/__init__','properties/language','properties/mimetype','properties/other','properties/part','properties/release_group','properties/screen_size','properties/size','properties/source','properties/streaming_service','properties/title','properties/type','properties/video_codec','properties/website'}; do
sed -i -e "1d" "guessit/rules/$i.py"
done
for i in {'api','data/__init__','__init__','jsonutils','__main__','monkeypatch','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
# https://pypi.org/project/pytest-runner/
sed -i 's:.pytest-runner.::' setup.py
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/guessit
%python_expand %fdupes %{buildroot}%{$python_sitelib}
Accepting request 632651 from home:alois:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/632651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=11
2018-09-03 08:30:11 +00:00
%check
%pytest
%post
%python_install_alternative guessit
%postun
%python_uninstall_alternative guessit
%files %{python_files}
%doc README.md
Accepting request 632651 from home:alois:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/632651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=11
2018-09-03 08:30:11 +00:00
%license LICENSE
%python_alternative %{_bindir}/guessit
%{python_sitelib}/guessit
%{python_sitelib}/guessit-%{version}-py%{python_version}.egg-info
%changelog