dev-haskell/clock: add 0.8.3

Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap 2023-10-02 23:05:37 -06:00 committed by Sam James
parent 5b770cf208
commit 2b62fca3a3
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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
}

View File

@ -29,6 +29,7 @@
&lt;http://corsis.sourceforge.net/index.php/Haskell/Clock&gt;
</longdescription>
<upstream>
<remote-id type="hackage">clock</remote-id>
<remote-id type="github">corsis/clock</remote-id>
</upstream>
</pkgmetadata>