diff options
Diffstat (limited to 'dev-haskell/zlib')
-rw-r--r-- | dev-haskell/zlib/Manifest | 7 | ||||
-rw-r--r-- | dev-haskell/zlib/metadata.xml | 19 | ||||
-rw-r--r-- | dev-haskell/zlib/zlib-0.6.2.3.ebuild | 2 | ||||
-rw-r--r-- | dev-haskell/zlib/zlib-0.6.3.0.ebuild | 38 |
4 files changed, 49 insertions, 17 deletions
diff --git a/dev-haskell/zlib/Manifest b/dev-haskell/zlib/Manifest index 710b5204dead..e6cb618bc9f4 100644 --- a/dev-haskell/zlib/Manifest +++ b/dev-haskell/zlib/Manifest @@ -1,3 +1,6 @@ DIST zlib-0.6.2.3.tar.gz 149186 BLAKE2B 5665c6a076c0efdb6074ca72e3723ddeb4a7d851abf06450ccb8a4ee6179c3e45be63c3c620d02787b088a6c18723ba2d5a77c525d59dc4ab9bbe1770e79517b SHA512 535fc711af639967c032791c6a0c09680ac186c706e02a28cfabd9b2dcddc84a6ee5f6007e2ed67c1dc19dd6d561cb821d8840dba7386b63cc002418c4d5040a -EBUILD zlib-0.6.2.3.ebuild 1122 BLAKE2B 28fb8cbb308b9c004ead5ce2701f0c591f85e403c40c30076eaf750f2114218d0b4f60d72ea7c3b6e5d269232d0276e7fc5c9d46b3cfada25d7f43123390cfc5 SHA512 d75e8dd9d3e6f2ced3e450502e2c65395fb54961f8e88421d0e92e2bd2a1789d8b64f1f2060a31e57e063a7c352fd7513b590fd6b5b3898bee639e2003ae1a55 -MISC metadata.xml 1132 BLAKE2B b3ab09f748345f59b3e1ac432b2687c51a2bfbc17293ea2d0452d1eb514a5ab5a126b280f408abee6f7d181c7eebb147851f5dc1616d2c1a89ebc53913303feb SHA512 cac18fb27f5c7f76cdcd184a57c7fb69a0bef932733b7b78f0f742475234b6695c4e5667638995c1690ab08de6c23da38b9f620137e27bc4666de843096946d0 +DIST zlib-0.6.3.0-rev2.cabal 5367 BLAKE2B 4fb30c7af39286710ee5925f6e211c69c90b75f17c99f527e62ca4f9b0271544e22cdb4973f35c45524f81ca4401623effcb85830ada0aa5d11880db6d4742d6 SHA512 9f2851974abc0da417afdb914f4ce3d72c5945d23a39685174f40f2224ba5001a94ae9761cf44b2961a8fa135f28c689bcf913267a2b086e73fa353e9dc22672 +DIST zlib-0.6.3.0.tar.gz 369595 BLAKE2B 3a3ecb4ef2cce3332be22a1137b89c3ff27a600326fbc4c53610a588bcfe79f2c3b6916ad68705b7d397c0cc53aaf958a19eccd39edfb66e07b3cfae701d8890 SHA512 95daae13c5d5458fd7c610ce4cc686dc7af477364c4dcf3d31abede84f6e4b4e70ea255f7ded586d46d9bb6298d19c93b8856eec16c6002265ed076e52bf9a21 +EBUILD zlib-0.6.2.3.ebuild 1122 BLAKE2B a0b79bddb095d052dedec585e5f390ef8ed75361c9070ca46c06ce7fd8fdaa0e611cf6a9ee870518f32bd26e655d765e6078a729a89c9d1cda3699592b7436bb SHA512 fe9072cf981af1bea7062407a529297dbeb182bc3645a1d4b9490ccd38939b0985314f90bd9e26ab8a56e26c905984a5c3e79fd021ba046f42137af7c40be319 +EBUILD zlib-0.6.3.0.ebuild 1026 BLAKE2B f17c84228d81136c4654ecdce9fae386d931f7791f50beb3629e751383fe0dca315060ab049e3c256ed67ce89fc9403e9b4406602419d9c743eacf402e4757ca SHA512 8c64065cf6fc60058a9e30d8e9d3cab89baabfb061b3d04cc067348627f288c33f1c0652c7b8a596413900a96c3b231964bd3f6b4b09c96ec4b065c8931821c2 +MISC metadata.xml 618 BLAKE2B e0de3f68e6dfe0a4d964b9480c695904cf4cec734aee9d6ceec3da4bc566da05418fd2f7f4193e9950723463439fd39da003275c9f8199310b844eda6c7de544 SHA512 986a22a5f38235800d687f7bcf519214b1e5701280de78f70fdd83958a330880c28ba3c589adb3215488cd1799dbff8b2a9ccb4fe5b6b6155e98ff606592b86b diff --git a/dev-haskell/zlib/metadata.xml b/dev-haskell/zlib/metadata.xml index 7db31073ae41..4c34a34bede0 100644 --- a/dev-haskell/zlib/metadata.xml +++ b/dev-haskell/zlib/metadata.xml @@ -6,19 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="bundled-c-zlib">Use the bundled zlib C sources. Requires pkg-config to be False. For windows, this is the default.</flag> - <flag name="non-blocking-ffi">The (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost.</flag> + <flag name="bundled-c-zlib">Use the bundled zlib C sources. Requires pkg-config to be False. +For windows, this is the default.</flag> + <flag name="non-blocking-ffi">The (de)compression calls can sometimes take a long time, which +prevents other Haskell threads running. Enabling this flag +avoids this unfairness, but with greater overall cost.</flag> </use> - <longdescription> - This package provides a pure interface for compressing and - decompressing streams of data represented as lazy - 'ByteString's. It uses the - <https://en.wikipedia.org/wiki/Zlib 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.6.2.3.ebuild b/dev-haskell/zlib/zlib-0.6.2.3.ebuild index 529ba6325084..240d70743406 100644 --- a/dev-haskell/zlib/zlib-0.6.2.3.ebuild +++ b/dev-haskell/zlib/zlib-0.6.2.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.7.9999 #hackport: flags: +pkg-config diff --git a/dev-haskell/zlib/zlib-0.6.3.0.ebuild b/dev-haskell/zlib/zlib-0.6.3.0.ebuild new file mode 100644 index 000000000000..ecdefa14223d --- /dev/null +++ b/dev-haskell/zlib/zlib-0.6.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.2.2.9999 +#hackport: flags: +pkg-config + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compression and decompression in the gzip and zlib formats" +HOMEPAGE="https://hackage.haskell.org/package/zlib" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~ppc-macos" +IUSE="bundled-c-zlib non-blocking-ffi" + +RDEPEND=">=dev-lang/ghc-8.4.3:= + sys-libs/zlib +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + virtual/pkgconfig + test? ( >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 + >=dev-haskell/tasty-0.8 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bundled-c-zlib bundled-c-zlib) \ + $(cabal_flag non-blocking-ffi non-blocking-ffi) \ + --flag=pkg-config +} |