diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/hex | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/hex')
-rw-r--r-- | dev-haskell/hex/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/hex/files/hex-0.1.2-monadfail.patch | 20 | ||||
-rw-r--r-- | dev-haskell/hex/hex-0.1.2.ebuild | 6 | ||||
-rw-r--r-- | dev-haskell/hex/metadata.xml | 3 |
4 files changed, 27 insertions, 7 deletions
diff --git a/dev-haskell/hex/Manifest b/dev-haskell/hex/Manifest index 46646b1058cf..9254095f295c 100644 --- a/dev-haskell/hex/Manifest +++ b/dev-haskell/hex/Manifest @@ -1,3 +1,4 @@ +AUX hex-0.1.2-monadfail.patch 570 BLAKE2B 70b1b3b549ca2ab19000f5397699d8bb7e33888498f239dc55cb0925d40429f5a56f03aede77bfa541a52f2d71861eb21a29f0ef13371d8e372ba0cea71db111 SHA512 191d6cef71afe277d21694d2185cf0a8beb3ae2e1f6aa9fa1056cdb9287115cad7912e64e8b44297d74632f1180cacba28eb0adb5cfad1ff019ee74850faf319 DIST hex-0.1.2.tar.gz 1956 BLAKE2B e0552b6278e2be4e8985e9d1e17f653f9fa401a6324dc252c4fc0e6c200564c972541bc9ac37321bff41fa9c52555ff95679a9dc1fdea3e836d88d6016c7a6e0 SHA512 30608035819260b94759d644644b92a7145defa000685de53323ab4e765250ead410010e4ab96e99b97af647e97394c86edaf92cb811aa5df8228669b8ff9b4d -EBUILD hex-0.1.2.ebuild 538 BLAKE2B 18e41716ee59385b8b7714d51913c8d72a5f35f61c76609d1515a775690362e03fd0c00e4e572c70f98775b3c02d544082f99dcf3663dc2617ae8a3018806b9c SHA512 1747407cfa8df9d96a17dffca02f21a9053e341a669913da7c744479285af8dc04546f110d86fefc51d23d53c79c9c729e26dbc08c56b8178af3104cb98440b8 -MISC metadata.xml 333 BLAKE2B a530600c09444c9f02f4ca81337b0a5842b100967ab980262b8f68cff01ae59e66041be5ef6949de9d774d39a56ebd915b835b7e17d14606593185f4fe540d19 SHA512 156ecbeac95459ddb51076e7c9d12d663574dbcb483f702fa52c14620297e248d4a631e28143da60f810e4d9742e8c893ddf9eff1bf563db3930aada190de5ac +EBUILD hex-0.1.2.ebuild 586 BLAKE2B e525542d263bf9d151313009b847460fcf6c0771c41a938bdfccc83d3f60b33c29a2c92d336d2d473445175c35a7cd21d4241a5fca5c14aab4462d77895cfab2 SHA512 279ac92b6b618eb74b61337e776f77d57566618d5d48df2fa5b5e212b7a473dbf4a3bd8368c6c37ff59478d985654b97d7ac88111048779f4a49cbfeb2ef23e2 +MISC metadata.xml 249 BLAKE2B 84b809c265ff2a09d1f06c66d4797652ff4c64205d94323e07333ae0fbddcfb8c58d0176a8cc52bd37e9353371d987b9b473b9747cb082e1c2871ed80fcfa144 SHA512 ce055b41ff1c10209e88579fe21ce16550be7e9b21f87724564f06430aa6f478974f186a10c8ff7e92398f534c09109aeed57eae1c6d2b56b5c99ebfb64a0015 diff --git a/dev-haskell/hex/files/hex-0.1.2-monadfail.patch b/dev-haskell/hex/files/hex-0.1.2-monadfail.patch new file mode 100644 index 000000000000..27caaf0774f2 --- /dev/null +++ b/dev-haskell/hex/files/hex-0.1.2-monadfail.patch @@ -0,0 +1,20 @@ +--- hex-0.1.2/Data/Hex.hs 2011-10-11 05:44:11.000000000 +1100 ++++ Data/Hex.hs 2020-08-01 12:28:49.166983032 +1000 +@@ -22,7 +22,7 @@ + -- | Convert string into hexadecimal. + hex :: t -> t + -- | Convert from hexadecimal and fail on invalid input. +- unhex :: Monad m => t -> m t ++ unhex :: (Monad m, MonadFail m) => t -> m t + + + instance Hex String where +@@ -37,7 +37,7 @@ + unhex [_] = fail "Non-even length" + + +-c :: Monad m => Char -> m Int ++c :: (Monad m, MonadFail m) => Char -> m Int + c '0' = return 0 + c '1' = return 1 + c '2' = return 2 diff --git a/dev-haskell/hex/hex-0.1.2.ebuild b/dev-haskell/hex/hex-0.1.2.ebuild index 766e8f4a5a41..f158291c77d8 100644 --- a/dev-haskell/hex/hex-0.1.2.ebuild +++ b/dev-haskell/hex/hex-0.1.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 # ebuild generated by hackport 0.4.6.9999 @@ -17,8 +17,10 @@ SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND=">=dev-lang/ghc-7.4.1:= +RDEPEND=">=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} dev-haskell/cabal " + +PATCHES=( "${FILESDIR}"/${P}-monadfail.patch ) diff --git a/dev-haskell/hex/metadata.xml b/dev-haskell/hex/metadata.xml index 3154e9fd1185..b7878815d80d 100644 --- a/dev-haskell/hex/metadata.xml +++ b/dev-haskell/hex/metadata.xml @@ -5,7 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Convert strings into hexadecimal and back. - </longdescription> </pkgmetadata> |