mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-21 15:53:49 +01:00
19 lines
630 B
Bash
19 lines
630 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
|
|
|
inherit python-r1
|
|
|
|
DESCRIPTION="A virtual for scapy, for Python 2 & 3"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
|
|
#REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
REQUIRED_USE="^^ ( python_targets_python2_7 python_targets_python3_4 )"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_cond_dep 'net-analyzer/scapy[${PYTHON_USEDEP}]' python2*)
|
|
$(python_gen_cond_dep 'dev-python/scapy-python3[${PYTHON_USEDEP}]' python3*)"
|
|
DEPEND=""
|