1 |
commit: cf6b205c5858382faaebc3291a55332a7f475faa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 15:26:27 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 15:26:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6b205c |
7 |
|
8 |
net-analyzer/tcpflow: Port to python-single-r1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../tcpflow/{tcpflow-1.5.2.ebuild => tcpflow-1.5.2-r1.ebuild} | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/tcpflow/tcpflow-1.5.2.ebuild b/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild |
16 |
similarity index 90% |
17 |
rename from net-analyzer/tcpflow/tcpflow-1.5.2.ebuild |
18 |
rename to net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild |
19 |
index 0271f130a3b..bf0aeffb4aa 100644 |
20 |
--- a/net-analyzer/tcpflow/tcpflow-1.5.2.ebuild |
21 |
+++ b/net-analyzer/tcpflow/tcpflow-1.5.2-r1.ebuild |
22 |
@@ -2,7 +2,8 @@ |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
-inherit autotools flag-o-matic |
27 |
+PYTHON_COMPAT=( python2_7 ) |
28 |
+inherit autotools flag-o-matic python-single-r1 |
29 |
|
30 |
DESCRIPTION="A tool for monitoring, capturing and storing TCP connections flows" |
31 |
HOMEPAGE="https://github.com/simsong/tcpflow" |
32 |
@@ -18,10 +19,12 @@ LICENSE="GPL-3" |
33 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
34 |
SLOT="0" |
35 |
IUSE="cairo test" |
36 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
37 |
+RESTRICT="!test? ( test )" |
38 |
|
39 |
RDEPEND=" |
40 |
+ ${PYTHON_DEPS} |
41 |
dev-db/sqlite |
42 |
- dev-lang/python:2.7= |
43 |
dev-libs/boost:= |
44 |
dev-libs/openssl:= |
45 |
net-libs/http-parser:= |