dev-haskell/missingh: drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-08-20 08:35:21 +01:00
parent b8366a69e9
commit a99d0a7c88
6 changed files with 0 additions and 209 deletions

View File

@@ -1,4 +1 @@
DIST MissingH-1.2.0.2.tar.gz 115774 BLAKE2B ae1e4db5de9c9559f9687bfed16e52dba3fe782e6ce33e72bb60fe1cd5044cc70b0f839064144711c0f5863786c75ec34b17acd1449a8ca7387a5596185594e2 SHA512 148146468688d855af988874b28ec3e3ebafb99b8168d50734294ecc5400c832826e11c9714727f83381979f8f8a7c6e7bf6479e582e484ec0abcb741d22a0a9
DIST MissingH-1.2.1.0.tar.gz 116445 BLAKE2B 66d319c3bdb883eb5a8349c6bf98cd119b143fb4180c3f3376f136d2fd398666ef92a47164516a33a7f7fe3a5da5ba41ffe1998b715168c27f0466dd042e09e6 SHA512 54ad72973ef20a2eb6a0e72ae8ff496ee48d359ba491bf094957737e02fce217fb00e950735f8c0b36a7fe48a7322a122e447b0c67e0205e8d1b6450ac4df3e3
DIST MissingH-1.3.0.1.tar.gz 116812 BLAKE2B f2b17ed9df625558bf05719e490547f4fd605a494922d1b8daf0602fe913346a1e028940e63645de2c786339555b4480bce237f6ae613a2741d0d81acb75ec7c SHA512 e7c6f95d5437d86516f9aba79026b2abdd5131917a09da452623be68b2377067f8f093412c9919ebc904c4e61d43e755282d5bb333596de935c705958111dcf3
DIST MissingH-1.4.3.0.tar.gz 107358 BLAKE2B fa6cf7efd1a60defce6ec0e6bbee229b71f5afe4140cca31dd47c54fbeb8a2a7b0f3e41e4ccba3e010ab85c21fad4d9bb392bd4481a01a945a77de7366b6eae6 SHA512 eb42ad9fd09347d2ec661f8181c6d2c95fb4f9f05634373ac27b377508056afd909b4925f725b9e11441ee9877b66b46038005e469d0b754f8f6cb1cda66d1dc

View File

