From cf6b205c5858382faaebc3291a55332a7f475faa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 30 Aug 2019 17:26:27 +0200 Subject: [PATCH] net-analyzer/tcpflow: Port to python-single-r1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../{tcpflow-1.5.2.ebuild => tcpflow-1.5.2-r1.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename net-analyzer/tcpflow/{tcpflow-1.5.2.ebuild => tcpflow-1.5.2-r1.ebuild} (90%) 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:= -- 2.26.2