summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@users.noreply.github.com>2022-08-05 13:18:53 -0600
committerSam James <sam@gentoo.org>2022-08-21 03:21:43 +0100
commit826a5068a35ddca24b847e389351cf88706c5227 (patch)
tree859273ef7d0480a898ac64dc3ec448b93069f2c9 /dev-haskell/dbus
parentsys-power/upower: Stabilize 0.99.20 sparc, #865893 (diff)
downloadgentoo-826a5068a35ddca24b847e389351cf88706c5227.tar.gz
gentoo-826a5068a35ddca24b847e389351cf88706c5227.tar.bz2
gentoo-826a5068a35ddca24b847e389351cf88706c5227.zip
dev-haskell/dbus: Disable integration tests
These tests try to spin up an instance of dbus-daemon Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/dbus')
-rw-r--r--dev-haskell/dbus/dbus-1.2.22.ebuild4
-rw-r--r--dev-haskell/dbus/files/dbus-1.2.22-disable-integration-tests.patch28
2 files changed, 32 insertions, 0 deletions
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 <hololeap@protonmail.com>
+Signed-off-by: hololeap <hololeap@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