@@ -1,47 +0,0 @@
--- MissingH-1.2.0.2-orig/src/System/Cmd/Utils.hs 2013-08-22 00:35:27.000000000 +1000
+++ MissingH-1.2.0.2/src/System/Cmd/Utils.hs 2013-09-28 01:17:29.697333968 +1000
@@ -325,7 +325,11 @@
Just (Exited (ExitSuccess)) -> return ()
Just (Exited (ExitFailure fc)) ->
cmdfailed funcname fp args fc
+#if (__GLASGOW_HASKELL__ >= 707)
+ Just (Terminated sig _) ->
+#else
Just (Terminated sig) ->
+#endif
warnfail fp args $ "Terminated by signal " ++ show sig
Just (Stopped sig) ->
warnfail fp args $ "Stopped by signal " ++ show sig
@@ -351,7 +355,11 @@
case ec of
Exited ExitSuccess -> return ()
Exited (ExitFailure fc) -> cmdfailed "safeSystem" command args fc
+#if (__GLASGOW_HASKELL__ >= 707)
+ Terminated s _ -> cmdsignalled "safeSystem" command args s
+#else
Terminated s -> cmdsignalled "safeSystem" command args s
+#endif
Stopped s -> cmdsignalled "safeSystem" command args s
#endif
--- MissingH-1.2.0.2-orig/testsrc/Eithertest.hs 2013-08-22 00:35:27.000000000 +1000
+++ MissingH-1.2.0.2/testsrc/Eithertest.hs 2013-09-28 01:19:32.177332800 +1000
@@ -6,6 +6,7 @@
For license and copyright information, see the file LICENSE
-}
+{-# LANGUAGE CPP #-}
module Eithertest(tests) where
import Test.HUnit
@@ -13,8 +14,10 @@
import Test.HUnit.Tools
import Control.Exception
+#if (__GLASGOW_HASKELL__ < 707)
instance Eq ErrorCall where
(ErrorCall x) == (ErrorCall y) = x == y
+#endif
test_maybeToEither =
let f msg inp exp = TestLabel msg $ TestCase $ assertEqual "" exp inp in

View File

@@ -1,25 +0,0 @@
--- MissingH-1.3.0.1-orig/src/Data/BinPacking.hs 2014-10-28 23:46:24.000000000 +1100
+++ MissingH-1.3.0.1/src/Data/BinPacking.hs 2016-04-20 10:23:16.403505044 +1000
@@ -69,7 +69,7 @@
> [(size, obj)] is the sizes and objects
> result is Either error or results
-}
-type BinPacker = (Num size, Ord size, Show size, Show obj) =>
+type BinPacker = forall size obj . (Num size, Ord size, Show size, Show obj) =>
[size] -- The sizes of bins
-> [(size, obj)] -- The sizes and objects
-> Either (BinPackerError size obj) [[(size, obj)]] -- Either error or results
--- MissingH-1.3.0.1-orig/src/System/IO/HVFS.hs 2014-10-28 23:46:24.000000000 +1100
+++ MissingH-1.3.0.1/src/System/IO/HVFS.hs 2016-04-24 18:50:36.893741944 +1000
@@ -60,7 +60,10 @@
import System.IO.PlafCompat
import System.Posix.Types
import System.Time
-import System.Directory
+import System.Directory (createDirectory, doesDirectoryExist, doesFileExist,
+ getCurrentDirectory, getDirectoryContents, getModificationTime,
+ removeDirectory, removeFile, renameDirectory,
+ renameFile, setCurrentDirectory)
#if MIN_VERSION_directory(1,2,0)
import Data.Time.Clock.POSIX ( utcTimeToPOSIXSeconds )

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.3.3.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit base haskell-cabal
MY_PN="MissingH"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Large utility library"
HOMEPAGE="https://hackage.haskell.org/package/MissingH"
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE=""
RDEPEND="dev-haskell/hslogger:=[profile?]
dev-haskell/hunit:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/network:=[profile?]
dev-haskell/parsec:=[profile?]
dev-haskell/random:=[profile?]
dev-haskell/regex-compat:=[profile?]
>=dev-lang/ghc-6.12.1:=
"
DEPEND="${RDEPEND}
virtual/libiconv
>=dev-haskell/cabal-1.8.0.2
test? ( dev-haskell/quickcheck
dev-haskell/testpack )
"
# libiconv is needed for the trick below to make it compile with ghc-6.12
S="${WORKDIR}/${MY_P}"
PATCHES=("${FILESDIR}/${PN}-1.2.0.2-ghc-7.7.patch")
src_prepare() {
base_src_prepare
# (non-ASCII non-UTF-8 source breaks hscolour)
cd src/System/Time
mv ParseDate.hs ParseDate.hs.ISO-8859-1
iconv -f ISO-8859-1 -t UTF-8 -c ParseDate.hs.ISO-8859-1 > ParseDate.hs || die "unable to recode ParseDate.hs to UTF-8"
}

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.3.6.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
MY_PN="MissingH"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Large utility library"
HOMEPAGE="https://hackage.haskell.org/package/MissingH"
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE=""
RDEPEND="dev-haskell/hslogger:=[profile?]
dev-haskell/hunit:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/network:=[profile?]
dev-haskell/parsec:=[profile?]
dev-haskell/random:=[profile?]
dev-haskell/regex-compat:=[profile?]
>=dev-lang/ghc-6.12.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8.0.2
test? ( dev-haskell/errorcall-eq-instance
dev-haskell/quickcheck
dev-haskell/testpack )
"
S="${WORKDIR}/${MY_P}"

View File

@@ -1,44 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.4.4.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
MY_PN="MissingH"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Large utility library"
HOMEPAGE="https://github.com/jgoerzen/missingh/wiki"
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE=""
RDEPEND="dev-haskell/hslogger:=[profile?]
dev-haskell/hunit:=[profile?]
dev-haskell/mtl:=[profile?]
dev-haskell/network:=[profile?]
dev-haskell/old-time:=[profile?]
dev-haskell/parsec:=[profile?]
dev-haskell/random:=[profile?]
dev-haskell/regex-compat:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
test? ( dev-haskell/errorcall-eq-instance
dev-haskell/quickcheck
dev-haskell/testpack )
"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.3.0.1-ghc-8.0.patch"
}