commit:     109515b16d90259f7d46969912828c1b4edf03ac
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 19:45:40 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 19:45:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109515b1

dev-util/lorax: add a stub for the non-working tests

Package-Manager: portage-2.3.1

 dev-util/lorax/lorax-26.0.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-util/lorax/lorax-26.0.ebuild b/dev-util/lorax/lorax-26.0.ebuild
index bbda821..0671c1a 100644
--- a/dev-util/lorax/lorax-26.0.ebuild
+++ b/dev-util/lorax/lorax-26.0.ebuild
@@ -14,8 +14,16 @@ 
SRC_URI="https://github.com/rhinstaller/lorax/archive/${P}-1.tar.gz -> ${P}-1.ta
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE=test
+
+#ImportError: No module named 'pocketlint'
+RESTRICT=test
 
 S="${WORKDIR}"/"${PN}-${P}-1"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+DEPEND="test? ( dev-python/pylint )"
+RDEPEND=""
+
+src_test() {
+       emake check
+}

Reply via email to