summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/netzob/Manifest2
-rw-r--r--dev-python/netzob/netzob-9999.ebuild9
2 files changed, 6 insertions, 5 deletions
diff --git a/dev-python/netzob/Manifest b/dev-python/netzob/Manifest
index 3e74426..64e73ee 100644
--- a/dev-python/netzob/Manifest
+++ b/dev-python/netzob/Manifest
@@ -8,4 +8,4 @@ EBUILD netzob-0.3.2_rc1.ebuild 1301 RMD160 f625a780fa157e1ce8a3c29faf59a6e0cbc92
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 1247 RMD160 9a031597a2912f9b3e38a6c407307e15851cc649 SHA1 6c149680aea36e626abd1c4f0c0e9683c0b24c35 SHA256 3a0ade661b2546cc9c0b33fbd9d489d85f4d9269c7136feda95e0443cabceb93
+EBUILD netzob-9999.ebuild 1287 RMD160 36fa7b52d5c837491ae8da4a49f8176f3372c02f SHA1 5abd9500779d0ee9e042ec8d87eadd3a05ecbba2 SHA256 af1aa580f2058d13cbaed7cbc70f59e2cbfe22877aee5d1a4939f8923c5c1d17
diff --git a/dev-python/netzob/netzob-9999.ebuild b/dev-python/netzob/netzob-9999.ebuild
index 87f4748..6b3e952 100644
--- a/dev-python/netzob/netzob-9999.ebuild
+++ b/dev-python/netzob/netzob-9999.ebuild
@@ -17,7 +17,7 @@ EGIT_REPO_URI="https://dev.netzob.org/git/netzob.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
-IUSE="doc"
+IUSE="doc gtk3"
RDEPEND="
dev-python/pcapy
@@ -30,6 +30,7 @@ RDEPEND="
>=dev-python/lxml-2.3
dev-python/bitarray
dev-python/Babel
+ gtk3? ( dev-python/pygobject:3 )
"
DEPEND="${RDEPEND}
dev-python/setuptools
@@ -40,9 +41,9 @@ RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
DOCS="README.txt AUTHORS.txt NEWS.txt COPYING.txt"
-src_prepare() {
- distutils_src_prepare
-}
+if use gtk3; then
+ EGIT_BRANCH="gtk3"
+fi
src_compile() {
distutils_src_compile