[gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/, media-video/subliminal/files/

2023-02-17 Thread Sam James
commit: f2a9993afbc4a4ced0c2a03a57e52515e2d4e4cf
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 18 01:53:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 18 02:09:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a9993a

media-video/subliminal: enable py3.11, use PEP517, fix runtime w/ rarfile

Signed-off-by: Sam James  gentoo.org>

 .../subliminal-2.1.0-rarfile-4.0-compat.patch  | 25 ++
 ...inal-.ebuild => subliminal-2.1.0-r2.ebuild} | 20 -
 media-video/subliminal/subliminal-.ebuild  | 20 -
 3 files changed, 45 insertions(+), 20 deletions(-)

diff --git 
a/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch 
b/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch
new file mode 100644
index ..55b8b9484808
--- /dev/null
+++ b/media-video/subliminal/files/subliminal-2.1.0-rarfile-4.0-compat.patch
@@ -0,0 +1,25 @@
+https://github.com/Diaoul/subliminal/pull/1045
+
+From e9ed47e61a63ad0e0cdb036375ffa5a144953f1e Mon Sep 17 00:00:00 2001
+From: Eduardo Soares 
+Date: Fri, 24 Dec 2021 17:08:04 +
+Subject: [PATCH] Fix removal of custom check from rarfile dependency
+
+---
+ subliminal/providers/legendastv.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/subliminal/providers/legendastv.py 
b/subliminal/providers/legendastv.py
+index 9d696ca24..bf57a22dc 100644
+--- a/subliminal/providers/legendastv.py
 b/subliminal/providers/legendastv.py
+@@ -161,7 +161,7 @@ def __init__(self, username=None, password=None):
+ 
+ # Provider needs UNRAR installed. If not available raise 
ConfigurationError
+ try:
+-rarfile.custom_check([rarfile.UNRAR_TOOL], True)
++rarfile.tool_setup(True, False, False, True)
+ except rarfile.RarExecError:
+ raise ConfigurationError('UNRAR tool not available')
+ 
+

diff --git a/media-video/subliminal/subliminal-.ebuild 
b/media-video/subliminal/subliminal-2.1.0-r2.ebuild
similarity index 85%
copy from media-video/subliminal/subliminal-.ebuild
copy to media-video/subliminal/subliminal-2.1.0-r2.ebuild
index 792931859484..a3c58afc2d5e 100644
--- a/media-video/subliminal/subliminal-.ebuild
+++ b/media-video/subliminal/subliminal-2.1.0-r2.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE='xml(+)'
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
@@ -15,6 +15,7 @@ if [[ ${PV} ==  ]] ; then
EGIT_BRANCH="develop"
 else
SRC_URI="https://github.com/Diaoul/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 DESCRIPTION="Python library to search and download subtitles"
@@ -50,7 +51,8 @@ RDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}-2.1.0-fix-pytest-warning.patch"
+   "${FILESDIR}"/${P}-fix-pytest-warning.patch
+   "${FILESDIR}"/${PN}-2.1.0-rarfile-4.0-compat.patch
 )
 
 distutils_enable_tests pytest
