summaryrefslogtreecommitdiff
path: root/dev-haskell/zlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/zlib
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/zlib')
-rw-r--r--dev-haskell/zlib/Manifest10
-rw-r--r--dev-haskell/zlib/files/zlib-0.6.1.2-fix-w8-tests.patch26
-rw-r--r--dev-haskell/zlib/metadata.xml22
-rw-r--r--dev-haskell/zlib/zlib-0.5.4.1.ebuild23
-rw-r--r--dev-haskell/zlib/zlib-0.5.4.2.ebuild25
-rw-r--r--dev-haskell/zlib/zlib-0.6.1.1.ebuild32
-rw-r--r--dev-haskell/zlib/zlib-0.6.1.2.ebuild36
7 files changed, 174 insertions, 0 deletions
diff --git a/dev-haskell/zlib/Manifest b/dev-haskell/zlib/Manifest
new file mode 100644
index 000000000000..dd3623e5d89a
--- /dev/null
+++ b/dev-haskell/zlib/Manifest
@@ -0,0 +1,10 @@
+AUX zlib-0.6.1.2-fix-w8-tests.patch 1138 BLAKE2B 4a819faaca83aea0a6d338924907c8a02fe7d8b04a5ad57bc983e1a93cde3183c080883b97e49355a022e80dfa2f289b4cf11cc5e3e625d25b25ff7c0b6426bf SHA512 bd2f510dc6516668c130edd969d7002d178331a0d09e1e0cca9d899ff8164810f9875c652ab25cd331322ac5d369162a9c45a106b0ad9173f844bbc8f1e96bdc
+DIST zlib-0.5.4.1.tar.gz 127760 BLAKE2B 3e0ade0091a9d9e50fd4d0b9e65eba9a1fa7037fa4cfaa46d2d8b777d0d3338ddbc09c96ca12b5de8b2d7337c1a213d17b789cba971bb30b84ba1c3b34493c20 SHA512 aa3522a5704978badcf634e1d99282144f01ddee4600bd146631a3ee8b98080914eb2887869a5fa404dc9d1e438a5df87cf7d44548c2f3e1ec13ba19004ef985
+DIST zlib-0.5.4.2.tar.gz 127818 BLAKE2B 899a0edf39b9830d5223c05dce0d6e4a7884ac12b918bc54bdd820fb77c3701acde768179a1f1b1a88330c9c5ab46433eab0420744994013e9adbbe72fe451ff SHA512 9ee75d04bea192967dcc9f59f500a199c605ed6b18b7883e2876e1b3116929ef62ccff9cb7174a2d72b567241c3fc2eb794b3532831b929bd5f5a6236bc03410
+DIST zlib-0.6.1.1.tar.gz 142902 BLAKE2B 30cc774ca73fd657a9fbb00bda520855cf33932dbeae91c60f900b7c34a57014f14853535d6bd2bf0affbcda3545b896a2bbc1ebe5e289f78140244dd9ea8fb1 SHA512 b9f665308fe7887db376625d6001b5d4c511b6b0f392e366903e84f262cc7c81ed9746d9a5f0b84e9a0ec9dfdc91ed41809528dd50e067008a91ef5168cad12e
+DIST zlib-0.6.1.2.tar.gz 142413 BLAKE2B 3dac7acfc11b9e8dd00e7e9b35daa420a34f9cf58d06e7d82fb00f33025b9eb2769b966fdb9772937e8be182b16d502c14e4c6018fbdd72d942b6fca95f7d974 SHA512 0034eb1297eaf20ab64e5cbfc835cee1985d34bc248325bf57f7bf5cdf2918ab72f339fe5b8b3f5f16dee862f190e0c71612960b9021cf2ca70c951788b73fc1
+EBUILD zlib-0.5.4.1.ebuild 642 BLAKE2B 3bf6476fa848fe2f94121fa756f7e6f378b1ba1979018dfe8371ff7dd4f6bddbdfd02c4cbfbc6b60cb8898d054f3324b8db3e29545ad24fa06ad13459ab549e2 SHA512 a678ee02dd6c7f8df8b5676f3183b2a4f6d890d22d8b5308f716df6e4f8770111669e84a5486ca01c4ae3c705cf92c066eb75a1a0d7920bf921cb67c3940094b
+EBUILD zlib-0.5.4.2.ebuild 646 BLAKE2B 65880f2421138767fafc5a26a2c6bf59508ebb1a46ace3bbdcd52b88261dd450d71006482ea3721ef4adcaccbfb66e2b5121c7b97839b731ad81327c28daab4e SHA512 6add183c13a576819362ad63cde8607c77e426b3bab7c85845c5233e8538f3a6940346e1a8a224e79331ddb0ba566d6c741c07e3dff73418f7ae5a3617097d26
+EBUILD zlib-0.6.1.1.ebuild 836 BLAKE2B 180ce9439859841de82fd54bf633e3d25e3a20b05bb6263ebb501f6982e6a18e9dd3345f650135c3e59b81bce3a39b3e2299a2d554b7894bda2e6160a5dc5bb8 SHA512 79d014a5314aa97918a3a907624ea911be608a9b67d7b9590c5a33c6cab4b2099d55cc3be31457a9e25acbb7b7c8f22b46873436aee97c26f753f80e0b20ad23
+EBUILD zlib-0.6.1.2.ebuild 1030 BLAKE2B ae3dcfd2bb31d38e03507f1d3f84d84a00451c999a1d1d1ea0329e5303602883891c9cf417ff91b220400c0a490866e2e5703f0b565e29f5da930800cf0d3a96 SHA512 aae054c5f08ba245e7ceba341e810edb8023f18841270f36dce97cd61374dcd7f64aaabc660c3923e2abd3ee42cdadefcee4edda06d4aa12445b9b8f9fb5a5de
+MISC metadata.xml 824 BLAKE2B ea99ec3ad9a549c70455e91a59f38b6937da780e406c2bc18d039f93ef3cfdd08f600fb8854173c54ccbf029125204693f0da1592d30eb4554d479357299a7bb SHA512 c291a8088ad2d586390dad8cc2bb80a606fe7e558f4fdbba5c5168024693ea400f6d3a2795144f2c5af6cea51b90fe9097759027377ee8ead929296a4b4f26de
diff --git a/dev-haskell/zlib/files/zlib-0.6.1.2-fix-w8-tests.patch b/dev-haskell/zlib/files/zlib-0.6.1.2-fix-w8-tests.patch
new file mode 100644
index 000000000000..5b4cb5a6eca2
--- /dev/null
+++ b/dev-haskell/zlib/files/zlib-0.6.1.2-fix-w8-tests.patch
@@ -0,0 +1,26 @@
+zlib does not really support windows size of 8 bits:
+
+Reported by eroen
+
+https://github.com/haskell/zlib/issues/11
+https://bugs.gentoo.org/show_bug.cgi?id=613532
+diff --git a/test/Test.hs b/test/Test.hs
+index bbd8b94..81bd260 100644
+--- a/test/Test.hs
++++ b/test/Test.hs
+@@ -66,2 +66,3 @@ prop_decompress_after_compress w cp dp =
+ -- of the zlib source code.
++ compressWindowBits cp /= WindowBits 8 &&
+ (decompressWindowBits dp > compressWindowBits cp || decompressWindowBits dp > WindowBits 8) &&
+@@ -76,2 +77,3 @@ prop_gziporzlib1 cp dp =
+ decompressWindowBits dp > compressWindowBits cp &&
++ compressWindowBits cp /= WindowBits 8 &&
+ decompressBufferSize dp > 0 && compressBufferSize cp > 0 ==>
+@@ -85,2 +87,3 @@ prop_gziporzlib2 cp dp =
+ decompressWindowBits dp >= compressWindowBits cp &&
++ compressWindowBits cp /= WindowBits 8 &&
+ decompressBufferSize dp > 0 && compressBufferSize cp > 0 ==>
+@@ -94,2 +97,3 @@ prop_gzip_concat cp dp input =
+ decompressWindowBits dp >= compressWindowBits cp &&
++ compressWindowBits cp /= WindowBits 8 &&
+ decompressBufferSize dp > 0 && compressBufferSize cp > 0 ==>
diff --git a/dev-haskell/zlib/metadata.xml b/dev-haskell/zlib/metadata.xml
new file mode 100644
index 000000000000..d3253b28407a
--- /dev/null
+++ b/dev-haskell/zlib/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name='non-blocking-ffi'>Execute FFI calls in the context of haskell thread.</flag>
+ </use>
+ <longdescription>
+ This package provides a pure interface for compressing and
+ decompressing streams of data represented as lazy
+ 'ByteString's. It uses the zlib C library so it has high
+ performance. It supports the \"zlib\", \"gzip\" and \"raw\"
+ compression formats.
+
+ It provides a convenient high level API suitable for most
+ tasks and for the few cases where more control is needed it
+ provides access to the full zlib feature set.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/zlib/zlib-0.5.4.1.ebuild b/dev-haskell/zlib/zlib-0.5.4.1.ebuild
new file mode 100644
index 000000000000..d90af2e4805a
--- /dev/null
+++ b/dev-haskell/zlib/zlib-0.5.4.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Compression and decompression in the gzip and zlib formats"
+HOMEPAGE="http://hackage.haskell.org/package/zlib"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:=
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
diff --git a/dev-haskell/zlib/zlib-0.5.4.2.ebuild b/dev-haskell/zlib/zlib-0.5.4.2.ebuild
new file mode 100644
index 000000000000..9ba0e7d79637
--- /dev/null
+++ b/dev-haskell/zlib/zlib-0.5.4.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 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"
+inherit haskell-cabal
+
+DESCRIPTION="Compression and decompression in the gzip and zlib formats"
+HOMEPAGE="http://hackage.haskell.org/package/zlib"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
diff --git a/dev-haskell/zlib/zlib-0.6.1.1.ebuild b/dev-haskell/zlib/zlib-0.6.1.1.ebuild
new file mode 100644
index 000000000000..ffac01f1ec30
--- /dev/null
+++ b/dev-haskell/zlib/zlib-0.6.1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Compression and decompression in the gzip and zlib formats"
+HOMEPAGE="http://hackage.haskell.org/package/zlib"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
+IUSE=""
+
+RESTRICT=test # needs porting to new test tools
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( >=dev-haskell/hunit-1.2
+ >=dev-haskell/quickcheck-2
+ >=dev-haskell/tasty-0.8
+ >=dev-haskell/tasty-hunit-0.8
+ >=dev-haskell/tasty-quickcheck-0.8 )
+"
diff --git a/dev-haskell/zlib/zlib-0.6.1.2.ebuild b/dev-haskell/zlib/zlib-0.6.1.2.ebuild
new file mode 100644
index 000000000000..4187ff78db05
--- /dev/null
+++ b/dev-haskell/zlib/zlib-0.6.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Compression and decompression in the gzip and zlib formats"
+HOMEPAGE="http://hackage.haskell.org/package/zlib"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos"
+IUSE="non-blocking-ffi"
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3
+ >=dev-haskell/tasty-0.8 <dev-haskell/tasty-0.12
+ >=dev-haskell/tasty-hunit-0.8 <dev-haskell/tasty-hunit-0.10
+ >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.9 )
+"
+
+PATCHES=("${FILESDIR}"/${P}-fix-w8-tests.patch)
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag non-blocking-ffi non-blocking-ffi)
+}