commit: cf6b205c5858382faaebc3291a55332a7f475faa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 15:26:27 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 15:26:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6b205c
net-analyzer/tcpflow: Port to python-single-r1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../tcpflow/{tcpflow-1.5.2.ebuild => tcpflow-1.5.2-r1.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
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 0271f130a3b..bf0aeffb4aa 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:=