@@ -80,16 +82,14 @@ python_prepare_all() {
 }
 
 python_test() {
-   local skipped_tests=(
+   EPYTEST_DESELECT=(
tests/test_core.py::test_scan_archive_with_one_video
tests/test_core.py::test_scan_archive_with_multiple_videos
tests/test_core.py::test_scan_archive_with_no_video
tests/test_core.py::test_scan_password_protected_archive
+   # NotImplementedError
+   tests/test_core.py::test_save_subtitles
)
 
-   # Two tests that list providers rely on entry points
-   # so they need the package to be installed
-   distutils_install_for_testing
-   pytest -vv --ignore ${PN}/test/test_core.py 
${skipped_tests[@]/#/--deselect } \
-   || die "Tests fail with ${EPYTHON}"
+   epytest
 }

diff --git a/media-video/subliminal/subliminal-.ebuild 
b/media-video/subliminal/subliminal-.ebuild
index 792931859484..a3c58afc2d5e 100644
--- a/media-video/subliminal/subliminal-.ebuild
+++ b/media-video/subliminal/subliminal-.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE='xml(+)'
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
@@ -15,6 +15,7 @@ if [[ ${PV} ==  ]] ; then
EGIT_BRANCH="develop"
 else
SRC_URI="https://github.com/Diaoul/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 DESCRIPTION="Python library to search and download subtitles"
@@ -50,7 +51,8 @@ RDEPEND="
 "
 
 PATCHES=(
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/, media-video/subliminal/files/

2020-07-23 Thread Sam James
commit: 126707a526c12328bbc58030dbf2bd51570240e6
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 23 22:35:22 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 23 22:36:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126707a5

media-video/subliminal: cleanup old

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-video/subliminal/Manifest|  1 -
 .../files/subliminal-2.0.5-add-missing-comma.patch | 19 --
 media-video/subliminal/subliminal-2.0.5-r2.ebuild  | 75 --
 media-video/subliminal/subliminal-2.0.5-r3.ebuild  | 73 -
 4 files changed, 168 deletions(-)

diff --git a/media-video/subliminal/Manifest b/media-video/subliminal/Manifest
index df7a19ff8ab..0b09ed7b8e8 100644
--- a/media-video/subliminal/Manifest
+++ b/media-video/subliminal/Manifest
@@ -1,3 +1,2 @@
 DIST matroska_test_w1_1.zip 184550509 BLAKE2B 
f111725aa08267661942072c2d4ac019d3d322c4e933aad10afb3aa6f69bb3469114c4400d161e53d8a7618b818b22465177460003804a7ac3e69fa4f4db000d
 SHA512 
f170a8e83dab15228f992b3692330163da2402b8e436c7fa195ac1ecc06cf1eaf1a48d8c99a85c031122c158c2d4006023aae75d5b7805385ba25a6d601cb78f
-DIST subliminal-2.0.5-r2.tar.gz 4442435 BLAKE2B 
ea2139bd61344d6a0cb4b48a2b75cbfd29905adc81bca25a332443725fff80bc03b58704d0e6289d44ddc26104e15744f67acb7e0e4eafae584098b02fb4c007
 SHA512 
b0f99c6b2fa6bc3860c86592bb428c7b4b34836df7a619b19d69b15532a68b4d05369f724131e120d4b390bd91f430aea442aef72ebc00ae8e3d31a457925eec
 DIST subliminal-2.1.0.tar.gz 5480458 BLAKE2B 
249bdd027d99dfb0b81d939af2dc08f62b52dca2c8618f1006ca76eee41c2443b450076eddc1aa533997beca8cdf9016b884d7eceeebbf4e48ced91dae1a2361
 SHA512 
9b26ae594895470830547eed604aa5b28b75f590e5be12c2d5a478c5daf798d405f209639bd54dce0565b0e27d1b0daa5bef87dfa8590af61f2ab1e287c41060

diff --git 
a/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch 
b/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch
deleted file mode 100644
index 148307781b7..000
--- a/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 9c2cfa23b3eedad64cfd4133c40bb73e6be0139f
-Author: Fernando 
-Date:   Thu Sep 29 22:57:51 2016 -0300
-
-Fix missing comma
-
-diff --git a/subliminal/video.py b/subliminal/video.py
-index 00304e9..b79570f 100644
 a/subliminal/video.py
-+++ b/subliminal/video.py
-@@ -13,7 +13,7 @@ VIDEO_EXTENSIONS = ('.3g2', '.3gp', '.3gp2', '.3gpp', 
'.60d', '.ajp', '.asf', '.
- '.bix', '.box', '.cam', '.dat', '.divx', '.dmf', '.dv', 
'.dvr-ms', '.evo', '.flc', '.fli',
- '.flic', '.flv', '.flx', '.gvi', '.gvp', '.h264', '.m1v', 
'.m2p', '.m2ts', '.m2v', '.m4e',
- '.m4v', '.mjp', '.mjpeg', '.mjpg', '.mkv', '.moov', 
'.mov', '.movhd', '.movie', '.movx', '.mp4',
--'.mpe', '.mpeg', '.mpg', '.mpv', '.mpv2', '.mxf', '.nsv', 
'.nut', '.ogg', '.ogm' '.ogv', '.omf',
-+'.mpe', '.mpeg', '.mpg', '.mpv', '.mpv2', '.mxf', '.nsv', 
'.nut', '.ogg', '.ogm', '.ogv', '.omf',
- '.ps', '.qt', '.ram', '.rm', '.rmvb', '.swf', '.ts', 
'.vfw', '.vid', '.video', '.viv', '.vivo',
- '.vob', '.vro', '.wm', '.wmv', '.wmx', '.wrap', '.wvx', 
'.wx', '.x264', '.xvid')
-

diff --git a/media-video/subliminal/subliminal-2.0.5-r2.ebuild 
b/media-video/subliminal/subliminal-2.0.5-r2.ebuild
deleted file mode 100644
index 553544eeb7c..000
--- a/media-video/subliminal/subliminal-2.0.5-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE='xml(+)'
-COMMIT_ID='dd74383d1cba82829ce720f2e439a65d13ffe7ef'
-
-inherit distutils-r1 vcs-snapshot
-
-DESCRIPTION="Python library to search and download subtitles"
-HOMEPAGE="https://github.com/Diaoul/subliminal 
https://pypi.org/project/subliminal/;
-SRC_URI="
-   https://github.com/Diaoul/${PN}/archive/${COMMIT_ID}.tar.gz -> 
${PF}.tar.gz
-   test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip 
)
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="test"
-
-RDEPEND="
-   >=dev-python/guessit-2.0.1[${PYTHON_USEDEP}]
-   >=dev-python/babelfish-0.5.2[${PYTHON_USEDEP}]
-   >=dev-python/enzyme-0.4.1[${PYTHON_USEDEP}]
-   >=dev-python/beautifulsoup-4.4.0:4[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.0[${PYTHON_USEDEP}]
-   >=dev-python/click-4.0[${PYTHON_USEDEP}]
-   >=dev-python/dogpile-cache-0.6.0[${PYTHON_USEDEP}]
-   >=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}]
-   >=dev-python/pysrt-1.0.1[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=dev-python/appdirs-1.3[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/, media-video/subliminal/files/

2020-06-01 Thread Joonas Niilola
commit: 67491056177628c17bbfd42349fe5a75d8b59d2d
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Mon May 11 22:13:15 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun  1 08:41:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67491056

media-video/subliminal: Bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-video/subliminal/Manifest|  1 +
 .../subliminal-2.1.0-fix-pytest-warning.patch  | 11 +++
 media-video/subliminal/subliminal-2.1.0.ebuild | 83 ++
 3 files changed, 95 insertions(+)

diff --git a/media-video/subliminal/Manifest b/media-video/subliminal/Manifest
index 9a2ec304943..df7a19ff8ab 100644
--- a/media-video/subliminal/Manifest
+++ b/media-video/subliminal/Manifest
@@ -1,2 +1,3 @@
 DIST matroska_test_w1_1.zip 184550509 BLAKE2B 
f111725aa08267661942072c2d4ac019d3d322c4e933aad10afb3aa6f69bb3469114c4400d161e53d8a7618b818b22465177460003804a7ac3e69fa4f4db000d
 SHA512 
f170a8e83dab15228f992b3692330163da2402b8e436c7fa195ac1ecc06cf1eaf1a48d8c99a85c031122c158c2d4006023aae75d5b7805385ba25a6d601cb78f
 DIST subliminal-2.0.5-r2.tar.gz 4442435 BLAKE2B 
ea2139bd61344d6a0cb4b48a2b75cbfd29905adc81bca25a332443725fff80bc03b58704d0e6289d44ddc26104e15744f67acb7e0e4eafae584098b02fb4c007
 SHA512 
b0f99c6b2fa6bc3860c86592bb428c7b4b34836df7a619b19d69b15532a68b4d05369f724131e120d4b390bd91f430aea442aef72ebc00ae8e3d31a457925eec
+DIST subliminal-2.1.0.tar.gz 5480458 BLAKE2B 
249bdd027d99dfb0b81d939af2dc08f62b52dca2c8618f1006ca76eee41c2443b450076eddc1aa533997beca8cdf9016b884d7eceeebbf4e48ced91dae1a2361
 SHA512 
9b26ae594895470830547eed604aa5b28b75f590e5be12c2d5a478c5daf798d405f209639bd54dce0565b0e27d1b0daa5bef87dfa8590af61f2ab1e287c41060

diff --git 
a/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch 
b/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch
new file mode 100644
index 000..b3d6cd019fd
--- /dev/null
+++ b/media-video/subliminal/files/subliminal-2.1.0-fix-pytest-warning.patch
@@ -0,0 +1,11 @@
+diff --git a/pytest.ini b/pytest.ini
+index cfa3e35..e85c34b 100644
+--- a/pytest.ini
 b/pytest.ini
+@@ -9,3 +9,6 @@ flakes-ignore =
+ docs/conf.py ALL
+ subliminal/__init__.py UnusedImport
+ doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
++markers =
++integration
++converter

diff --git a/media-video/subliminal/subliminal-2.1.0.ebuild 
b/media-video/subliminal/subliminal-2.1.0.ebuild
new file mode 100644
index 000..bca1f740d38
--- /dev/null
+++ b/media-video/subliminal/subliminal-2.1.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_REQ_USE='xml(+)'
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to search and download subtitles"
+HOMEPAGE="https://github.com/Diaoul/subliminal 
https://pypi.org/project/subliminal/;
+SRC_URI="
+   https://github.com/Diaoul/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+   test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip 
)
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/appdirs-1.3[${PYTHON_USEDEP}]
+   >=dev-python/babelfish-0.5.2[${PYTHON_USEDEP}]
+   >=dev-python/beautifulsoup-4.4.0:4[${PYTHON_USEDEP}]
+   >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}]
+   >=dev-python/click-4.0[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   >=dev-python/dogpile-cache-0.6.0[${PYTHON_USEDEP}]
+   >=dev-python/enzyme-0.4.1[${PYTHON_USEDEP}]
+   >=dev-python/guessit-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/pysrt-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/pytz-2012c[${PYTHON_USEDEP}]
+   >=dev-python/rarfile-2.7[compressed,${PYTHON_USEDEP}]
+   >=dev-python/requests-2.0[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   app-arch/unzip
+   dev-python/sympy[${PYTHON_USEDEP}]
+   >=dev-python/vcrpy-1.6.1[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-fix-pytest-warning.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   # Disable code checkers as they require unavailable dependencies.
+   sed -i -e 's/--\(pep8\|flakes\)//g' pytest.ini || die
+
+   # Disable unconditional dependency on dev-python/pytest-runner.
+   sed -i -e "s|'pytest-runner'||g" setup.py || die
+
+   if use test; then
+   mkdir -p tests/data/mkv || die
+   ln -s "${WORKDIR}"/test*.mkv tests/data/mkv/ || die
+   fi
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local 

[gentoo-commits] repo/gentoo:master commit in: media-video/subliminal/, media-video/subliminal/files/

2017-01-15 Thread David Seifert
commit: 19a0f46be96a9afb98504458a2aa63e33769577d
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Fri Jan 13 21:38:59 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 15 13:33:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a0f46b

media-video/subliminal: revbump to 2.0.5-r1 to sync with 

This revbump is mostly to fix tests, but as a reward users will get one
fix backported. Also change tarball to fetch sources with the monstrous
patch from SRC_URI already applied.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-video/subliminal/Manifest|  1 +
 .../files/subliminal-2.0.5-add-missing-comma.patch | 19 ++
 media-video/subliminal/subliminal-2.0.5-r1.ebuild  | 77 ++
 3 files changed, 97 insertions(+)

diff --git a/media-video/subliminal/Manifest b/media-video/subliminal/Manifest
index 32bedee..5be66a3 100644
--- a/media-video/subliminal/Manifest
+++ b/media-video/subliminal/Manifest
@@ -1,4 +1,5 @@
 DIST matroska_test_w1_1.zip 184550509 SHA256 
d86f96e165e695e6cf5324ebca184f2df723872f02965b565820d265b53004eb SHA512 
f170a8e83dab15228f992b3692330163da2402b8e436c7fa195ac1ecc06cf1eaf1a48d8c99a85c031122c158c2d4006023aae75d5b7805385ba25a6d601cb78f
 WHIRLPOOL 
3d0a16871fc7df0a3ef3f34f7c496eff188400a9796a2ad7112ef0de7deecf025196898bd24ea395f8c44e75156a8b8c09d40a92e98d833d995473eefa9e
 DIST subliminal-2.0.3.tar.gz 4428821 SHA256 
12ad058d8bfdb0471d2021f8a486c2a11d2470e845bec1e71f698e4523ddc8fe SHA512 
ed014ac25ab867cf1d7d16c1ecc19364a1b1281893c3e1aa1e678176d6df12623fc29f6a8159984cd2d621bf2f708655382ae7e0cf41c92956fc2d803f1b5c37
 WHIRLPOOL 
39a20b595660a78c3a48efa7affc973e4349f2912b5d077583d75d05e4bad8675b5d5594512e739398fff641fdc76a08afdc1deec6f54bba5b02b3f5014ea531
 DIST subliminal-2.0.5-fix-tests.patch 377419 SHA256 
d5280c3ede7a195ca21707a57b801bdcf3401bc6d54eebb82db90836a1e5c566 SHA512 
35a59dec59a0075d51f00147661d9a949019069a00b4882492f7dab4bb2af35d61f4aad70d49094d16128538677907ed154dbb2e2da5959188f3996fb6200d2e
 WHIRLPOOL 
a320ce105288de78cdeeb897706fb9e622c1d82cfe582225e5d08f4b4de3781ba6a4bcdfe6b7875396bee6f8c60e25945a73474be5563755601abd195031ebef
+DIST subliminal-2.0.5-r1.tar.gz 4442435 SHA256 
b7a54377937810842cf9e9f06d9c9affd1e02c591f3f9a1ddf76c25a9b51a434 SHA512 
b0f99c6b2fa6bc3860c86592bb428c7b4b34836df7a619b19d69b15532a68b4d05369f724131e120d4b390bd91f430aea442aef72ebc00ae8e3d31a457925eec
 WHIRLPOOL 
eae38af4612576fa6903ab23aeab6d1c769ee1c3a95709c23e265819159d83e0624c53527cf86d58e059aca51f2ba7f27820e413ac9dcb584c58d0066a38067a
 DIST subliminal-2.0.5.tar.gz 4440754 SHA256 
b956f02ae0286ad04be5bbf1c5570964aa17bb53c99fcce067e8334d99516ae2 SHA512 
e2f563fa86fea286a172aa4a6a846d997e777cf69666fb39f3f73e3073ce5b5467474561ced4468d51708c0b1559f97b314f2f9ffb3d5e61978ad635c00ba0f8
 WHIRLPOOL 
cb57c8d553eb0164a21d2ea1c81129aef78b425748d52be6d73444fc111b227eeae5e3321253d163c2df46acfa274d6c0852d5aa7153b3ee2ba3c311c56dfd2d

diff --git 
a/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch 
b/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch
new file mode 100644
index ..1483077
--- /dev/null
+++ b/media-video/subliminal/files/subliminal-2.0.5-add-missing-comma.patch
@@ -0,0 +1,19 @@
+commit 9c2cfa23b3eedad64cfd4133c40bb73e6be0139f
+Author: Fernando 
+Date:   Thu Sep 29 22:57:51 2016 -0300
+
+Fix missing comma
+
+diff --git a/subliminal/video.py b/subliminal/video.py
+index 00304e9..b79570f 100644
+--- a/subliminal/video.py
 b/subliminal/video.py
+@@ -13,7 +13,7 @@ VIDEO_EXTENSIONS = ('.3g2', '.3gp', '.3gp2', '.3gpp', 
'.60d', '.ajp', '.asf', '.
+ '.bix', '.box', '.cam', '.dat', '.divx', '.dmf', '.dv', 
'.dvr-ms', '.evo', '.flc', '.fli',
+ '.flic', '.flv', '.flx', '.gvi', '.gvp', '.h264', '.m1v', 
'.m2p', '.m2ts', '.m2v', '.m4e',
+ '.m4v', '.mjp', '.mjpeg', '.mjpg', '.mkv', '.moov', 
'.mov', '.movhd', '.movie', '.movx', '.mp4',
+-'.mpe', '.mpeg', '.mpg', '.mpv', '.mpv2', '.mxf', '.nsv', 
'.nut', '.ogg', '.ogm' '.ogv', '.omf',
++'.mpe', '.mpeg', '.mpg', '.mpv', '.mpv2', '.mxf', '.nsv', 
'.nut', '.ogg', '.ogm', '.ogv', '.omf',
+ '.ps', '.qt', '.ram', '.rm', '.rmvb', '.swf', '.ts', 
'.vfw', '.vid', '.video', '.viv', '.vivo',
+ '.vob', '.vro', '.wm', '.wmv', '.wmx', '.wrap', '.wvx', 
'.wx', '.x264', '.xvid')
+

diff --git a/media-video/subliminal/subliminal-2.0.5-r1.ebuild 
b/media-video/subliminal/subliminal-2.0.5-r1.ebuild
new file mode 100644
index ..bad06d4
--- /dev/null
+++ b/media-video/subliminal/subliminal-2.0.5-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE='xml(+)'