diff options
author | 2017-07-17 20:26:12 +0200 | |
---|---|---|
committer | 2017-08-06 15:54:03 +0200 | |
commit | 5b5a39deb05b153a365d7a7e7e3ebede3ae4693e (patch) | |
tree | 1cb54dac076cecdaa4cdbf104c4f7ccd2b312247 /dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild | |
parent | media-gfx/peps: eapi bump to 6 (diff) | |
download | gentoo-5b5a39deb05b153a365d7a7e7e3ebede3ae4693e.tar.gz gentoo-5b5a39deb05b153a365d7a7e7e3ebede3ae4693e.tar.bz2 gentoo-5b5a39deb05b153a365d7a7e7e3ebede3ae4693e.zip |
dev-util/dbus-test-runner: Bump to a fresh snapshot of 15.04.0
Since upstream ceased creating distributable archives, create a fresh
snapshot out of the newest commit (corresponding to the current Ubuntu
package). Bump to EAPI=6. Add needed Python dependencies. Disable
the static library and .la file.
Diffstat (limited to 'dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild')
-rw-r--r-- | dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild b/dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild new file mode 100644 index 000000000000..25e88f73a583 --- /dev/null +++ b/dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +inherit flag-o-matic python-single-r1 + +DESCRIPTION="Run executables under a new DBus session for testing" +HOMEPAGE="https://launchpad.net/dbus-test-runner" +SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/dbus-glib-0.98 + >=dev-libs/glib-2.34:2 + dev-python/dbusmock[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + app-arch/xz-utils + dev-util/intltool +" +# now optional: +# test? ( dev-util/bustle ) + +src_prepare() { + default + + # bind to specific Python version (with dbusmock installed) + sed -i -e "s:python3:${EPYTHON}:" \ + libdbustest/dbus-mock.c tests/test-libdbustest-mock.c || die +} + +src_configure() { + append-flags -Wno-error + econf --disable-static +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |