add local overlay
This commit is contained in:
commit
4883c62e9a
68 changed files with 2719 additions and 0 deletions
59
dev-python/netzob/netzob-0.4.1.ebuild
Normal file
59
dev-python/netzob/netzob-0.4.1.ebuild
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit eutils distutils-r1 python-r1
|
||||
|
||||
MY_PN="Netzob"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Network protocol modelization by reverse engineering"
|
||||
HOMEPAGE="http://www.netzob.org/"
|
||||
SRC_URI="http://www.netzob.org/repository/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="doc debug"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
dev-python/impacket
|
||||
dev-util/strace
|
||||
sys-process/lsof
|
||||
>=dev-python/lxml-2.3
|
||||
dev-python/bitarray
|
||||
dev-python/Babel
|
||||
dev-python/pygobject:3
|
||||
dev-python/pcapy
|
||||
dev-python/python-ptrace
|
||||
>=dev-python/httplib2-0.7.0
|
||||
media-gfx/graphviz"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.6.30-r1
|
||||
doc? ( >=dev-python/sphinx-1.1.3 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
DOCS=( README.rst AUTHORS.txt NEWS.rst COPYING.txt )
|
||||
|
||||
src_compile() {
|
||||
use debug && NETZOB_COMPILE_PROFILE="debug ${NETZOB_COMPILE_PROFILE}"
|
||||
export NETZOB_COMPILE_PROFILE
|
||||
distutils-r1_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
pushd doc/documentation >/dev/null
|
||||
sphinx-build -b html source html || die "Generation of documentation failed"
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
use doc && HTML_DOCS=( doc/documentation/html/ )
|
||||
doman doc/netzob.1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue