summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/netzob/Manifest2
-rw-r--r--dev-python/netzob/netzob-0.3.2_rc1.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/netzob/Manifest b/dev-python/netzob/Manifest
index 475d008..49b3462 100644
--- a/dev-python/netzob/Manifest
+++ b/dev-python/netzob/Manifest
@@ -1,3 +1,5 @@
+DIST Netzob-0.3.2-rc1.tar.gz 437782 RMD160 0f687b41f663381fd9969db4fbe781112720cf6a SHA1 5553b73ae242e341590899c6582909d82b3aadae SHA256 927af897d67c4f5b001627305d0be56d37584e361a47496af7b98da7d8256f34
DIST netzob-0.3.1.tar.gz 405615 RMD160 9db1ff1c944253a4c0bc6e14ec48e010d2c7a914 SHA1 e3933b06a6e0634d4af93d884cff67903e6cf43b SHA256 fb8543b17b4117909e9e497a7530051430673119ddef1d963384c04f6334ab0a
EBUILD netzob-0.3.1.ebuild 1190 RMD160 5dcea543dd53387dc508109dea77086c0676a5ad SHA1 9f4dfc49904a2f743741bdc9837a7e9f6ed6f290 SHA256 61887fc7a5810ac0879d6d80b52bbb6193f333dee8483e061910bdd18e5dc0a5
+EBUILD netzob-0.3.2_rc1.ebuild 1180 RMD160 15fedee0d2ed9b11543722e6d9547fd8dce264fa SHA1 d1c2c6b5c96d95d5dce6396d702765087c364e48 SHA256 5b5f8db925fca5aab46027aeb9e08a148e1f39f740631b19ff27fb76b238ff85
EBUILD netzob-9999.ebuild 1154 RMD160 f4bdaba48cd59f27f3810a4c304544cacb13cf47 SHA1 90b218ea8a814cf5a4a35a511a19ed0f14c7c1ef SHA256 0c4d267f78c2fa8e3df6e38388ec5e1da1e4ad6b74145e44d5571133a2df7f1f
diff --git a/dev-python/netzob/netzob-0.3.2_rc1.ebuild b/dev-python/netzob/netzob-0.3.2_rc1.ebuild
new file mode 100644
index 0000000..f75d9b5
--- /dev/null
+++ b/dev-python/netzob/netzob-0.3.2_rc1.ebuild
@@ -0,0 +1,61 @@
+
+EAPI=4
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PV=${PV/_/-}
+MY_P="Netzob-${MY_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"
+KEYWORD="~x86"
+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}
+ 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
+ sed -i "s;resources/static;/usr/share/netzob;" src/netzob/NetzobResources.py || die
+}
+
+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
+
+ if use doc; then
+ dohtml -r doc/documentation/html/* || die "dohtml failed"
+ fi
+}