diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/missingh | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/missingh')
-rw-r--r-- | dev-haskell/missingh/Manifest | 9 | ||||
-rw-r--r-- | dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch | 47 | ||||
-rw-r--r-- | dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch | 25 | ||||
-rw-r--r-- | dev-haskell/missingh/metadata.xml | 10 | ||||
-rw-r--r-- | dev-haskell/missingh/missingh-1.2.0.2.ebuild | 51 | ||||
-rw-r--r-- | dev-haskell/missingh/missingh-1.2.1.0.ebuild | 39 | ||||
-rw-r--r-- | dev-haskell/missingh/missingh-1.3.0.1.ebuild | 44 |
7 files changed, 225 insertions, 0 deletions
diff --git a/dev-haskell/missingh/Manifest b/dev-haskell/missingh/Manifest new file mode 100644 index 000000000000..15055e7c69d4 --- /dev/null +++ b/dev-haskell/missingh/Manifest @@ -0,0 +1,9 @@ +AUX missingh-1.2.0.2-ghc-7.7.patch 1713 BLAKE2B 210d5e03c921e3dd645144b5b82d8dd004aa202ff0b8d6807dedbfe6a1fdfdb141b5804bd7e2c847cedf8458e6324b9c5b9b837e8ed43138eb426b63c098e232 SHA512 a34f0a449a77b4e08e9198c5b58965bfdd3acf2e72fbea2ff8a6b0370254ce6f61cc5d012a2abcf33cba3d884a01b614ff96a69065ada0599fdd7613c100b613 +AUX missingh-1.3.0.1-ghc-8.0.patch 1293 BLAKE2B a7399a61fc8f2ddde96fd323b9193ec160de17b3b549d348a27ea75468f3e18ecc2cdc4ec0fa57f17554824771a3a354cbbde60018dca8cb71d4c522c8521f78 SHA512 7bcf4252f2d102c9aae8717cc5d389aebaaefff7382b7b93d48a54419a2b48d90d7f86d76f31d1f38c1d2ff3bd8e627eaf6c1155c61cd047600930e635ae5ca6 +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 +EBUILD missingh-1.2.0.2.ebuild 1331 BLAKE2B 7d927b9a4a4a91db4ec32723a7cdb7174564065a6f0b36e7b8125dedec4cc4eb9a8eac77b2b734245aa03cb6dd6577f730633284759e52610f565cc6741134b1 SHA512 4eef3de5c52ba9b18ee20bf8a1674e840333b350de8c0b68b3077b1f2c8fc981d0abdc56050859a445df9de0145fad01d2d23f6a6225c841e566f30ec5681735 +EBUILD missingh-1.2.1.0.ebuild 951 BLAKE2B 3ed75737d40aa4f2ed750818c42505c36b7ad9a9a596f35fa65f165d93a67fd265364f2d5a7aad2940b334b5fc39f34a914a479953b3b2dc5b3d9f9e1d0eadaa SHA512 248854a1d2b3ade0530451bfe67030a1865cea99cf9f2805df12e68bb8e92e7ffdc146f5797e9236423ac9cc605b6e608801afc0ee72c80e430f5365b3581fe9 +EBUILD missingh-1.3.0.1.ebuild 1051 BLAKE2B e23b1b01f947228ffb572d46058291e2df94308b465037129e03b0c0ee49726b20cf7adddc88902956d7958f7ab1ecb05eb0297270f78dea0ba562ab4a725f5a SHA512 a5fbfca49a219cbb807641e763ec2c49ea9694c8e4651d0145c0db847f0a9664560d8c73ef1b8e611750d8463a9595eb15704f29feb45988e58a27bd46dfc0a7 +MISC metadata.xml 309 BLAKE2B 38a21e309ee9c95cb23ae88096df03c3d4abae37fe26b0ba4539ed254003ac1b1388d7b900ba38f8685133016edb3ea6b41c01b162d6310cc5d386e4e6d76dac SHA512 02afac1cf4005fbf51a79f989e031521fbb4860a96a70dab38f8821e8c7e18f15d54a6f856a93f628cea60f8493b06e3094bebac67a977477e66df0b89b8c8bc diff --git a/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch b/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch new file mode 100644 index 000000000000..0b249462fa51 --- /dev/null +++ b/dev-haskell/missingh/files/missingh-1.2.0.2-ghc-7.7.patch @@ -0,0 +1,47 @@ +--- 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 diff --git a/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch b/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch new file mode 100644 index 000000000000..ac4563960636 --- /dev/null +++ b/dev-haskell/missingh/files/missingh-1.3.0.1-ghc-8.0.patch @@ -0,0 +1,25 @@ +--- 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 ) diff --git a/dev-haskell/missingh/metadata.xml b/dev-haskell/missingh/metadata.xml new file mode 100644 index 000000000000..d3ff43ef4921 --- /dev/null +++ b/dev-haskell/missingh/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">jgoerzen/missingh</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/missingh/missingh-1.2.0.2.ebuild b/dev-haskell/missingh/missingh-1.2.0.2.ebuild new file mode 100644 index 000000000000..8222382259b9 --- /dev/null +++ b/dev-haskell/missingh/missingh-1.2.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# 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="http://software.complete.org/missingh" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${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" +} diff --git a/dev-haskell/missingh/missingh-1.2.1.0.ebuild b/dev-haskell/missingh/missingh-1.2.1.0.ebuild new file mode 100644 index 000000000000..6040502fb559 --- /dev/null +++ b/dev-haskell/missingh/missingh-1.2.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# 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="http://software.complete.org/missingh" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${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}" diff --git a/dev-haskell/missingh/missingh-1.3.0.1.ebuild b/dev-haskell/missingh/missingh-1.3.0.1.ebuild new file mode 100644 index 000000000000..544776dd24ff --- /dev/null +++ b/dev-haskell/missingh/missingh-1.3.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# 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="mirror://hackage/packages/archive/${MY_PN}/${PV}/${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" +} |