commit:     b54deddbcfad9e1ea690c7a072197465081c9919
Author:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 17:08:44 2018 +0000
Commit:     Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 17:08:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b54deddb

dev-python/sabyenc: fix tests with pytest-3.2.2

https://github.com/sabnzbd/sabyenc/pull/7

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/sabyenc/sabyenc-3.3.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/sabyenc/sabyenc-3.3.1.ebuild 
b/dev-python/sabyenc/sabyenc-3.3.1.ebuild
index 0a4c2171daf..f464f448110 100644
--- a/dev-python/sabyenc/sabyenc-3.3.1.ebuild
+++ b/dev-python/sabyenc/sabyenc-3.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,5 +21,10 @@ DEPEND="
 DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt )
 
 python_test() {
+       # https://github.com/sabnzbd/sabyenc/pull/7
+       cat <<-EOF > pytest.ini
+               [pytest]
+               norecursedirs = yencfiles
+       EOF
        pytest -v || die "Test failed."
 }

Reply via email to