diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:06:59 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:09:27 +0100 |
commit | be58db661d4b1d24e20f9cc6c830bd76caea0192 (patch) | |
tree | c44b6f947d373685ab9a49f69dcc54e93e054388 /dev-haskell/dbus | |
parent | dev-haskell/data-fix: Hackage revision bump (diff) | |
download | gentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.tar.gz gentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.tar.bz2 gentoo-be58db661d4b1d24e20f9cc6c830bd76caea0192.zip |
dev-haskell/dbus: add 1.3.0
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/dbus')
-rw-r--r-- | dev-haskell/dbus/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/dbus/dbus-1.3.0.ebuild | 43 | ||||
-rw-r--r-- | dev-haskell/dbus/metadata.xml | 53 |
3 files changed, 45 insertions, 52 deletions
diff --git a/dev-haskell/dbus/Manifest b/dev-haskell/dbus/Manifest index 5e6f09b72982..30e6a8d6ecaa 100644 --- a/dev-haskell/dbus/Manifest +++ b/dev-haskell/dbus/Manifest @@ -1,2 +1,3 @@ DIST dbus-1.2.22.tar.gz 78010 BLAKE2B c7189e15e0a9622e707bb50064584bd43141857257baec8e6d59d0cf39428b3b5efa82668ef70fbff218738ba5822b1aaad0c85b5e14bfa3ae4ef237e2458a9d SHA512 81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9 DIST dbus-1.2.27.tar.gz 78017 BLAKE2B 396739e7e6af0fe1921c9d3857c0650db9532d00a3fd2eda18042d42ce8336631d93d0c0ce75681b695f9e90c7205e38aea7c4f984544460ecab19c7d5090478 SHA512 2c6b87b4a793b555ef617e3f3f89695116180f0e1df2f84ee3da62c819c05c10a78d328644b84c8c9796354ee6dd1c6ad6b0430a1b9a2d7fe112b251d4606e8d +DIST dbus-1.3.0.tar.gz 82155 BLAKE2B 46b5500294e93b2614e66fa99962917e3a27030e178f0b3734a764089d5ba2a72afd203d2b1afcc2227c7b0953e1f324af62b6d537148e32a7527677ae017a8b SHA512 e59b11910a4e4288c89955dbbd2a135cb81dc263aacb331477e4f70403f53d70340af3a280eee9be8b2ee70eef8c06813381ab1dcb36927d059c90a726992cc7 diff --git a/dev-haskell/dbus/dbus-1.3.0.ebuild b/dev-haskell/dbus/dbus-1.3.0.ebuild new file mode 100644 index 000000000000..ce2a08ef691d --- /dev/null +++ b/dev-haskell/dbus/dbus-1.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# 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" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~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.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.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-9.2.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.6.3.0 + test? ( <dev-haskell/extra-1.8 + <dev-haskell/quickcheck-2.15 + <dev-haskell/resourcet-1.4 + <dev-haskell/tasty-1.5 + <dev-haskell/tasty-hunit-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. - - @ - &#x7b;-\# LANGUAGE OverloadedStrings \#-&#x7d; - - import Data.List (sort) - import DBus - import DBus.Client - - main = do - &#x20; client <- connectSession - &#x20; // - &#x20; \-- Request a list of connected clients from the bus - &#x20; reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\") - &#x20; &#x7b; methodCallDestination = Just \"org.freedesktop.DBus\" - &#x20; &#x7d; - &#x20; // - &#x20; \-- org.freedesktop.DBus.ListNames() returns a single value, which is - &#x20; \-- a list of names (here represented as [String]) - &#x20; let Just names = fromVariant (methodReturnBody reply !! 0) - &#x20; // - &#x20; \-- Print each name on a line, sorted so reserved names are below - &#x20; \-- temporary names. - &#x20; mapM_ putStrLn (sort names) - @ - - >$ ghc --make list-names.hs - >$ ./list-names - >:1.0 - >:1.1 - >:1.10 - >:1.106 - >:1.109 - >:1.110 - >ca.desrt.dconf - >org.freedesktop.DBus - >org.freedesktop.Notifications - >org.freedesktop.secrets - >org.gnome.ScreenSaver - </longdescription> <upstream> <remote-id type="hackage">dbus</remote-id> <remote-id type="github">rblaze/haskell-dbus</remote-id> |