From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1129448-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CED35138334
	for <garchives@archives.gentoo.org>; Tue, 10 Dec 2019 12:31:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1A226E0871;
	Tue, 10 Dec 2019 12:31:11 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9A06EE086E
	for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 12:31:10 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 74F6634D919
	for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 12:31:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7ABB58CA
	for <gentoo-commits@lists.gentoo.org>; Tue, 10 Dec 2019 12:31:07 +0000 (UTC)
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" <voyageur@gentoo.org>
Message-ID: <1575980897.866747d58651215a14d933ce41db24ecac0bc00f.voyageur@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wapiti/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-analyzer/wapiti/wapiti-9999.ebuild
X-VCS-Directories: net-analyzer/wapiti/
X-VCS-Committer: voyageur
X-VCS-Committer-Name: Bernard Cafarelli
X-VCS-Revision: 866747d58651215a14d933ce41db24ecac0bc00f
X-VCS-Branch: master
Date: Tue, 10 Dec 2019 12:31:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 637fd00b-5d4e-4623-ac45-d003613e2b41
X-Archives-Hash: 4fb21840db321b87d60ec67cefcddd0a

commit:     866747d58651215a14d933ce41db24ecac0bc00f
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 12:28:17 2019 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 12:28:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866747d5

net-analyzer/wapiti: update live ebuild

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-analyzer/wapiti/wapiti-9999.ebuild | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/wapiti/wapiti-9999.ebuild b/net-analyzer/wapiti/wapiti-9999.ebuild
index be4f6180dae..f4bed0b518a 100644
--- a/net-analyzer/wapiti/wapiti-9999.ebuild
+++ b/net-analyzer/wapiti/wapiti-9999.ebuild
@@ -1,24 +1,26 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6} )
 PYTHON_REQ_USE='xml'
 
-ESVN_REPO_URI="https://svn.code.sf.net/p/wapiti/code/trunk/"
-inherit distutils-r1 subversion
+inherit distutils-r1 git-r3
 
 DESCRIPTION="Web-application vulnerability scanner"
 HOMEPAGE="http://wapiti.sourceforge.net/"
-SRC_URI=""
+EGIT_REPO_URI="https://git.code.sf.net/p/wapiti/git wapiti-git"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="kerberos ntlm"
+IUSE="kerberos ntlm test"
 
-DEPEND=""
+DEPEND="test? (
+	dev-python/pytest[${PYTHON_USEDEP}]
+	dev-python/pytest-runner[${PYTHON_USEDEP}]
+	)"
 RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
 	dev-python/lxml[${PYTHON_USEDEP}]
 	dev-python/mako[${PYTHON_USEDEP}]
@@ -27,3 +29,8 @@ RDEPEND="dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
 	dev-python/yaswfp[${PYTHON_USEDEP}]
 	kerberos? ( dev-python/requests-kerberos[${PYTHON_USEDEP}] )
 	ntlm? ( dev-python/requests-ntlm[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+	sed -e 's/"pytest-runner"//' -i setup.py || die
+	distutils-r1_python_prepare_all
+}