summaryrefslogtreecommitdiff
path: root/dev-haskell/clock
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/clock
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/clock')
-rw-r--r--dev-haskell/clock/Manifest4
-rw-r--r--dev-haskell/clock/clock-0.8.3.ebuild41
-rw-r--r--dev-haskell/clock/metadata.xml24
3 files changed, 45 insertions, 24 deletions
diff --git a/dev-haskell/clock/Manifest b/dev-haskell/clock/Manifest
index ce5bb0ab4b5b..7e7ce3474eff 100644
--- a/dev-haskell/clock/Manifest
+++ b/dev-haskell/clock/Manifest
@@ -1,3 +1,5 @@
DIST clock-0.7.2.tar.gz 7465 BLAKE2B 209e720ba6e856fb5e56cc2d2dd48aa4e7b63ab15f356bcddbd5ee0936495a158ecd2c1cbdf9ce54ed89bcbd047091b3a515bcb04b6a30796bc9d659d610f187 SHA512 cf44dfca6c0825a003018c68266ef0fe503a9b147aaf784435f6297b365c6d18fc71b63b77a23ee2a3298ace638a35de0c6118e361d43b418a45d4fdd24d57cf
+DIST clock-0.8.3.tar.gz 9099 BLAKE2B 4bbe0c68c76339f16af45424a9aa3698ee8c6b743c4e4cc6e38cab2e69ad1e0094e6bdb335a589a9fe496d4c4d4a0dfe49b1d08f66aa13910b474dda319d0bc1 SHA512 86424c9593b9851a3c59ceb23a1665526a0f7e47a18322aa772feff2babb8799c1c2187005639882e4a1553cc327e78a25e85ebe87dec6de17cad050b526ff6f
EBUILD clock-0.7.2.ebuild 763 BLAKE2B 4d14fd546efeb635a3443e60acfeaa0b03ebbba6760fea2a853828aec4bbec6a214d500845f92cd792ddc99ac9b618b32356494fae9a60c6d9d43f22fe3b9e9a SHA512 bba0638dc811c5ce01b33c5e83cb055b60d3819d472f9412047257ba1144b56f4445ea1740da3692db0e82bd30ae5d3f48fc478b45c42362cedf3b9e89530e12
-MISC metadata.xml 1122 BLAKE2B c218466f35e120ae991c7a2ed68af741cc1c9c096c86986a68f8db1d756ddcf5cd57e2b38695b360d7221f656edef6e86c47bddd7822d24236e87af9f5a034b5 SHA512 8c50a5a95f487fe8ce000eb05204b1fadebed333958bb93fd2b17bc8284fd3578cdd720d1ffac88e20f6d472ce8f98cd683e12c595fe20f36c661696296157b7
+EBUILD clock-0.8.3.ebuild 972 BLAKE2B 12f376d5a816baafb04cf37fdec76d0179c61a58160d40152cab0e8a9752814f3ffb749d0481d2e96ccf3bbfbd3efc3d66daf7630be2b818e200f672dc455677 SHA512 3cdb3042023d993b878fcde6ae11465a80a7289cd3dd0a001ec27b7afd2cac4e3fc44af8a72fc361b64c97e49136498c08865f63042f9a22aacaba2e60ef6ce8
+MISC metadata.xml 373 BLAKE2B 8d1e4246c773ca14668a4f01ea93d8f0dbd9cfc944e09aec778104ef315ab53988e1f7aa2be2de3c22d8e5c2d7f87f0901641dc30749d72afc7caf0cb9567457 SHA512 35c8b263f0bb06e6470f1b1746ece79bd3e9f6969bad6773a58106c9528f6431b100644224f7f2fd2246e4eaa491e5680d41d28a54b9670301e0b97b395a5efe
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..695bb9d2cd91 100644
--- a/dev-haskell/clock/metadata.xml
+++ b/dev-haskell/clock/metadata.xml
@@ -5,30 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- A package for convenient access to high-resolution
- clock and timer functions of different operating
- systems.
-
- It is planned to consist of two layers. The lower
- layer will provide direct access to OS-specific
- clock and timer functions like clock_gettime of
- Posix or GetTickCount of Windows and its upper
- layer shall then provide a common API for all
- supported systems. Currently only the lower level
- is being developed.
-
-
- POSIX reference: IEEE Std 1003.1-2008
- &lt;http://www.opengroup.org/onlinepubs/9699919799/&gt;,
- &lt;http://www.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html#&gt;
-
- WINDOWS reference: ...
-
- For more information, see:
- &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>