commit:     826a5068a35ddca24b847e389351cf88706c5227
Author:     hololeap <hololeap <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Fri Aug  5 19:18:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 21 02:21:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=826a5068

dev-haskell/dbus: Disable integration tests

These tests try to spin up an instance of dbus-daemon

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-haskell/dbus/dbus-1.2.22.ebuild                |  4 ++++
 .../dbus-1.2.22-disable-integration-tests.patch    | 28 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-haskell/dbus/dbus-1.2.22.ebuild 
b/dev-haskell/dbus/dbus-1.2.22.ebuild
index 58157ba088dc..39a045969ae2 100644
--- a/dev-haskell/dbus/dbus-1.2.22.ebuild
+++ b/dev-haskell/dbus/dbus-1.2.22.ebuild
@@ -16,6 +16,10 @@ LICENSE="Apache-2.0"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-1.2.22-disable-integration-tests.patch"
+)
+
 RDEPEND="<dev-haskell/cereal-0.6:=[profile?]
        >=dev-haskell/conduit-1.3.0:=[profile?] 
<dev-haskell/conduit-1.4:=[profile?]
        <dev-haskell/lens-5.2:=[profile?]

diff --git a/dev-haskell/dbus/files/dbus-1.2.22-disable-integration-tests.patch 
b/dev-haskell/dbus/files/dbus-1.2.22-disable-integration-tests.patch
new file mode 100644
index 000000000000..d5c509ca58e3
--- /dev/null
+++ b/dev-haskell/dbus/files/dbus-1.2.22-disable-integration-tests.patch
@@ -0,0 +1,28 @@
+From: hololeap <holol...@protonmail.com>
+Signed-off-by: hololeap <holol...@protonmail.com>
+
+dev-haskell/dbus: Disable integration tests
+
+These tests try to spin up an instance of dbus-daemon
+
+diff -urN dbus-1.2.22/tests/DBusTests.hs dbus-1.2.22-r1/tests/DBusTests.hs
+--- dbus-1.2.22/tests/DBusTests.hs     2021-12-16 12:34:16.000000000 -0700
++++ dbus-1.2.22-r1/tests/DBusTests.hs  2022-08-05 12:51:12.447871229 -0600
+@@ -23,7 +23,7 @@
+ import DBusTests.BusName
+ import DBusTests.Client
+ import DBusTests.ErrorName
+-import DBusTests.Integration
++--import DBusTests.Integration
+ import DBusTests.InterfaceName
+ import DBusTests.Introspection
+ import DBusTests.MemberName
+@@ -55,7 +55,7 @@
+     , test_BusName
+     , test_Client
+     , test_ErrorName
+-    , test_Integration
++--    , test_Integration
+     , test_InterfaceName
+     , test_Introspection
+     , test_MemberName

Reply via email to