diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
commit | f625b9919a60a30f1bd860f7d1b2eac183ced593 (patch) | |
tree | 7543f00925ff7277e31881de0a87801681f6f92f /dev-util/d-feet/d-feet-0.3.13.ebuild | |
parent | e3872864be25f7421015bef2732fa57c0c9fb726 (diff) |
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-util/d-feet/d-feet-0.3.13.ebuild')
-rw-r--r-- | dev-util/d-feet/d-feet-0.3.13.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-util/d-feet/d-feet-0.3.13.ebuild b/dev-util/d-feet/d-feet-0.3.13.ebuild new file mode 100644 index 000000000000..553e81b24062 --- /dev/null +++ b/dev-util/d-feet/d-feet-0.3.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 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 +} |