diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:05:37 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:09:07 +0100 |
commit | 2b62fca3a3c1b1772a2d0717ac1bd61fd7deb6d2 (patch) | |
tree | 574fd19a748d00290006a91a0029b28bd8485e1b /dev-haskell/clock | |
parent | dev-haskell/base-unicode-symbols: new package, add 0.2.4.2 (diff) | |
download | gentoo-2b62fca3a3c1b1772a2d0717ac1bd61fd7deb6d2.tar.gz gentoo-2b62fca3a3c1b1772a2d0717ac1bd61fd7deb6d2.tar.bz2 gentoo-2b62fca3a3c1b1772a2d0717ac1bd61fd7deb6d2.zip |
dev-haskell/clock: add 0.8.3
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/clock')
-rw-r--r-- | dev-haskell/clock/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/clock/clock-0.8.3.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/clock/metadata.xml | 1 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-haskell/clock/Manifest b/dev-haskell/clock/Manifest index bcae42d40410..c3a4c3b08e76 100644 --- a/dev-haskell/clock/Manifest +++ b/dev-haskell/clock/Manifest @@ -1 +1,2 @@ DIST clock-0.7.2.tar.gz 7465 BLAKE2B 209e720ba6e856fb5e56cc2d2dd48aa4e7b63ab15f356bcddbd5ee0936495a158ecd2c1cbdf9ce54ed89bcbd047091b3a515bcb04b6a30796bc9d659d610f187 SHA512 cf44dfca6c0825a003018c68266ef0fe503a9b147aaf784435f6297b365c6d18fc71b63b77a23ee2a3298ace638a35de0c6118e361d43b418a45d4fdd24d57cf +DIST clock-0.8.3.tar.gz 9099 BLAKE2B 4bbe0c68c76339f16af45424a9aa3698ee8c6b743c4e4cc6e38cab2e69ad1e0094e6bdb335a589a9fe496d4c4d4a0dfe49b1d08f66aa13910b474dda319d0bc1 SHA512 86424c9593b9851a3c59ceb23a1665526a0f7e47a18322aa772feff2babb8799c1c2187005639882e4a1553cc327e78a25e85ebe87dec6de17cad050b526ff6f diff --git a/dev-haskell/clock/clock-0.8.3.ebuild b/dev-haskell/clock/clock-0.8.3.ebuild new file mode 100644 index 000000000000..297b45081c79 --- /dev/null +++ b/dev-haskell/clock/clock-0.8.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 +#hackport: flags: -llvm + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="High-resolution clock functions: monotonic, realtime, cputime" +HOMEPAGE="https://github.com/corsis/clock" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/tasty-0.10 + dev-haskell/tasty-quickcheck + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-llvm +} diff --git a/dev-haskell/clock/metadata.xml b/dev-haskell/clock/metadata.xml index 8bef1ab73dcf..e64140517743 100644 --- a/dev-haskell/clock/metadata.xml +++ b/dev-haskell/clock/metadata.xml @@ -29,6 +29,7 @@ <http://corsis.sourceforge.net/index.php/Haskell/Clock> </longdescription> <upstream> + <remote-id type="hackage">clock</remote-id> <remote-id type="github">corsis/clock</remote-id> </upstream> </pkgmetadata> |