summaryrefslogtreecommitdiff
path: root/dev-util/dbus-test-runner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/dbus-test-runner
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/dbus-test-runner')
-rw-r--r--dev-util/dbus-test-runner/Manifest5
-rw-r--r--dev-util/dbus-test-runner/dbus-test-runner-12.10.1.ebuild35
-rw-r--r--dev-util/dbus-test-runner/dbus-test-runner-15.04.0_p100.ebuild48
-rw-r--r--dev-util/dbus-test-runner/metadata.xml11
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-util/dbus-test-runner/Manifest b/dev-util/dbus-test-runner/Manifest
new file mode 100644
index 000000000000..74d5dfb7247d
--- /dev/null
+++ b/dev-util/dbus-test-runner/Manifest
@@ -0,0 +1,5 @@
+DIST dbus-test-runner-12.10.1.tar.gz 382108 BLAKE2B 760ed88f089b92ff3d51bc7342f11691e760b2aeb107e2dfcd903f1ebc3acc2e1ad6dfe3768d29329408770f562f8dd9656f7aed8e45d7e6b5334f5d328d5c0c SHA512 6d40d607fdc417ebb9aaa6dc3cdd41a8ff1563cb3791689d17a99d105a0c16dad8ffcaf3da7ab6b8c3dcae17d2eba1bf8a6a5d92dc1d3de0975218220ed3c9c0
+DIST dbus-test-runner-15.04.0_p100.tar.xz 304760 BLAKE2B 0afe953376482276229ddf7a5f8e6b9a79c6ea6003f658b38f292099ec42d65b9c4a913f963bf013a2999066c4ad97bf7bc593074c1d393aa2d000d51d7f7f7b SHA512 4ff94fe022d69c0bc83b35fb14397fb59daa0b6a9ff9d7f0c93582bc5468ba6e495d4b95f9b4d8cb56f0b782d4582dc2cb67fc087aefa59295a3b40ecdbfa34d
+EBUILD dbus-test-runner-12.10.1.ebuild 748 BLAKE2B b5cbba38435ada80f7d75a47ae8cda181a750d3f2d4aea8a6f0f4b8a5e0f1602c11925b37b974600f3d575ea762231eb0ea35565521aed0b640d195f5fd50101 SHA512 9a1f2b4ed8b757ca09a1195d567716620d7ecea9d45e4ee4c31d478c29cc5b2a95941f536a9c59e8c4c61b34f8e55d823d655ebb5641f93e0a41dbb339cf85fa
+EBUILD dbus-test-runner-15.04.0_p100.ebuild 1062 BLAKE2B 73a351c0093d81041de019f72f4abd77a83d3ccc2c1cf58568cbf6ca6e9f7ca31aa481cb76cc4d976118a28cdd564adbd18eeb099c27e30ce4ce482e887a7089 SHA512 46db266c277e6a3d5c02bfab1b1a695422629d003b4ff5696e2283cc472db6a3a13239789fe8849e765a04f7ea2f4318d316423afa0111067ae9dcb8bf20f659
+MISC metadata.xml 333 BLAKE2B f89765af341d1a643d414c714839c000611842e3c5f5e6e1c2a23376fc08940dd9d791163fc409c0b28884145f6e616d6837100d0a1286e676769421ed81ca15 SHA512 49280112f98ca94c67ad00e21fcf02da3848ec391852dcfe5cc065404449339f5c1f6bfe01825e7da2f58e1134648df630f4c1c292b6169df23f017544bcd299
diff --git a/dev-util/dbus-test-runner/dbus-test-runner-12.10.1.ebuild b/dev-util/dbus-test-runner/dbus-test-runner-12.10.1.ebuild
new file mode 100644
index 000000000000..c69ab316a910
--- /dev/null
+++ b/dev-util/dbus-test-runner/dbus-test-runner-12.10.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_MAJOR_VERSION=12.10
+
+DESCRIPTION="Run executables under a new DBus session for testing"
+HOMEPAGE="https://launchpad.net/dbus-test-runner"
+SRC_URI="https://launchpad.net/${PN}/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+IUSE="test"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.98
+ >=dev-libs/glib-2.34:2
+"
+DEPEND="
+ ${RDEPEND}
+ dev-util/intltool
+ test? ( dev-util/bustle )
+"
+
+src_prepare() {
+ # Drop -Werror usage
+ sed -e 's/-Werror//' \
+ -i libdbustest/Makefile.{am,in} \
+ -i src/Makefile.{am,in} \
+ -i tests/Makefile.{am,in} \
+ || die
+}
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..97a40fe0f91f
--- /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="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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
+}
diff --git a/dev-util/dbus-test-runner/metadata.xml b/dev-util/dbus-test-runner/metadata.xml
new file mode 100644
index 000000000000..10ad7bb86af4
--- /dev/null
+++ b/dev-util/dbus-test-runner/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">dbus-test-runner</remote-id>
+ </upstream>
+</pkgmetadata>