diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /dev-util/dbus-test-runner | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'dev-util/dbus-test-runner')
-rw-r--r-- | dev-util/dbus-test-runner/Manifest | 2 | ||||
-rw-r--r-- | dev-util/dbus-test-runner/dbus-test-runner-19.04.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/dbus-test-runner/Manifest b/dev-util/dbus-test-runner/Manifest index 2e5e6e58534b..1eee50ba27f7 100644 --- a/dev-util/dbus-test-runner/Manifest +++ b/dev-util/dbus-test-runner/Manifest @@ -1,3 +1,5 @@ DIST dbus-test-runner-15.04.0_p100.tar.xz 304760 BLAKE2B 0afe953376482276229ddf7a5f8e6b9a79c6ea6003f658b38f292099ec42d65b9c4a913f963bf013a2999066c4ad97bf7bc593074c1d393aa2d000d51d7f7f7b SHA512 4ff94fe022d69c0bc83b35fb14397fb59daa0b6a9ff9d7f0c93582bc5468ba6e495d4b95f9b4d8cb56f0b782d4582dc2cb67fc087aefa59295a3b40ecdbfa34d +DIST dbus-test-runner-19.04.0.tar.gz 444289 BLAKE2B dc3b11c8d376103b320d98d211bf1ace035a2de5a1caceadd946bfdc46a6aab3fcf69fae15c7142500b9487a9832275a6157f887c8efcbbb56d13c8841609dd0 SHA512 5906225f0ce429ea218d7eb4c67281b7ef368d6a173965b214f4f4501e729002ca3293a94fd8afd3002f301cd1f2208cba01c733f678c2d51661220e8a7ce971 EBUILD dbus-test-runner-15.04.0_p100.ebuild 1072 BLAKE2B 73a7549bf47036e537d090918c501bf7da7884ed23f6a662b05407a70da22a7f98a6571cb680c6598d2ed6be28b0a4a15056b913256ec4009c12e2fdd96aa017 SHA512 77c5a806bf089f9659b1ec316fbbd90a08d70609dc427343923ab43d10e7d018164fda02adcd7a1ecda9f0baadf34e5fa4f9a71c2e1dc615b9feb866444d224d +EBUILD dbus-test-runner-19.04.0.ebuild 1149 BLAKE2B 4e274fd843b698c2b30b836c170155e811d45aee4f6d9147cfa31a68a5eb006020d8a0e13cedc3a66b337199e73c84695d162af4896d861335a656693ed01eef SHA512 eed078ca42b583f09f9a22863acfc5c60406b7e041be7191529c95dc08998b3fccf618d0a2941a6a44e68d0a1891f3eeaf60c1459e4f3e27d45422bdd142006a MISC metadata.xml 333 BLAKE2B f89765af341d1a643d414c714839c000611842e3c5f5e6e1c2a23376fc08940dd9d791163fc409c0b28884145f6e616d6837100d0a1286e676769421ed81ca15 SHA512 49280112f98ca94c67ad00e21fcf02da3848ec391852dcfe5cc065404449339f5c1f6bfe01825e7da2f58e1134648df630f4c1c292b6169df23f017544bcd299 diff --git a/dev-util/dbus-test-runner/dbus-test-runner-19.04.0.ebuild b/dev-util/dbus-test-runner/dbus-test-runner-19.04.0.ebuild new file mode 100644 index 000000000000..ee88ee066e74 --- /dev/null +++ b/dev-util/dbus-test-runner/dbus-test-runner-19.04.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,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://launchpad.net/${PN}/$(ver_cut 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# now optional: +# test? ( dev-util/bustle ) +BDEPEND=" + dev-util/gdbus-codegen + dev-util/intltool +" +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/dbus-glib + dev-libs/glib:2 +" +DEPEND="${COMMON_DEPEND} + test? ( dev-python/dbusmock[${PYTHON_USEDEP}] ) +" +RDEPEND="${COMMON_DEPEND} + dev-python/dbusmock[${PYTHON_USEDEP}] +" + +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() { + econf --disable-static +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} |