diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2017-08-05 16:56:12 -0400 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2017-08-05 16:56:12 -0400 |
commit | 461bae148b89b8b87907246d6136d622763cf36a (patch) | |
tree | 65e8898f74a60b0b0ecb42bdd1cc88849ec7068a /dev-python/sabyenc | |
parent | sys-apps/portage: remove old versions (diff) | |
download | gentoo-461bae148b89b8b87907246d6136d622763cf36a.tar.gz gentoo-461bae148b89b8b87907246d6136d622763cf36a.tar.bz2 gentoo-461bae148b89b8b87907246d6136d622763cf36a.zip |
dev-python/sabyenc: fix tests
Fixes #623378
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-python/sabyenc')
-rw-r--r-- | dev-python/sabyenc/sabyenc-3.0.2.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/sabyenc/sabyenc-3.0.2.ebuild b/dev-python/sabyenc/sabyenc-3.0.2.ebuild index 4122aa0122f9..06578573af94 100644 --- a/dev-python/sabyenc/sabyenc-3.0.2.ebuild +++ b/dev-python/sabyenc/sabyenc-3.0.2.ebuild @@ -13,12 +13,15 @@ SRC_URI="https://github.com/sabnzbd/${PN}/tarball/v${PV} -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="test" + +DEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" # Remove forced CFLAG on setup.py PATCHES=( "${FILESDIR}"/0001-remove-hardcoded-cflags.patch ) DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt ) python_test() { - "${PYTHON}" test/test.py || die "Test failed." + pytest -v || die "Test failed." } |