diff options
author | 2012-06-26 17:39:52 +0200 | |
---|---|---|
committer | 2012-06-26 17:39:52 +0200 | |
commit | df7a07b5d9d512f854ad624feb4776511c23964f (patch) | |
tree | 43b5afee2adc33aabaf18f7ed3c6b5fe4e52e972 | |
parent | repository name (diff) | |
download | lootr-df7a07b5d9d512f854ad624feb4776511c23964f.tar.gz lootr-df7a07b5d9d512f854ad624feb4776511c23964f.tar.bz2 lootr-df7a07b5d9d512f854ad624feb4776511c23964f.zip |
Keywords ~amd64
-rw-r--r-- | dev-python/netzob/Manifest | 1 | ||||
-rw-r--r-- | dev-python/netzob/netzob-0.3.3-r2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/netzob/Manifest b/dev-python/netzob/Manifest index 0390f81..424cb48 100644 --- a/dev-python/netzob/Manifest +++ b/dev-python/netzob/Manifest @@ -6,5 +6,6 @@ EBUILD netzob-0.3.1.ebuild 1311 RMD160 10a739e2f8e89dbbc0ae8443b330aa298849bb7b EBUILD netzob-0.3.2.ebuild 1301 RMD160 f625a780fa157e1ce8a3c29faf59a6e0cbc92dcd SHA1 f9f7589f4ece2b8fd8d370f2cfe24f78d9f10567 SHA256 aa0107ba1cc34246d27d79bfa7a94e342abf90d4950f42c8fcadf1de18caac60 EBUILD netzob-0.3.2_rc1.ebuild 1301 RMD160 f625a780fa157e1ce8a3c29faf59a6e0cbc92dcd SHA1 f9f7589f4ece2b8fd8d370f2cfe24f78d9f10567 SHA256 aa0107ba1cc34246d27d79bfa7a94e342abf90d4950f42c8fcadf1de18caac60 EBUILD netzob-0.3.3-r1.ebuild 1256 RMD160 c747c521a1493e903552cdcc1e7b88dbd46bc087 SHA1 a822f13ca0949e06f03410fe40538fb45a3df2eb SHA256 9c35087500f5c8d1a9af345dc9bdc82d1be0366e19509ab25c631eca1aa8a940 +EBUILD netzob-0.3.3-r2.ebuild 1263 RMD160 b63e22d82935219724c29d6685416df5ea20a015 SHA1 8ded078b261c8ed33ffbed5bf890f73784d50305 SHA256 8b102fd3531fa38807a3c92e09ddc2e2ce299df418f6c35c1bf4147a2596dd24 EBUILD netzob-0.3.3.ebuild 1256 RMD160 c747c521a1493e903552cdcc1e7b88dbd46bc087 SHA1 a822f13ca0949e06f03410fe40538fb45a3df2eb SHA256 9c35087500f5c8d1a9af345dc9bdc82d1be0366e19509ab25c631eca1aa8a940 EBUILD netzob-9999.ebuild 1229 RMD160 bb9684dfa876cf9f339a373f7a3a3877ea18443a SHA1 8b9745147036dae58b186e5445a4d67e1743f4dd SHA256 39f3face41396aff0cc9aed973b783de0012bda8351f726476d8744e9ac7d4c9 diff --git a/dev-python/netzob/netzob-0.3.3-r2.ebuild b/dev-python/netzob/netzob-0.3.3-r2.ebuild new file mode 100644 index 0000000..4473691 --- /dev/null +++ b/dev-python/netzob/netzob-0.3.3-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PV=${PV/_/-} +MY_P="Netzob-${PV}" + +DESCRIPTION="Network protocol modelization by reverse engineering" +HOMEPAGE="http://www.netzob.org/" +SRC_URI="http://www.netzob.org/repository/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +RDEPEND=" + dev-python/pcapy + dev-python/impacket + dev-python/pygtk + >=dev-python/python-ptrace-0.4.1 + dev-python/matplotlib + dev-util/strace + sys-process/lsof + >=dev-python/lxml-2.3 + dev-python/bitarray +" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" +DOCS="README.txt AUTHORS.txt NEWS.txt COPYING.txt" + +src_prepare() { + distutils_src_prepare +} + +src_compile() { + distutils_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_src_install + + doman doc/netzob.1 + if use doc; then + dohtml -r doc/documentation/html/* || die "dohtml failed" + fi +} |