From: Michał Górny Date: Fri, 30 Aug 2019 15:26:27 +0000 (+0200) Subject: net-analyzer/tcpflow: Port to python-single-r1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cf6b205c5858382faaebc3291a55332a7f475faa;p=gentoo.git net-analyzer/tcpflow: Port to python-single-r1 Signed-off-by: Michał Górny --- diff --git a/net-analyzer/tcpflow/tcpflow-1.5.2.ebuild b/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild similarity index 90% rename from net-analyzer/tcpflow/tcpflow-1.5.2.ebuild rename to net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild index 0271f130a3ba..bf0aeffb4aab 100644 --- a/net-analyzer/tcpflow/tcpflow-1.5.2.ebuild +++ b/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools flag-o-matic +PYTHON_COMPAT=( python2_7 ) +inherit autotools flag-o-matic python-single-r1 DESCRIPTION="A tool for monitoring, capturing and storing TCP connections flows" HOMEPAGE="https://github.com/simsong/tcpflow" @@ -18,10 +19,12 @@ LICENSE="GPL-3" KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" SLOT="0" IUSE="cairo test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" RDEPEND=" + ${PYTHON_DEPS} dev-db/sqlite - dev-lang/python:2.7= dev-libs/boost:= dev-libs/openssl:= net-libs/http-parser:=