Accepting request 391746 from home:alois:branches:devel:languages:python
Update to 2.0.5 OBS-URL: https://build.opensuse.org/request/show/391746 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=3
This commit is contained in:
parent
5e5456e02c
commit
6229bef09f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d14ea0a2ea3413ec46119ea4d7a91b1f045761cfb3dc262c9dcd545742712dfe
|
||||
size 141772
|
3
guessit-2.0.5.tar.gz
Normal file
3
guessit-2.0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:626e0024c5cca9b84883b65246e4f238e3f39064664486f69f086c853a63ff61
|
||||
size 74464
|
@ -1,3 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 14:06:04 UTC 2016 - aloisio@gmx.com
|
||||
|
||||
- Update to version 2.0.5
|
||||
* Fix inconsistent properties returned by guessit -p.
|
||||
* Add support for titles containing dots.
|
||||
* Lock python-dateutil dependency to <2.5.2.
|
||||
* Add an Exception Report when an unexpected exception occurs.
|
||||
* Fix possible issue with unicode characters encoding/decoding.
|
||||
* Add support for any type of string with python 2 and python 3
|
||||
(binary, str, unicode).
|
||||
* Remove regex native module from required dependencies.
|
||||
It will now be used only if present.
|
||||
* Guessit is now available as a docker container on Docker Hub
|
||||
(https://hub.docker.com/r/toilal/guessit).
|
||||
* `country` 2-letter code is not added to `title` value anymore.
|
||||
* All `container` values are now capitalized.
|
||||
* `alternativeTitle` has been renamed to `alternative_title`
|
||||
and added to the docs.
|
||||
* `mimetype` property is now in the docs.
|
||||
* Add more excluded words for `language` property.
|
||||
* Add more possible values for `other` property.
|
||||
* Fix an issue occuring with `title` values starting with `Scr`.
|
||||
* `film` property is now guessed only if less than `100` to
|
||||
avoid possible conflicts with `crc32`.
|
||||
* Add docs.
|
||||
* Add exotic `screen_size` patterns support like `720hd`
|
||||
and `720p50`.
|
||||
* Rename `audio_codec` value `true-HD` to `trueHD`.
|
||||
* Add ``__version__`` to main module.
|
||||
* Single digit episodes are now guessed for ``--type episode``
|
||||
instead of ``--episode-prefer-number``.
|
||||
* Fix separators that could cause some titles to be splited
|
||||
with & and ;.
|
||||
* Avoid possible ``NoneType`` error.
|
||||
* Fallback to default title guessing when ``expected-title``
|
||||
is not found.
|
||||
* Add ``expected-group`` option.
|
||||
* Add validation rule for single digit ``episode`` to avoid
|
||||
false positives.
|
||||
* Add ``verbose`` option.
|
||||
* Fix ``expected-title`` option.
|
||||
* Better unicode support in ``expected-group``/``expected-title``
|
||||
option.
|
||||
* Add support for ``part`` with no space before number.
|
||||
* Avoid ``uuid`` and ``crc32`` collision with
|
||||
``season``/``episode`` properties.
|
||||
* Add better space support for ``season``/``episode`` properties.
|
||||
* Ensure ``date`` property is found when conflicting with
|
||||
``season``/``episode`` properties.
|
||||
* Fix ``IndexError`` when input has a closing group character
|
||||
with no opening one before.
|
||||
* Add ``--type`` option.
|
||||
* Add rebulk implicit option support.
|
||||
* Add python 2.6 support.
|
||||
* Enhance title guessing.
|
||||
* Upgrade rebulk to ``0.6.1``.
|
||||
* Rename ``properCount`` to ``proper_count``
|
||||
* Avoid crash when using ``-p``/``-V`` option with ``--yaml``
|
||||
and ``yaml`` module is not available.
|
||||
* Add ``-p``/``-V`` options to display properties and values
|
||||
that can be guessed.
|
||||
* Allow rebulk customization in API module.
|
||||
* Raise TypeError instead of AssertionError when non text
|
||||
is given to guessit API.
|
||||
* Rewrite from scratch using Rebulk.
|
||||
|
||||
- Added man page for guessit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 18 18:10:18 UTC 2015 - aloisio@gmx.com
|
||||
|
||||
@ -10,7 +79,7 @@ Sat Jul 18 18:10:18 UTC 2015 - aloisio@gmx.com
|
||||
* Use common words to resolve conflicts on strings
|
||||
* Bump babelfish version
|
||||
* Fix setuptools deprecation warning
|
||||
* Package argparse dependency only if python<2.7
|
||||
* Package argparse dependency only if python<2.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 11 01:13:10 UTC 2015 - aloisio@gmx.com
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-guessit
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-guessit
|
||||
Version: 0.10.3
|
||||
Version: 2.0.5
|
||||
Release: 0
|
||||
Summary: GuessIt - a library for guessing information from video files
|
||||
License: LGPL-3.0
|
||||
@ -25,13 +25,21 @@ Group: Development/Languages/Python
|
||||
Url: https://github.com/wackou/guessit
|
||||
Source0: https://pypi.python.org/packages/source/g/guessit/guessit-%{version}.tar.gz
|
||||
Source1: python-guessit-rpmlintrc
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-babelfish >= 0.5.5
|
||||
BuildRequires: python-dateutil
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pytest-runner
|
||||
BuildRequires: python-rebulk >= 0.7.0
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
BuildRequires: help2man
|
||||
%endif
|
||||
Requires: python-babelfish >= 0.5.5
|
||||
Requires: python-dateutil < 2.5.2
|
||||
Requires: python-rebulk >= 0.7.1
|
||||
|
||||
%description
|
||||
GuessIt is a python library that extracts as much information as
|
||||
@ -45,16 +53,25 @@ both movies and tv shows episodes.
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
dos2unix -c ascii build/lib/guessit/test/test_main.py
|
||||
dos2unix -c ascii build/lib/guessit/test/test_api.py
|
||||
dos2unix -c ascii build/lib/guessit/test/__main__.py
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root %{buildroot}
|
||||
%if 0%{?suse_version} > 1110
|
||||
help2man -s 1 -N -n "A utility for guessing information from video files" \
|
||||
--version-string="%{version}" -o guessit.1 \
|
||||
"PYTHONPATH=%{buildroot}%{python_sitelib} python %{buildroot}%{_bindir}/guessit"
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
gzip guessit.1
|
||||
install -m 0644 guessit.1.gz %{buildroot}%{_mandir}/man1
|
||||
%endif
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/guessit
|
||||
%if 0%{?suse_version} > 1110
|
||||
%{_mandir}/man1/guessit.1.gz
|
||||
%endif
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user