diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-haskell/time-compat | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-haskell/time-compat')
| -rw-r--r-- | dev-haskell/time-compat/Manifest | 2 | ||||
| -rw-r--r-- | dev-haskell/time-compat/files/fix-resolution-test.patch | 49 | ||||
| -rw-r--r-- | dev-haskell/time-compat/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild | 41 |
4 files changed, 0 insertions, 101 deletions
diff --git a/dev-haskell/time-compat/Manifest b/dev-haskell/time-compat/Manifest deleted file mode 100644 index d51aa4809fb5..000000000000 --- a/dev-haskell/time-compat/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST time-compat-1.9.6.1-rev5.cabal 5062 BLAKE2B be9fb65c60bc62b7b92ec552ef691121084b67d05f329f32a6cd9af8f57663e8be7b31510e5a5080db38d711a06a91a9de705fbd8e3ad6697b6451f95ddedb7b SHA512 6ab42c2ad2d53b4bb9e713886508691cfc0f13535524e2cf0311110b8bf991474b6efd030ec74dfda056d154cdbb409cc7caea087645e91d50a96e2a5c07a979 -DIST time-compat-1.9.6.1.tar.gz 59964 BLAKE2B 0a19a9692100d47f14643613539061104fead78056d37ff3aededf3d15ef00e23aa6875b77b56a92138818511b7681197ff55fb8adb6a0d6075c7e02bf0fe397 SHA512 ca0b19aa5e7948fd7d9fbd8ff5e1b0f93a2d8d410d515e7078b40370e7d9fc363c111d53551d57a0320efb0894bcc2210afa8fc04da9f003ded626f53b7e58ea diff --git a/dev-haskell/time-compat/files/fix-resolution-test.patch b/dev-haskell/time-compat/files/fix-resolution-test.patch deleted file mode 100644 index 918bd488dbc9..000000000000 --- a/dev-haskell/time-compat/files/fix-resolution-test.patch +++ /dev/null @@ -1,49 +0,0 @@ -https://github.com/haskellari/time-compat/pull/33 - -From 9f7aa0a5937b800402359c3e82f4bee296ae8e06 Mon Sep 17 00:00:00 2001 -From: matoro <matoro@users.noreply.github.com> -Date: Fri, 16 Sep 2022 11:19:20 -0400 -Subject: [PATCH] Backport 6516a35 "fix resolution test" from time - -The upstream version of time was incorrect in newer versions until -https://github.com/haskell/time/commit/6516a35b3d8cad14a21a559a5d2fc22ddda32fcc. -Because the compat implementation was correct and the upstream version -of time is now logically identical, simply replace both versions with -the current upstream time implementation. - -See https://github.com/haskellari/time-compat/issues/31 for details on -which platforms the distinction matters. Does NOT close that issue -though, because the original issue is for platforms on which the actual -resolution is less precise than the expected, and this will only fix -platforms on which the actual resolution is more precise. ---- - test/main/Test/Clock/Resolution.hs | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -diff --git a/test/main/Test/Clock/Resolution.hs b/test/main/Test/Clock/Resolution.hs -index aab756b..4c0b1dd 100644 ---- a/test/main/Test/Clock/Resolution.hs -+++ b/test/main/Test/Clock/Resolution.hs -@@ -25,7 +25,7 @@ gcdAll :: Real a => [a] -> a - gcdAll = foldr gcd' 0 - - testResolution :: (Show dt, Real dt) => String -> (at -> at -> dt) -> (dt, IO at) -> TestTree --testResolution name timeDiff (res, getTime) = -+testResolution name timeDiff (reportedRes, getTime) = - testCase name $ do - t0 <- getTime - times0 <- -@@ -53,11 +53,8 @@ testResolution name timeDiff (res, getTime) = - threadDelay 1000 -- 1ms - getTime - let times = fmap (\t -> timeDiff t t0) $ times0 ++ times1 ++ times2 ++ times3 ++ times4 --#if MIN_VERSION_time(1,8,0) -- assertEqual "resolution" res $ gcdAll times --#else -- assertBool ("resolution " ++ show (res, gcdAll times)) (res >= gcdAll times) --#endif -+ foundGrid = gcdAll times -+ assertBool ("resolution " ++ show (reportedRes, foundGrid)) (foundGrid <= reportedRes) - - testResolutions :: TestTree - testResolutions = diff --git a/dev-haskell/time-compat/metadata.xml b/dev-haskell/time-compat/metadata.xml deleted file mode 100644 index 6fb61853d497..000000000000 --- a/dev-haskell/time-compat/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - <name>Gentoo Haskell</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> diff --git a/dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild b/dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild deleted file mode 100644 index a7b35944793d..000000000000 --- a/dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# ebuild generated by hackport 0.8.2.1.9999 - -CABAL_HACKAGE_REVISION=5 - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Compatibility package for time" -HOMEPAGE="https://github.com/haskellari/time-compat" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" - -PATCHES=( "${FILESDIR}/fix-resolution-test.patch" ) - -RDEPEND=" - >=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] - >=dev-haskell/hashable-1.3.2.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-lang/ghc-8.8.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-3.0.0.0 - test? ( - >=dev-haskell/base-compat-0.10.5 <dev-haskell/base-compat-0.14 - >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.15 - >=dev-haskell/tagged-0.8.6 <dev-haskell/tagged-0.9 - >=dev-haskell/tasty-1.2.1 <dev-haskell/tasty-1.5 - >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 - >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 - || ( - ( >=dev-haskell/hunit-1.3.1 <dev-haskell/hunit-1.3.2 ) - ( >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 ) - ) - ) -" |
