summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-07-10 03:20:13 +0300
committerMart Raudsepp <leio@gentoo.org>2017-07-10 03:23:37 +0300
commit0bbe460f6c1d27ae70a29025399ca4392f5f8965 (patch)
tree5e5ce122a27f57fcac1693c424dd32e28e9a9ac4 /dev-util/d-feet
parentdev-cpp/glibmm: bump to 2.52.0 (diff)
downloadgentoo-0bbe460f6c1d27ae70a29025399ca4392f5f8965.tar.gz
gentoo-0bbe460f6c1d27ae70a29025399ca4392f5f8965.tar.bz2
gentoo-0bbe460f6c1d27ae70a29025399ca4392f5f8965.zip
dev-util/d-feet: bump to 0.3.12, support python3, optional wnck, fix up build deps
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/d-feet')
-rw-r--r--dev-util/d-feet/Manifest1
-rw-r--r--dev-util/d-feet/d-feet-0.3.12.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-util/d-feet/Manifest b/dev-util/d-feet/Manifest
index 66965f371a0..eaaf6c49a88 100644
--- a/dev-util/d-feet/Manifest
+++ b/dev-util/d-feet/Manifest
@@ -1,2 +1,3 @@
DIST d-feet-0.3.10.tar.xz 179500 SHA256 88f0df5fcb862387ff3d1793873c5eb368c3e4db0bbd82ea65f748cbf70a6359 SHA512 7a6832367b32eae204c456598ac4ad38ead585e916e2d2179203f63f4e87f2e9d9afbc8448324660552ebe4aaf2bd394f73e48f325513c3b0f5fa33f91fce40b WHIRLPOOL 559135be86d13bb7e2ff1c10d753d1c770e2fc0d0a849b643c626fb5db5e3779e5f7b7208086d6e2e92e3f1f81e06f5cb9e3cbc41510c0acab30b3b71fdf99ca
DIST d-feet-0.3.11.tar.xz 183128 SHA256 a3dc940c66f84b996c328531e3034d475ec690d7ff639445ff7ca746aa8cb9c2 SHA512 a7b72e8f01661d28f4c0a33e20f32c50206d133c1f0ccf22cc3696978f7b7410bdcba29f68d58ccd9ab132cc7ea8fdee99ffe8ca09e8ad992b61df48aeb444ea WHIRLPOOL c2d173139b80e8772c5aa823232cd3e9ad284ad9b8fd43f221d226bfa9f8518ae11e7e39b17e6a3656e54c6baf6a10e1362070b4158f3ee3062b1c9a98b9d372
+DIST d-feet-0.3.12.tar.xz 184308 SHA256 c868c350ea4bb0101d9aeb344661ed4b723f523a5010faf3712ec5984da19014 SHA512 ef7a8aa57893cc210327420e954d39d256733839e6a171b8e035f15089fdf963c708a39c3b931b8a85d9faf78a1be324576c5fa2440db8305c1bfc8a8d9e991e WHIRLPOOL 13124b9dfb27e650cb57400c94e25e8a316c0fcc9b061102ef0355b56f9d5c3ee99519f2e55637921897cf25c4f1e244ecd636a527ceeee30efe069fea9e557c
diff --git a/dev-util/d-feet/d-feet-0.3.12.ebuild b/dev-util/d-feet/d-feet-0.3.12.ebuild
new file mode 100644
index 00000000000..b5b02cde18d
--- /dev/null
+++ b/dev-util/d-feet/d-feet-0.3.12.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit gnome2 python-single-r1 virtualx
+
+DESCRIPTION="D-Feet is a powerful D-Bus debugger"
+HOMEPAGE="https://wiki.gnome.org/Apps/DFeet"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test +X"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ >=x11-libs/gtk+-3.9.4:3[introspection]
+ >=dev-libs/gobject-introspection-0.9.6:=
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ >=dev-libs/glib-2.34:2
+ >=dev-python/pygobject-3.3.91:3[${PYTHON_USEDEP}]
+ >=sys-apps/dbus-1
+ X? ( x11-libs/libwnck:3[introspection] )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ app-text/yelp-tools
+ >=dev-util/intltool-0.40.0
+"
+
+src_prepare() {
+ python_fix_shebang .
+
+ # Do not run update-desktop-database (sandbox violation)
+ sed -e '/^UPDATE_DESKTOP/s:=.*:=true:' \
+ -i data/Makefile.am data/Makefile.in || die
+
+ # disable pep8 - checking python whitespace style is not useful for us
+ sed -e 's/pep8 /# pep8 /' \
+ -i src/tests/Makefile.am src/tests/Makefile.in || die
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # disable pep8 - checking python code style is not useful downstream
+ # (especially when that style check fails!)
+ gnome2_src_configure \
+ $(use_enable test tests) \
+ PEP8=$(type -P true)
+}
+
+src_test() {
+ virtx emake check
+}