summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-01-06 20:22:48 +0300
committerDavid Seifert <soap@gentoo.org>2017-01-06 19:41:17 +0200
commitd2580b498bc2e6af4cc979ed3af6a3e6e4331210 (patch)
tree22275e09935b249b451fa1eb9ac6f707604ba924 /media-video/subliminal
parentdev-python/schedule: Initial version (diff)
downloadgentoo-d2580b498bc2e6af4cc979ed3af6a3e6e4331210.tar.gz
gentoo-d2580b498bc2e6af4cc979ed3af6a3e6e4331210.tar.bz2
gentoo-d2580b498bc2e6af4cc979ed3af6a3e6e4331210.zip
media-video/subliminal: fix tests in 2.0.5
Closes: https://github.com/gentoo/gentoo/pull/3352
Diffstat (limited to 'media-video/subliminal')
-rw-r--r--media-video/subliminal/Manifest1
-rw-r--r--media-video/subliminal/subliminal-2.0.5.ebuild8
2 files changed, 7 insertions, 2 deletions
diff --git a/media-video/subliminal/Manifest b/media-video/subliminal/Manifest
index 6a6beccdd6cb..d8b95c358233 100644
--- a/media-video/subliminal/Manifest
+++ b/media-video/subliminal/Manifest
@@ -1,2 +1,3 @@
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.tar.gz 4440754 SHA256 b956f02ae0286ad04be5bbf1c5570964aa17bb53c99fcce067e8334d99516ae2 SHA512 e2f563fa86fea286a172aa4a6a846d997e777cf69666fb39f3f73e3073ce5b5467474561ced4468d51708c0b1559f97b314f2f9ffb3d5e61978ad635c00ba0f8 WHIRLPOOL cb57c8d553eb0164a21d2ea1c81129aef78b425748d52be6d73444fc111b227eeae5e3321253d163c2df46acfa274d6c0852d5aa7153b3ee2ba3c311c56dfd2d
diff --git a/media-video/subliminal/subliminal-2.0.5.ebuild b/media-video/subliminal/subliminal-2.0.5.ebuild
index cef97edfd135..720d02b74988 100644
--- a/media-video/subliminal/subliminal-2.0.5.ebuild
+++ b/media-video/subliminal/subliminal-2.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -11,7 +11,9 @@ inherit distutils-r1
DESCRIPTION="Python library to search and download subtitles"
HOMEPAGE="https://github.com/Diaoul/subliminal https://pypi.python.org/pypi/subliminal"
-SRC_URI="https://github.com/Diaoul/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/Diaoul/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~soap/distfiles/${P}-fix-tests.patch"
LICENSE="MIT"
SLOT="0"
@@ -50,6 +52,8 @@ DEPEND="${RDEPEND}
# Tests require network.
RESTRICT=test
+PATCHES=( "${DISTDIR}/${P}-fix-tests.patch" )
+
python_prepare_all() {
# Disable code checkers as they require unavailable dependencies.
sed -i -e 's/--\(pep8\|flakes\)//g' pytest.ini || die