summaryrefslogtreecommitdiff
path: root/dev-haskell/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/dbus')
-rw-r--r--dev-haskell/dbus/Manifest8
-rw-r--r--dev-haskell/dbus/dbus-1.2.27.ebuild10
-rw-r--r--dev-haskell/dbus/dbus-1.3.0.ebuild (renamed from dev-haskell/dbus/dbus-1.2.22.ebuild)28
-rw-r--r--dev-haskell/dbus/metadata.xml53
4 files changed, 23 insertions, 76 deletions
diff --git a/dev-haskell/dbus/Manifest b/dev-haskell/dbus/Manifest
index b1541b03ec1c..66d60d4ba10f 100644
--- a/dev-haskell/dbus/Manifest
+++ b/dev-haskell/dbus/Manifest
@@ -1,7 +1,7 @@
AUX dbus-1.2.22-disable-integration-tests.patch 868 BLAKE2B ab711ea3076f8bd968e43791c4cd04f8cefdb8751ddb128746a391aa02a9c3a84fecdf98a61b667ec20696dc972beacfc30d8b02f37c8cb155456e9a77999b78 SHA512 14149fabb25d411b7f1d9d015f3ac2c779e5c2a2fc707b20bb7e2ec2c63e9e26d3987c0437f5b12e2df6b1c794bfdab703eb58202ddb5254f78ae8c0a9a9305d
AUX dbus-1.2.27-template-haskell.patch 506 BLAKE2B baeea0898be20ee77185ff2317235a663813c279561db661038a36885894075b16d86fc45b840096e180a55d20c80ddd9c2a3e3c56448bb4d559bf67b0f04a63 SHA512 1fca2821940a10c820955b350c600e1103d9be0522790ca500c7652bbda15631373400d1f773e1594e8c328213b9a5f681e435503b6a0024ae2b011430e812ab
-DIST dbus-1.2.22.tar.gz 78010 BLAKE2B c7189e15e0a9622e707bb50064584bd43141857257baec8e6d59d0cf39428b3b5efa82668ef70fbff218738ba5822b1aaad0c85b5e14bfa3ae4ef237e2458a9d SHA512 81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9
DIST dbus-1.2.27.tar.gz 78017 BLAKE2B 396739e7e6af0fe1921c9d3857c0650db9532d00a3fd2eda18042d42ce8336631d93d0c0ce75681b695f9e90c7205e38aea7c4f984544460ecab19c7d5090478 SHA512 2c6b87b4a793b555ef617e3f3f89695116180f0e1df2f84ee3da62c819c05c10a78d328644b84c8c9796354ee6dd1c6ad6b0430a1b9a2d7fe112b251d4606e8d
-EBUILD dbus-1.2.22.ebuild 1361 BLAKE2B 2da6a01e03482e69314668ad7a7c5159c220b23c74be838b28a2eed7d70c5496b5e960fed16b329289ff898638e1cdbc38127ceb82438696b65115ad97bbaa76 SHA512 0ae51c0839f1598bddca3273d2eaa2b49cc47998045f19c62097cf7f3bf77a177622277d5e004ad3076cd7a2ef974b5ef0c5bb80531a2afbbd22fae12e5a0668
-EBUILD dbus-1.2.27.ebuild 1554 BLAKE2B 12bef6e79d3032f7f4831c8cbab3374236c6b0644663ea34997f974e3da6c2e7fcd7b8ee9418c314b8a6c014a355c09b919b48a378c16236bc668ad3ff620677 SHA512 2cad596920e13c25b9c3acde281d0ff98ffee9048df30d4b527d71806d0d082360cd78b3baa227ef1802c20f6771d95acd8bdf3d745473ed023265adf7660769
-MISC metadata.xml 2175 BLAKE2B 2b2046a4072acdfbd602cb6e473211ccb833d5f557bd00b05ed438a7848d809ea67acf7d7ee14940b9f9c3bdb8236b160623c193e39de4b48121d61a0129202e SHA512 b44268da87318f66f05141fea614dad66a2c09a5b284ebae4ce4a2671cd7a3c71eb27546a96115110316d654bc7177b23f02d76f21a3566ae8ce7ff18e09c352
+DIST dbus-1.3.0.tar.gz 82155 BLAKE2B 46b5500294e93b2614e66fa99962917e3a27030e178f0b3734a764089d5ba2a72afd203d2b1afcc2227c7b0953e1f324af62b6d537148e32a7527677ae017a8b SHA512 e59b11910a4e4288c89955dbbd2a135cb81dc263aacb331477e4f70403f53d70340af3a280eee9be8b2ee70eef8c06813381ab1dcb36927d059c90a726992cc7
+EBUILD dbus-1.2.27.ebuild 1524 BLAKE2B db15b9c87ebb7b33860f79da8991669bae096d28d4b3cf2f2cf97c721f8753a7eece39229e404bd964ca3b46773ff789e328a80883215204c6f02d49c0e8a322 SHA512 24c498a6bbc6727fbf9e83958de086a1dab79807b902ba78eaf6e7f7478aa2a05267e9923ca2cc83696c0bb3c00d6d34cf406644b32ec58db64f0145c811605d
+EBUILD dbus-1.3.0.ebuild 1426 BLAKE2B 9dbe89b53f113f5e4bccae25c4c841fffea760fda7d6db051e51ed68bc91a92a0f503bf0b718915ad029df19646a8e7ecc655dfe7023dd44efc63eaabdd5eb64 SHA512 3154beace6b258d8857a5cd61a16575200a5ab146703196fb54bdb7ff3f2052e0c6805849f09645c7fb5eb149fd6a72ce597ca0150d979d59d2362a910dba441
+MISC metadata.xml 379 BLAKE2B 9e9d987b9390c99c57e387fb5935ab4403bc0799f10d58799a3151653783c2dd5e9d3a48c97b56e6c6c6d329b6448718c6c4387d0bf309c8bf8269e9837a6e62 SHA512 0029b21941bad450fcaf154ebd0ec21540235e3ba3e95562616da493b518fcc7f3584426b6b0d0862647bdcc0e3c3517a1d8526642e5db351c449acab1ce1e02
diff --git a/dev-haskell/dbus/dbus-1.2.27.ebuild b/dev-haskell/dbus/dbus-1.2.27.ebuild
index 2d425c9f5f79..414024615fea 100644
--- a/dev-haskell/dbus/dbus-1.2.27.ebuild
+++ b/dev-haskell/dbus/dbus-1.2.27.ebuild
@@ -43,9 +43,7 @@ DEPEND="${RDEPEND}
<dev-haskell/tasty-quickcheck-0.11 )
"
-src_prepare() {
- default
- cabal_chdeps \
- "base >=4.16 && <5" "base >=4 && <5" \
- "template-haskell >= 2.18 && < 2.20" "template-haskell"
-}
+CABAL_CHDEPS=(
+ "base >=4.16 && <5" "base >=4 && <5"
+ "template-haskell >= 2.18 && < 2.20" "template-haskell"
+)
diff --git a/dev-haskell/dbus/dbus-1.2.22.ebuild b/dev-haskell/dbus/dbus-1.3.0.ebuild
index e3c321fbdbff..b7dd93a559af 100644
--- a/dev-haskell/dbus/dbus-1.2.22.ebuild
+++ b/dev-haskell/dbus/dbus-1.3.0.ebuild
@@ -1,43 +1,43 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-# ebuild generated by hackport 0.7.1.1.9999
+# ebuild generated by hackport 0.8.4.0.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="A client library for the D-Bus IPC system"
HOMEPAGE="https://github.com/rblaze/haskell-dbus#readme"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.2.22-disable-integration-tests.patch"
-)
+KEYWORDS="~amd64 ~x86"
+# exotic keywords require ghc bump to 9.2 series
+#KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
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?]
+ <dev-haskell/lens-5.3:=[profile?]
>=dev-haskell/network-3.1.2.1:=[profile?] <dev-haskell/network-3.2:=[profile?]
+ <dev-haskell/parsec-3.2:=[profile?]
<dev-haskell/random-1.3:=[profile?]
<dev-haskell/split-0.3:=[profile?]
+ <dev-haskell/text-2.1:=[profile?]
<dev-haskell/th-lift-0.9:=[profile?]
- <dev-haskell/vector-0.13:=[profile?]
+ <dev-haskell/vector-0.14:=[profile?]
>=dev-haskell/xml-conduit-1.9.0.0:=[profile?] <dev-haskell/xml-conduit-1.10.0.0:=[profile?]
<dev-haskell/xml-types-0.4:=[profile?]
- >=dev-lang/ghc-8.10.1:=
+ >=dev-lang/ghc-9.2.4:=
"
DEPEND="${RDEPEND}
- >=dev-haskell/cabal-3.2.0.0
+ >=dev-haskell/cabal-3.6.3.0
test? ( <dev-haskell/extra-1.8
<dev-haskell/quickcheck-2.15
- <dev-haskell/resourcet-1.3
+ <dev-haskell/resourcet-1.4
<dev-haskell/tasty-1.5
<dev-haskell/tasty-hunit-0.11
- <dev-haskell/tasty-quickcheck-0.11 )
+ <dev-haskell/tasty-quickcheck-0.11
+ >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 )
"
diff --git a/dev-haskell/dbus/metadata.xml b/dev-haskell/dbus/metadata.xml
index 4640c75ee040..b6c5efc4fb09 100644
--- a/dev-haskell/dbus/metadata.xml
+++ b/dev-haskell/dbus/metadata.xml
@@ -3,59 +3,8 @@
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- D-Bus is a simple, message-based protocol for inter-process
- communication, which allows applications to interact with other parts of
- the machine and the user's session using remote procedure calls.
-
- D-Bus is a essential part of the modern Linux desktop, where it replaces
- earlier protocols such as CORBA and DCOP.
-
- This library is an implementation of the D-Bus protocol in Haskell. It
- can be used to add D-Bus support to Haskell applications, without the
- awkward interfaces common to foreign bindings.
-
- Example: connect to the session bus, and get a list of active names.
-
- @
- &amp;#x7b;-\# LANGUAGE OverloadedStrings \#-&amp;#x7d;
-
- import Data.List (sort)
- import DBus
- import DBus.Client
-
- main = do
- &amp;#x20; client &lt;- connectSession
- &amp;#x20; //
- &amp;#x20; \-- Request a list of connected clients from the bus
- &amp;#x20; reply &lt;- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\")
- &amp;#x20; &amp;#x7b; methodCallDestination = Just \"org.freedesktop.DBus\"
- &amp;#x20; &amp;#x7d;
- &amp;#x20; //
- &amp;#x20; \-- org.freedesktop.DBus.ListNames() returns a single value, which is
- &amp;#x20; \-- a list of names (here represented as [String])
- &amp;#x20; let Just names = fromVariant (methodReturnBody reply !! 0)
- &amp;#x20; //
- &amp;#x20; \-- Print each name on a line, sorted so reserved names are below
- &amp;#x20; \-- temporary names.
- &amp;#x20; mapM_ putStrLn (sort names)
- @
-
- &gt;$ ghc --make list-names.hs
- &gt;$ ./list-names
- &gt;:1.0
- &gt;:1.1
- &gt;:1.10
- &gt;:1.106
- &gt;:1.109
- &gt;:1.110
- &gt;ca.desrt.dconf
- &gt;org.freedesktop.DBus
- &gt;org.freedesktop.Notifications
- &gt;org.freedesktop.secrets
- &gt;org.gnome.ScreenSaver
- </longdescription>
<upstream>
<remote-id type="hackage">dbus</remote-id>
<remote-id type="github">rblaze/haskell-dbus</remote-id>