diff options
Diffstat (limited to 'dev-haskell')
1341 files changed, 16027 insertions, 3661 deletions
diff --git a/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild b/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild index cc53a85a9c04..0a02da239316 100644 --- a/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild +++ b/dev-haskell/abstract-deque/abstract-deque-0.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.6.9999 diff --git a/dev-haskell/abstract-par/abstract-par-0.3.3-r1.ebuild b/dev-haskell/abstract-par/abstract-par-0.3.3-r1.ebuild index e2dbcca3ddbe..d36aa894cbed 100644 --- a/dev-haskell/abstract-par/abstract-par-0.3.3-r1.ebuild +++ b/dev-haskell/abstract-par/abstract-par-0.3.3-r1.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.6.9999 diff --git a/dev-haskell/adjunctions/Manifest b/dev-haskell/adjunctions/Manifest index afe8fa6e259d..5559da4b7fad 100644 --- a/dev-haskell/adjunctions/Manifest +++ b/dev-haskell/adjunctions/Manifest @@ -1 +1,2 @@ +DIST adjunctions-4.4.2.tar.gz 17201 BLAKE2B d9951182ba124a5de173dacbc9963f16fd540df5bbc3c6bdcef78d05e6e6d59f53ec102b045d02de7a3081d4ee01e5ed0daff50146341904a229271d5125ef22 SHA512 3785268bd3971f16dc0f2517556127590e8fb87f8e2cb8dfc74c356a8496ac1f2a46115097c4750d1d92eb21f25e0beec0a248d3442da2c8f6eb9da8cc4c51e3 DIST adjunctions-4.4.tar.gz 19891 BLAKE2B 6057f990bbcea406e2c12253828c1defac8b7b1eeeff4b89054b528fcea94b80df9bc8672cfd13783aaab6864acc708d0c1428dd72800c695db5f29e7954a96e SHA512 30f4fb8a30d8428e032d322a9a627e7ebc44b2c737e87670907134a5aa6019145f2c3e6b2e7f8e00d5ffbe1ce4b4a5c812c3ee976257419d7d429b19db28918c diff --git a/dev-haskell/adjunctions/adjunctions-4.4.2.ebuild b/dev-haskell/adjunctions/adjunctions-4.4.2.ebuild new file mode 100644 index 000000000000..4c77a491faf4 --- /dev/null +++ b/dev-haskell/adjunctions/adjunctions-4.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Adjunctions and representable functors" +HOMEPAGE="https://github.com/ekmett/adjunctions/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/contravariant-1:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/distributive-0.5.1:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/free-4:=[profile?] <dev-haskell/free-6:=[profile?] + >=dev-haskell/profunctors-4:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-6:=[profile?] + >=dev-haskell/semigroups-0.11:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/void-0.5.5.1:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/generic-deriving-1.11 <dev-haskell/generic-deriving-2 + >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + ) +" diff --git a/dev-haskell/adjunctions/adjunctions-4.4.ebuild b/dev-haskell/adjunctions/adjunctions-4.4.ebuild index 5133a3e97b52..95acfc45ad33 100644 --- a/dev-haskell/adjunctions/adjunctions-4.4.ebuild +++ b/dev-haskell/adjunctions/adjunctions-4.4.ebuild @@ -36,9 +36,6 @@ DEPEND="${RDEPEND} >=dev-haskell/hspec-2 <dev-haskell/hspec-3 ) " -src_prepare() { - default - - cabal_chdeps \ - 'containers >= 0.3 && < 0.6' 'containers >= 0.3' -} +CABAL_CHDEPS=( + 'containers >= 0.3 && < 0.6' 'containers >= 0.3' +) diff --git a/dev-haskell/adjunctions/metadata.xml b/dev-haskell/adjunctions/metadata.xml index 4781a3d127c2..6f4d6e325a29 100644 --- a/dev-haskell/adjunctions/metadata.xml +++ b/dev-haskell/adjunctions/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">adjunctions</remote-id> <remote-id type="github">ekmett/adjunctions</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/aeson-pretty/Manifest b/dev-haskell/aeson-pretty/Manifest index a279351c9f2c..3ff96125c846 100644 --- a/dev-haskell/aeson-pretty/Manifest +++ b/dev-haskell/aeson-pretty/Manifest @@ -1,2 +1,3 @@ +DIST aeson-pretty-0.8.10.tar.gz 5894 BLAKE2B 11f743ec9eaf301412efdde98b7237b0445a1089532804271613fb189e9b58ceab9cf2f710ff6a9e40f9755413fb110df63f2a80449469d3d655eb684338f76b SHA512 9eb39f5d70fe841d10c4e9fcacc3b380aa2a377590e8165f11c11318f7cdacb26757713efbb2b8324b57d1d5d89a1b210094ac6ab385a4dd32a9f6591847c4ac DIST aeson-pretty-0.8.9.cabal 2549 BLAKE2B 8039fb1ab628e04e0661331860ee2340c1dde9ed971619bdceb8b31500037fa94977034e07a9b8722b7bba818bda0b9b23cc608b71084121c276bce9a7e805da SHA512 b602bd81625dfd00906dd61613c2f4446f88c3afb82a0dec960de62802f5db17d2d77895f22108660f500831d9b0f24f5709b45b0f17f98630442842954dd5b7 DIST aeson-pretty-0.8.9.tar.gz 5802 BLAKE2B 85d13676bb6f569a9df0f88a0882f493a6a2e55a74e702fa14f1d419b337f2a9f9d531de3dbd5283c80237e6fac11babf5aaba8f29aaf272ce6fc062412f1878 SHA512 00c99799cbe9e268109116f909ea0d9ef2708e578ec363ba5455b43d76d1f89bc9820dcbd3a63a1fb300460d97a71105f028f4ad9853b56ce16a097826b1d3d5 diff --git a/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild b/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild new file mode 100644 index 000000000000..4e095248d035 --- /dev/null +++ b/dev-haskell/aeson-pretty/aeson-pretty-0.8.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="JSON pretty-printing library and command-line tool" +HOMEPAGE="https://github.com/informatikr/aeson-pretty" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+executable" + +RDEPEND=">=dev-haskell/base-compat-0.9:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/unordered-containers-0.2.14.0:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/aeson-1.1:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + executable? ( >=dev-haskell/aeson-0.6:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + dev-haskell/attoparsec-aeson:=[profile?] + >=dev-haskell/cmdargs-0.7:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + if use executable; then + local lib_flag=-lib-only + else + local lib_flag=lib-only + fi + + haskell-cabal_src_configure \ + --flag="${lib_flag}" +} diff --git a/dev-haskell/aeson-pretty/metadata.xml b/dev-haskell/aeson-pretty/metadata.xml index da44aa251acf..260b34f47acb 100644 --- a/dev-haskell/aeson-pretty/metadata.xml +++ b/dev-haskell/aeson-pretty/metadata.xml @@ -6,25 +6,11 @@ <name>Gentoo Haskell</name> </maintainer> <use> + <flag name="executable">build/install the command-line tool as well as the library</flag> <flag name="lib-only">don't build 'aeson-pretty' executable.</flag> </use> - <longdescription> - A JSON pretty-printing library compatible with aeson as well as - a command-line tool to improve readabilty of streams of JSON data. - - The /library/ provides the function "encodePretty". It is a drop-in - replacement for aeson's "encode" function, producing JSON-ByteStrings for - human readers. - - The /command-line tool/ reads JSON from stdin and writes prettified JSON - to stdout. It also offers a complementary "compact"-mode, essentially the - opposite of pretty-printing. If you specify @-flib-only@ like this - - > cabal install -flib-only aeson-pretty - - the command-line tool will NOT be installed. - </longdescription> <upstream> + <remote-id type="hackage">aeson-pretty</remote-id> <remote-id type="github">informatikr/aeson-pretty</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/aeson/Manifest b/dev-haskell/aeson/Manifest index 22093d5f45ac..50aa1b5d1de5 100644 --- a/dev-haskell/aeson/Manifest +++ b/dev-haskell/aeson/Manifest @@ -1,2 +1,4 @@ DIST aeson-2.0.3.0-rev1.cabal 5867 BLAKE2B c64638d037ee4599a15c2c2c051b569649f57663312aaebc10c2a47cf2dfd834d03e8e4c909d70874737fd407f46f75744052ebe9319cde8ef56e4676115dbe0 SHA512 54b3ed453d6ec93a73d4bb639132164e1ffa698e87076577da39137ec2bb62b0c1a2f66d9412e1adad97d7d6cc32a6738e0495b0c4d312c183d7a29d01a29784 DIST aeson-2.0.3.0.tar.gz 297283 BLAKE2B e6784fd2081c56d6f2f2fb82b383478ab743fcce77568c430c2b62a79b4ee89901b7e278b1da948215215d50ef72bbdef128fb5dfb6679c92d30586d1406302e SHA512 546adaaf864ca40012a268d71f442479f0ad7c69e9f943391801570e227a2faa652494766f1f63b77c730e019e83ebdd7511426baa12792a28fbb470eca64552 +DIST aeson-2.1.2.1-rev3.cabal 6359 BLAKE2B d3e42c55def1ad014ad4d74b08385c462f6c9e5ddde40c0e248742e4123e58926a7e9fafeb3db3c1f98316bc3ce225430ec2571943c0ed50b206f6424fe5445a SHA512 2c7f2185c2c1e3506d6bc39ba096bcf9c6364b9437501c591b1accdbe081510a51bfe3a76e1fe63c40b093e263ac2eec8c4b58c31c93aed95918781e8a77b206 +DIST aeson-2.1.2.1.tar.gz 335908 BLAKE2B 73ca0e21006d68259c56313d99de897199526cd0d78f3d124d9f42e53bcd7498b3ac0abf5d1327ee64fcf29c7771186df88458a140eca21814ee4d77459b71ee SHA512 c7e3c5d61ac99b7e66a468cdcd0a20c9d0f42142b2398086aa1a3a992c60814c9d7505e4c15120fb00f0015ab1fb5592d6acdb31995e7af956f2867b95f12a40 diff --git a/dev-haskell/aeson/aeson-2.0.3.0.ebuild b/dev-haskell/aeson/aeson-2.0.3.0.ebuild index 2c9aed3a5f2a..2f374da46b2a 100644 --- a/dev-haskell/aeson/aeson-2.0.3.0.ebuild +++ b/dev-haskell/aeson/aeson-2.0.3.0.ebuild @@ -28,7 +28,7 @@ RDEPEND=">=dev-haskell/attoparsec-0.14.2:=[profile?] <dev-haskell/attoparsec-0.1 >=dev-haskell/indexed-traversable-0.1.2:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] >=dev-haskell/onetuple-0.3.1:=[profile?] <dev-haskell/onetuple-0.4:=[profile?] >=dev-haskell/primitive-0.7.3.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] - >=dev-haskell/quickcheck-2.14.2:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/quickcheck-2.14.2:=[profile?] <dev-haskell/quickcheck-2.15:=[profile?] >=dev-haskell/scientific-0.3.7.0:=[profile?] <dev-haskell/scientific-0.4:=[profile?] >=dev-haskell/semialign-1.2:=[profile?] <dev-haskell/semialign-1.3:=[profile?] >=dev-haskell/strict-0.4:=[profile?] <dev-haskell/strict-0.5:=[profile?] diff --git a/dev-haskell/aeson/aeson-2.1.2.1.ebuild b/dev-haskell/aeson/aeson-2.1.2.1.ebuild new file mode 100644 index 000000000000..7d33c94268c2 --- /dev/null +++ b/dev-haskell/aeson/aeson-2.1.2.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 +#hackport: flags: -developer,-bytestring-builder,-fast + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast JSON parsing and encoding" +HOMEPAGE="https://github.com/haskell/aeson" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="cffi +ordered-keymap" + +RESTRICT=test # one test case fails + +RDEPEND=" + >=dev-haskell/attoparsec-0.14.2:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base-compat-batteries-0.10.0:=[profile?] <dev-haskell/base-compat-batteries-0.14:=[profile?] + >=dev-haskell/data-fix-0.3.2:=[profile?] <dev-haskell/data-fix-0.4:=[profile?] + >=dev-haskell/dlist-0.8.0.4:=[profile?] <dev-haskell/dlist-1.1:=[profile?] + >=dev-haskell/generically-0.1:=[profile?] <dev-haskell/generically-0.2:=[profile?] + >=dev-haskell/hashable-1.3.5.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/indexed-traversable-0.1.2:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/onetuple-0.3.1:=[profile?] <dev-haskell/onetuple-0.5:=[profile?] + >=dev-haskell/primitive-0.7.3.0:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/quickcheck-2.14.2:=[profile?] <dev-haskell/quickcheck-2.15:=[profile?] + >=dev-haskell/scientific-0.3.7.0:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/semialign-1.2:=[profile?] <dev-haskell/semialign-1.4:=[profile?] + >=dev-haskell/strict-0.4:=[profile?] <dev-haskell/strict-0.6:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/text-short-0.1.5:=[profile?] <dev-haskell/text-short-0.2:=[profile?] + >=dev-haskell/th-abstraction-0.3.0.0:=[profile?] <dev-haskell/th-abstraction-0.6:=[profile?] + >=dev-haskell/these-1.1.1.1:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/time-compat-1.9.6:=[profile?] <dev-haskell/time-compat-1.10:=[profile?] + >=dev-haskell/unordered-containers-0.2.10.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/uuid-types-1.0.5:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?] + >=dev-haskell/vector-0.12.0.1:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-haskell/witherable-0.4.2:=[profile?] <dev-haskell/witherable-0.5:=[profile?] + >=dev-lang/ghc-8.10.1:= + || ( + ( >=dev-haskell/text-1.2.3.0 <dev-haskell/text-1.3 ) + ( >=dev-haskell/text-2.0 <dev-haskell/text-2.1 ) + ) + dev-haskell/text:=[profile?] + cffi? ( + <dev-haskell/text-2.0:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( + dev-haskell/base-compat + >=dev-haskell/base-orphans-0.5.3 <dev-haskell/base-orphans-0.10 + dev-haskell/base16-bytestring + >=dev-haskell/diff-0.4 <dev-haskell/diff-0.5 + >=dev-haskell/generic-deriving-1.10 <dev-haskell/generic-deriving-1.15 + >=dev-haskell/integer-logarithms-1 <dev-haskell/integer-logarithms-1.1 + >=dev-haskell/quickcheck-instances-0.3.29 <dev-haskell/quickcheck-instances-0.4 + dev-haskell/tasty + dev-haskell/tasty-golden + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-bytestring-builder \ + $(cabal_flag cffi cffi) \ + --flag=-developer \ + --flag=-fast \ + $(cabal_flag ordered-keymap ordered-keymap) +} diff --git a/dev-haskell/aeson/metadata.xml b/dev-haskell/aeson/metadata.xml index ce851fc40679..91c30329a7a5 100644 --- a/dev-haskell/aeson/metadata.xml +++ b/dev-haskell/aeson/metadata.xml @@ -9,4 +9,8 @@ <flag name="cffi">Controls whether to include c-ffi bits or pure haskell. Default to False for security.</flag> <flag name="ordered-keymap">Use ordered @Data.Map.Strict@ for KeyMap implementation.</flag> </use> + <upstream> + <remote-id type="hackage">aeson</remote-id> + <remote-id type="github">haskell/aeson</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/alex/Manifest b/dev-haskell/alex/Manifest index dcdb4731bb94..7171c96ded47 100644 --- a/dev-haskell/alex/Manifest +++ b/dev-haskell/alex/Manifest @@ -1 +1,3 @@ +DIST alex-13732056ff8d287f2ee0c4ecb968efe04516c890.tar.gz 103395 BLAKE2B 1254655ec480fe648238df6864d9623f0128bcdbcfca22f5b63e85b24183ece5e21ae8dc5e1a26c5f511233c420a33dc19a6fcbc2824ae56043ba75fc38e5d49 SHA512 5c7e9e0633ea4536fb4be981c123d42bc3ac035732ad5cb88d9f9b38199d13f7ef211f4e2f1fc475490019461bb56eafb702c3b4c61417dd1cc6c555c1a436d2 DIST alex-3.2.7.1.tar.gz 108229 BLAKE2B 1c1c3488c6e0f559003de5edc1250afdd09098eb4da3414d8c461d03ee5f08b94f80e6f6d32366f6d8d0563a068ee8b2a1c9cb7b78bbbf0a1dcf3767ea448ffd SHA512 f8ff12de874b905449fdda0d704f9e4ac30fa3e60e965f82d7bb2d6e3974cf926f85134d32878c48faf0ec4a002ea7240cf6696e1cbcad25a0eebb9d1850cc07 +DIST alex-3.2.7.2.tar.gz 85450 BLAKE2B fcb752b24b475e5502b686dec717f613c7fbda8eeb3583f4807e419960479ddaea0e578e7ab81974e480ad9ecf59d8a0bf94341da72d247221e9d2905206641f SHA512 925c652883a12c3d271b212d1a83df15e98b3c8b5a70aecc91786db601101f9544722a04969bc4d84265910c1994cfb79fc6d50aa01a04604c4bb11735513a58 diff --git a/dev-haskell/alex/alex-3.2.7.2.ebuild b/dev-haskell/alex/alex-3.2.7.2.ebuild new file mode 100644 index 000000000000..0b2e45036a1b --- /dev/null +++ b/dev-haskell/alex/alex-3.2.7.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 +#hackport: flags: +small_base + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="Alex is a tool for generating lexical analysers in Haskell" +HOMEPAGE="https://www.haskell.org/alex/" + +GIT_REPO="https://github.com/haskell/${PN}" +GIT_COMMIT="13732056ff8d287f2ee0c4ecb968efe04516c890" +GIT_P="${PN}-${GIT_COMMIT}" +GIT_S="${WORKDIR}/${GIT_P}" +SRC_URI+=" doc? ( + ${GIT_REPO}/archive/${GIT_COMMIT}.tar.gz -> ${GIT_P}.tar.gz +)" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + doc? ( + dev-python/sphinx + dev-python/sphinx-rtd-theme + ) +" +src_prepare() { + if use doc; then + cp -a "${GIT_S}/doc/" "${S}" || die + eapply "${FILESDIR}/${PN}-3.2.7.2-fix-docs.patch" + fi + + haskell-cabal_src_prepare +} + +src_configure() { + # make sure we don't accidentally use those + # installed in system + haskell-cabal_src_configure \ + --with-alex=false \ + --with-happy=false \ + --flag=small_base +} + +src_compile() { + haskell-cabal_src_compile + + if use doc; then + emake -C "${S}/doc/" -j1 + fi +} + +src_test() { + # 1. workaround Setup.hs deadlock: https://github.com/haskell/cabal/issues/2398 + # 2. use freshly built ALEX= binary and datadir path + alex_datadir="${S}"/data \ + emake -k -C tests all ALEX="${S}"/dist/build/alex/alex +} + +src_install() { + haskell-cabal_src_install + + if use doc; then + dodoc -r "${S}/doc/_build/html" + fi +} diff --git a/dev-haskell/alex/files/alex-3.2.7.2-fix-docs.patch b/dev-haskell/alex/files/alex-3.2.7.2-fix-docs.patch new file mode 100644 index 000000000000..2ed25658754d --- /dev/null +++ b/dev-haskell/alex/files/alex-3.2.7.2-fix-docs.patch @@ -0,0 +1,46 @@ +From e461c3b0935a05a169aa22a1b113c08f8989eea6 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Sat, 8 Apr 2023 12:18:36 -0600 +Subject: [PATCH 1/1] Fix documentation + +contributing.rst refers to a non-existant 'bug-fixes' doc + +conf.py refers to non-existant '_static' directory + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + doc/conf.py | 2 +- + doc/contributing.rst | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/conf.py b/doc/conf.py +index ea3862d..718b0e6 100644 +--- a/doc/conf.py ++++ b/doc/conf.py +@@ -49,7 +49,7 @@ html_theme = 'sphinx_rtd_theme' + # Add any paths that contain custom static files (such as style sheets) here, + # relative to this directory. They are copied after the builtin static files, + # so a file named "default.css" will overwrite the builtin "default.css". +-html_static_path = ['_static'] ++#html_static_path = ['_static'] + + # The name of the Pygments (syntax highlighting) style to use. + pygments_style = 'sphinx' +diff --git a/doc/contributing.rst b/doc/contributing.rst +index 6df2865..e889b90 100644 +--- a/doc/contributing.rst ++++ b/doc/contributing.rst +@@ -8,8 +8,8 @@ Contributing to Alex + Source Code Repository + ---------------------- + +-Alex is hosted on `GitHub <https://github.com/haskell/alex>`__. +-As previously discussed in `bug-reports`_, we use the built-in `GitHub issue tracker <https://github.com/haskell/alex/issues>`__ for Alex. ++Alex is hosted on `GitHub <https://github.com/haskell/alex>`__, ++and we use the built-in `GitHub issue tracker <https://github.com/haskell/alex/issues>`__ for Alex. + We also use `GitHub pull requests <https://github.com/haskell/alex/pulls>`__ for managing changes; + feel free to submit them! + +-- +2.39.2 + diff --git a/dev-haskell/alex/metadata.xml b/dev-haskell/alex/metadata.xml index 937381521944..fc9c458f8018 100644 --- a/dev-haskell/alex/metadata.xml +++ b/dev-haskell/alex/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">alex</remote-id> + <remote-id type="github">haskell/alex</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/alsa-core/alsa-core-0.5.0.1-r2.ebuild b/dev-haskell/alsa-core/alsa-core-0.5.0.1-r2.ebuild index 5d9fd54b1d80..f57ca6381068 100644 --- a/dev-haskell/alsa-core/alsa-core-0.5.0.1-r2.ebuild +++ b/dev-haskell/alsa-core/alsa-core-0.5.0.1-r2.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.6.9999 #hackport: flags: +pkgconfig diff --git a/dev-haskell/alsa-mixer/alsa-mixer-0.3.0.ebuild b/dev-haskell/alsa-mixer/alsa-mixer-0.3.0.ebuild index 41972621fa70..4e541f9e442e 100644 --- a/dev-haskell/alsa-mixer/alsa-mixer-0.3.0.ebuild +++ b/dev-haskell/alsa-mixer/alsa-mixer-0.3.0.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.5.6.9999 diff --git a/dev-haskell/ansi-terminal-types/Manifest b/dev-haskell/ansi-terminal-types/Manifest new file mode 100644 index 000000000000..19ceb2e07a54 --- /dev/null +++ b/dev-haskell/ansi-terminal-types/Manifest @@ -0,0 +1,2 @@ +DIST ansi-terminal-types-0.11.5-rev1.cabal 1482 BLAKE2B a15dd696455d69c5685db41bfe48ecd9eceeecad0b84616a891202bd5ae4c3db6dc659343a522a785ad98a781d0689be9ea5f5dfa2109d117f8e1a238dcfe553 SHA512 ac36e6d542d70cfc440fcb675c3139879b480a2197559e3bb2b2f6d927370d8cfbc21d9005bca4d87b05ecd0c7c631fd1a941760f0b2d0151dd31d1bc93f48d1 +DIST ansi-terminal-types-0.11.5.tar.gz 4660 BLAKE2B 99acf20cead2bca1c293ed4ce9b89f8516416cfb6323d75c67c1f794e3ee04b2ed5783f324485903ce4f36542424412618de5c124f518d2dd3a272a5de3560be SHA512 a37ef258985f9979c0abcc5187cbccea3629b7c74ab52d57f61d0a1c6e4ea5a5bb5d1bcb5176ea5115afa55b6c6f09b75ad918a41b9c1420684845b8928ec070 diff --git a/dev-haskell/ansi-terminal-types/ansi-terminal-types-0.11.5.ebuild b/dev-haskell/ansi-terminal-types/ansi-terminal-types-0.11.5.ebuild new file mode 100644 index 000000000000..e49b0cb4383a --- /dev/null +++ b/dev-haskell/ansi-terminal-types/ansi-terminal-types-0.11.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Types and functions used to represent SGR aspects" +HOMEPAGE="https://github.com/UnkindPartition/ansi-terminal" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/colour-2.1.0:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/ansi-terminal-types/metadata.xml b/dev-haskell/ansi-terminal-types/metadata.xml new file mode 100644 index 000000000000..c3b2a8511d2b --- /dev/null +++ b/dev-haskell/ansi-terminal-types/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">ansi-terminal-types</remote-id> + <remote-id type="github">UnkindPartition/ansi-terminal</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/ansi-terminal/Manifest b/dev-haskell/ansi-terminal/Manifest index 6cf12dfd24d7..4e5302074e32 100644 --- a/dev-haskell/ansi-terminal/Manifest +++ b/dev-haskell/ansi-terminal/Manifest @@ -1 +1,2 @@ DIST ansi-terminal-0.10.3.tar.gz 35863 BLAKE2B 8535a0dcfbf4287abee8c52cd951d155c30b8a2de73a4799ad51e093ff4651fd2bcc771a61627c143f2f48b7cc66e9bb125166be1b13d2d51bcdf1d1666450ee SHA512 231dfaaef2e7b1fb40a0e63bcdce984f914dd0c17af90bc2415c127d503dc438d1952dadfbb524f9ae83d872b30a353d875dda74eb492536cf8953c1e4224187 +DIST ansi-terminal-1.0.tar.gz 31745 BLAKE2B 8abca65206e9999ec18823da827466065d16d9f99f37310f852cde29159e3819b2bb9e3c64878271bd9412cf5377afc925267b372960627dad57cc70f6ef4037 SHA512 008b8d96b9ef128124aa094d5043ffbc4364a7441850ba98da620ab4dc5df8540736dc9f92abbe9097ee96a5f592723e5b14f9bbaa1ddfecf3af36cd46311b82 diff --git a/dev-haskell/ansi-terminal/ansi-terminal-0.10.3.ebuild b/dev-haskell/ansi-terminal/ansi-terminal-0.10.3.ebuild index d29fbdf262fa..afe703125486 100644 --- a/dev-haskell/ansi-terminal/ansi-terminal-0.10.3.ebuild +++ b/dev-haskell/ansi-terminal/ansi-terminal-0.10.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.4 diff --git a/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild b/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild new file mode 100644 index 000000000000..f540c0412d3c --- /dev/null +++ b/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: -win32-2-13-1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simple ANSI terminal support" +HOMEPAGE="https://github.com/UnkindPartition/ansi-terminal" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="example" + +RDEPEND=" + ~dev-haskell/ansi-terminal-types-0.11.5:=[profile?] + >=dev-haskell/colour-2.1.0:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag example example) \ + --flag=-win32-2-13-1 +} diff --git a/dev-haskell/ansi-terminal/metadata.xml b/dev-haskell/ansi-terminal/metadata.xml index ba5b44f0dc4b..ae4ef182c883 100644 --- a/dev-haskell/ansi-terminal/metadata.xml +++ b/dev-haskell/ansi-terminal/metadata.xml @@ -5,14 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - ANSI terminal support for Haskell: allows cursor movement, screen clearing, color output showing or hiding the cursor, and - changing the title. Compatible with Windows and those Unixes with ANSI terminals, but only GHC is supported as a compiler. - </longdescription> <use> - <flag name="example">Build the example application.</flag> + <flag name="example">Build the example application</flag> </use> <upstream> + <remote-id type="hackage">ansi-terminal</remote-id> <remote-id type="github">UnkindPartition/ansi-terminal</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/ansi-wl-pprint/Manifest b/dev-haskell/ansi-wl-pprint/Manifest index c7d7aa671433..176387badfc5 100644 --- a/dev-haskell/ansi-wl-pprint/Manifest +++ b/dev-haskell/ansi-wl-pprint/Manifest @@ -1,2 +1,3 @@ DIST ansi-wl-pprint-0.6.9-rev3.cabal 2425 BLAKE2B ea9e5f58811e8ffcda756b73c8ef5c7507fc25ce183b4a6fa3872d703752a74ad8de63376b900d6b61b077be0af9099b2b3da3240b7267ae2f72bcd50d412e22 SHA512 f7af7c4adcf43ffa199bb71828442e9b99eecb1450ff966771ee0f3b9b249cb20e7d2a70d1c54955b2f162a1acf0b6912f7cee09f00686da31b6522f501c05bf DIST ansi-wl-pprint-0.6.9.tar.gz 16723 BLAKE2B c0ddfa0651ab8bc008546d3c5520cb85c3e7d7c676c634e89978de0a4e3d2927e4bce6337306b0d0d5821af3d0202eafea48e203c298e707b6b82b8a5c6404e6 SHA512 2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04 +DIST ansi-wl-pprint-1.0.2.tar.gz 5699 BLAKE2B cd644c9a0cfc3d99470b3755e159b60faf4433132701aac9746425c38e40fc16c0fcf5405ebb05ed972e49194d90abbb0bb90a41bcdefc217e8664646964432e SHA512 2b6db1f25b180f53f2a81d2658d36f91d7b112aa242709e0693712ea6974cb0790ea56789678e714cd572ea226f2803484af572ae6fc7c4dc84536020701e3ac diff --git a/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild b/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild new file mode 100644 index 000000000000..98c3fd2836cc --- /dev/null +++ b/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: example:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="The Wadler/Leijen Pretty Printer for colored ANSI terminal output" +HOMEPAGE="https://github.com/ekmett/ansi-wl-pprint" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-haskell/prettyprinter-compat-ansi-wl-pprint-1.0.2:=[profile?] <dev-haskell/prettyprinter-compat-ansi-wl-pprint-1.0.3:=[profile?] + >=dev-lang/ghc-8.10.6:= + examples? ( + dev-haskell/ansi-terminal:=[profile?] + dev-haskell/prettyprinter:=[profile?] + dev-haskell/prettyprinter-ansi-terminal:=[profile?] + dev-haskell/text:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples example) +} diff --git a/dev-haskell/ansi-wl-pprint/metadata.xml b/dev-haskell/ansi-wl-pprint/metadata.xml index d1af4cd455a5..65ffa89968bc 100644 --- a/dev-haskell/ansi-wl-pprint/metadata.xml +++ b/dev-haskell/ansi-wl-pprint/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This is a pretty printing library based on Wadler's paper "A Prettier Printer". It has been enhanced with support for ANSI terminal colored output using the ansi-terminal package. - </longdescription> <upstream> - <remote-id type="github">batterseapower/ansi-wl-pprint</remote-id> + <remote-id type="hackage">ansi-wl-pprint</remote-id> + <remote-id type="github">ekmett/ansi-wl-pprint</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/appar/appar-0.1.8.ebuild b/dev-haskell/appar/appar-0.1.8.ebuild index 638221c8dd66..24b4ad8aa020 100644 --- a/dev-haskell/appar/appar-0.1.8.ebuild +++ b/dev-haskell/appar/appar-0.1.8.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.1.9999 diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.9.6.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.9.6.ebuild index a31e8c57183f..0c343d8d18e9 100644 --- a/dev-haskell/asn1-encoding/asn1-encoding-0.9.6.ebuild +++ b/dev-haskell/asn1-encoding/asn1-encoding-0.9.6.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.1.9999 diff --git a/dev-haskell/asn1-parse/asn1-parse-0.9.5.ebuild b/dev-haskell/asn1-parse/asn1-parse-0.9.5.ebuild index a769d87be2c2..c23dee5ce33e 100644 --- a/dev-haskell/asn1-parse/asn1-parse-0.9.5.ebuild +++ b/dev-haskell/asn1-parse/asn1-parse-0.9.5.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.1.9999 diff --git a/dev-haskell/asn1-types/Manifest b/dev-haskell/asn1-types/Manifest index 0c9f6a0fa01a..28fbedd10480 100644 --- a/dev-haskell/asn1-types/Manifest +++ b/dev-haskell/asn1-types/Manifest @@ -1 +1,2 @@ DIST asn1-types-0.3.3.tar.gz 6478 BLAKE2B 3ed6229e8eb1215e47dbbe6791598744ab99a8613c3c5401a504a88f84d9ed82170b2372a19935458d619eb28d9e633d3d5cec324c453b5b67e50a95af2b730b SHA512 d83fca6d585103f7d112a314bfa4da98bf055cbc7541b55717db6260295fcb7dd96d1ac9a25e39ea31881f1a8454d19ed004d59f3c20118b26ef155a99ec5278 +DIST asn1-types-0.3.4.tar.gz 6472 BLAKE2B 429381cd73b1ce99f0ca73f95d767eed6b0286cde2c95605427547eaa7cd81a72fa1c72cfb562dcb253f3acb15c71a445e516d6901436c3eabc643353b1a5807 SHA512 0c2b76f134a77da65ecaa797d92b2ee273a72e9bd4467d354012c2b584216cdf2084974393fa4b850207720a3e0801d4a5af5f15137574ff1d7a341c5014184d diff --git a/dev-haskell/asn1-types/asn1-types-0.3.3.ebuild b/dev-haskell/asn1-types/asn1-types-0.3.3.ebuild index 0d6e0d374dd0..83b3ca1d397b 100644 --- a/dev-haskell/asn1-types/asn1-types-0.3.3.ebuild +++ b/dev-haskell/asn1-types/asn1-types-0.3.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.9999 diff --git a/dev-haskell/asn1-types/asn1-types-0.3.4.ebuild b/dev-haskell/asn1-types/asn1-types-0.3.4.ebuild new file mode 100644 index 000000000000..5f7ea1e863d3 --- /dev/null +++ b/dev-haskell/asn1-types/asn1-types-0.3.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.6.4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="ASN.1 types" +HOMEPAGE="https://github.com/vincenthz/hs-asn1" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND="dev-haskell/hourglass:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/assoc/Manifest b/dev-haskell/assoc/Manifest index 879db362a7fe..e17310607d2b 100644 --- a/dev-haskell/assoc/Manifest +++ b/dev-haskell/assoc/Manifest @@ -1 +1,2 @@ DIST assoc-1.0.2.tar.gz 3047 BLAKE2B 07f409ce555ac5f041d83db94829638e00ec50175499d42263f19570bc9f58788522ba4edc058450e90912b75aa21f7bfbdcd054cd5025a4aa0cb88b74020c9d SHA512 20fd0056dcc2dff9504e090be5c2ef27692a795133620e60b9382cfdfbaf26d1019617acf48f0f762e22d699068bc4dbd35a714177ce3a36761c0065708b9168 +DIST assoc-1.1.tar.gz 3193 BLAKE2B fd5a68cc7040a48c7a5c4b8e3e525d92dff9e3f3a03b0fa8b3e7eada2aafbaf92a0fbed671935b3192b8a5b3a5a8e903be63715ceecca7fb6d00c80adfabd251 SHA512 1ce6f3ca4ce9de3457b07ef995ec1819b0013bf90ee20c97ef7152b164c6751ea7f435ae28e4b55e9976ffa720aed7e2491daf5254480dd4b980e23d3420e9bb diff --git a/dev-haskell/assoc/assoc-1.0.2.ebuild b/dev-haskell/assoc/assoc-1.0.2.ebuild index adf5b83b7ab2..78322c8ab38b 100644 --- a/dev-haskell/assoc/assoc-1.0.2.ebuild +++ b/dev-haskell/assoc/assoc-1.0.2.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.6.9999 @@ -25,9 +25,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.12 " -src_prepare() { - default - cabal_chdeps \ - 'base >=4.3 && <4.15' 'base >=4.3' - eapply_user -} +CABAL_CHDEPS=( + 'base >=4.3 && <4.15' 'base >=4.3' +) diff --git a/dev-haskell/assoc/assoc-1.1.ebuild b/dev-haskell/assoc/assoc-1.1.ebuild new file mode 100644 index 000000000000..da591fd067ca --- /dev/null +++ b/dev-haskell/assoc/assoc-1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="swap and assoc: Symmetric and Semigroupy Bifunctors" +HOMEPAGE="https://hackage.haskell.org/package/assoc" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+tagged" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= + tagged? ( + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag tagged tagged) +} diff --git a/dev-haskell/assoc/metadata.xml b/dev-haskell/assoc/metadata.xml index 937381521944..36be56b76ead 100644 --- a/dev-haskell/assoc/metadata.xml +++ b/dev-haskell/assoc/metadata.xml @@ -5,4 +5,13 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <use> + <flag name="tagged">You can disable the use of the `tagged` package using `-f-tagged`. + +Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.</flag> + </use> + <upstream> + <remote-id type="hackage">assoc</remote-id> + <remote-id type="github">phadej/assoc</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/async/Manifest b/dev-haskell/async/Manifest index 985278d315c7..55c58a488c27 100644 --- a/dev-haskell/async/Manifest +++ b/dev-haskell/async/Manifest @@ -1,2 +1,2 @@ -DIST async-2.2.4.cabal 3095 BLAKE2B cb0491c2fa792c794308485031c8cb876b596f37f06bc53eb824eb09d83f539d315b1e5a49478fef5282609ab755c22442051684dda79e94dc02bca7cb2c5824 SHA512 a19d1ce77902377fe6afc24c10002ef539d21fb402cf245e0816a67086c2a13b0b2e7b984e054a6b846f2acbcbd0fd942819e381e8ff29ba995757cbf8d8aa8f +DIST async-2.2.4-rev3.cabal 3112 BLAKE2B f6ba4c03655f37c60e45a5033b7d5a5c229e7db42544e9a960068d9c8852b1731f9907f7df2e554b3e461e1aba49cc8569eb74dda34b7b7874959165c3e86d05 SHA512 607f99484695767eb69b8650247cc6ca9a9d5e74eafa81d42dc01aa735dd2e6eec3021fbc232cafc4573e630f981ab31e090c6de04b99e2f0d450ea664dca3ea DIST async-2.2.4.tar.gz 14148 BLAKE2B c47e47a4bbe98d05bdd6b8ad89888013643f36ea5ede8af306b98749cec3cf9c3e87330339af4152cf7e84f5b9ced39c1eb69079921d4c0b7c993191bc052c2d SHA512 24f37f974dd7573138475d04c0fccb97fcbd8b3de56f7d06199b8f936fd9a29cd0ba0574212a753a81de8958b3292ecee79d0e8d0d2f51eb91874424e6219569 diff --git a/dev-haskell/async/async-2.2.4-r1.ebuild b/dev-haskell/async/async-2.2.4-r1.ebuild new file mode 100644 index 000000000000..2b522272e173 --- /dev/null +++ b/dev-haskell/async/async-2.2.4-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 +#hackport: flags: -bench + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Run IO operations asynchronously and wait for their results" +HOMEPAGE="https://github.com/simonmar/async" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/hashable-1.1.2.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/hunit + dev-haskell/test-framework + dev-haskell/test-framework-hunit + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-bench +} diff --git a/dev-haskell/async/async-2.2.4.ebuild b/dev-haskell/async/async-2.2.4.ebuild deleted file mode 100644 index ef5fdcf7a9fd..000000000000 --- a/dev-haskell/async/async-2.2.4.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# ebuild generated by hackport 0.7.1.1.9999 -#hackport: flags: -bench - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -CABAL_HACKAGE_REVISION="1" -inherit haskell-cabal - -DESCRIPTION="Run IO operations asynchronously and wait for their results" -HOMEPAGE="https://github.com/simonmar/async" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz - https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal -> ${PF}.cabal" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=">=dev-haskell/hashable-1.1.2.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-haskell/stm-2.2:=[profile?] <dev-haskell/stm-2.6:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( dev-haskell/hunit - dev-haskell/test-framework - dev-haskell/test-framework-hunit ) -" -BDEPEND="app-text/dos2unix" - -src_prepare() { - # pull revised cabal from upstream - cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die - - # Convert to unix line endings - dos2unix "${S}/${PN}.cabal" || die - - # Apply patches *after* pulling the revised cabal - default -} - -src_configure() { - haskell-cabal_src_configure \ - --flag=-bench -} diff --git a/dev-haskell/async/metadata.xml b/dev-haskell/async/metadata.xml index e34a2487ed0f..fadb019c43bb 100644 --- a/dev-haskell/async/metadata.xml +++ b/dev-haskell/async/metadata.xml @@ -3,51 +3,10 @@ <pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides a higher-level interface over - threads, in which an @Async a@ is a concurrent - thread that will eventually deliver a value of - type @a@. The package provides ways to create - @Async@ computations, wait for their results, and - cancel them. - - Using @Async@ is safer than using threads in two - ways: - - * When waiting for a thread to return a result, - if the thread dies with an exception then the - caller must either re-throw the exception - ('wait') or handle it ('waitCatch'); the - exception cannot be ignored. - - * The API makes it possible to build a tree of - threads that are automatically killed when - their parent dies (see 'withAsync'). - - Changes in 2.0.1.3: - - * Bump @base@ dependency to allow 4.6 - - Changes in 2.0.1.2: - - * Bump @stm@ dependency to 2.4 - - Changes in 2.0.1.1: - - * Safe Haskell support: @Control.Concurrent.Async@ is now @Trustworthy@ - - Changes in 2.0.1.0: - - * Added a @Functor@ instance for @Async@ - - * Added @asyncBound@, @asyncOn@, @asyncWithUnmask@, @asyncOnWithUnmask@, @withAsyncBound@, @withAsyncOn@, @withAsyncWithUnmask@, @withAsyncOnWithUnmask@. - - * Added @mapConcurrently@ - - * Added @Concurrently@ (with @Applicative@ and @Alternative@ instances) - </longdescription> <upstream> + <remote-id type="hackage">async</remote-id> <remote-id type="github">simonmar/async</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/attoparsec-aeson/Manifest b/dev-haskell/attoparsec-aeson/Manifest new file mode 100644 index 000000000000..ef6b1a022ecf --- /dev/null +++ b/dev-haskell/attoparsec-aeson/Manifest @@ -0,0 +1 @@ +DIST attoparsec-aeson-2.1.0.0.tar.gz 1484 BLAKE2B 11f65f27998f854c620f6fd196c2965d098427a81868fdd6aeb8654afb7e6489c5948b29a56946abfd7a24255a4a0dd15ee317e59e6a3e651f7b6d702a17f638 SHA512 9923fa28399257a79a52ae027ff839bf7c4f9c30560790064ffc42fd372a611d55a7f3630cf094825637cf32c7dff18a8ad02294a5c811e445cfee0a1197dd58 diff --git a/dev-haskell/attoparsec-aeson/attoparsec-aeson-2.1.0.0.ebuild b/dev-haskell/attoparsec-aeson/attoparsec-aeson-2.1.0.0.ebuild new file mode 100644 index 000000000000..e84b4ba3d3fd --- /dev/null +++ b/dev-haskell/attoparsec-aeson/attoparsec-aeson-2.1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Parsing of aeson's Value with attoparsec" +HOMEPAGE="https://github.com/haskell/aeson" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.4.1.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/attoparsec-aeson/metadata.xml b/dev-haskell/attoparsec-aeson/metadata.xml new file mode 100644 index 000000000000..d1697fabc99e --- /dev/null +++ b/dev-haskell/attoparsec-aeson/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">attoparsec-aeson</remote-id> + <remote-id type="github">haskell/aeson</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/attoparsec-iso8601/Manifest b/dev-haskell/attoparsec-iso8601/Manifest index 4c111e966115..b663c7854dcd 100644 --- a/dev-haskell/attoparsec-iso8601/Manifest +++ b/dev-haskell/attoparsec-iso8601/Manifest @@ -1 +1,3 @@ DIST attoparsec-iso8601-1.0.2.1.tar.gz 4457 BLAKE2B f613d95643c53cc01061e0ee88c1bc42a05d3b9d5f60993b1a3744b09ff74a2d039bd5c75e23696ba0c6953227dd9bcd47cbdd4be719448698cfb9774b8600a6 SHA512 7be279057d0338c5825f5a9d578df23364325e274334d0cca37a4cba6a3a626202994fa284f529b08c3e1067278f6a1fbabbcaf2769a845efdaa05605ed4a6e0 +DIST attoparsec-iso8601-1.1.0.0-rev1.cabal 1402 BLAKE2B c039631ec6d84035997dd470a9e57b834ca2708cc3b05c52bf0aed2cd62c79ba4adadb5283f7228134b8e23c98f9124c9a7fb201f77ce02e748788182e2d6c92 SHA512 551b71c88fb410d84bd284818c7882850a6916eb3ddb63eb8e1cec7bd1181275241f1f502ad59bf07eb07c39662fed5a2edade0ec83e9580791d044afd2d8477 +DIST attoparsec-iso8601-1.1.0.0.tar.gz 5564 BLAKE2B 8e4a5e43e38f5c9f1f052b4c9d25988d70c2b2b23a0a9d7df2d1158c8fe6e3c64a5453ff6b053301352816593a4c2f441723f1da826a64e9c346b3d99c7dd8bf SHA512 4613c2e1b492c4ebf30d1788e8b067592e507e226bd85caacc1844d5a486c1b9c8727117e426763122836205b7341b8603ac15566facd3f0338b55e784f4dfe0 diff --git a/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.1.0.0-r1.ebuild b/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.1.0.0-r1.ebuild new file mode 100644 index 000000000000..9b0f0f390a57 --- /dev/null +++ b/dev-haskell/attoparsec-iso8601/attoparsec-iso8601-1.1.0.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Parsing of ISO 8601 dates, originally from aeson" +HOMEPAGE="https://github.com/haskell/aeson" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/attoparsec-0.14.2:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base-compat-batteries-0.10.0:=[profile?] <dev-haskell/base-compat-batteries-0.14:=[profile?] + >=dev-haskell/time-compat-1.9.4:=[profile?] <dev-haskell/time-compat-1.10:=[profile?] + >=dev-lang/ghc-8.8.1:= + || ( + ( >=dev-haskell/text-1.2.3.0 <dev-haskell/text-1.3.0.0 ) + ( >=dev-haskell/text-2.0 <dev-haskell/text-2.1 ) + ) + dev-haskell/text:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/attoparsec-iso8601/metadata.xml b/dev-haskell/attoparsec-iso8601/metadata.xml index 937381521944..9623d88b74f5 100644 --- a/dev-haskell/attoparsec-iso8601/metadata.xml +++ b/dev-haskell/attoparsec-iso8601/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">attoparsec-iso8601</remote-id> + <remote-id type="github">haskell/aeson</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/attoparsec/Manifest b/dev-haskell/attoparsec/Manifest index 356b98b135f3..878932895f29 100644 --- a/dev-haskell/attoparsec/Manifest +++ b/dev-haskell/attoparsec/Manifest @@ -1 +1,2 @@ +DIST attoparsec-0.14.4-rev4.cabal 5679 BLAKE2B d03ea52e19bc1e07da35f298245e613040f26d45b63322bc7995566802f71ec9d8aca05d96abc0585e06006053413abe5e58590bcd4fbfe1b13583d8e80788d3 SHA512 b879016ea2ff3ebb7b92d39282d48735d2d063ca94dc7cb6552a4d34607afe778876771911c844bd88cad6065aeb2ab85b7e41bbc8d4f1fe9de205af1a77db56 DIST attoparsec-0.14.4.tar.gz 160701 BLAKE2B eb7094b0e1b064f5b10c198950b33a085722ee22bd6f0036c8e53aa5475f1b40fe08d528ec3afd547b13cd5712a51e5bcb86a8465a59174a35d603b3f9c13a0a SHA512 48aa7743b24def2db7041e3e0189d9844194c42b5d216ff5060806a80eb550200ddcb11e9321a910ac4881ffdd7381d80a4b88a73acfb29209c650eababb925b diff --git a/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild b/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild new file mode 100644 index 000000000000..0ea6ec5604e8 --- /dev/null +++ b/dev-haskell/attoparsec/attoparsec-0.14.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -developer + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast combinator parsing for bytestrings and text" +HOMEPAGE="https://github.com/bgamari/attoparsec" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/scientific-0.3.1:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/quickcheck-2.13.2 <dev-haskell/quickcheck-2.15 + dev-haskell/quickcheck-unicode + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-quickcheck-0.8 + dev-haskell/vector + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-developer +} diff --git a/dev-haskell/attoparsec/metadata.xml b/dev-haskell/attoparsec/metadata.xml index c6df28c11857..90b0090fc01f 100644 --- a/dev-haskell/attoparsec/metadata.xml +++ b/dev-haskell/attoparsec/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A fast parser combinator library, aimed particularly at dealing - efficiently with network protocols and complicated text/binary - file formats. - </longdescription> <upstream> - <remote-id type="github">bos/attoparsec</remote-id> + <remote-id type="hackage">attoparsec</remote-id> + <remote-id type="github">bgamari/attoparsec</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/auto-update/auto-update-0.1.6.ebuild b/dev-haskell/auto-update/auto-update-0.1.6.ebuild index f841a94a334f..6fdca292797a 100644 --- a/dev-haskell/auto-update/auto-update-0.1.6.ebuild +++ b/dev-haskell/auto-update/auto-update-0.1.6.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.1 diff --git a/dev-haskell/aws/Manifest b/dev-haskell/aws/Manifest index ab0739bb050d..5847acb0bd11 100644 --- a/dev-haskell/aws/Manifest +++ b/dev-haskell/aws/Manifest @@ -1,2 +1,3 @@ DIST aws-0.22-rev3.cabal 15515 BLAKE2B 7936d1ba22ef5d60baf8804d5d77b5202f6fcef31b63cba9c06ffe5f66aae8d584c3877887e408033efe36bc9cf04c738c545ca61e9eceeaee61bb168ac1e062 SHA512 a6a1d639cedf6929f60cf4b4187fbefb72f7024cbdaa3c3d383acc933be1f03b139c4b58a34afaf7ecdc355ee507f4411e9953f98127850d4978a6ba859f4e8e DIST aws-0.22.tar.gz 106122 BLAKE2B b4ff46e2742d53323c80952c303a4605d13600fd60085a2e0501af2fc0a74f0c2769c6bf0692710bbfd972c474b9cab26fd97e9126fdcfb3eaff90afbab1d9ae SHA512 e7ff376c47a7ca7a65c8f10f19e591d4a4b4d2cfa333b4727f88f0b170d7acb0aff402617f2d617c522fe5d16ce92b249a23f1fb0a8bfe5bbefaef2931b786bd +DIST aws-0.24.tar.gz 106782 BLAKE2B 3e9feb13f3e21577c0bf9969865f3475c40e466a2377cd659171166e6b9727b6c501f4a31b7de4720fc6a0ec4d4b266732e3c2eb34d0b4bb38527a6babfebe4a SHA512 d453ea185a47b0fb93d2e8849ea81e1b0bae081aa81d280f94618d8fb357b6e4b71a43a6c8df0e4ba2b64390346daf50672ed9f9849cc6737a5ae58b5ac52af8 diff --git a/dev-haskell/aws/aws-0.24.ebuild b/dev-haskell/aws/aws-0.24.ebuild new file mode 100644 index 000000000000..acd4e2c2fe01 --- /dev/null +++ b/dev-haskell/aws/aws-0.24.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: +networkbsd + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Amazon Web Services (AWS) for Haskell" +HOMEPAGE="https://github.com/aristidb/aws" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +RESTRICT=test # requires aws account + +RDEPEND=">=dev-haskell/aeson-2.0.0.0:=[profile?] + >=dev-haskell/attoparsec-0.11:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base16-bytestring-0.1:=[profile?] <dev-haskell/base16-bytestring-1.1:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] <dev-haskell/base64-bytestring-1.3:=[profile?] + >=dev-haskell/blaze-builder-0.2.1.4:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?] + >=dev-haskell/byteable-0.1:=[profile?] <dev-haskell/byteable-0.2:=[profile?] + >=dev-haskell/case-insensitive-0.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/cereal-0.3:=[profile?] <dev-haskell/cereal-0.6:=[profile?] + >=dev-haskell/conduit-1.3:=[profile?] <dev-haskell/conduit-1.4:=[profile?] + >=dev-haskell/conduit-extra-1.3:=[profile?] <dev-haskell/conduit-extra-1.4:=[profile?] + >=dev-haskell/cryptonite-0.11:=[profile?] + >=dev-haskell/data-default-0.5.3:=[profile?] <dev-haskell/data-default-0.8:=[profile?] + >=dev-haskell/http-client-tls-0.3:=[profile?] <dev-haskell/http-client-tls-0.4:=[profile?] + >=dev-haskell/http-conduit-2.3:=[profile?] <dev-haskell/http-conduit-2.4:=[profile?] + >=dev-haskell/http-types-0.7:=[profile?] <dev-haskell/http-types-1.0:=[profile?] + >=dev-haskell/lifted-base-0.1:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/monad-control-0.3:=[profile?] + >=dev-haskell/network-3:=[profile?] <dev-haskell/network-4:=[profile?] + >=dev-haskell/network-bsd-2.8:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?] + >=dev-haskell/old-locale-1:=[profile?] <dev-haskell/old-locale-2:=[profile?] + >=dev-haskell/resourcet-1.2:=[profile?] <dev-haskell/resourcet-1.3:=[profile?] + >=dev-haskell/safe-0.3:=[profile?] <dev-haskell/safe-0.4:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] + >=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-haskell/vector-0.10:=[profile?] + >=dev-haskell/xml-conduit-1.8:=[profile?] <dev-haskell/xml-conduit-2.0:=[profile?] + >=dev-lang/ghc-8.10.1:= + examples? ( >=dev-haskell/errors-2.0:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/http-client-0.3 <dev-haskell/http-client-0.8 + >=dev-haskell/lifted-base-0.2 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.8 + >=dev-haskell/tasty-hunit-0.8 + >=dev-haskell/tasty-quickcheck-0.8 + >=dev-haskell/transformers-base-0.4 + !examples? ( >=dev-haskell/errors-2.0 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples examples) \ + --flag=networkbsd +} diff --git a/dev-haskell/aws/metadata.xml b/dev-haskell/aws/metadata.xml index cc08513f82e8..6fe81a3157ca 100644 --- a/dev-haskell/aws/metadata.xml +++ b/dev-haskell/aws/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Bindings for Amazon Web Services (AWS), with the aim of supporting all AWS services. To see a high level overview of the library, see the README at <https://github.com/aristidb/aws/blob/master/README.org>. - </longdescription> <upstream> + <remote-id type="hackage">aws</remote-id> <remote-id type="github">aristidb/aws</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/barbies/Manifest b/dev-haskell/barbies/Manifest new file mode 100644 index 000000000000..613ce0bf4784 --- /dev/null +++ b/dev-haskell/barbies/Manifest @@ -0,0 +1 @@ +DIST barbies-2.0.4.0.tar.gz 51770 BLAKE2B 23707bf90c4cf05beb1e1cc9c529d5968b2cf88ea445cc6f566f7ab8d175d5abe9e50f74383fb2ee55c1ee2c6cd3f02998fc241de0c5410d1eb899915b9e10ef SHA512 52b6a3dabbd1a9fc6c734c372927a6c746c22f7904bb36d47e8d3861425dcbef246ccad3aed38c55498bea7dbcb90dcd2454982a52c6c6f61b23bb38b8a53ae3 diff --git a/dev-haskell/barbies/barbies-2.0.4.0.ebuild b/dev-haskell/barbies/barbies-2.0.4.0.ebuild new file mode 100644 index 000000000000..7c0b781c245f --- /dev/null +++ b/dev-haskell/barbies/barbies-2.0.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.1.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Classes for working with types that can change clothes" +HOMEPAGE="https://github.com/jcpetruzza/barbies#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/distributive:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + ) +" diff --git a/dev-haskell/barbies/metadata.xml b/dev-haskell/barbies/metadata.xml new file mode 100644 index 000000000000..7ac724eff070 --- /dev/null +++ b/dev-haskell/barbies/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">barbies</remote-id> + <remote-id type="github">jcpetruzza/barbies</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/base-compat-batteries/Manifest b/dev-haskell/base-compat-batteries/Manifest index d265d88032c7..a1e3a81f5046 100644 --- a/dev-haskell/base-compat-batteries/Manifest +++ b/dev-haskell/base-compat-batteries/Manifest @@ -1,2 +1,3 @@ DIST base-compat-batteries-0.12.1-rev2.cabal 8891 BLAKE2B b7d6ebe0a100757dc6b95b3dcc25b5922b7a5c781c726fe69549d21631be0339dd08a0017427830e35c36dd2074b5be55b6f71d6555c6ca0050e7b825b2cb1b0 SHA512 38d81b3d72e9cb731d5c25310e71a5f73b004a37a4211315fb750c29e3bbccca40daeae175d25f8c602d1b2d13eee899cf5b2dea401d1aa5bf821b588b93572a DIST base-compat-batteries-0.12.1.tar.gz 17623 BLAKE2B c5bd92d32b4dbd67e28fc355a06c6e431be28f52db08f7ae9ba5fb067ac9536cbbf6c1315bf09417278856f1402bbc8376b51b34d564f0d0d15e21d0f317b4f1 SHA512 346ad1e53e4712017e610d1883e91371c1bbdefdce35b2830b8807e207f6fbd2233e2be153d85b6632059f58d3d9c74435537719823533ddddd47d96b231b0cf +DIST base-compat-batteries-0.13.0.tar.gz 19320 BLAKE2B 20935aefca4709eef035de8fd8538b9be1f926e62571629949458c48028c68b51fb8ed7e58862225355273576f18baadc9be4f2d2262efe93592b2765b0ad804 SHA512 3f509034ea6ef1de86985082dd949abefa6570a2c14338571a263221d1a3f9da17a77918174aecb8d7fb83970da2a362f1d3ac0f3c5a5bca76edbcac368edeef diff --git a/dev-haskell/base-compat-batteries/base-compat-batteries-0.13.0.ebuild b/dev-haskell/base-compat-batteries/base-compat-batteries-0.13.0.ebuild new file mode 100644 index 000000000000..b4df2533f1c3 --- /dev/null +++ b/dev-haskell/base-compat-batteries/base-compat-batteries-0.13.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="base-compat with extra batteries" +HOMEPAGE="https://hackage.haskell.org/package/base-compat-batteries" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + ~dev-haskell/base-compat-0.13.0:=[profile?] + >=dev-haskell/foldable1-classes-compat-0.1:=[profile?] <dev-haskell/foldable1-classes-compat-0.2:=[profile?] + >=dev-haskell/onetuple-0.4:=[profile?] <dev-haskell/onetuple-0.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hspec-1.8 + dev-haskell/quickcheck + ) +" diff --git a/dev-haskell/base-compat-batteries/metadata.xml b/dev-haskell/base-compat-batteries/metadata.xml index 3369edc6d299..b019d00e8863 100644 --- a/dev-haskell/base-compat-batteries/metadata.xml +++ b/dev-haskell/base-compat-batteries/metadata.xml @@ -5,25 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides functions available in later versions of @base@ to - a wider range of compilers, without requiring you to use CPP - pragmas in your code. - - This package provides the same API as the - @<http://hackage.haskell.org/package/base-compat base-compat>@ - library, but depends on compatibility packages - (such as @semigroups@) to offer a wider support window than - @base-compat@, which has no dependencies. Most of the modules - in this library have the same names as in @base-compat@ - to make it easier to switch between the two. There also exist - versions of each module with the suffix @.Repl.Batteries@, - which are distinct from anything in @base-compat@, to allow - for easier use in GHCi. - - See - @<https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown#dependencies here>@ - for a more comprehensive list of differences between - @base-compat@ and @base-compat-batteries@. - </longdescription> + <upstream> + <remote-id type="hackage">base-compat-batteries</remote-id> + <remote-id type="github">haskell-compat/base-compat</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/base-compat/Manifest b/dev-haskell/base-compat/Manifest index 7af7b764c317..196151c01fbd 100644 --- a/dev-haskell/base-compat/Manifest +++ b/dev-haskell/base-compat/Manifest @@ -1 +1,2 @@ DIST base-compat-0.12.1.tar.gz 35504 BLAKE2B 8b450d9b89509b36c4810d9c1471c782af3f782c7069f764ec79952c61ac59db8cfac3def772b8f7b61c311c7761ad793226aec1a58ea7d521733a2563e1abc5 SHA512 2ae3e1baad0d0f25c227a9b066ea266cff4f274448c418546d37c6274d77df4349215722fce3d6eaae2093ad31c9b2c70b02f1233513eaa59a59c6255669d318 +DIST base-compat-0.13.0.tar.gz 40057 BLAKE2B 34c90979269daea2585773f006e53d8191a01806b37e9359341a64b7c2806cdf449a23040cf46c25b63fc9036820426a7be8c01b9149643a11492192d53587b8 SHA512 6b9602f72a4bf04fc52c1fd3727fad1ba1ac85d2c572e2189f4da96f59698350c403930af10ae2e2b43cf06aac3fcb2a2609374d4d3b8a1dadfb554913d96d72 diff --git a/dev-haskell/base-compat/base-compat-0.13.0.ebuild b/dev-haskell/base-compat/base-compat-0.13.0.ebuild new file mode 100644 index 000000000000..9704f477be1f --- /dev/null +++ b/dev-haskell/base-compat/base-compat-0.13.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A compatibility layer for base" +HOMEPAGE="https://hackage.haskell.org/package/base-compat" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/base-compat/metadata.xml b/dev-haskell/base-compat/metadata.xml index 61bd74f402d6..477d462857a1 100644 --- a/dev-haskell/base-compat/metadata.xml +++ b/dev-haskell/base-compat/metadata.xml @@ -5,8 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Ban CPP from your code. See the README for what is covered: - <https://github.com/sol/base-compat#readme> - </longdescription> + <upstream> + <remote-id type="hackage">base-compat</remote-id> + <remote-id type="github">haskell-compat/base-compat</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/base-orphans/Manifest b/dev-haskell/base-orphans/Manifest index 0837c357bcce..d2469804410a 100644 --- a/dev-haskell/base-orphans/Manifest +++ b/dev-haskell/base-orphans/Manifest @@ -1 +1,2 @@ DIST base-orphans-0.8.6.tar.gz 24255 BLAKE2B 8e8106cbdb58956ef6fc7c133e5a5c5537af8fa1ab56545a533f7c061361583b3921e77fdae2277a39cbc505a7e108fb672942528fe752fd7ef0506a4821547b SHA512 53cda663ee88e2ea53cf6b6d07b625a8343a6a26474bff9fa09554ee094e50429239615a892460fd676e9c3f80cbda0ad824052d785694fdbf1f2a90fa1e29ff +DIST base-orphans-0.9.0.tar.gz 26025 BLAKE2B f5c5f6266b3f9ab746d76deae58f304827dea6f32dc95474c21314ee7dc3a7836428bc967e0e2ca2e19c39e063e1116ea4db1932f4d35e409a598d44991844e1 SHA512 63700bbd7f59ce598bd855de9e708559245bbac438d1585e5bdec3d0671d4940da3a25684abe727d88353c886eff5913da1fbbe98eada8f2325b20f1f7ffcf55 diff --git a/dev-haskell/base-orphans/base-orphans-0.9.0.ebuild b/dev-haskell/base-orphans/base-orphans-0.9.0.ebuild new file mode 100644 index 000000000000..b9b1124f43f6 --- /dev/null +++ b/dev-haskell/base-orphans/base-orphans-0.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Backwards-compatible orphan instances for base" +HOMEPAGE="https://github.com/haskell-compat/base-orphans#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + dev-haskell/quickcheck + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} diff --git a/dev-haskell/base-orphans/metadata.xml b/dev-haskell/base-orphans/metadata.xml index b75119e4482f..9b4ac4f22a89 100644 --- a/dev-haskell/base-orphans/metadata.xml +++ b/dev-haskell/base-orphans/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - @base-orphans@ defines orphan instances that mimic instances available in later versions of @base@ to a wider (older) range of compilers. @base-orphans@ does not export anything except the orphan instances themselves and complements @<http://hackage.haskell.org/package/base-compat base-compat>@. - - See the README for what instances are covered: <https://github.com/haskell-compat/base-orphans#readme> - </longdescription> <upstream> - <remote-id type="github">haskell-compat/base-orphans#readme</remote-id> + <remote-id type="hackage">base-orphans</remote-id> + <remote-id type="github">haskell-compat/base-orphans</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/base-unicode-symbols/Manifest b/dev-haskell/base-unicode-symbols/Manifest new file mode 100644 index 000000000000..d22c75d5217c --- /dev/null +++ b/dev-haskell/base-unicode-symbols/Manifest @@ -0,0 +1 @@ +DIST base-unicode-symbols-0.2.4.2.tar.gz 6584 BLAKE2B 5081d04cdbe5c7d75a1896a48728b72547016b99aa35f403ef43184a45bd69c6b15da0f6c6977b8a03c2b84ce92a63f5dbe4f8a1dee04d5d42a67675d93c5912 SHA512 127ba0a6c6f50e16c0bb0634bc7ee84d3596e541ccfd1be1ad261e85fab695613fd415e6a913a02f5dbc10dcaa9e3217db3123b564d070351e5a6a7c9a64b462 diff --git a/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.4.2.ebuild b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.4.2.ebuild new file mode 100644 index 000000000000..e313b921e66f --- /dev/null +++ b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.6.1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Unicode alternatives for common functions and operators" +HOMEPAGE="http://haskell.org/haskellwiki/Unicode-symbols" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/base-unicode-symbols/metadata.xml b/dev-haskell/base-unicode-symbols/metadata.xml new file mode 100644 index 000000000000..937381521944 --- /dev/null +++ b/dev-haskell/base-unicode-symbols/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> +</pkgmetadata> diff --git a/dev-haskell/base16-bytestring/Manifest b/dev-haskell/base16-bytestring/Manifest index 705ecc252a2c..b4a20f800e84 100644 --- a/dev-haskell/base16-bytestring/Manifest +++ b/dev-haskell/base16-bytestring/Manifest @@ -1 +1,2 @@ DIST base16-bytestring-0.1.1.7.tar.gz 5136 BLAKE2B 65fbfb5288cae1cd17d4955c9ec55a40d00cd90556dd6c3923d110988612859e2301f4d9c2317a0b24f6dc1532fbb82b3b53133499c24ba276eb1f6754707a1f SHA512 33c4c1e35489cee42ced9fffed3ee11bfe976dc167adc3ab715c224e69025fd9634cb010ee09bf86aa71170e12172c823964fdc3bed4611c599f686beea2985e +DIST base16-bytestring-1.0.2.0.tar.gz 7219 BLAKE2B 021e49d0e72b23d13928ec08957861b0f7a6c4291c5280403413e89382166653ae5a96ecadc82dc63a7c94a1771e2de0bbd6630b40ed312e221b1c5c125d8280 SHA512 61e483c08f3cd81c0ffa891bd6f4aa5ff222d8184880deb5aeeae8184bd6efdbb373ca6bece2cd597490492107c91a2f4fd6ca9c71c712e298bce7418b9f7135 diff --git a/dev-haskell/base16-bytestring/base16-bytestring-0.1.1.7.ebuild b/dev-haskell/base16-bytestring/base16-bytestring-0.1.1.7.ebuild index 3cc2f742f59a..8f719d6cfdd2 100644 --- a/dev-haskell/base16-bytestring/base16-bytestring-0.1.1.7.ebuild +++ b/dev-haskell/base16-bytestring/base16-bytestring-0.1.1.7.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.6.9999 diff --git a/dev-haskell/base16-bytestring/base16-bytestring-1.0.2.0.ebuild b/dev-haskell/base16-bytestring/base16-bytestring-1.0.2.0.ebuild new file mode 100644 index 000000000000..149b0d0369e2 --- /dev/null +++ b/dev-haskell/base16-bytestring/base16-bytestring-1.0.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="RFC 4648-compliant Base16 encodings for ByteStrings" +HOMEPAGE="https://github.com/haskell/base16-bytestring" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/test-framework-quickcheck2 ) +" diff --git a/dev-haskell/base16-bytestring/metadata.xml b/dev-haskell/base16-bytestring/metadata.xml index 6bc8bd630d13..997be21f7ed6 100644 --- a/dev-haskell/base16-bytestring/metadata.xml +++ b/dev-haskell/base16-bytestring/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">base16-bytestring</remote-id> <remote-id type="github">haskell/base16-bytestring</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/base64-bytestring/Manifest b/dev-haskell/base64-bytestring/Manifest index 4aceec28c4f0..24dd714790ae 100644 --- a/dev-haskell/base64-bytestring/Manifest +++ b/dev-haskell/base64-bytestring/Manifest @@ -1 +1,2 @@ DIST base64-bytestring-1.0.0.3.tar.gz 10104 BLAKE2B 00dca0236c739704f45991d974b99715c2c903d8ee228b7fbe3524d690496248d8b6acc798e8c42c70d4bc382b9c79f4f54bd2a858d3863207bb93fa44478ab6 SHA512 e4e244752491ac279a88afc4ceb0fe4c44b75fc369ff47ec29e3c99996b4be967051034c94f0c659d47a153d6b9e0b65a75ea419fdfd52fd50cdc0da2dca7db6 +DIST base64-bytestring-1.2.1.0.tar.gz 13743 BLAKE2B d9776517c76fdeec5df4fe720755d7aaa7206d1570b45f1abeda50cb9f553576ed973a3ba0bb6438c64ecc8644ff298d15ed2fa0575929c156a543d9f9124398 SHA512 730d5fd7bd1cf90792d0eea75de1fd333c6cab73f4d178db6d3c7006d77f222734a53bb10ef3a296862ca31338e2ae387acfdd44b119014cff7a0a13362e6e96 diff --git a/dev-haskell/base64-bytestring/base64-bytestring-1.0.0.3.ebuild b/dev-haskell/base64-bytestring/base64-bytestring-1.0.0.3.ebuild index 0d3d211aaa11..f281d2c5bb5c 100644 --- a/dev-haskell/base64-bytestring/base64-bytestring-1.0.0.3.ebuild +++ b/dev-haskell/base64-bytestring/base64-bytestring-1.0.0.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.5.9999 diff --git a/dev-haskell/base64-bytestring/base64-bytestring-1.2.1.0.ebuild b/dev-haskell/base64-bytestring/base64-bytestring-1.2.1.0.ebuild new file mode 100644 index 000000000000..305384d3794b --- /dev/null +++ b/dev-haskell/base64-bytestring/base64-bytestring-1.2.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast base64 encoding and decoding for ByteStrings" +HOMEPAGE="https://github.com/haskell/base64-bytestring" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/test-framework-quickcheck2 ) +" diff --git a/dev-haskell/base64-bytestring/metadata.xml b/dev-haskell/base64-bytestring/metadata.xml index d24d1887079b..0093a6a3e552 100644 --- a/dev-haskell/base64-bytestring/metadata.xml +++ b/dev-haskell/base64-bytestring/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">base64-bytestring</remote-id> <remote-id type="github">haskell/base64-bytestring</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/base64/Manifest b/dev-haskell/base64/Manifest new file mode 100644 index 000000000000..32757fc573f4 --- /dev/null +++ b/dev-haskell/base64/Manifest @@ -0,0 +1,2 @@ +DIST base64-0.4.2.4-rev3.cabal 2862 BLAKE2B 3038bc0d78af581c777855db20cbd108b93f063233b7020c1a7ec1734cfa620cf44af8e8d2984f82335e829a9169639f206ac8ee351fc5d8aacfdd2ccac15ccf SHA512 98ff6439f2a812f0c121f8b37cc2b2e45ae6658d3d55f28f339961d56a4967a60fe9f1cbba0de0d0f7c9c63df2e6327551edbe1af773ee7e1257339ad4969389 +DIST base64-0.4.2.4.tar.gz 22065 BLAKE2B c6e794a55e25da6e5f2dd3d793d4f6d2fe759b8923a9d84fdcb9e251018ee579e80db8658afef0448a918fe4e87eda06357b6644d21499f4b8b44936d4f307e2 SHA512 cf7e0f3b7dbd336ecee0aad8df93793c9f72dbfc882f2f5491e3910693f2c530bb2d9762baea729cb7c5cc2a4c3bf130fdff2aa2661fc23e0c8d726de58deb6f diff --git a/dev-haskell/base64/base64-0.4.2.4.ebuild b/dev-haskell/base64/base64-0.4.2.4.ebuild new file mode 100644 index 000000000000..064fa0a7d244 --- /dev/null +++ b/dev-haskell/base64/base64-0.4.2.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A modern RFC 4648-compliant Base64 library" +HOMEPAGE="https://github.com/emilypi/base64" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?] + >=dev-lang/ghc-8.10.6:= + || ( ( >=dev-haskell/text-1.2 <dev-haskell/text-1.3 ) + ( >=dev-haskell/text-2.0 <dev-haskell/text-2.1 ) ) + dev-haskell/text:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/base64-bytestring + dev-haskell/quickcheck + dev-haskell/random-bytestring + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + dev-haskell/text ) +" diff --git a/dev-haskell/base64/metadata.xml b/dev-haskell/base64/metadata.xml new file mode 100644 index 000000000000..fa170158148f --- /dev/null +++ b/dev-haskell/base64/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">base64</remote-id> + <remote-id type="github">emilypi/base64</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/basement/Manifest b/dev-haskell/basement/Manifest index e61da8576bb2..ff64c96e6048 100644 --- a/dev-haskell/basement/Manifest +++ b/dev-haskell/basement/Manifest @@ -1 +1,2 @@ DIST basement-0.0.12.tar.gz 134142 BLAKE2B cf0ff62bdd69cdcb075b5e63e9d60e7033ac85007101cd8c1d38776cbd1b60b336606e502a91ab8fb7275273f9fa3eae7344f0e47aa269bada2649c7be07caad SHA512 4515fbecfb8280cfd669313d236a5e3b4ef45ba3fd3da8626073fa3a44a889370c48c582ea633eac5df4a5e716c495cf827deb9239274fbdb63a14d19f9682fb +DIST basement-0.0.16.tar.gz 134837 BLAKE2B f3be5d658e96f5eb6512e2089421185ac67d634a6a61cab13c183d138a34bb6d5a42146f57b08ba0b5c6b4cb0af0b6c9b0af42410602a24b8756917b49ea6cb6 SHA512 dde9a98047e8bece8d938161c95cc25a5924193a271e40120d3a96f02927b5050a8d3abed6c34ae1910bb17c07feb46664dca39d7ba594afc78c055ed27023d9 diff --git a/dev-haskell/basement/basement-0.0.12.ebuild b/dev-haskell/basement/basement-0.0.12.ebuild index 2edf00ebfa85..6ba5c0feea65 100644 --- a/dev-haskell/basement/basement-0.0.12.ebuild +++ b/dev-haskell/basement/basement-0.0.12.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 @@ -16,7 +16,7 @@ LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-lang/ghc-8.4.3:= +RDEPEND=">=dev-lang/ghc-8.4.3:= <dev-lang/ghc-9.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 diff --git a/dev-haskell/basement/basement-0.0.16.ebuild b/dev-haskell/basement/basement-0.0.16.ebuild new file mode 100644 index 000000000000..889c4511c3a0 --- /dev/null +++ b/dev-haskell/basement/basement-0.0.16.ebuild @@ -0,0 +1,22 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Foundation scrap box of array & string" +HOMEPAGE="https://github.com/haskell-foundation/foundation#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/basement/metadata.xml b/dev-haskell/basement/metadata.xml index 937381521944..eaf9f7355248 100644 --- a/dev-haskell/basement/metadata.xml +++ b/dev-haskell/basement/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">basement</remote-id> + <remote-id type="github">haskell-foundation/foundation</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/bencode/bencode-0.6.1.1.ebuild b/dev-haskell/bencode/bencode-0.6.1.1.ebuild index 5cf7888342b3..dc4225cff129 100644 --- a/dev-haskell/bencode/bencode-0.6.1.1.ebuild +++ b/dev-haskell/bencode/bencode-0.6.1.1.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.4 diff --git a/dev-haskell/bifunctors/Manifest b/dev-haskell/bifunctors/Manifest index d04e12bfde9b..7e4744650f17 100644 --- a/dev-haskell/bifunctors/Manifest +++ b/dev-haskell/bifunctors/Manifest @@ -1 +1,2 @@ DIST bifunctors-5.5.11.tar.gz 46003 BLAKE2B 82572e6c162ab105fdce6c3cd7e44da16db232c2233e4d2e3551001a20a2bff0bb4e41fabebc974290749275621a9b0abe3925156090cb960b95e8cbcf43150d SHA512 09f66d1a086a72a822e804521c2258acb16fd5a4a29c3758b97987f27a271f58e3dd4103518b31b3bdf44465c87fe5573a0bba168ba109287ca3370b8ab491a1 +DIST bifunctors-5.5.15.tar.gz 47395 BLAKE2B 5c9af0cc90689c0482aa07ea0a9c7cddb159a016ae075aa20ea441a4a83348db806313e95ec4c90e890f4686eac4622cb384cfca901d265f98deff045edd66ef SHA512 59977c7eec1d1e66c99becc90c29715f90c309ab1ace8e1021d512bf58cb8781e3b3ee5e7de16735fd3cd844b4d918d5f0f6d5afbf1a4da75fa854915356192f diff --git a/dev-haskell/bifunctors/bifunctors-5.5.11.ebuild b/dev-haskell/bifunctors/bifunctors-5.5.11.ebuild index 78c391d430df..ebb45b068841 100644 --- a/dev-haskell/bifunctors/bifunctors-5.5.11.ebuild +++ b/dev-haskell/bifunctors/bifunctors-5.5.11.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 diff --git a/dev-haskell/bifunctors/bifunctors-5.5.15.ebuild b/dev-haskell/bifunctors/bifunctors-5.5.15.ebuild new file mode 100644 index 000000000000..3a05ec6b5ba2 --- /dev/null +++ b/dev-haskell/bifunctors/bifunctors-5.5.15.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="The Bifunctors package authored by Edward Kmett" +HOMEPAGE="https://github.com/ekmett/bifunctors/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+semigroups +tagged" + +RDEPEND=">=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-1:=[profile?] + >=dev-haskell/comonad-5.0.7:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/th-abstraction-0.4.2.0:=[profile?] <dev-haskell/th-abstraction-0.5:=[profile?] + >=dev-lang/ghc-8.4.3:= + tagged? ( >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-1:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hspec-1.8 + >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 + dev-haskell/transformers-compat ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag semigroups semigroups) \ + $(cabal_flag tagged tagged) +} diff --git a/dev-haskell/bifunctors/metadata.xml b/dev-haskell/bifunctors/metadata.xml index a6a7455d7563..6ba6658569a5 100644 --- a/dev-haskell/bifunctors/metadata.xml +++ b/dev-haskell/bifunctors/metadata.xml @@ -20,6 +20,7 @@ </flag> </use> <upstream> + <remote-id type="hackage">bifunctors</remote-id> <remote-id type="github">ekmett/bifunctors</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/binary-orphans/Manifest b/dev-haskell/binary-orphans/Manifest index 92069fcd87f5..97a389bfec17 100644 --- a/dev-haskell/binary-orphans/Manifest +++ b/dev-haskell/binary-orphans/Manifest @@ -1,2 +1,4 @@ DIST binary-orphans-1.0.2.cabal 2264 BLAKE2B aba78e56c07192df484757aa58fdc79ea201cf4545499b11f3a82cbfd0af57c0db0fd1134255f7697b0276f2e7807ba5a74b9b591d233b99e6fec4c908ecdda8 SHA512 8cb030d9a9dc32a4a3ada6684babc5b45d8a6a786261668eb01ae36f3d496f1ca25b0a31782c3728bfb3ede3883df52015aefd85bbf0911ac7e0222d1a33de6e DIST binary-orphans-1.0.2.tar.gz 4566 BLAKE2B bdb19771f2ef1201d55766bb26b461341d23899356379a0fa031cf014dc8dd9341bab1538488fe739c9ccecd51ad686e4781220c962a073866238a443ddac389 SHA512 49b6c758b0e94594e9a5feab7f5c3398fcd6b0498c06fffa5e9eb1d39c753f64c0eafbfdd2826a9581a47f2caa5e4194aef89840ce95ba1455844e74b6d6ad1e +DIST binary-orphans-1.0.4.1-rev2.cabal 2468 BLAKE2B 3ede254321f8d537fe21d6377e0afbbbe3f1cfcbe3815fbbe76d50fcc8fbf46adcf93e4acb790fb8c4e214f94dd1eb063e50f278339aad3db99f95e9021c05d8 SHA512 3cb06701cbb27547eecd41564ded69812ebfbd516033c74eea09c40c789e6d909de27007b38078f35285651313d5a82e36903f36be4cb4e42cdf88d1b0b4634e +DIST binary-orphans-1.0.4.1.tar.gz 5327 BLAKE2B 6f0a0c12f9c75aca8d3fe5b902eeedec337d9e7bf2dd282a6c2d80ca7e955f12749aab7794d4ed125a8f7fa77bfc39823e9226ff322f8e36008309decf02d948 SHA512 97b37ecc232ef0117f1b0ce11fcd527dad41c6680ad327b74c51fa10ef3cb672a9e1a6c1e6bd015dc1a7f4a4a657178790aa8af8e8200ca7eebd2f11db131a13 diff --git a/dev-haskell/binary-orphans/binary-orphans-1.0.4.1.ebuild b/dev-haskell/binary-orphans/binary-orphans-1.0.4.1.ebuild new file mode 100644 index 000000000000..321a9daf32cf --- /dev/null +++ b/dev-haskell/binary-orphans/binary-orphans-1.0.4.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compatibility package for binary; provides instances" +HOMEPAGE="https://hackage.haskell.org/package/binary-orphans" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?] + >=dev-haskell/onetuple-0.3:=[profile?] <dev-haskell/onetuple-0.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.13.1 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.28 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/tagged-0.8.6 <dev-haskell/tagged-0.9 + >=dev-haskell/tasty-0.10.1.2 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.8.3.2 <dev-haskell/tasty-quickcheck-0.11 + ) +" diff --git a/dev-haskell/binary-orphans/metadata.xml b/dev-haskell/binary-orphans/metadata.xml index 937381521944..9751c66cf0c8 100644 --- a/dev-haskell/binary-orphans/metadata.xml +++ b/dev-haskell/binary-orphans/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">binary-orphans</remote-id> + <remote-id type="github">phadej/binary-orphans</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/binary/Manifest b/dev-haskell/binary/Manifest index 0b19b8104261..273a10e52ff5 100644 --- a/dev-haskell/binary/Manifest +++ b/dev-haskell/binary/Manifest @@ -1 +1,3 @@ +DIST binary-0.8.8.0-rev1.cabal 6279 BLAKE2B 4c87f56dca43a860388120dec92f58bd8b6359f0cb952df353ea37b3e65cc791394bf18f2fc4d72a8444a7fc4bbd5ca6babc37dd4cd6768d8f2aa387ea62b7fa SHA512 67027e5dbebd4a3225493fe416b354aa1a4f5896a48f121807163ad6fb4c6e5571849be230dd4d3be36e10f8aa2dc30acfbe50076d86e8933d8d20d5c4a8b343 DIST binary-0.8.8.0.tar.gz 57327 BLAKE2B c105f4bf92ec52df51d3c7bda1aae99b3d40727aa4d3c1397431b2b727a934e62ee1f9ab7ed45b3502b17bd7a9a61f95a2a66690e40ae25b177fc8c79c462ae5 SHA512 9e4b116a2661d7970dbcf5ec3432ce88514380cab145358c3368a2dca35a16ab9d1f0d09ce2eb853a456764215744195d593629fb08e29b627345e3ae913592f +DIST binary-0.8.9.0.tar.gz 57311 BLAKE2B 17915bbe2001413d8c0a92873184775e288768a2c33e6f669684a9eecdd667bee7220d389b6c26df39fb6fcf88a3e0d8a0e9e5ea70413b676b7789abc721a27a SHA512 247dd9c9f919c6a83ca7334029009bb753ba235a0006913be5ff13cc15da0f681823187669b58d804dee25592a7d149a24c4c4ab60a9f633a5195c37378eae50 diff --git a/dev-haskell/binary/binary-0.8.8.0.ebuild b/dev-haskell/binary/binary-0.8.8.0-r1.ebuild index fc42057df9ad..a83a9c106765 100644 --- a/dev-haskell/binary/binary-0.8.8.0.ebuild +++ b/dev-haskell/binary/binary-0.8.8.0-r1.ebuild @@ -3,7 +3,9 @@ EAPI=8 -# ebuild generated by hackport 0.6.4.9999 +# ebuild generated by hackport 0.8.0.0.9999 + +CABAL_HACKAGE_REVISION=1 CABAL_FEATURES="lib profile haddock hoogle hscolour" # Circular depend: test-suite" # break circular dependencies: @@ -13,19 +15,26 @@ inherit haskell-cabal DESCRIPTION="Binary serialisation for Haskell values using lazy ByteStrings" HOMEPAGE="https://github.com/kolmodin/binary" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -# keep in sync with ghc-8.10 +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="" RESTRICT=test # circular depend: test-framework->base-orphans->cabal->semigroups->nats->binary -RDEPEND=">=dev-lang/ghc-7.8.2:= +RDEPEND=" + >=dev-lang/ghc-8.10.6:= <dev-lang/ghc-9.1 " DEPEND="${RDEPEND} " +# test? ( +# >=dev-haskell/base-orphans-0.8.1 <dev-haskell/base-orphans-0.9 +# dev-haskell/hunit +# >=dev-haskell/quickcheck-2.9 +# >=dev-haskell/random-1.0.1.0 +# dev-haskell/test-framework +# >=dev-haskell/test-framework-quickcheck2-0.3 +# ) CABAL_CORE_LIB_GHC_PV="8.10.6 9.0.2" diff --git a/dev-haskell/binary/binary-0.8.9.0-r1.ebuild b/dev-haskell/binary/binary-0.8.9.0-r1.ebuild new file mode 100644 index 000000000000..c94c8c12207c --- /dev/null +++ b/dev-haskell/binary/binary-0.8.9.0-r1.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.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite circular depends +# break circular dependencies: +# https://github.com/gentoo-haskell/gentoo-haskell/issues/810 +CABAL_FEATURES+=" nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Binary serialisation for Haskell values using lazy ByteStrings" +HOMEPAGE="https://github.com/kolmodin/binary" + +LICENSE="BSD" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RESTRICT=test # circular depend: test-framework->base-orphans->cabal->semigroups->nats->binary + +RDEPEND=" + >=dev-lang/ghc-9.2.4:= +" +DEPEND="${RDEPEND} +" +# test? ( +# >=dev-haskell/base-orphans-0.8.1 <dev-haskell/base-orphans-0.9 +# dev-haskell/hunit +# >=dev-haskell/quickcheck-2.9 +# >=dev-haskell/random-1.0.1.0 +# dev-haskell/test-framework +# >=dev-haskell/test-framework-quickcheck2-0.3 +# ) + +CABAL_CORE_LIB_GHC_PV="9.2.4 9.2.5 9.2.6 9.2.7 9.2.8" diff --git a/dev-haskell/binary/metadata.xml b/dev-haskell/binary/metadata.xml index 21fe6c14fc23..2c20e36ad6b0 100644 --- a/dev-haskell/binary/metadata.xml +++ b/dev-haskell/binary/metadata.xml @@ -5,14 +5,6 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Efficient, pure binary serialisation using lazy ByteStrings. - Haskell values may be encoded to and from binary formats, - written to disk as binary, or sent over the network. - Serialisation speeds of over 1 G\/sec have been observed, - so this library should be suitable for high performance - scenarios. - </longdescription> <upstream> <remote-id type="github">kolmodin/binary</remote-id> </upstream> diff --git a/dev-haskell/bitvec/Manifest b/dev-haskell/bitvec/Manifest new file mode 100644 index 000000000000..e39759f70fb9 --- /dev/null +++ b/dev-haskell/bitvec/Manifest @@ -0,0 +1 @@ +DIST bitvec-1.1.3.0.tar.gz 35865 BLAKE2B b63dc22574176993f55f0935e1d89f6660ef365189838821c11a04a07ff2a41241a1f0a34b148f36036eba3ea55adda516e355a574ae1e49b658c986fb515254 SHA512 4a54726e0ec0923019329fd2f110011f547761e51a7485f684526ba7f97caac170fde1a4bfe84b57a016ad85c6e440b85f20993c15854e9e79231ecd07d960ca diff --git a/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild b/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild new file mode 100644 index 000000000000..25d80a6e03b7 --- /dev/null +++ b/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Space-efficient bit vectors" +HOMEPAGE="https://github.com/Bodigrim/bitvec" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+gmp" + +RDEPEND=" + >=dev-haskell/primitive-0.5:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.4.3:= + gmp? ( + dev-libs/gmp + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/quickcheck-classes-0.6.1 + dev-haskell/quickcheck-classes-base + dev-haskell/tasty + dev-haskell/tasty-quickcheck + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag gmp libgmp) +} diff --git a/dev-haskell/bitvec/metadata.xml b/dev-haskell/bitvec/metadata.xml new file mode 100644 index 000000000000..c0879f2b3fdc --- /dev/null +++ b/dev-haskell/bitvec/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="gmp">Link against the GMP library for the ultimate performance of +`zipBits`, `invertBits` and `countBits`. Users are strongly encouraged +to enable this flag whenever possible.</flag> + </use> + <upstream> + <remote-id type="hackage">bitvec</remote-id> + <remote-id type="github">Bodigrim/bitvec</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/blaze-builder/Manifest b/dev-haskell/blaze-builder/Manifest index 235245fe5654..a99be0961582 100644 --- a/dev-haskell/blaze-builder/Manifest +++ b/dev-haskell/blaze-builder/Manifest @@ -1 +1,3 @@ DIST blaze-builder-0.4.2.1.tar.gz 60704 BLAKE2B 0799da061985559e3281d064dc2624a1ae2310befaadfc2cddca6999f3725bfc2a8a97d73810566c82b6037e1524ee19059c10ed6eb88707e95792ce2c1282ce SHA512 30f8d1d70a1aeb5b4c4e3170e40207c0f39933050e04bbdff49683a8b2e850921e80fa8e2d7f2b7a2a19fd6340bb65fad9c1d33999abf8a388d3f0ce921d0744 +DIST blaze-builder-0.4.2.2-rev1.cabal 3685 BLAKE2B 71003f887114361d365105f2120ee300826de1f523ef94f29bcd76432613b81e27f9f990fc2e6af4bd045b49fd8a041802e07388cddfd9721ca8739e0e4834da SHA512 62f24833b5dc73e2e0ad8972b265e905bdc2f40f3466c6657bceafcd8c73a5a039bfbf9e99ea2e5a4b94363cec17b59de2775e0d6d6eb1877ff29a9035afe50f +DIST blaze-builder-0.4.2.2.tar.gz 60707 BLAKE2B b096325d84df3b60f618f53d8288dd1bdd8b9100a88ff4853bc327a0f21b5a9c4b6ea4769203cbbed2740378420b2604f74a4ca25355ba1298b9a9ea95cf36d3 SHA512 4a0aeaa909a487c652103c5d68180fb34bd2a8be9d625b96056b632081c3f58b8588811f3f47fcf8b58c680ae1c38e4ba8d7066617cb1b660f1994520427d654 diff --git a/dev-haskell/blaze-builder/blaze-builder-0.4.2.1.ebuild b/dev-haskell/blaze-builder/blaze-builder-0.4.2.1.ebuild index a1894163da27..1081883d2e10 100644 --- a/dev-haskell/blaze-builder/blaze-builder-0.4.2.1.ebuild +++ b/dev-haskell/blaze-builder/blaze-builder-0.4.2.1.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 @@ -17,7 +17,7 @@ SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" RDEPEND=">=dev-haskell/text-0.10:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-lang/ghc-8.4.3:= <dev-lang/ghc-9.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 diff --git a/dev-haskell/blaze-builder/blaze-builder-0.4.2.2.ebuild b/dev-haskell/blaze-builder/blaze-builder-0.4.2.2.ebuild new file mode 100644 index 000000000000..19fdd3527d52 --- /dev/null +++ b/dev-haskell/blaze-builder/blaze-builder-0.4.2.2.ebuild @@ -0,0 +1,30 @@ +# 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 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient buffered output" +HOMEPAGE="https://github.com/blaze-builder/blaze-builder" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/test-framework-quickcheck2 + dev-haskell/utf8-string ) +" diff --git a/dev-haskell/blaze-builder/metadata.xml b/dev-haskell/blaze-builder/metadata.xml index d61b16af6ba1..3bdb9d6eeead 100644 --- a/dev-haskell/blaze-builder/metadata.xml +++ b/dev-haskell/blaze-builder/metadata.xml @@ -5,18 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides an abstraction of buffered output of - byte streams and several convenience functions to exploit - it. For example, it allows to efficiently serialize - Haskell values to lazy bytestrings with a large average - chunk size. The large average chunk size allows to make - good use of cache prefetching in later processing steps - (e.g. compression) and reduces the sytem call overhead - when writing the resulting lazy bytestring to a file or - sending it over the network. - </longdescription> <upstream> - <remote-id type="github">meiersi/blaze-builder</remote-id> + <remote-id type="hackage">blaze-builder</remote-id> + <remote-id type="github">blaze-builder/blaze-builder</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/blaze-html/Manifest b/dev-haskell/blaze-html/Manifest index 429311a2e9e3..4fd175b3a555 100644 --- a/dev-haskell/blaze-html/Manifest +++ b/dev-haskell/blaze-html/Manifest @@ -1 +1,2 @@ +DIST blaze-html-0.9.1.2-rev2.cabal 3062 BLAKE2B d39b3ba6f0e43a82cc30b603748f4c5d73e736d57ef671583785923d8daa6100bed5884a34b2d41a3c72e010e24783ffacc69025a9e83eef7e423311e747f9e9 SHA512 debb09afd6a0a8e8ac63026f2de02ddc6ab396f035067824f158f7604fe43d0d5c0ec8f5df7634323855c4ad2ba5319b4880169d680537dfd94dca3fd88f9f62 DIST blaze-html-0.9.1.2.tar.gz 81617 BLAKE2B 36e86647db47ee55a32daf2cf2afa51fd58436c7de7e7dac81b298cc1ea7e1ba1fd470d2a19def3bc6aabc51bd046c8c611300fa4ecb5f0e1cee2286a0b461e6 SHA512 26e5294285033fa453ab9914a5bdb37c42f5b7c3a10400be1ff6dd125a70499d556c106cc8128154dc0c455c8b80b489a883265fcb626e2d4afcd8e4d94374bc diff --git a/dev-haskell/blaze-html/blaze-html-0.9.1.2-r1.ebuild b/dev-haskell/blaze-html/blaze-html-0.9.1.2-r2.ebuild index 87bf1e38e91b..dba23781e701 100644 --- a/dev-haskell/blaze-html/blaze-html-0.9.1.2-r1.ebuild +++ b/dev-haskell/blaze-html/blaze-html-0.9.1.2-r2.ebuild @@ -1,39 +1,31 @@ # 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.9999 +# ebuild generated by hackport 0.7.2.2.9999 + +CABAL_HACKAGE_REVISION=2 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="A blazingly fast HTML combinator library for Haskell" -HOMEPAGE="https://jaspervdj.be/blaze/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" +HOMEPAGE="https://jaspervdj.be/blaze" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" RDEPEND=">=dev-haskell/blaze-builder-0.3:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?] >=dev-haskell/blaze-markup-0.8:=[profile?] <dev-haskell/blaze-markup-0.9:=[profile?] - >=dev-haskell/text-0.10:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-7.4.1:= + >=dev-lang/ghc-8.4.3:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.8 + >=dev-haskell/cabal-2.2.0.1 test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 - >=dev-haskell/quickcheck-2.4 + >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.15 >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4 >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) " - -src_prepare() { - default - - cabal_chdeps \ - 'QuickCheck >= 2.4 && < 2.14' 'QuickCheck >= 2.4' -} diff --git a/dev-haskell/blaze-html/metadata.xml b/dev-haskell/blaze-html/metadata.xml index 2cc9cebf2e16..937381521944 100644 --- a/dev-haskell/blaze-html/metadata.xml +++ b/dev-haskell/blaze-html/metadata.xml @@ -5,10 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A blazingly fast HTML combinator library for the Haskell - programming language. The Text.Blaze module is a good - starting point, as well as this tutorial: - <http://jaspervdj.be/blaze/tutorial.html>. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/blaze-markup/Manifest b/dev-haskell/blaze-markup/Manifest index 402d8d35f3b2..7f8482735520 100644 --- a/dev-haskell/blaze-markup/Manifest +++ b/dev-haskell/blaze-markup/Manifest @@ -1 +1,2 @@ +DIST blaze-markup-0.8.2.8-rev4.cabal 2271 BLAKE2B 2e3f4619511693df71d0c13f7b11be0a93ba17ca1a4d8309e28cfce7c51be356f5192be0fb0cd7078cd99d8653032d3fd9fbd3bb9097dfe8fdbfb9190d25bb7f SHA512 a26f0036aedb8fc9261d61be03545cd181c74e70a82c29d799c45c448f7dff5d8c413e4e2ef4a1997b43a1992a60c33e45090e3ca345898f80182016992b37b4 DIST blaze-markup-0.8.2.8.tar.gz 14519 BLAKE2B 14e411fa06da460f3ef2362179d910562d292190396430c9fe6fae76195d0d6d0a5a2110659f41217515afdbece60618eca6264906a554fc9668f25abaac7119 SHA512 d677b611c751c2dfd4bd12c1b1aa612b08356c90b9962b60d4972a9626ddd0337bcaf40b4595b64c1d3bf506d017f058771d00fa55979b94283095061be18944 diff --git a/dev-haskell/blaze-markup/blaze-markup-0.8.2.8.ebuild b/dev-haskell/blaze-markup/blaze-markup-0.8.2.8-r1.ebuild index bf890a81da44..03a9ca261bc6 100644 --- a/dev-haskell/blaze-markup/blaze-markup-0.8.2.8.ebuild +++ b/dev-haskell/blaze-markup/blaze-markup-0.8.2.8-r1.ebuild @@ -1,30 +1,34 @@ # 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 +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=4 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="A blazingly fast markup combinator library for Haskell" HOMEPAGE="https://jaspervdj.be/blaze" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-haskell/blaze-builder-0.3:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?] - >=dev-haskell/text-0.10:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-8.4.3:= +RDEPEND=" + >=dev-haskell/blaze-builder-0.3:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?] + >=dev-haskell/text-0.10:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 >=dev-haskell/quickcheck-2.7 <dev-haskell/quickcheck-2.15 >=dev-haskell/tasty-1.0 <dev-haskell/tasty-1.5 >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 - >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 ) + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 + ) " diff --git a/dev-haskell/blaze-markup/metadata.xml b/dev-haskell/blaze-markup/metadata.xml index 74fb0c3c235f..d03ec965e673 100644 --- a/dev-haskell/blaze-markup/metadata.xml +++ b/dev-haskell/blaze-markup/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Core modules of a blazingly fast markup combinator library for the Haskell - programming language. The Text.Blaze module is a good - starting point, as well as this tutorial: - <http://jaspervdj.be/blaze/tutorial.html>. - </longdescription> + <upstream> + <remote-id type="hackage">blaze-markup</remote-id> + <remote-id type="github">jaspervdj/blaze-markup</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/bloomfilter/Manifest b/dev-haskell/bloomfilter/Manifest index 71e862e056cb..4b77ae077d88 100644 --- a/dev-haskell/bloomfilter/Manifest +++ b/dev-haskell/bloomfilter/Manifest @@ -1 +1,2 @@ +DIST bloomfilter-2.0.1.0-rev2.cabal 1806 BLAKE2B 4652a7515577ea06bab01e561d8ccc8127b15b84c0cfeb47ca0fbc1af04e0327022135242752f4a2a6e829dc7b8aa2b1eb3a34a60aeb7430306664d9f1578fbe SHA512 59baafec819dac814a3c6336569fa9f13507976e1899d346ce6ea42a667e3e13fdb12e1b23443d46ef949c6b46ef665f691ad13d1952b41c5fd565f3598a1be6 DIST bloomfilter-2.0.1.0.tar.gz 22100 BLAKE2B c00a904a32c2e16810b19e27d7adef365ecf48b62bcd8da871aa3b33cb9b6e18cb11771da5a7df7209ce048e2fa1176b9c3f015030d0349a10a32375f462df02 SHA512 1031cc28c5e5c1b7687355b709d436ebab1956ffd7591a010fa3852a1bc7412925a365f99937feeacf4b1a5d3c7b34bc0370707ad6e4533280dcac4ea3fa7c21 diff --git a/dev-haskell/bloomfilter/bloomfilter-2.0.1.0-r1.ebuild b/dev-haskell/bloomfilter/bloomfilter-2.0.1.0-r1.ebuild new file mode 100644 index 000000000000..89eb41c70f59 --- /dev/null +++ b/dev-haskell/bloomfilter/bloomfilter-2.0.1.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.1.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pure and impure Bloom Filter implementations" +HOMEPAGE="https://github.com/bos/bloomfilter" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.1.0-ghc-9_2-fix.patch" +) + +CABAL_CHDEPS=( + 'base >= 4.4 && < 4.16' 'base >= 4.4' + 'base >= 4.4 && < 4.16' 'base >= 4.4' +) + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.5 + dev-haskell/random + dev-haskell/test-framework + dev-haskell/test-framework-quickcheck2 + ) +" diff --git a/dev-haskell/bloomfilter/bloomfilter-2.0.1.0.ebuild b/dev-haskell/bloomfilter/bloomfilter-2.0.1.0.ebuild index 118f5489d6e1..bce47d8d507f 100644 --- a/dev-haskell/bloomfilter/bloomfilter-2.0.1.0.ebuild +++ b/dev-haskell/bloomfilter/bloomfilter-2.0.1.0.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.6.9999 @@ -17,7 +17,7 @@ SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" IUSE="" -RDEPEND=">=dev-lang/ghc-7.4.1:= +RDEPEND=">=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1 " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.8 diff --git a/dev-haskell/bloomfilter/files/bloomfilter-2.0.1.0-ghc-9_2-fix.patch b/dev-haskell/bloomfilter/files/bloomfilter-2.0.1.0-ghc-9_2-fix.patch new file mode 100644 index 000000000000..d08788f687b8 --- /dev/null +++ b/dev-haskell/bloomfilter/files/bloomfilter-2.0.1.0-ghc-9_2-fix.patch @@ -0,0 +1,289 @@ +From fb79b39c44404fd791a3bed973e9d844fb084f1e Mon Sep 17 00:00:00 2001 +From: Simon Jakobi <simon.jakobi@gmail.com> +From: <https://github.com/bos/bloomfilter/pull/20> +Date: Fri, 12 Nov 2021 01:37:36 +0100 +Subject: [PATCH 1/2] Fix build with GHC 9.2 + +The `FastShift.shift{L,R}` methods are replaced with `unsafeShift{L,R}` +introduced in base-4.5. + +Fixes #19. +--- + Data/BloomFilter.hs | 16 +++++------ + Data/BloomFilter/Hash.hs | 15 +++++----- + Data/BloomFilter/Mutable.hs | 20 +++++++------- + Data/BloomFilter/Util.hs | 55 ++++++------------------------------- + bloomfilter.cabal | 2 +- + 5 files changed, 34 insertions(+), 74 deletions(-) + +diff --git a/Data/BloomFilter.hs b/Data/BloomFilter.hs +index 2210cef..6b47c21 100644 +--- a/Data/BloomFilter.hs ++++ b/Data/BloomFilter.hs +@@ -78,8 +78,8 @@ import Control.DeepSeq (NFData(..)) + import Data.Array.Base (unsafeAt) + import qualified Data.Array.Base as ST + import Data.Array.Unboxed (UArray) +-import Data.Bits ((.&.)) +-import Data.BloomFilter.Util (FastShift(..), (:*)(..)) ++import Data.Bits ((.&.), unsafeShiftL, unsafeShiftR) ++import Data.BloomFilter.Util ((:*)(..)) + import qualified Data.BloomFilter.Mutable as MB + import qualified Data.BloomFilter.Mutable.Internal as MB + import Data.BloomFilter.Mutable.Internal (Hash, MBloom) +@@ -98,7 +98,7 @@ data Bloom a = B { + } + + instance Show (Bloom a) where +- show ub = "Bloom { " ++ show ((1::Int) `shiftL` shift ub) ++ " bits } " ++ show ub = "Bloom { " ++ show ((1::Int) `unsafeShiftL` shift ub) ++ " bits } " + + instance NFData (Bloom a) where + rnf !_ = () +@@ -172,7 +172,7 @@ singleton hash numBits elt = create hash numBits (\mb -> MB.insert mb elt) + -- | Given a filter's mask and a hash value, compute an offset into + -- a word array and a bit offset within that word. + hashIdx :: Int -> Word32 -> (Int :* Int) +-hashIdx mask x = (y `shiftR` logBitsInHash) :* (y .&. hashMask) ++hashIdx mask x = (y `unsafeShiftR` logBitsInHash) :* (y .&. hashMask) + where hashMask = 31 -- bitsInHash - 1 + y = fromIntegral x .&. mask + +@@ -191,7 +191,7 @@ hashesU ub elt = hashIdx (mask ub) `map` hashes ub elt + -- /still/ some possibility that @True@ will be returned. + elem :: a -> Bloom a -> Bool + elem elt ub = all test (hashesU ub elt) +- where test (off :* bit) = (bitArray ub `unsafeAt` off) .&. (1 `shiftL` bit) /= 0 ++ where test (off :* bit) = (bitArray ub `unsafeAt` off) .&. (1 `unsafeShiftL` bit) /= 0 + + modify :: (forall s. (MBloom s a -> ST s z)) -- ^ mutation function (result is discarded) + -> Bloom a +@@ -255,11 +255,11 @@ insertList elts = modify $ \mb -> mapM_ (MB.insert mb) elts + -- is /still/ some possibility that @True@ will be returned. + notElem :: a -> Bloom a -> Bool + notElem elt ub = any test (hashesU ub elt) +- where test (off :* bit) = (bitArray ub `unsafeAt` off) .&. (1 `shiftL` bit) == 0 ++ where test (off :* bit) = (bitArray ub `unsafeAt` off) .&. (1 `unsafeShiftL` bit) == 0 + + -- | Return the size of an immutable Bloom filter, in bits. + length :: Bloom a -> Int +-length = shiftL 1 . shift ++length = unsafeShiftL 1 . shift + + -- | Build an immutable Bloom filter from a seed value. The seeding + -- function populates the filter as follows. +@@ -318,7 +318,7 @@ fromList hashes numBits = unfold hashes numBits convert + logPower2 :: Int -> Int + logPower2 k = go 0 k + where go j 1 = j +- go j n = go (j+1) (n `shiftR` 1) ++ go j n = go (j+1) (n `unsafeShiftR` 1) + + -- $overview + -- +diff --git a/Data/BloomFilter/Hash.hs b/Data/BloomFilter/Hash.hs +index 132a3a4..d071fd4 100644 +--- a/Data/BloomFilter/Hash.hs ++++ b/Data/BloomFilter/Hash.hs +@@ -38,8 +38,7 @@ module Data.BloomFilter.Hash + ) where + + import Control.Monad (foldM) +-import Data.Bits ((.&.), (.|.), xor) +-import Data.BloomFilter.Util (FastShift(..)) ++import Data.Bits ((.&.), (.|.), unsafeShiftL, unsafeShiftR, xor) + import Data.List (unfoldr) + import Data.Int (Int8, Int16, Int32, Int64) + import Data.Word (Word8, Word16, Word32, Word64) +@@ -91,11 +90,11 @@ class Hashable a where + -> Word64 -- ^ salt + -> IO Word64 + hashIO64 v salt = do +- let s1 = fromIntegral (salt `shiftR` 32) .&. maxBound ++ let s1 = fromIntegral (salt `unsafeShiftR` 32) .&. maxBound + s2 = fromIntegral salt + h1 <- hashIO32 v s1 + h2 <- hashIO32 v s2 +- return $ (fromIntegral h1 `shiftL` 32) .|. fromIntegral h2 ++ return $ (fromIntegral h1 `unsafeShiftL` 32) .|. fromIntegral h2 + + -- | Compute a 32-bit hash. + hash32 :: Hashable a => a -> Word32 +@@ -149,8 +148,8 @@ cheapHashes :: Hashable a => Int -- ^ number of hashes to compute + cheapHashes k v = go 0 + where go i | i == j = [] + | otherwise = hash : go (i + 1) +- where !hash = h1 + (h2 `shiftR` i) +- h1 = fromIntegral (h `shiftR` 32) ++ where !hash = h1 + (h2 `unsafeShiftR` i) ++ h1 = fromIntegral (h `unsafeShiftR` 32) + h2 = fromIntegral h + h = hashSalt64 0x9150a946c4a8966e v + j = fromIntegral k +@@ -163,7 +162,7 @@ instance Hashable Integer where + (salt `xor` 0x3ece731e) + | otherwise = hashIO32 (unfoldr go k) salt + where go 0 = Nothing +- go i = Just (fromIntegral i :: Word32, i `shiftR` 32) ++ go i = Just (fromIntegral i :: Word32, i `unsafeShiftR` 32) + + instance Hashable Bool where + hashIO32 = hashOne32 +@@ -224,7 +223,7 @@ instance Hashable Word64 where + -- | A fast unchecked shift. Nasty, but otherwise GHC 6.8.2 does a + -- test and branch on every shift. + div4 :: CSize -> CSize +-div4 k = fromIntegral ((fromIntegral k :: HTYPE_SIZE_T) `shiftR` 2) ++div4 k = fromIntegral ((fromIntegral k :: HTYPE_SIZE_T) `unsafeShiftR` 2) + + alignedHash :: Ptr a -> CSize -> Word32 -> IO Word32 + alignedHash ptr bytes salt +diff --git a/Data/BloomFilter/Mutable.hs b/Data/BloomFilter/Mutable.hs +index edff1fc..0bb5cc9 100644 +--- a/Data/BloomFilter/Mutable.hs ++++ b/Data/BloomFilter/Mutable.hs +@@ -65,9 +65,9 @@ module Data.BloomFilter.Mutable + import Control.Monad (liftM, forM_) + import Control.Monad.ST (ST) + import Data.Array.Base (unsafeRead, unsafeWrite) +-import Data.Bits ((.&.), (.|.)) ++import Data.Bits ((.&.), (.|.), unsafeShiftL, unsafeShiftR) + import Data.BloomFilter.Array (newArray) +-import Data.BloomFilter.Util (FastShift(..), (:*)(..), nextPowerOfTwo) ++import Data.BloomFilter.Util ((:*)(..), nextPowerOfTwo) + import Data.Word (Word32) + import Data.BloomFilter.Mutable.Internal + +@@ -86,9 +86,9 @@ new hash numBits = MB hash shft msk `liftM` newArray numElems numBytes + | numBits > maxHash = maxHash + | isPowerOfTwo numBits = numBits + | otherwise = nextPowerOfTwo numBits +- numElems = max 2 (twoBits `shiftR` logBitsInHash) +- numBytes = numElems `shiftL` logBytesInHash +- trueBits = numElems `shiftL` logBitsInHash ++ numElems = max 2 (twoBits `unsafeShiftR` logBitsInHash) ++ numBytes = numElems `unsafeShiftL` logBytesInHash ++ trueBits = numElems `unsafeShiftL` logBitsInHash + shft = logPower2 trueBits + msk = trueBits - 1 + isPowerOfTwo n = n .&. (n - 1) == 0 +@@ -109,7 +109,7 @@ logBytesInHash = 2 -- logPower2 (sizeOf (undefined :: Hash)) + -- | Given a filter's mask and a hash value, compute an offset into + -- a word array and a bit offset within that word. + hashIdx :: Int -> Word32 -> (Int :* Int) +-hashIdx msk x = (y `shiftR` logBitsInHash) :* (y .&. hashMask) ++hashIdx msk x = (y `unsafeShiftR` logBitsInHash) :* (y .&. hashMask) + where hashMask = 31 -- bitsInHash - 1 + y = fromIntegral x .&. msk + +@@ -125,7 +125,7 @@ insert mb elt = do + let mu = bitArray mb + forM_ (hashesM mb elt) $ \(word :* bit) -> do + old <- unsafeRead mu word +- unsafeWrite mu word (old .|. (1 `shiftL` bit)) ++ unsafeWrite mu word (old .|. (1 `unsafeShiftL` bit)) + + -- | Query a mutable Bloom filter for membership. If the value is + -- present, return @True@. If the value is not present, there is +@@ -135,7 +135,7 @@ elem elt mb = loop (hashesM mb elt) + where mu = bitArray mb + loop ((word :* bit):wbs) = do + i <- unsafeRead mu word +- if i .&. (1 `shiftL` bit) == 0 ++ if i .&. (1 `unsafeShiftL` bit) == 0 + then return False + else loop wbs + loop _ = return True +@@ -145,7 +145,7 @@ elem elt mb = loop (hashesM mb elt) + + -- | Return the size of a mutable Bloom filter, in bits. + length :: MBloom s a -> Int +-length = shiftL 1 . shift ++length = unsafeShiftL 1 . shift + + + -- | Slow, crummy way of computing the integer log of an integer known +@@ -153,7 +153,7 @@ length = shiftL 1 . shift + logPower2 :: Int -> Int + logPower2 k = go 0 k + where go j 1 = j +- go j n = go (j+1) (n `shiftR` 1) ++ go j n = go (j+1) (n `unsafeShiftR` 1) + + -- $overview + -- +diff --git a/Data/BloomFilter/Util.hs b/Data/BloomFilter/Util.hs +index 7f695dc..6ade6e5 100644 +--- a/Data/BloomFilter/Util.hs ++++ b/Data/BloomFilter/Util.hs +@@ -2,15 +2,11 @@ + + module Data.BloomFilter.Util + ( +- FastShift(..) +- , nextPowerOfTwo ++ nextPowerOfTwo + , (:*)(..) + ) where + +-import Data.Bits ((.|.)) +-import qualified Data.Bits as Bits +-import GHC.Base +-import GHC.Word ++import Data.Bits ((.|.), unsafeShiftR) + + -- | A strict pair type. + data a :* b = !a :* !b +@@ -22,46 +18,11 @@ nextPowerOfTwo :: Int -> Int + {-# INLINE nextPowerOfTwo #-} + nextPowerOfTwo n = + let a = n - 1 +- b = a .|. (a `shiftR` 1) +- c = b .|. (b `shiftR` 2) +- d = c .|. (c `shiftR` 4) +- e = d .|. (d `shiftR` 8) +- f = e .|. (e `shiftR` 16) +- g = f .|. (f `shiftR` 32) -- in case we're on a 64-bit host ++ b = a .|. (a `unsafeShiftR` 1) ++ c = b .|. (b `unsafeShiftR` 2) ++ d = c .|. (c `unsafeShiftR` 4) ++ e = d .|. (d `unsafeShiftR` 8) ++ f = e .|. (e `unsafeShiftR` 16) ++ g = f .|. (f `unsafeShiftR` 32) -- in case we're on a 64-bit host + !h = g + 1 + in h +- +--- | This is a workaround for poor optimisation in GHC 6.8.2. It +--- fails to notice constant-width shifts, and adds a test and branch +--- to every shift. This imposes about a 10% performance hit. +-class FastShift a where +- shiftL :: a -> Int -> a +- shiftR :: a -> Int -> a +- +-instance FastShift Word32 where +- {-# INLINE shiftL #-} +- shiftL (W32# x#) (I# i#) = W32# (x# `uncheckedShiftL#` i#) +- +- {-# INLINE shiftR #-} +- shiftR (W32# x#) (I# i#) = W32# (x# `uncheckedShiftRL#` i#) +- +-instance FastShift Word64 where +- {-# INLINE shiftL #-} +- shiftL (W64# x#) (I# i#) = W64# (x# `uncheckedShiftL64#` i#) +- +- {-# INLINE shiftR #-} +- shiftR (W64# x#) (I# i#) = W64# (x# `uncheckedShiftRL64#` i#) +- +-instance FastShift Int where +- {-# INLINE shiftL #-} +- shiftL (I# x#) (I# i#) = I# (x# `iShiftL#` i#) +- +- {-# INLINE shiftR #-} +- shiftR (I# x#) (I# i#) = I# (x# `iShiftRA#` i#) +- +-instance FastShift Integer where +- {-# INLINE shiftL #-} +- shiftL = Bits.shiftL +- +- {-# INLINE shiftR #-} +- shiftR = Bits.shiftR diff --git a/dev-haskell/bloomfilter/metadata.xml b/dev-haskell/bloomfilter/metadata.xml index dd195e7ec1e2..d27a73cfe53f 100644 --- a/dev-haskell/bloomfilter/metadata.xml +++ b/dev-haskell/bloomfilter/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">bloomfilter</remote-id> <remote-id type="github">bos/bloomfilter</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/boring/Manifest b/dev-haskell/boring/Manifest new file mode 100644 index 000000000000..af57818f531d --- /dev/null +++ b/dev-haskell/boring/Manifest @@ -0,0 +1 @@ +DIST boring-0.2.1.tar.gz 5668 BLAKE2B 8bc10995f27531cee73b87084b4db08830cbad22a13c5419d84c46b3db53c432e9ee77dc1d0bc0892c2969f643384de83378df8d62701caed60df7881693f55f SHA512 25f3dd8b44f7b35962e9b02304215b2547525b74200d4ee2bc9990c66bd40e9a3383ba7300ab2746e1704684db86788f2cea03163f9a84b62214d9d3691edd80 diff --git a/dev-haskell/boring/boring-0.2.1.ebuild b/dev-haskell/boring/boring-0.2.1.ebuild new file mode 100644 index 000000000000..9f2c10be3afb --- /dev/null +++ b/dev-haskell/boring/boring-0.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Boring and Absurd types" +HOMEPAGE="https://github.com/phadej/boring" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+tagged" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= + tagged? ( + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag tagged tagged) +} diff --git a/dev-haskell/boring/metadata.xml b/dev-haskell/boring/metadata.xml new file mode 100644 index 000000000000..c0a9c4cc8fcb --- /dev/null +++ b/dev-haskell/boring/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="tagged">You can disable the use of the `tagged` package using `-f-tagged`. + +Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.</flag> + </use> + <upstream> + <remote-id type="hackage">boring</remote-id> + <remote-id type="github">phadej/boring</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/bsb-http-chunked/Manifest b/dev-haskell/bsb-http-chunked/Manifest index 1998bde6fdfd..973ca6d7b2b7 100644 --- a/dev-haskell/bsb-http-chunked/Manifest +++ b/dev-haskell/bsb-http-chunked/Manifest @@ -1 +1,2 @@ +DIST bsb-http-chunked-0.0.0.4-rev3.cabal 2678 BLAKE2B bb6500f2b185bfdad11da72202c944c815db63ef5efde76bbe8216237390fc2dfb9642944ed8fc6edd78479486bc463dd3ff247fc4687fd458de7f033161c6e0 SHA512 aaa23ff987a3f9a93eafbb7ee31343038c465f92dacc1835441be8f89e20b88f4677b16c10fb775f66f77204273b60fe97c9c11846ba1822d63c4ed2e8fcefb6 DIST bsb-http-chunked-0.0.0.4.tar.gz 6630 BLAKE2B d16b539f34518aaec4875b7644ceebbf50b94ddcdd9a2bb612dabfcd5eafbaa9753d187a5b137f39126993e0b75c9ffcebafb3772d948b45512e33ff3fae1dd9 SHA512 74c04c2fd372067c42d3631cdfc2ad7093c0c3af1145833ab307c538dbb936d2042492d4e81c520c3adde8634df29ff8558822f06f226c52d16abb4a35ab1a13 diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild new file mode 100644 index 000000000000..6513ce234259 --- /dev/null +++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.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.8.1.0.9999 + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Chunked HTTP transfer encoding for bytestring builders" +HOMEPAGE="https://github.com/sjakobi/bsb-http-chunked" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.0.0.4-disable-doctests-ghc-9_2.patch" +) + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/attoparsec + >=dev-haskell/blaze-builder-0.2.1.4 + >=dev-haskell/doctest-0.8 + dev-haskell/hedgehog + dev-haskell/tasty + dev-haskell/tasty-hedgehog + dev-haskell/tasty-hunit + ) +" diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild index e920b5151ce5..5dd3456be0d4 100644 --- a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild +++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild @@ -19,6 +19,14 @@ IUSE="" RDEPEND=">=dev-lang/ghc-7.10.1:= " + +# Tests do not work correctly on >=ghc-9.2 +RDEPEND+=" + test? ( + <dev-lang/ghc-9.1 + ) +" + DEPEND="${RDEPEND} >=dev-haskell/cabal-1.22.2.0 test? ( dev-haskell/attoparsec @@ -30,9 +38,6 @@ DEPEND="${RDEPEND} dev-haskell/tasty-hunit ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.8 && < 4.13' 'base >= 4.8' -} +CABAL_CHDEPS=( + 'base >= 4.8 && < 4.13' 'base >= 4.8' +) diff --git a/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch b/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch new file mode 100644 index 000000000000..649e9cc6368f --- /dev/null +++ b/dev-haskell/bsb-http-chunked/files/bsb-http-chunked-0.0.0.4-disable-doctests-ghc-9_2.patch @@ -0,0 +1,27 @@ +From 11051d3af3d490f30b06a08e5b1f0b14eb648ece Mon Sep 17 00:00:00 2001 +From: Simon Jakobi <simon.jakobi@gmail.com> +Date: Fri, 17 Dec 2021 14:47:41 +0100 +Subject: [PATCH] Disable doctests for GHC >= 9.2 + +Closes #38. + +Bug: https://github.com/sjakobi/bsb-http-chunked/pull/39 +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + bsb-http-chunked.cabal | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/bsb-http-chunked.cabal b/bsb-http-chunked.cabal +index 95cbd7e..b56651c 100644 +--- a/bsb-http-chunked.cabal ++++ b/bsb-http-chunked.cabal +@@ -66,6 +66,9 @@ test-suite doctests + , doctest >= 0.8 + ghc-options: -Wall + type: exitcode-stdio-1.0 ++ if impl(ghc >= 9.2) ++ -- https://github.com/sjakobi/bsb-http-chunked/issues/38 ++ buildable: False + + benchmark bench + hs-source-dirs: bench diff --git a/dev-haskell/bsb-http-chunked/metadata.xml b/dev-haskell/bsb-http-chunked/metadata.xml index e28ca99313c5..526f641c88ff 100644 --- a/dev-haskell/bsb-http-chunked/metadata.xml +++ b/dev-haskell/bsb-http-chunked/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library contains functions for encoding [bytestring - builders](http://hackage.haskell.org/package/bytestring/docs/Data-ByteString-Builder.html#t:Builder) - for [chunked HTTP\/1.1 transfer](https://en.wikipedia.org/wiki/Chunked_transfer_encoding). - - This functionality was extracted from - the [blaze-builder](http://hackage.haskell.org/package/blaze-builder) - package. - </longdescription> + <upstream> + <remote-id type="hackage">bsb-http-chunked</remote-id> + <remote-id type="github">sjakobi/bsb-http-chunked</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/byteable/byteable-0.1.1.ebuild b/dev-haskell/byteable/byteable-0.1.1.ebuild index fa3f22c54960..989a3f7ae3a7 100644 --- a/dev-haskell/byteable/byteable-0.1.1.ebuild +++ b/dev-haskell/byteable/byteable-0.1.1.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.6.9999 diff --git a/dev-haskell/byteorder/byteorder-1.0.4.ebuild b/dev-haskell/byteorder/byteorder-1.0.4.ebuild index 84dedc854c76..e4900354daa5 100644 --- a/dev-haskell/byteorder/byteorder-1.0.4.ebuild +++ b/dev-haskell/byteorder/byteorder-1.0.4.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.6.9999 diff --git a/dev-haskell/bytestring-builder/bytestring-builder-0.10.8.2.0.ebuild b/dev-haskell/bytestring-builder/bytestring-builder-0.10.8.2.0.ebuild index efa5f9af2621..6ac2cee6e9b5 100644 --- a/dev-haskell/bytestring-builder/bytestring-builder-0.10.8.2.0.ebuild +++ b/dev-haskell/bytestring-builder/bytestring-builder-0.10.8.2.0.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.9999 diff --git a/dev-haskell/c2hs/Manifest b/dev-haskell/c2hs/Manifest index db05140ba150..fdaf481f521d 100644 --- a/dev-haskell/c2hs/Manifest +++ b/dev-haskell/c2hs/Manifest @@ -1 +1,2 @@ +DIST c2hs-0.28.8-rev2.cabal 9397 BLAKE2B fa4f8c6394f9d86d010a2224840483a3cd154223fbd5a993dc56250f1c49629f10a630bb33db047c091fb9ea62188728b8fe71eb044e173cc77dcdce78516706 SHA512 e8db51a51d26ef8df83e0e6a2fa643e2540135f73f1ad6409304dbd1b98e340a9aaaedf858d5fe5f18f19ce4df86568d3ad540be1c257ee352c5c3d838c879ea DIST c2hs-0.28.8.tar.gz 207816 BLAKE2B 6d912fd93c6076ccd86ed62e075f1addb7b44378c82acc0cbaf04b6b91a2ed4530cde60a9139316d928a2867474bafde5c14aedb4ab9e78e5faaa99830276a71 SHA512 ff9119acecddd853f2f797385f971c249bcd92d4b141e8e7ea5f5d3e63aa257502c80ded2720a46e3186260026b94c9e518f08f8e452a64c9f888d0183ee1749 diff --git a/dev-haskell/c2hs/c2hs-0.28.8-r2.ebuild b/dev-haskell/c2hs/c2hs-0.28.8-r2.ebuild new file mode 100644 index 000000000000..8e23dfe4647f --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.28.8-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: -regression + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # needs unprefixed 'cpp' + +RDEPEND=" + dev-haskell/dlist:= + >=dev-haskell/language-c-0.7.1:= <dev-haskell/language-c-0.10:= + >=dev-lang/ghc-9.0.2:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.4.1.0 + test? ( + dev-haskell/hunit + >=dev-haskell/shelly-1.9.0 + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/text + ) +" + +src_configure() { + haskell-cabal_src_configure --flag=-regression +} diff --git a/dev-haskell/c2hs/metadata.xml b/dev-haskell/c2hs/metadata.xml index 057927a3d82a..7c8b6c407a28 100644 --- a/dev-haskell/c2hs/metadata.xml +++ b/dev-haskell/c2hs/metadata.xml @@ -5,18 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - C->Haskell assists in the development of Haskell bindings to C - libraries. It extracts interface information from C header - files and generates Haskell code with foreign imports and - marshaling. Unlike writing foreign imports by hand (or using - hsch2s), this ensures that C functions are imported with the - correct Haskell types. - </longdescription> <use> - <flag name="regression">run regression tests</flag> + <flag name="regression">Enable regression suite build.</flag> </use> <upstream> + <remote-id type="hackage">c2hs</remote-id> <remote-id type="github">haskell/c2hs</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cabal-doctest/Manifest b/dev-haskell/cabal-doctest/Manifest index 2a4548ed9cc9..f1d0b6f3ed6a 100644 --- a/dev-haskell/cabal-doctest/Manifest +++ b/dev-haskell/cabal-doctest/Manifest @@ -1 +1,2 @@ +DIST cabal-doctest-1.0.9-rev3.cabal 1517 BLAKE2B 8d276a1be0af33c84c45af63c55f96a126d595c73ce95008a558178fb126ea534247d5a9a697af055eb8b551d16a80408fa8484380d68732367754642691a400 SHA512 9890fb6d6b3660056f9b092285e7a0af38c1355c79724438ea7346601c7bfb0b583266065db1f7015317cbd1e5e84d10009d99b3888f413841837c58c84d75a3 DIST cabal-doctest-1.0.9.tar.gz 10770 BLAKE2B a85afe1e184a8de3f2fc641f442e420202b0b40a4f0368de365c1581648d877efbc9e771b3fec0fafc2dc29f35e9ca0fb5689975e71889286767a53580d7d1fe SHA512 e5946a300a159e9adc8dd56927437c2e1db643d0f23c69325a33075e4da011a7e681814d9ad475ee4029f8f95151b6fa350e9b6912133167baa0bfc79b49da77 diff --git a/dev-haskell/cabal-doctest/cabal-doctest-1.0.9-r1.ebuild b/dev-haskell/cabal-doctest/cabal-doctest-1.0.9-r1.ebuild new file mode 100644 index 000000000000..d948a92eebe3 --- /dev/null +++ b/dev-haskell/cabal-doctest/cabal-doctest-1.0.9-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A Setup.hs helper for running doctests" +HOMEPAGE="https://github.com/haskellari/cabal-doctest" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/cabal-1.10:=[profile?] <dev-haskell/cabal-3.12:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/cabal-doctest/metadata.xml b/dev-haskell/cabal-doctest/metadata.xml index 012804cafb1c..4ba119032479 100644 --- a/dev-haskell/cabal-doctest/metadata.xml +++ b/dev-haskell/cabal-doctest/metadata.xml @@ -5,14 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Currently (beginning of 2017), there isn't @cabal doctest@ - command. Yet, to properly work doctest needs plenty of configuration. - This library provides the common bits for writing custom Setup.hs - See <https://github.com/haskell/cabal/issues/2327 Cabal/2327> for the progress - of @cabal doctest@, i.e. whether this library is obsolete. - </longdescription> <upstream> - <remote-id type="github">phadej/cabal-doctests</remote-id> + <remote-id type="hackage">cabal-doctest</remote-id> + <remote-id type="github">haskellari/cabal-doctest</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest index 1e6e6e555521..a3528ee38e6c 100644 --- a/dev-haskell/cabal-install/Manifest +++ b/dev-haskell/cabal-install/Manifest @@ -1 +1,4 @@ +DIST cabal-install-3.4.1.0-rev2.cabal 16912 BLAKE2B 9844dca8c72e39cf6f81267f9eae07d25eea9ba351d4ec70026ad0d9a6fb15423b066f2d998e1b702bd9acc15f9f0f90a3a4fc4b4d359bf2c4f5748a77c352ae SHA512 287f819c47a4c1b85ce35c18a299ba18bb0907662a2a5980ed84aebbee93b558ba1237c07100175e44c6b85bcd4953b39691219afb119a8a7d1b6d8aede96d1b DIST cabal-install-3.4.1.0.tar.gz 640932 BLAKE2B a5b662aeedcf2f76286be8b2487f429b79a8c6e65f494f0e3b69013a15cdc1ca5b9b114aec5ed22ee8398345944040cddf4a61d5bead05a8a4c7eb93cac1cfce SHA512 e8a47dc15d65d0da2886c1d936a10648f58b0f29e36c5cc49936e7f5e9d77780956b79432b75717186c2374bdb7251a47801e0478edc481c154d5e5d0d1a70db +DIST cabal-install-3.6.2.0-rev2.cabal 13012 BLAKE2B 06f2bd2876d97560abf7693faf0aa0648a685bea5a443fd517d32236db8dc22c100f672ec79b6e131acd441a91f8e139c46d8a1890f2656d8f2b74be57545b71 SHA512 f6422bd69ff798ac42d1b10790347bffef6e3fc3bfc8fc4be96b6ea990f77199eb388306e45810990fd090d7d7040d72c94f3d65dc6f2f69994bf6a18b4ef134 +DIST cabal-install-3.6.2.0.tar.gz 633319 BLAKE2B e7169cc852413b3cd9d7f763402a5cc4746f9412f008b9b4a456de6002fbc79c8b77835723e3819a4049fc4d5175528040cef543f6a0dfa6f38331be16eddddb SHA512 a02d72fd7d0bf7778b1d4f2925e0b78f6c321cb29d59d559da758bfa6a0cd17fc776bd64911db8d28a208189b35db50aceae109782a1011e059446c4c2d77ad3 diff --git a/dev-haskell/cabal-install/cabal-install-3.4.1.0-r2.ebuild b/dev-haskell/cabal-install/cabal-install-3.4.1.0-r3.ebuild index 50a8c1fcbfc7..9e2bce608882 100644 --- a/dev-haskell/cabal-install/cabal-install-3.4.1.0-r2.ebuild +++ b/dev-haskell/cabal-install/cabal-install-3.4.1.0-r3.ebuild @@ -3,23 +3,31 @@ EAPI=8 -# ebuild generated by hackport 0.7.9999 -#hackport: flags: -monolithic,+network-uri,-debug-tracetree,-debug-expensive-assertions +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -monolithic,+network-uri,-debug-tracetree,-debug-expensive-assertions,-debug-conflict-sets + +CABAL_HACKAGE_REVISION=2 CABAL_FEATURES="" inherit haskell-cabal ghc-package DESCRIPTION="The command-line interface for Cabal and Hackage" HOMEPAGE="https://www.haskell.org/cabal/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -#keep in sync with ghc-9.0.2 +# Keep in sync with relevant dev-haskell/cabal versions KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="debug +lukko +native-dns" +IUSE="+lukko +native-dns" + +CABAL_CHDEPS=( + 'base >= 4.8 && < 4.16' 'base >= 4.8' + 'hashable >= 1.0 && < 1.4' 'hashable >=1.0' + 'HTTP >= 4000.1.5 && < 4000.4' 'HTTP >= 4000.1.5 && < 4000.5' +) -RDEPEND=">=dev-haskell/async-2.0:= <dev-haskell/async-2.3:= +RDEPEND=" + >=dev-haskell/async-2.0:= <dev-haskell/async-2.3:= >=dev-haskell/base16-bytestring-0.1.1:= <dev-haskell/base16-bytestring-1.1.0.0:= >=dev-haskell/cabal-3.4.1:= <dev-haskell/cabal-3.4.2:= >=dev-haskell/cryptohash-sha256-0.11:= <dev-haskell/cryptohash-sha256-0.12:= @@ -28,47 +36,37 @@ RDEPEND=">=dev-haskell/async-2.0:= <dev-haskell/async-2.3:= >=dev-haskell/hackage-security-0.6.0.1:= <dev-haskell/hackage-security-0.7:= >=dev-haskell/hashable-1.0:= >=dev-haskell/http-4000.1.5:= <dev-haskell/http-4000.5:= - >=dev-haskell/mtl-2.0:= <dev-haskell/mtl-2.3:= >=dev-haskell/network-uri-2.6.0.2:= <dev-haskell/network-uri-2.7:= - >=dev-haskell/parsec-3.1.13.0:= <dev-haskell/parsec-3.2:= >=dev-haskell/random-1.2:= <dev-haskell/random-1.3:= >=dev-haskell/regex-base-0.94.0.0:= <dev-haskell/regex-base-0.95:= >=dev-haskell/regex-posix-0.96.0.0:= <dev-haskell/regex-posix-0.97:= >=dev-haskell/stm-2.0:= <dev-haskell/stm-2.6:= >=dev-haskell/tar-0.5.0.3:= <dev-haskell/tar-0.6:= - >=dev-haskell/text-1.2.3:= <dev-haskell/text-1.3:= >=dev-haskell/zlib-0.5.3:= <dev-haskell/zlib-0.7:= >=dev-lang/ghc-8.4.3:= - lukko? ( >=dev-haskell/lukko-0.1:= <dev-haskell/lukko-0.2:= ) - native-dns? ( >=dev-haskell/resolv-0.1.1:= <dev-haskell/resolv-0.2:= ) + lukko? ( + >=dev-haskell/lukko-0.1:= <dev-haskell/lukko-0.2:= + ) + native-dns? ( + >=dev-haskell/resolv-0.1.1:= <dev-haskell/resolv-0.2:= + ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 " src_prepare() { - default - - #if use noprefs; then - # epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch - #fi - - cabal_chdeps \ - 'base >= 4.8 && < 4.15' 'base >= 4.8' \ - 'hashable >= 1.0 && < 1.4' 'hashable >=1.0' \ - 'HTTP >= 4000.1.5 && < 4000.4' 'HTTP >= 4000.1.5 && < 4000.5' - # no chance to link to -threaded on ppc64, alpha and others # who use UNREG, not only ARM if ! ghc-supports-threaded-runtime; then - cabal_chdeps '-threaded' ' ' + export CABAL_CHDEPS+=( '-threaded' ' ' ) fi - eapply_user + haskell-cabal_src_prepare } src_configure() { haskell-cabal_src_configure \ - $(cabal_flag debug debug-conflict-sets) \ + --flag=-debug-conflict-sets \ --flag=-debug-expensive-assertions \ --flag=-debug-tracetree \ $(cabal_flag lukko lukko) \ diff --git a/dev-haskell/cabal-install/cabal-install-3.6.2.0-r1.ebuild b/dev-haskell/cabal-install/cabal-install-3.6.2.0-r1.ebuild new file mode 100644 index 000000000000..c39a1ed229dd --- /dev/null +++ b/dev-haskell/cabal-install/cabal-install-3.6.2.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -monolithic,+network-uri,-debug-tracetree,-debug-expensive-assertions,-debug-conflict-sets + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="" +inherit haskell-cabal + +DESCRIPTION="The command-line interface for Cabal and Hackage" +HOMEPAGE="https://www.haskell.org/cabal/" + +LICENSE="BSD" +SLOT="0" + +# Keep in sync with relevant dev-haskell/cabal versions +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+lukko +native-dns" + +RDEPEND=" + >=dev-haskell/async-2.0:= <dev-haskell/async-2.3:= + >=dev-haskell/base16-bytestring-0.1.1:= <dev-haskell/base16-bytestring-1.1.0.0:= + >=dev-haskell/cabal-3.6.1.0:= <dev-haskell/cabal-3.7:= + >=dev-haskell/cryptohash-sha256-0.11:= <dev-haskell/cryptohash-sha256-0.12:= + >=dev-haskell/echo-0.1.3:= <dev-haskell/echo-0.2:= + >=dev-haskell/edit-distance-0.2.2:= <dev-haskell/edit-distance-0.3:= + >=dev-haskell/hackage-security-0.6.0.1:= <dev-haskell/hackage-security-0.7:= + >=dev-haskell/hashable-1.0:= <dev-haskell/hashable-1.5:= + >=dev-haskell/http-4000.1.5:= <dev-haskell/http-4000.5:= + >=dev-haskell/network-uri-2.6.0.2:= <dev-haskell/network-uri-2.7:= + >=dev-haskell/random-1.2:= <dev-haskell/random-1.3:= + >=dev-haskell/regex-base-0.94.0.0:= <dev-haskell/regex-base-0.95:= + >=dev-haskell/regex-posix-0.96.0.0:= <dev-haskell/regex-posix-0.97:= + >=dev-haskell/stm-2.0:= <dev-haskell/stm-2.6:= + >=dev-haskell/tar-0.5.0.3:= <dev-haskell/tar-0.6:= + >=dev-haskell/zlib-0.5.3:= <dev-haskell/zlib-0.7:= + >=dev-lang/ghc-8.4.3:= + lukko? ( + >=dev-haskell/lukko-0.1:= <dev-haskell/lukko-0.2:= + ) + native-dns? ( + >=dev-haskell/resolv-0.1.1:= <dev-haskell/resolv-0.2:= + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-debug-conflict-sets \ + --flag=-debug-expensive-assertions \ + --flag=-debug-tracetree \ + $(cabal_flag lukko lukko) \ + --flag=-monolithic \ + $(cabal_flag native-dns native-dns) \ + --flag=network-uri +} diff --git a/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch b/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch deleted file mode 100644 index c36582680a56..000000000000 --- a/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/Distribution/Client/IndexUtils.hs b/Distribution/Client/IndexUtils.hs -index 48d8d49..3a38ee1 100644 ---- a/Distribution/Client/IndexUtils.hs -+++ b/Distribution/Client/IndexUtils.hs -@@ -312,10 +312,15 @@ extractPkg entry = case Tar.entryContent entry of - - extractPrefs :: Tar.Entry -> Maybe [Dependency] - extractPrefs entry = case Tar.entryContent entry of -+{- -+ -- get rid of hackage's preferred-versions -+ -- I'd like to have bleeding-edge packages in system and I don't fear of -+ -- broken packages with improper depends - Tar.NormalFile content _ - | takeFileName (Tar.entryPath entry) == "preferred-versions" - -> Just . parsePreferredVersions - . BS.Char8.unpack $ content -+-} - _ -> Nothing - - parsePreferredVersions :: String -> [Dependency] diff --git a/dev-haskell/cabal-install/metadata.xml b/dev-haskell/cabal-install/metadata.xml index 1e8264cabe17..9025779d6797 100644 --- a/dev-haskell/cabal-install/metadata.xml +++ b/dev-haskell/cabal-install/metadata.xml @@ -9,4 +9,8 @@ <flag name="lukko">Use @lukko@ for file-locking</flag> <flag name="native-dns">Enable use of the [resolv](https://hackage.haskell.org/package/resolv) & [windns](https://hackage.haskell.org/package/windns) packages for performing DNS lookups</flag> </use> + <upstream> + <remote-id type="hackage">cabal-install</remote-id> + <remote-id type="github">haskell/cabal</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cabal/Manifest b/dev-haskell/cabal/Manifest index 7d6fc904f338..fb916d95e040 100644 --- a/dev-haskell/cabal/Manifest +++ b/dev-haskell/cabal/Manifest @@ -1,2 +1,3 @@ -DIST Cabal-3.2.1.0.tar.gz 823331 BLAKE2B 060f4808010f9eefd943312144c75e021bf02083c2a0805128da6c9b93da94ba13fe37cef1fbe27e41fe8a10610e088b923783f4b7bb57150532d3a3ea4a91fc SHA512 279088a2ab9145efc03dbdd10941edcf6034137046ee3b659a8cf0ff075a03e3edff28fd01d432d39701c5a7e05a50b99cf8de95f05d3bd4e75edb3af0e3a598 -DIST Cabal-3.4.1.0.tar.gz 836938 BLAKE2B b185d2beb91a0317b392c6f32ea47a574b8037b23f5131334bca1282359218ab94aa406be737e0fbb15458e7dfa2cba2b22f7776d42c20aeed2b87598cda0e2d SHA512 93233007b70487c76b8ceb9e475ebff0cae4c86a4694820ee505ee83d9049147d60c32c9aea5c4802faf5273adaaae66db299c1ee722aed64c716ac7a3b3aa90 +DIST cabal-3.4.1.0-rev1.cabal 31402 BLAKE2B cfaeee44401e73fa6f80e06896ae21dcbc162a1932963ffdf44428db50a63970ef8323ae6bff0a0f11341a1d31c8b766770b6f6b892d896a27710f44dc655147 SHA512 786c52e25062b0d2934a455a623dc78f4581add2875723356ddb4ff51346e35bf9ad226bda2f25863a30e57e4e7c3ad2f2df7aed3fdbe2c888b4397841b830cc +DIST cabal-3.4.1.0.tar.gz 836938 BLAKE2B b185d2beb91a0317b392c6f32ea47a574b8037b23f5131334bca1282359218ab94aa406be737e0fbb15458e7dfa2cba2b22f7776d42c20aeed2b87598cda0e2d SHA512 93233007b70487c76b8ceb9e475ebff0cae4c86a4694820ee505ee83d9049147d60c32c9aea5c4802faf5273adaaae66db299c1ee722aed64c716ac7a3b3aa90 +DIST cabal-3.6.3.0.tar.gz 608808 BLAKE2B 921b07d24b1f2905bd856185cdb20f519d077b729e3ae515611f6024dfbe9d8263c3f8dade6751c35ea7584b5044bf53ab5c3f5ec8dd5aa465f519c7ceb272a4 SHA512 47a2e2c6f316d49f9d20b53e6781fe0d3d874a472133d9b16c5d0be5df0fff951560974fa73dccf3fb0b53cb01c68c7f5f5d3545538d7a2c7245aca8ff602020 diff --git a/dev-haskell/cabal/cabal-3.2.1.0-r1.ebuild b/dev-haskell/cabal/cabal-3.2.1.0-r1.ebuild deleted file mode 100644 index dc5b3144aa80..000000000000 --- a/dev-haskell/cabal/cabal-3.2.1.0-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# ebuild generated by hackport 0.6.7.9999 -#hackport: flags: -bundled-binary-generic - -# Drop test-suite due to "circular" dependencies with quickcheck -CABAL_FEATURES="lib profile haddock hoogle hscolour" -CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken -inherit haskell-cabal - -MY_PN="Cabal" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A framework for packaging Haskell software" -HOMEPAGE="https://www.haskell.org/cabal/" -SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" # ~ppc ~ppc64 ~ppc-macos -IUSE="" - -RESTRICT=test # circular deps: cabal -> quickcheck -> cabal - -# GHC lower bound set to 8.0 to remove semigroups and fail dependencies. -RDEPEND=" >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] - >=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] - >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-8.0:= -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - # Cabal bootstraps with 'ghc --make' without package cleanup in environment. - # That causes module collisions at build: - # - pulseaudio: Distribution/Utils/Structured.hs:98:1: error: Ambiguous module name ‘Data.Time’: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.9.3 - # - kinds: Distribution/Utils/Structured.hs:106:1: error: Ambiguous module name ‘Data.Kind’: it was found in multiple packages: base-4.14.1.0 kinds-0.0.1.5 - HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio" - HCFLAGS="${HCFLAGS} -ignore-package=kinds" -} - -src_configure() { - haskell-cabal_src_configure \ - --flag=-bundled-binary-generic -} - -CABAL_CORE_LIB_GHC_PV="8.10.6" diff --git a/dev-haskell/cabal/cabal-3.4.1.0-r1.ebuild b/dev-haskell/cabal/cabal-3.4.1.0-r1.ebuild new file mode 100644 index 000000000000..c6c1f1ec4d33 --- /dev/null +++ b/dev-haskell/cabal/cabal-3.4.1.0-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -parsec-struct-diff + +CABAL_HACKAGE_REVISION=1 +CABAL_PN="Cabal" + +# drop tests due to circular deps +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken +inherit haskell-cabal + +DESCRIPTION="A framework for packaging Haskell software" +HOMEPAGE="https://www.haskell.org/cabal/" + +LICENSE="BSD" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RESTRICT=test # circular deps: cabal -> quickcheck -> cabal + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= <dev-lang/ghc-9.1:= +" +DEPEND="${RDEPEND} +" +# test? ( +# >=dev-haskell/async-2.2.2 <dev-haskell/async-2.3 +# >=dev-haskell/base-compat-0.11.0 <dev-haskell/base-compat-0.12 +# >=dev-haskell/base-orphans-0.6 <dev-haskell/base-orphans-0.9 +# >=dev-haskell/clock-0.8 <dev-haskell/clock-0.9 +# >=dev-haskell/diff-0.4 <dev-haskell/diff-0.5 +# >=dev-haskell/integer-logarithms-1.0.2 <dev-haskell/integer-logarithms-1.1 +# >=dev-haskell/optparse-applicative-0.13.2.0 <dev-haskell/optparse-applicative-0.17 +# >=dev-haskell/quickcheck-2.14 <dev-haskell/quickcheck-2.15 +# >=dev-haskell/rere-0.1 <dev-haskell/rere-0.3 +# >=dev-haskell/stm-2.4.5.0 <dev-haskell/stm-2.6 +# dev-haskell/tagged +# >=dev-haskell/tar-0.5.0.3 <dev-haskell/tar-0.6 +# >=dev-haskell/tasty-1.2.3 <dev-haskell/tasty-1.4 +# >=dev-haskell/tasty-golden-2.3.1.1 <dev-haskell/tasty-golden-2.4 +# dev-haskell/tasty-hunit +# dev-haskell/tasty-quickcheck +# dev-haskell/temporary +# >=dev-haskell/tree-diff-0.1 <dev-haskell/tree-diff-0.2 +# ) + +src_prepare() { + haskell-cabal_src_prepare + + # Cabal bootstraps with 'ghc --make' without package cleanup in environment. + # That causes module collisions at build: + # - pulseaudio: Distribution/Utils/Structured.hs:98:1: error: Ambiguous module name ‘Data.Time’: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.9.3 + # - kinds: Distribution/Utils/Structured.hs:106:1: error: Ambiguous module name ‘Data.Kind’: it was found in multiple packages: base-4.14.1.0 kinds-0.0.1.5 + HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio" + HCFLAGS="${HCFLAGS} -ignore-package=kinds" +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-parsec-struct-diff +} + +CABAL_CORE_LIB_GHC_PV="9.0.2" diff --git a/dev-haskell/cabal/cabal-3.4.1.0.ebuild b/dev-haskell/cabal/cabal-3.4.1.0.ebuild deleted file mode 100644 index bfb33339ba06..000000000000 --- a/dev-haskell/cabal/cabal-3.4.1.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# ebuild generated by hackport 0.7.9999 -#hackport: flags: -bundled-binary-generic - -CABAL_PN="Cabal" - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # drop tests due to circular deps -CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken -inherit haskell-cabal - -DESCRIPTION="A framework for packaging Haskell software" -HOMEPAGE="https://www.haskell.org/cabal/" -SRC_URI="https://hackage.haskell.org/package/${CABAL_PN}/${CABAL_PN}-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -#keep in sync with ghc-9.0.2 -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RESTRICT=test # circular deps: cabal -> quickcheck -> cabal - -RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] - >=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] - >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${CABAL_PN}-${PV}" - -src_prepare() { - default - - # Cabal bootstraps with 'ghc --make' without package cleanup in environment. - # That causes module collisions at build: - # - pulseaudio: Distribution/Utils/Structured.hs:98:1: error: Ambiguous module name ‘Data.Time’: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.9.3 - # - kinds: Distribution/Utils/Structured.hs:106:1: error: Ambiguous module name ‘Data.Kind’: it was found in multiple packages: base-4.14.1.0 kinds-0.0.1.5 - HCFLAGS="${HCFLAGS} -ignore-package=pulseaudio" - HCFLAGS="${HCFLAGS} -ignore-package=kinds" -} - -src_configure() { - haskell-cabal_src_configure \ - --flag=-bundled-binary-generic -} - -CABAL_CORE_LIB_GHC_PV="9.0.2" diff --git a/dev-haskell/cabal/cabal-3.6.3.0.ebuild b/dev-haskell/cabal/cabal-3.6.3.0.ebuild new file mode 100644 index 000000000000..45f63629ee03 --- /dev/null +++ b/dev-haskell/cabal/cabal-3.6.3.0.ebuild @@ -0,0 +1,34 @@ +# 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: -parsec-struct-diff + +CABAL_PN="Cabal" + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken +inherit haskell-cabal + +DESCRIPTION="A framework for packaging Haskell software" +HOMEPAGE="https://www.haskell.org/cabal/" + +LICENSE="BSD" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-lang/ghc-9.2.4:= <dev-lang/ghc-9.3:= +" +DEPEND="${RDEPEND} +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-parsec-struct-diff +} + +CABAL_CORE_LIB_GHC_PV="9.2.4 9.2.5 9.2.6 9.2.7 9.2.8" diff --git a/dev-haskell/cabal/metadata.xml b/dev-haskell/cabal/metadata.xml index ac62fa133898..ff65eca11461 100644 --- a/dev-haskell/cabal/metadata.xml +++ b/dev-haskell/cabal/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">Cabal</remote-id> <remote-id type="github">haskell/cabal</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cairo/Manifest b/dev-haskell/cairo/Manifest new file mode 100644 index 000000000000..14b05702e273 --- /dev/null +++ b/dev-haskell/cairo/Manifest @@ -0,0 +1 @@ +DIST cairo-0.13.10.0.tar.gz 53346 BLAKE2B dd6d4d6b4fcfe0212823bbfc01d1edef7cb0a6e776c74d85419c91d6f48757ce1d9f36855c54fa88a4eb448de3c70a9b22bec99647e5e49988770249f14a950a SHA512 86465f37999144a8330b2921eb7233a6a1e5258ac9debe4c70c515ccc183ed6cc04dca3a3ca91978e0d3d2871e4a601253e147fd5b3e76f4839a37cbf9deabfa diff --git a/dev-haskell/cairo/cairo-0.13.10.0.ebuild b/dev-haskell/cairo/cairo-0.13.10.0.ebuild new file mode 100644 index 000000000000..84caaa8cda97 --- /dev/null +++ b/dev-haskell/cairo/cairo-0.13.10.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 +#hackport: flags: +cairo_pdf,+cairo_ps,cairo_svg:svg + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Binding to the Cairo library" +HOMEPAGE="https://projects.haskell.org/gtk2hs/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+svg" + +RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= + x11-libs/cairo +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 <dev-haskell/cabal-3.11 +" +BDEPEND=">=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14 + virtual/pkgconfig +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=cairo_pdf \ + --flag=cairo_ps \ + $(cabal_flag svg cairo_svg) +} + +GHC_BOOTSTRAP_PACKAGES=( gtk2hs-buildtools ) diff --git a/dev-haskell/cairo/metadata.xml b/dev-haskell/cairo/metadata.xml new file mode 100644 index 000000000000..3778b9cd1ba8 --- /dev/null +++ b/dev-haskell/cairo/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="svg">Build the Scalable Vector Graphics (SVG) backend of Cairo.</flag> + </use> + <upstream> + <remote-id type="hackage">cairo</remote-id> + <remote-id type="github">gtk2hs/gtk2hs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/call-stack/Manifest b/dev-haskell/call-stack/Manifest index b50d8e79bf56..6d9ed78160c1 100644 --- a/dev-haskell/call-stack/Manifest +++ b/dev-haskell/call-stack/Manifest @@ -1 +1,2 @@ DIST call-stack-0.3.0.tar.gz 2544 BLAKE2B 7a668213daaaae0c2ba9a1670aa0073585ea1e122149b88c2a953b4aa8960ef4221259c2a331f3a32913727373e6f7a9e99ad5cdbf747f9e84071c4da01ca522 SHA512 32d805957dbe8965c22a74f1c9fed950f5c8df599ce5d447b3eae08fbbf65a01286be95444ca9db654a5189b062b4cf121dcd771c6bd981ca9d12e0df206533d +DIST call-stack-0.4.0.tar.gz 2757 BLAKE2B 1a62fa72f223c301995e5e74cd0797e2a5c8fef0a8a73ec589bb9047e56953f7ab5f4f1d942814e285529a71901784e7fd35e470b512eb42b06edfc01c540ff7 SHA512 ab8ead1f9d6a71a6c70d2c484de4e42f3aecdcadd6d02f447b450e58b8556c7c4c293b8865ff154ea9bc6aca71cf5182034dc46265d364c4389882ab0ee3b937 diff --git a/dev-haskell/call-stack/call-stack-0.3.0.ebuild b/dev-haskell/call-stack/call-stack-0.3.0.ebuild index 804370b8403d..89addd693abf 100644 --- a/dev-haskell/call-stack/call-stack-0.3.0.ebuild +++ b/dev-haskell/call-stack/call-stack-0.3.0.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 diff --git a/dev-haskell/call-stack/call-stack-0.4.0.ebuild b/dev-haskell/call-stack/call-stack-0.4.0.ebuild new file mode 100644 index 000000000000..d3e0ebf64eed --- /dev/null +++ b/dev-haskell/call-stack/call-stack-0.4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Use GHC call-stacks in a backward compatible way" +HOMEPAGE="https://github.com/sol/call-stack#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/nanospec ) +" diff --git a/dev-haskell/call-stack/metadata.xml b/dev-haskell/call-stack/metadata.xml index 937381521944..5cb918438566 100644 --- a/dev-haskell/call-stack/metadata.xml +++ b/dev-haskell/call-stack/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">call-stack</remote-id> + <remote-id type="github">sol/call-stack</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/case-insensitive/case-insensitive-1.2.1.0.ebuild b/dev-haskell/case-insensitive/case-insensitive-1.2.1.0.ebuild index 1272e1d9cd48..b98875ed758a 100644 --- a/dev-haskell/case-insensitive/case-insensitive-1.2.1.0.ebuild +++ b/dev-haskell/case-insensitive/case-insensitive-1.2.1.0.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.1 diff --git a/dev-haskell/cassava/Manifest b/dev-haskell/cassava/Manifest index a321117df935..dea222dd9578 100644 --- a/dev-haskell/cassava/Manifest +++ b/dev-haskell/cassava/Manifest @@ -1,2 +1,4 @@ DIST cassava-0.5.2.0-rev7.cabal 6051 BLAKE2B 934cf9b067a8c9503f13676e3ee8f4d3a79a7ab030f39f4b652d460d89e3a739b1bb2bc231ad06e63d0cc5155e4119f91d2ea1d5d01c423c7cca2e689f07fd46 SHA512 4f8105a7298ff3a5f4dc8d579571296902d44084dce57c0136bd089de4575d75fa6a839fb568a87c7ae0b07ea3cee40a6e33ffe35ca2c8b05dd45905aa8713ea DIST cassava-0.5.2.0.tar.gz 37411 BLAKE2B 64351820bf75bfef0f29e44d1c3f9177ba41474d3419985b9853893aa4cee1485bbb1dfdd4d11b4c8df2673775fdfa211942b13f11124e8077ac25b91c6fc8d4 SHA512 f7f3fc2ebf58491847fb20b21ecf18595933d296bfd4c48249d35c52e72988c4e2758d7a6d2095a9edb3bed8e154a11170920a7c08262270c9f60cb853085383 +DIST cassava-0.5.3.0-rev1.cabal 6121 BLAKE2B 17a993359521f12b5be13eb3ffa8e92d5814ecd2c6df37a97e9bd07aba6fb476ca13f62def0fc50cac2cbc7e9c7408804ab49936868f69ab2b98c06289234910 SHA512 2b97d8eb0d2a478dfacd771ff33d63e8d8ea27b8a2b721353e49a50a378739de10cb67d7e803884192357b394bcc4b9c943fa108ae71725c229f1a5eb9eae6c1 +DIST cassava-0.5.3.0.tar.gz 38224 BLAKE2B 8b82d77e7698bc608be8637894c2a57361145547f63a48d48d76027f8003d3e0c505777bd61b29f00dab117995d846f442d3de2ee56b392302fc6f57639e7f14 SHA512 6afae52a2facc013d746a83afa975a2493174e2c5bda0c0ad8cab76c13c46dd86e8d3142e0676c881a35c3c8bf5618a5c1e4b70c3ab153443b949cb84b70bcb4 diff --git a/dev-haskell/cassava/cassava-0.5.3.0.ebuild b/dev-haskell/cassava/cassava-0.5.3.0.ebuild new file mode 100644 index 000000000000..822b25cc6f0f --- /dev/null +++ b/dev-haskell/cassava/cassava-0.5.3.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION=1 +inherit haskell-cabal + +CABAL_FILE="${S}/${PN}.cabal" +CABAL_DISTFILE="${P}-rev${CABAL_HACKAGE_REVISION}.cabal" + +DESCRIPTION="A CSV parsing and encoding library" +HOMEPAGE="https://github.com/haskell-hvr/cassava" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal + -> ${CABAL_DISTFILE}" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/attoparsec-0.11.3.0:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/only-0.1:=[profile?] <dev-haskell/only-0.1.1:=[profile?] + >=dev-haskell/scientific-0.3.4.7:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/text-short-0.1:=[profile?] <dev-haskell/text-short-0.2:=[profile?] + <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.8:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( <dev-haskell/hunit-1.7 + >=dev-haskell/quickcheck-2.14 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.12 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 ) +" +BDEPEND="app-text/dos2unix" + +src_prepare() { + # pull revised cabal from upstream + cp "${DISTDIR}/${CABAL_DISTFILE}" "${CABAL_FILE}" || die + + # Convert to unix line endings + dos2unix "${CABAL_FILE}" || die + + # Apply patches *after* pulling the revised cabal + default +} diff --git a/dev-haskell/cassava/metadata.xml b/dev-haskell/cassava/metadata.xml index b5e909828986..769713f352ca 100644 --- a/dev-haskell/cassava/metadata.xml +++ b/dev-haskell/cassava/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">tibbe/cassava</remote-id> + <remote-id type="hackage">cassava</remote-id> + <remote-id type="github">haskell-hvr/cassava</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cereal/Manifest b/dev-haskell/cereal/Manifest index 100cb6423413..5f2eabcb8339 100644 --- a/dev-haskell/cereal/Manifest +++ b/dev-haskell/cereal/Manifest @@ -1 +1,2 @@ DIST cereal-0.5.8.1.tar.gz 20114 BLAKE2B a71e11b9d138fcc1de7da0cfe573b3c31a263c75f62628bea70fb17af6c911fd9996c32a69fb0a9a4328241072c684dc110134a2b837643dcda2722f37869e9b SHA512 aced40e81301fbc73c6029be2c4045cf63f81d40361d5939713f3d60db196dc25a70e556e9e74e194e6a3b6cac86997d2bfc8b1f91c630676af7d066268a25b4 +DIST cereal-0.5.8.3.tar.gz 20166 BLAKE2B aafc599c0cdb872818680f4a759267fa0c9de43d10ad05f0c2c504a72eb7533af6cdfb26b1321b802192d5bf77525ff48072165e314ed902947ea5ba8cfbfe09 SHA512 2dd9e83e4659f76964c2c66eac76174d1c715cc969c2e8c818033e1d9ed5633997fcf2311c61dc4e6f10db03e65a8c80475b84cda39592849a9c1112b0c0596a diff --git a/dev-haskell/cereal/cereal-0.5.8.1.ebuild b/dev-haskell/cereal/cereal-0.5.8.1.ebuild index 62490935b4f6..a933409a6fa0 100644 --- a/dev-haskell/cereal/cereal-0.5.8.1.ebuild +++ b/dev-haskell/cereal/cereal-0.5.8.1.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.9999 @@ -19,7 +19,7 @@ IUSE="" RDEPEND=">=dev-haskell/bytestring-builder-0.10.4:=[profile?] <dev-haskell/bytestring-builder-1:=[profile?] >=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-4.10:=[profile?] - >=dev-lang/ghc-7.4.1:= + >=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 diff --git a/dev-haskell/cereal/cereal-0.5.8.3.ebuild b/dev-haskell/cereal/cereal-0.5.8.3.ebuild new file mode 100644 index 000000000000..7ff8ce18af37 --- /dev/null +++ b/dev-haskell/cereal/cereal-0.5.8.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A binary serialization library" +HOMEPAGE="https://github.com/GaloisInc/cereal" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/quickcheck + dev-haskell/test-framework + dev-haskell/test-framework-quickcheck2 ) +" diff --git a/dev-haskell/cereal/metadata.xml b/dev-haskell/cereal/metadata.xml index 507a2e6d8f15..568c4abecef7 100644 --- a/dev-haskell/cereal/metadata.xml +++ b/dev-haskell/cereal/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A binary serialization library, similar to binary, that introduces an isolate - primitive for parser isolation, and replaces the asynchronous errors with a - user-handleable Either type. Similar to binary in performance, but uses a - strict ByteString instead of a lazy ByteString, thus restricting it to - operating on finite inputs. - </longdescription> + <upstream> + <remote-id type="hackage">cereal</remote-id> + <remote-id type="github">GaloisInc/cereal</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/charset/Manifest b/dev-haskell/charset/Manifest index 501633ffcf1a..8ecabcd0e9a9 100644 --- a/dev-haskell/charset/Manifest +++ b/dev-haskell/charset/Manifest @@ -1 +1,2 @@ +DIST charset-0.3.10.tar.gz 13790 BLAKE2B 335084804461f551d27a5af30fa71665f052e309015029e442159a364d6f5b261ce4eb00ea478059f861f2359f7d947b8dbf83a11d46909dab16d4ff85963724 SHA512 ad32c5380379570ec4872cc44236ab0833723f3a784c3cece7b2c8efbdf3f6930d9219a8a1a9d2b01eca9698b39294a8bae6cb44ce1d25b144ac86136da58292 DIST charset-0.3.7.1.tar.gz 12507 BLAKE2B 1ea4b189dda47e05066b800c26c62e26b92e1482e546acf8606dd98cc1b8156de350c57c3e3df2b956a96ada04a1e564d681bb9af09026d160cc4f3b919a1500 SHA512 594e71a5d6ced52e1491368611775bda106119b82025e84fc97078753358af7d9f6c22b99291dd51a990ff223c4582f913e01d829418f8918652c3c9fc495792 diff --git a/dev-haskell/charset/charset-0.3.10.ebuild b/dev-haskell/charset/charset-0.3.10.ebuild new file mode 100644 index 000000000000..c6a79e7e2e98 --- /dev/null +++ b/dev-haskell/charset/charset-0.3.10.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Fast unicode character sets based on complemented PATRICIA tries" +HOMEPAGE="https://github.com/ekmett/charset" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/unordered-containers-0.1.4.6:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/charset/charset-0.3.7.1-r1.ebuild b/dev-haskell/charset/charset-0.3.7.1-r1.ebuild index 3218e4076b08..14c630323343 100644 --- a/dev-haskell/charset/charset-0.3.7.1-r1.ebuild +++ b/dev-haskell/charset/charset-0.3.7.1-r1.ebuild @@ -19,15 +19,12 @@ IUSE="" RDEPEND=">=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?] >=dev-haskell/unordered-containers-0.1.4.6:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-lang/ghc-7.4.1:= + >=dev-lang/ghc-7.4.1:= <dev-lang/ghc-9.1:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6 " -src_prepare() { - default - - cabal_chdeps \ - 'containers >= 0.2 && < 0.6' 'containers >= 0.2' -} +CABAL_CHDEPS=( + 'containers >= 0.2 && < 0.6' 'containers >= 0.2' +) diff --git a/dev-haskell/charset/metadata.xml b/dev-haskell/charset/metadata.xml index 937381521944..7e737e501fea 100644 --- a/dev-haskell/charset/metadata.xml +++ b/dev-haskell/charset/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">charset</remote-id> + <remote-id type="github">ekmett/charset</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/chasingbottoms/Manifest b/dev-haskell/chasingbottoms/Manifest new file mode 100644 index 000000000000..bb336afe7388 --- /dev/null +++ b/dev-haskell/chasingbottoms/Manifest @@ -0,0 +1 @@ +DIST chasingbottoms-1.3.1.12.tar.gz 31960 BLAKE2B 0183ef16bcb79f545c97d0a18972fb5fcf964a1255b83b8f202ae96a3211b2cc07ecbc9c808200bdb887b7db8571acb7619e6ad62f8b8c3be0ef8699b635b699 SHA512 601a577ff45cb5565397fcc428073b7ce2c9a9e033950adb5af67977c719f83ce4fe2be378280108406ad2b9d436bd3e8d15e4b82846ffd8b881151fbe5941ed diff --git a/dev-haskell/chasingbottoms/chasingbottoms-1.3.1.12.ebuild b/dev-haskell/chasingbottoms/chasingbottoms-1.3.1.12.ebuild new file mode 100644 index 000000000000..c85440c46263 --- /dev/null +++ b/dev-haskell/chasingbottoms/chasingbottoms-1.3.1.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.1.0.9999 +#hackport: flags: -build-tests + +CABAL_PN="ChasingBottoms" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="For testing partial and infinite values" +HOMEPAGE="https://hackage.haskell.org/package/ChasingBottoms" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/quickcheck-2.10:=[profile?] <dev-haskell/quickcheck-2.15:=[profile?] + >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/syb-0.1.0.2:=[profile?] <dev-haskell/syb-0.8:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-build-tests +} diff --git a/dev-haskell/chasingbottoms/metadata.xml b/dev-haskell/chasingbottoms/metadata.xml new file mode 100644 index 000000000000..f316b3e95e8b --- /dev/null +++ b/dev-haskell/chasingbottoms/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">ChasingBottoms</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/chell/Manifest b/dev-haskell/chell/Manifest index 5a3a5edcf0be..92abca271534 100644 --- a/dev-haskell/chell/Manifest +++ b/dev-haskell/chell/Manifest @@ -1 +1,2 @@ DIST chell-0.4.0.2.tar.gz 12424 BLAKE2B 2e525ecacd0f703a873b89afce7c62937634021e65a54ce901b4b50e535131e1fb831173e4d2b3d52ff351df09eaa386377052b35c7e70c75028b59c87ee21ab SHA512 050c5818ad2cd954ef79b230de2f03fdfb19e99c8624a24bb7845bb20e3b5d5d427a9623491ffc706c5635f545eb99466bde7a851c4344d11df1a70bfb2bbe22 +DIST chell-0.5.0.2.tar.gz 13331 BLAKE2B 3a59f49b5117696290484ece6dad73a3b834a4fdddb62f7ef2f5b27d554a938b47dfc6da616a9d284e15412ca7428aab81371018f559a6c302b1c69e167b3111 SHA512 e2b0cd829882f1c7b18dd2e0ea036b0de27cf859864184ae4b95939d3a5c946e2aa140a49e6596f65326468016de2deb0582428db89893a1b893f25f789c2220 diff --git a/dev-haskell/chell/chell-0.4.0.2.ebuild b/dev-haskell/chell/chell-0.4.0.2.ebuild index 8444a9e32cfa..ca08b3a947e4 100644 --- a/dev-haskell/chell/chell-0.4.0.2.ebuild +++ b/dev-haskell/chell/chell-0.4.0.2.ebuild @@ -28,11 +28,9 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - cabal_chdeps \ - 'ansi-terminal >= 0.5 && < 0.8' 'ansi-terminal >= 0.5' - default -} +CABAL_CHDEPS=( + 'ansi-terminal >= 0.5 && < 0.8' 'ansi-terminal >= 0.5' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/chell/chell-0.5.0.2.ebuild b/dev-haskell/chell/chell-0.5.0.2.ebuild new file mode 100644 index 000000000000..985d88859ab1 --- /dev/null +++ b/dev-haskell/chell/chell-0.5.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A simple and intuitive library for automated testing" +HOMEPAGE="https://github.com/typeclasses/chell" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+color-output" + +CABAL_CHDEPS=( + 'base ^>= 4.16 || ^>= 4.17 || ^>= 4.18' 'base >= 4.14 && < 5' + 'bytestring ^>= 0.11.4 || ^>= 0.12' 'bytestring >= 0.10' + 'template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20' 'template-haskell >= 2.16' + 'text ^>= 1.2.5 || ^>= 2.0' 'text >= 1.2' + 'transformers ^>= 0.5.6 || ^>= 0.6' 'transformers >= 0.5.6' +) + +RDEPEND=" + >=dev-haskell/options-1.2.1:=[profile?] <dev-haskell/options-1.3:=[profile?] + >=dev-haskell/patience-0.3:=[profile?] <dev-haskell/patience-0.4:=[profile?] + >=dev-haskell/random-1.2.1:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + >=dev-lang/ghc-8.10.6:= + color-output? ( + >=dev-haskell/ansi-terminal-1.0:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag color-output color-output) +} diff --git a/dev-haskell/chell/metadata.xml b/dev-haskell/chell/metadata.xml index 321e6543e1d7..231ab15f33f1 100644 --- a/dev-haskell/chell/metadata.xml +++ b/dev-haskell/chell/metadata.xml @@ -5,44 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Chell is a simple and intuitive library for automated testing. It natively - supports assertion-based testing, and can use companion libraries - such as @chell-quickcheck@ to support more complex testing strategies. - - An example test suite, which verifies the behavior of artithmetic operators. - - @ - &#x7b;-\# LANGUAGE TemplateHaskell \#-&#x7d; - - import Test.Chell - - tests_Math :: Suite - tests_Math = suite \"math\" - &#x20; test_Addition - &#x20; test_Subtraction - - test_Addition :: Test - test_Addition = assertions \"addition\" $ do - &#x20; $expect (equal (2 + 1) 3) - &#x20; $expect (equal (1 + 2) 3) - - test_Subtraction :: Test - test_Subtraction = assertions \"subtraction\" $ do - &#x20; $expect (equal (2 - 1) 1) - &#x20; $expect (equal (1 - 2) (-1)) - - main :: IO () - main = defaultMain [tests_Math] - @ - - @ - $ ghc --make chell-example.hs - $ ./chell-example - PASS: 2 tests run, 2 tests passed - @ - </longdescription> <use> <flag name="color-output">use colors in program output</flag> </use> + <upstream> + <remote-id type="hackage">chell</remote-id> + <remote-id type="github">typeclasses/chell</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cipher-aes/cipher-aes-0.2.11.ebuild b/dev-haskell/cipher-aes/cipher-aes-0.2.11.ebuild index de3cd4495cd8..4b6f18c5f6af 100644 --- a/dev-haskell/cipher-aes/cipher-aes-0.2.11.ebuild +++ b/dev-haskell/cipher-aes/cipher-aes-0.2.11.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.6.9999 #hackport: flags: support_aesni:cpu_flags_x86_aes diff --git a/dev-haskell/citeproc/Manifest b/dev-haskell/citeproc/Manifest index 9a07a5b42658..557496d77e0d 100644 --- a/dev-haskell/citeproc/Manifest +++ b/dev-haskell/citeproc/Manifest @@ -1 +1,2 @@ DIST citeproc-0.7.tar.gz 528208 BLAKE2B 9ad395c2c3ba7bc957554b37af1a514c3deb3247a55a41b35c88b25f25db474043d18de5909e67ac5723fbfb0a5ed8161a16eb851f59c5648cfa3b30149c46fe SHA512 e24675c0d9227bd6ff5f13788c251647df1e61a65a1b0fe94d80c0bf064bd3018285ace6397d0c5f2b5d6e4ee9b91de8b90e6e4251e9914fb8fcbf58ed3c4539 +DIST citeproc-0.8.1.tar.gz 549947 BLAKE2B 055ec6466ec96cd44bf64d3cb9a9f92c5f9e825aaab93147905d3a69c5040807c1bf048196cede7d341608c96b39d9054545987b9de11be622aad6176895805e SHA512 7bce91a19e8db475b7c0c7f1f324e356dfb895fddc575b59d3fcdb8955b1ee17a82d3943edc383669a7bb5cc9fb14b3ff1cea766a2d322157017a97acddeee32 diff --git a/dev-haskell/citeproc/citeproc-0.8.1.ebuild b/dev-haskell/citeproc/citeproc-0.8.1.ebuild new file mode 100644 index 000000000000..2aa2e572cfc2 --- /dev/null +++ b/dev-haskell/citeproc/citeproc-0.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Generates citations and bibliography from CSL styles" +HOMEPAGE="https://hackage.haskell.org/package/citeproc" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable icu" + +# Many tests for this package are known to fail and this is acceptable for +# upstream: +# <https://github.com/jgm/citeproc#known-bugs-and-limitations> +# The author seems to know which tests are expected to fail, but I +# can't find documentation for exactly which ones. +RESTRICT="test" + +RDEPEND="dev-haskell/aeson:=[profile?] + dev-haskell/attoparsec:=[profile?] + >=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/data-default-0.5.2:=[profile?] + dev-haskell/file-embed:=[profile?] + >=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/scientific:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/unicode-collation-0.1.3:=[profile?] <dev-haskell/unicode-collation-0.2:=[profile?] + dev-haskell/uniplate:=[profile?] + dev-haskell/vector:=[profile?] + dev-haskell/xml-conduit:=[profile?] + >=dev-lang/ghc-8.8.1:= + executable? ( dev-haskell/aeson-pretty:=[profile?] ) + icu? ( >=dev-haskell/text-icu-0.7.1.0:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/diff-0.4 + dev-haskell/timeit ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) \ + $(cabal_flag icu icu) +} diff --git a/dev-haskell/citeproc/metadata.xml b/dev-haskell/citeproc/metadata.xml index 68e37597bcd1..0066044cfb40 100644 --- a/dev-haskell/citeproc/metadata.xml +++ b/dev-haskell/citeproc/metadata.xml @@ -9,10 +9,8 @@ <flag name="executable">Build citeproc executable</flag> <flag name="icu">Use Haskell bindings to the ICU library</flag> </use> - <longdescription> - citeproc parses CSL style files and uses them to - generate a list of formatted citations and bibliography - entries. For more information about CSL, see - <https://citationstyles.org/>. - </longdescription> + <upstream> + <remote-id type="hackage">citeproc</remote-id> + <remote-id type="github">jgm/citeproc</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/clock/Manifest b/dev-haskell/clock/Manifest index bcae42d40410..c3a4c3b08e76 100644 --- a/dev-haskell/clock/Manifest +++ b/dev-haskell/clock/Manifest @@ -1 +1,2 @@ DIST clock-0.7.2.tar.gz 7465 BLAKE2B 209e720ba6e856fb5e56cc2d2dd48aa4e7b63ab15f356bcddbd5ee0936495a158ecd2c1cbdf9ce54ed89bcbd047091b3a515bcb04b6a30796bc9d659d610f187 SHA512 cf44dfca6c0825a003018c68266ef0fe503a9b147aaf784435f6297b365c6d18fc71b63b77a23ee2a3298ace638a35de0c6118e361d43b418a45d4fdd24d57cf +DIST clock-0.8.3.tar.gz 9099 BLAKE2B 4bbe0c68c76339f16af45424a9aa3698ee8c6b743c4e4cc6e38cab2e69ad1e0094e6bdb335a589a9fe496d4c4d4a0dfe49b1d08f66aa13910b474dda319d0bc1 SHA512 86424c9593b9851a3c59ceb23a1665526a0f7e47a18322aa772feff2babb8799c1c2187005639882e4a1553cc327e78a25e85ebe87dec6de17cad050b526ff6f diff --git a/dev-haskell/clock/clock-0.8.3.ebuild b/dev-haskell/clock/clock-0.8.3.ebuild new file mode 100644 index 000000000000..297b45081c79 --- /dev/null +++ b/dev-haskell/clock/clock-0.8.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 +#hackport: flags: -llvm + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="High-resolution clock functions: monotonic, realtime, cputime" +HOMEPAGE="https://github.com/corsis/clock" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/tasty-0.10 + dev-haskell/tasty-quickcheck + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-llvm +} diff --git a/dev-haskell/clock/metadata.xml b/dev-haskell/clock/metadata.xml index 8bef1ab73dcf..695bb9d2cd91 100644 --- a/dev-haskell/clock/metadata.xml +++ b/dev-haskell/clock/metadata.xml @@ -5,30 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A package for convenient access to high-resolution - clock and timer functions of different operating - systems. - - It is planned to consist of two layers. The lower - layer will provide direct access to OS-specific - clock and timer functions like clock_gettime of - Posix or GetTickCount of Windows and its upper - layer shall then provide a common API for all - supported systems. Currently only the lower level - is being developed. - - - POSIX reference: IEEE Std 1003.1-2008 - <http://www.opengroup.org/onlinepubs/9699919799/>, - <http://www.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html#> - - WINDOWS reference: ... - - For more information, see: - <http://corsis.sourceforge.net/index.php/Haskell/Clock> - </longdescription> <upstream> + <remote-id type="hackage">clock</remote-id> <remote-id type="github">corsis/clock</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cmdargs/Manifest b/dev-haskell/cmdargs/Manifest index c6c327bc5b2f..20c948578523 100644 --- a/dev-haskell/cmdargs/Manifest +++ b/dev-haskell/cmdargs/Manifest @@ -1 +1,2 @@ DIST cmdargs-0.10.20.tar.gz 64550 BLAKE2B 08511df092c2a7010af94bc8d9b54b29c0e76c33be06a9521eccc85092b57a45ae9f9d22b0f8e81266073c81185b66266d1f2321c327ae730c6ccebea7f6d6cf SHA512 b9e270aa5dabd84eaaa47b95a450ef5b5f43cd19646f2a407579f855857d396e5ab9ca0038e1e876849a596ecb8cdc9964c45970825a0a95021d69b23699da79 +DIST cmdargs-0.10.22.tar.gz 65154 BLAKE2B a6f05c4a186dc4dbb9de3c754f9100138d3954b1537b1ecb81e2fec2c6bd293dd381a2a666dae0bcbbc631e9ab95d8a65d85d68d3e2c80bb2d6ad87baf9906b1 SHA512 571d9584769fdb5bb77a57607c2f432b365604a2ca2e9b5c044c319499004f7fcb12f2f6e61091a245f1bf6a5d321d38ade1a54d5bc86831136fa85b9b898faa diff --git a/dev-haskell/cmdargs/cmdargs-0.10.22.ebuild b/dev-haskell/cmdargs/cmdargs-0.10.22.ebuild new file mode 100644 index 000000000000..2ce0041ab470 --- /dev/null +++ b/dev-haskell/cmdargs/cmdargs-0.10.22.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: testprog:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Command line argument processing" +HOMEPAGE="https://github.com/ndmitchell/cmdargs#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples +quotation" +REQUIRED_USE="examples? ( quotation )" + +CABAL_CHDEPS=( + 'executable cmdargs' 'executable cmdargs-demo' +) + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag quotation quotation) \ + $(cabal_flag examples testprog) +} diff --git a/dev-haskell/cmdargs/metadata.xml b/dev-haskell/cmdargs/metadata.xml index 4ba506a01472..4a2ade06e3ba 100644 --- a/dev-haskell/cmdargs/metadata.xml +++ b/dev-haskell/cmdargs/metadata.xml @@ -5,31 +5,13 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides an easy way to define command line parsers. Most users - will want to use the "System.Console.CmdArgs.Implicit" module, whose - documentation contains an example. - - * "System.Console.CmdArgs.Explicit" provides a way to write command line - parsers for both single mode programs (most programs) and multiple - mode programs (e.g. darcs or cabal). Parsers are defined by constructing - a data structure. - - * "System.Console.CmdArgs.Implicit" provides a way to concisely define - command line parsers, up to three times shorter than getopt. These parsers - are translated into the Explicit data type. - - * "System.Console.CmdArgs.GetOpt" provides a wrapper allowing compatiblity - with existing getopt parsers, mapping to the Explicit data type. - - For a general reference on what command line flags are commonly used, - see <http://www.faqs.org/docs/artu/ch10s05.html>. - </longdescription> <use> + <flag name="examples">Build the cmdargs-demo program</flag> <flag name="testprog">Build the test program</flag> - <flag name="quotation">Build quote module</flag> + <flag name="quotation">Build the Quote module</flag> </use> <upstream> + <remote-id type="hackage">cmdargs</remote-id> <remote-id type="github">ndmitchell/cmdargs</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/code-page/Manifest b/dev-haskell/code-page/Manifest index 3e6abb0ad19b..a1d8003541cf 100644 --- a/dev-haskell/code-page/Manifest +++ b/dev-haskell/code-page/Manifest @@ -1 +1,2 @@ DIST code-page-0.1.3.tar.gz 4718 BLAKE2B 0062024dd536b23359d84a8f6aa5bb66a241ae41190a59c9c2cdde34f3ee1664ad180a1d7b8332904b761956bbb73bb85f74f818763a37021dfa5fa09d36a040 SHA512 1a8f650051d749840562d4ac8789f9834afa73e64582f2781d542d281d894c420cdb7a5b8a2bf30c983bec99a27bec8b63a32b1cabd3ab26a964e0a9b9b647bc +DIST code-page-0.2.1.tar.gz 6859 BLAKE2B 0413a5b4fd846d473a3f3151830bac07bf3c73e4068d1d65aeb522d919d9606370fc6cf7887bc5f485147b2959116391b95227b9562ad0530abd9c0124a33902 SHA512 5a1ff550892bb315d2c0645d325e8b8914342d0da9726dd3798eba9655bd79cca7a75927e9312c44d4be1cff8e2c69b8f1734c3662fabb14760036228aedb768 diff --git a/dev-haskell/code-page/code-page-0.2.1.ebuild b/dev-haskell/code-page/code-page-0.2.1.ebuild new file mode 100644 index 000000000000..3826f3df3906 --- /dev/null +++ b/dev-haskell/code-page/code-page-0.2.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Windows code page library for Haskell" +HOMEPAGE="https://github.com/RyanGlScott/code-page" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/code-page/metadata.xml b/dev-haskell/code-page/metadata.xml index 53009fa0e624..0154aaccd7b6 100644 --- a/dev-haskell/code-page/metadata.xml +++ b/dev-haskell/code-page/metadata.xml @@ -5,18 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides two modules: - - * "System.IO.CodePage": a cross-platform module that exports - functions which adjust code pages on Windows, and do nothing - on other operating systems. - - * "System.Win32.CodePage": On Windows, this exports functions - for getting, setting, and analyzing code pages. On other - operating systems, this module exports nothing. - </longdescription> <upstream> + <remote-id type="hackage">code-page</remote-id> <remote-id type="github">RyanGlScott/code-page</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/colour/Manifest b/dev-haskell/colour/Manifest index cf429d3caa65..6b9c4080fd43 100644 --- a/dev-haskell/colour/Manifest +++ b/dev-haskell/colour/Manifest @@ -1 +1,2 @@ DIST colour-2.3.5.tar.gz 20485 BLAKE2B 64cc4df8f7b36fa4c7a9b474db566b7623f9c7b0892f379acc866f384aa5e557cab5965869b0ba84167232658375ab568a3f5e90a0a1deba81520717899637c6 SHA512 2232f51b3cfdda1a64436e8395c2441e49db083982a0370d3ec38c304b0a6234666887b3abc886107a9b21c425d3253284cce0186c1a210a302a0a14808364d8 +DIST colour-2.3.6.tar.gz 20675 BLAKE2B 9104d414cf01842cb74e20cb3b9052b109767b3a7e53552ddafd877b4c30d65c5a154e9235a280698e5096d82e523d1c01d54846d7a73ec5de0e62fcb6c04642 SHA512 82f7d92e46f7235706832be9d3a981bc09f729ef4e7f891dae85bf808f342e498aa152bc106f9c011ab0e79e5cc2d57067de596d774ad5010e9845df521ed275 diff --git a/dev-haskell/colour/colour-2.3.5.ebuild b/dev-haskell/colour/colour-2.3.5.ebuild index f14e2bbfd16a..f339e2c0e280 100644 --- a/dev-haskell/colour/colour-2.3.5.ebuild +++ b/dev-haskell/colour/colour-2.3.5.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.9999 diff --git a/dev-haskell/colour/colour-2.3.6.ebuild b/dev-haskell/colour/colour-2.3.6.ebuild new file mode 100644 index 000000000000..5095e74b2b59 --- /dev/null +++ b/dev-haskell/colour/colour-2.3.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A model for human colour/color perception" +HOMEPAGE="https://www.haskell.org/haskellwiki/Colour" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +CABAL_CHDEPS=( + 'random >= 1.0 && < 1.2' 'random >= 1.0' +) + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-2.15 + >=dev-haskell/random-1.0 + >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4 + ) +" + +pkg_pretend() { + if use test; then + ewarn "The \"test\" USE flag for this package creates cycles within the" + ewarn "dependency graph. This may give you problems during 'haskell-updater' runs." + ewarn "It is recommended to leave it disabled unless explicitly testing the package." + fi +} diff --git a/dev-haskell/colour/metadata.xml b/dev-haskell/colour/metadata.xml index 2773d58cddf5..6b3d1d04daf5 100644 --- a/dev-haskell/colour/metadata.xml +++ b/dev-haskell/colour/metadata.xml @@ -5,10 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides a data type for colours and transparency. - Colours can be blended and composed. - Various colour spaces are supported. - A module of colour names ("Data.Colour.Names") is provided. - </longdescription> + <upstream> + <remote-id type="hackage">colour</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/commonmark-extensions/Manifest b/dev-haskell/commonmark-extensions/Manifest index 92c817c410e5..bf5fc3a74f9f 100644 --- a/dev-haskell/commonmark-extensions/Manifest +++ b/dev-haskell/commonmark-extensions/Manifest @@ -1 +1,2 @@ DIST commonmark-extensions-0.2.3.2.tar.gz 37074 BLAKE2B e3519ad4ec8bdb9db5ab8cbb57ffeccf2512621c7e5fe423dab1c5afb075f55fcf348dabcd770ab84abf1efae24ad73c013ab76d080122e55736e59fca2ea7c6 SHA512 93b6c856f8aa5858e2700e8ffd98dd56a294cae95430b0ec1ea1c6a48f952eb5c1ce8223a10a36f4249933e2efc92d8110ba54463af467535b435c236b03f619 +DIST commonmark-extensions-0.2.3.5.tar.gz 37915 BLAKE2B c0a29517910da9de24e99ac25b2b38e9a894f3bde9bb144be07b5b0c2463e07ff5407bf40748e1ff1489fce82a1f4dbf7a5e2c205c33d7199ef0b7a17ea6ddcc SHA512 c7eff871f9413e5f9b32f979f8d09fae4a0e509439231b8959f56ece7e6083264b58154f9869f0757bc85cbb4f9fc726c9bffad0da0fbe9742a8cd86822c96d6 diff --git a/dev-haskell/commonmark-extensions/commonmark-extensions-0.2.3.5.ebuild b/dev-haskell/commonmark-extensions/commonmark-extensions-0.2.3.5.ebuild new file mode 100644 index 000000000000..ac5693694b97 --- /dev/null +++ b/dev-haskell/commonmark-extensions/commonmark-extensions-0.2.3.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pure Haskell commonmark parser" +HOMEPAGE="https://github.com/jgm/commonmark-hs" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/commonmark-0.2.2:=[profile?] <dev-haskell/commonmark-0.3:=[profile?] + >=dev-haskell/emojis-0.1:=[profile?] <dev-haskell/emojis-0.2:=[profile?] + dev-haskell/network-uri:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit ) +" diff --git a/dev-haskell/commonmark-extensions/metadata.xml b/dev-haskell/commonmark-extensions/metadata.xml index 937381521944..78c30d625c50 100644 --- a/dev-haskell/commonmark-extensions/metadata.xml +++ b/dev-haskell/commonmark-extensions/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">commonmark-extensions</remote-id> + <remote-id type="github">jgm/commonmark-hs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/commonmark-pandoc/Manifest b/dev-haskell/commonmark-pandoc/Manifest index 4d5feab6490f..e519d86450a1 100644 --- a/dev-haskell/commonmark-pandoc/Manifest +++ b/dev-haskell/commonmark-pandoc/Manifest @@ -1 +1,2 @@ DIST commonmark-pandoc-0.2.1.2.tar.gz 4937 BLAKE2B 26f46b663051aecc204f2e67f66e62a6943909d496542d31b0238cd6bdecda4e0c8594d8ed3f8147fea5bbab4680c147379feddecb59f93be810bc3a9015d08a SHA512 85c7505b29c99e38bbadf93764e51ec40da3bff0799e99eecd011962f1103b81970cb5ffb7399b48927e0024c07554ee0e7d420a88bd2f37149a4777d8bca032 +DIST commonmark-pandoc-0.2.1.3.tar.gz 4907 BLAKE2B 7b93e6ebf39d9da457cc6dac127f0f440172f738aa59f6484cdc29fc48426e6d84c5deb61cc64b569e7128bc50560980afc6022c64a9e533699a23a98b7a77c0 SHA512 d5d91748501cdb4fcb738f89ee32135eed83ff1a41a3665f86ad36286a346b4751a355cd81d29e43a47500913b94796330df9b35201586d2610dbdb4ef4fa544 diff --git a/dev-haskell/commonmark-pandoc/commonmark-pandoc-0.2.1.3.ebuild b/dev-haskell/commonmark-pandoc/commonmark-pandoc-0.2.1.3.ebuild new file mode 100644 index 000000000000..0d0515289bb0 --- /dev/null +++ b/dev-haskell/commonmark-pandoc/commonmark-pandoc-0.2.1.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Bridge between commonmark and pandoc AST" +HOMEPAGE="https://github.com/jgm/commonmark-hs" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/commonmark-0.2:=[profile?] <dev-haskell/commonmark-0.3:=[profile?] + >=dev-haskell/commonmark-extensions-0.2.1:=[profile?] <dev-haskell/commonmark-extensions-0.3:=[profile?] + >=dev-haskell/pandoc-types-1.21:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/commonmark-pandoc/metadata.xml b/dev-haskell/commonmark-pandoc/metadata.xml index 937381521944..f6c8b5febd59 100644 --- a/dev-haskell/commonmark-pandoc/metadata.xml +++ b/dev-haskell/commonmark-pandoc/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">commonmark-pandoc</remote-id> + <remote-id type="github">jgm/commonmark-hs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/commonmark/Manifest b/dev-haskell/commonmark/Manifest index 4429c922717f..14827b715c55 100644 --- a/dev-haskell/commonmark/Manifest +++ b/dev-haskell/commonmark/Manifest @@ -1 +1,2 @@ DIST commonmark-0.2.2.tar.gz 101438 BLAKE2B 1e6183e2a9a3d90fb3347bd03779c77314e51d817de7740ae933f328a144a22d729a5dca90f40e1a35967a335d03aaf8e6836b8fe42d12c8d2f52963378c8f6f SHA512 fb1e9d8774c7a2682af8702b94ea4b255ff9dd38fcaba96048d037b3c75051509332ef80631165670a513280e984abf1fa08dd53e85d13f1b4e46941cceadc96 +DIST commonmark-0.2.3.tar.gz 102342 BLAKE2B 1675cb4f995cd76613c9d6fa6ac8f5884a55258b2c76387e286e2cca581946865f3780046332d0dfa9fcb1bf60ca9bd6dce0882ebc7273073261c1104fdd6b9a SHA512 7e3371f6b1aaf4aca3db4ae91894c1e6bd6ea8736babb32de902fba89c2e1f44369bee836fcb1a229948dd72fab25e930bc0cdc143e94d6b136734b9fff3d3df diff --git a/dev-haskell/commonmark/commonmark-0.2.3.ebuild b/dev-haskell/commonmark/commonmark-0.2.3.ebuild new file mode 100644 index 000000000000..d83dbe85c596 --- /dev/null +++ b/dev-haskell/commonmark/commonmark-0.2.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pure Haskell commonmark parser" +HOMEPAGE="https://github.com/jgm/commonmark-hs" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/parsec:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/unicode-data-0.3:=[profile?] + dev-haskell/unicode-transforms:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/commonmark/metadata.xml b/dev-haskell/commonmark/metadata.xml index 937381521944..769758cc2ca3 100644 --- a/dev-haskell/commonmark/metadata.xml +++ b/dev-haskell/commonmark/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">commonmark</remote-id> + <remote-id type="github">jgm/commonmark-hs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/comonad/Manifest b/dev-haskell/comonad/Manifest index b9ebd93f16ee..002329448c93 100644 --- a/dev-haskell/comonad/Manifest +++ b/dev-haskell/comonad/Manifest @@ -1 +1,2 @@ +DIST comonad-5.0.8-rev1.cabal 3631 BLAKE2B fe4a2a4fd61f0dc157004155b0f3e8ab00a0bd653d56d6f92408fdbf8d5a1d15ef7fb6cdd4d7572d9731cb4be1cbc898e6fdda9bb1d4227538a4cd0903010207 SHA512 425f0fadb85e99dc4047fff47dfbae9d4d33a9bb1d3f26493c7b14af03ca26b29f4f57693c5670ddafa9d48c9315ca34072cd76c6e2eaf47d9c5d14e5ebb5d61 DIST comonad-5.0.8.tar.gz 15227 BLAKE2B 5f316ed68d35fcc2857cb7250f2d181ed77d2e87cc5d7dfb671cdec0c602080a6e3c0ac28541bd4cac43b954f96af0e1077bf2b28c040202bd3e66a820c5ccb1 SHA512 b823ea36826da74c6ec46cb835493224f62da66516841b9660a04c391dee803c31e140b2c523b563fb51f46509d99cce157b456a88fbaf2371da11933d5d787e diff --git a/dev-haskell/comonad/comonad-5.0.8.ebuild b/dev-haskell/comonad/comonad-5.0.8-r1.ebuild index 412553e3f73e..4f102ae0ede0 100644 --- a/dev-haskell/comonad/comonad-5.0.8.ebuild +++ b/dev-haskell/comonad/comonad-5.0.8-r1.ebuild @@ -1,17 +1,18 @@ # 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 +# ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: +distributive,+containers,test-doctests:test +CABAL_HACKAGE_REVISION=1 + CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="The Comonads package authored by Edward Kmett" HOMEPAGE="https://github.com/ekmett/comonad/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" @@ -19,14 +20,13 @@ KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="+indexed-traversable" RDEPEND=">=dev-haskell/distributive-0.5.2:=[profile?] <dev-haskell/distributive-1:=[profile?] - >=dev-haskell/semigroups-0.18.5:=[profile?] <dev-haskell/semigroups-1:=[profile?] >=dev-haskell/tagged-0.8.6.1:=[profile?] <dev-haskell/tagged-1:=[profile?] >=dev-haskell/transformers-compat-0.5:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] - >=dev-lang/ghc-7.8.2:= + >=dev-lang/ghc-8.10.6:= indexed-traversable? ( >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] ) " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.18.1.3 + >=dev-haskell/cabal-3.2.1.0 " src_configure() { diff --git a/dev-haskell/comonad/metadata.xml b/dev-haskell/comonad/metadata.xml index ae990844bc6a..83baf83fe01a 100644 --- a/dev-haskell/comonad/metadata.xml +++ b/dev-haskell/comonad/metadata.xml @@ -8,4 +8,8 @@ <use> <flag name="indexed-traversable">You can disable the use of the `indexed-traversable` package using `-f-indexed-traversable`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `FunctorWithIndex`</flag> </use> + <upstream> + <remote-id type="hackage">comonad</remote-id> + <remote-id type="github">ekmett/comonad</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/concurrent-output/Manifest b/dev-haskell/concurrent-output/Manifest index 3b9dd32f1be6..5cfffba45e1e 100644 --- a/dev-haskell/concurrent-output/Manifest +++ b/dev-haskell/concurrent-output/Manifest @@ -1 +1,2 @@ DIST concurrent-output-1.10.11.tar.gz 22514 BLAKE2B 19b31ed65ac0a553ad8f60d08d9919428e0cb40be151b43e7a91dd2c9d28d61ed79fab75efef43e8a0f44e66ef652ddaff0aa8275bf2884d4db59fa2bfde8e47 SHA512 2ed0415562c37cedc035adac06430e397369bf13ff5375f855c9b3a34c122437b3f92137b593d8fd0384d575822ee5287ca0b2c2b3daab8de95a5c63b991760d +DIST concurrent-output-1.10.19.tar.gz 23835 BLAKE2B d78c91791bb2a668c24863313a5e6af9d35eea5b27bca3fca14eab75f8749c3f037926b6a0f278be32b82f684c785aa0068e19ef49ea1d22ba57dc64c6319b57 SHA512 6d51b364842fe399eff15e2bbec8756ed94bb1090f2125a71186c2c0e597696dd8955efe17e8017beaee260564829ab4f3afb495bbb706423c6b13c61d462b44 diff --git a/dev-haskell/concurrent-output/concurrent-output-1.10.11.ebuild b/dev-haskell/concurrent-output/concurrent-output-1.10.11.ebuild index 5d3657d16f95..03a2852512c7 100644 --- a/dev-haskell/concurrent-output/concurrent-output-1.10.11.ebuild +++ b/dev-haskell/concurrent-output/concurrent-output-1.10.11.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.1 diff --git a/dev-haskell/concurrent-output/concurrent-output-1.10.19.ebuild b/dev-haskell/concurrent-output/concurrent-output-1.10.19.ebuild new file mode 100644 index 000000000000..8a72b9bbad4c --- /dev/null +++ b/dev-haskell/concurrent-output/concurrent-output-1.10.19.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Ungarble output from several threads or commands" +HOMEPAGE="https://hackage.haskell.org/package/concurrent-output" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/ansi-terminal-0.6.2:=[profile?] <dev-haskell/ansi-terminal-1.1.0:=[profile?] + >=dev-haskell/async-2.0:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/terminal-size-0.3.0:=[profile?] <dev-haskell/terminal-size-0.4.0:=[profile?] + >=dev-haskell/text-0.11.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/concurrent-output/metadata.xml b/dev-haskell/concurrent-output/metadata.xml index 9c22cc6f0d89..a2b732140d20 100644 --- a/dev-haskell/concurrent-output/metadata.xml +++ b/dev-haskell/concurrent-output/metadata.xml @@ -5,16 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides a simple interface for writing concurrent programs that - need to output a lot of status messages to the console, or display - multiple progress bars for different activities at the same time, - or concurrently run external commands that output to the console. - - Built on top of that is a way of defining multiple output regions, - which are automatically laid out on the screen and can be individually - updated. Can be used for progress displays etc. - - <<https://joeyh.name/code/concurrent-output/demo2.gif>> - </longdescription> + <upstream> + <remote-id type="hackage">concurrent-output</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/conduit-extra/Manifest b/dev-haskell/conduit-extra/Manifest index 3d15415ac67f..4c177df3e8e0 100644 --- a/dev-haskell/conduit-extra/Manifest +++ b/dev-haskell/conduit-extra/Manifest @@ -1 +1,2 @@ DIST conduit-extra-1.3.4.tar.gz 33170 BLAKE2B 27d9adc403be4479e06c47737e9770ffa63fa306278ca20374e7fde8005a70553df28a4959bca0148c4607a0317fddcbde693bd1b0a11c45ea1b58f086a66876 SHA512 cd5d6d754871ba9558f495074066cff0d116d71af71a6260c9cfe53244a03513813f93ed985af25c6eb7849f1d4dbb4f6b9a17140c2bf12236206b9e9925efee +DIST conduit-extra-1.3.6.tar.gz 33321 BLAKE2B c310fe8c11377e39204fee247fefb0bd7ac49b82395e187c6c0f36f8e5717b293a0a48dfde782562204ae1ca8c6370881ff358414032fd750440d9c7ff85790c SHA512 56f6abf0663734c0e40b3d21fed6d0942fe30acc8960105ac93ddbb15d10c9074213e0ead575cc4422824832beae026376d04a13f6a045efc2a695676cf03546 diff --git a/dev-haskell/conduit-extra/conduit-extra-1.3.4.ebuild b/dev-haskell/conduit-extra/conduit-extra-1.3.4.ebuild index 1424b94f4ed9..d0a60c578758 100644 --- a/dev-haskell/conduit-extra/conduit-extra-1.3.4.ebuild +++ b/dev-haskell/conduit-extra/conduit-extra-1.3.4.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.1 diff --git a/dev-haskell/conduit-extra/conduit-extra-1.3.6-r1.ebuild b/dev-haskell/conduit-extra/conduit-extra-1.3.6-r1.ebuild new file mode 100644 index 000000000000..b2153db91a1b --- /dev/null +++ b/dev-haskell/conduit-extra/conduit-extra-1.3.6-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Batteries included conduit: adapters for common libraries" +HOMEPAGE="https://github.com/snoyberg/conduit" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/async:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + >=dev-haskell/conduit-1.3:=[profile?] <dev-haskell/conduit-1.4:=[profile?] + >=dev-haskell/network-2.3:=[profile?] + >=dev-haskell/primitive-0.5:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] + dev-haskell/stm:=[profile?] + >=dev-haskell/streaming-commons-0.1.16:=[profile?] + >=dev-haskell/typed-process-0.2.6:=[profile?] + dev-haskell/unliftio-core:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( + dev-haskell/exceptions + >=dev-haskell/hspec-1.3 + dev-haskell/quickcheck + dev-haskell/transformers-base + ) +" diff --git a/dev-haskell/conduit-extra/metadata.xml b/dev-haskell/conduit-extra/metadata.xml index 2009edb10ea1..5077db0ea615 100644 --- a/dev-haskell/conduit-extra/metadata.xml +++ b/dev-haskell/conduit-extra/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package will soon contain much more functionality. This is a placeholder until the next release is ready. - </longdescription> <upstream> + <remote-id type="hackage">conduit-extra</remote-id> <remote-id type="github">snoyberg/conduit</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/conduit/Manifest b/dev-haskell/conduit/Manifest index 3ffc1c287e0c..2719a2ea53ea 100644 --- a/dev-haskell/conduit/Manifest +++ b/dev-haskell/conduit/Manifest @@ -1 +1,2 @@ DIST conduit-1.3.4.2.tar.gz 88962 BLAKE2B 0c4ade4df87c8ace3206e7d4f6b52ae472828f0ad67d5cf970797054f4423c86256c50fdd20f4a7d215b0f1b5ac424ce9431927732c17b1c7c73fd98707e9cfd SHA512 8caf67020e33ddaadc5f05ad3f1aa38d436388f0cb3dac66cb9a645c1693bcd134f1cb8d311eca7b64f9c5ace9ca97681511e5dc28bb70b7b52c43c62d5f3e03 +DIST conduit-1.3.4.3.tar.gz 88820 BLAKE2B af5b1c68c19d1c4428c06e123dc3aec4107dd230e61dae9aa99d96ea448f158136cd4d844edec3e97de65e9093363356b08bb5d4950fdd13393df74e84676063 SHA512 14d4557c1018514da4ae7ae41ec8a381ae57aabd86d84e2c961dce0b784ca4fb8aec5a2757c6fe6d815ce552f25bcc462c208226ca33094e0210b06651846e59 diff --git a/dev-haskell/conduit/conduit-1.3.4.2.ebuild b/dev-haskell/conduit/conduit-1.3.4.2.ebuild index 387f2ef97404..eada6d7aee07 100644 --- a/dev-haskell/conduit/conduit-1.3.4.2.ebuild +++ b/dev-haskell/conduit/conduit-1.3.4.2.ebuild @@ -24,7 +24,7 @@ RDEPEND="dev-haskell/exceptions:=[profile?] dev-haskell/text:=[profile?] dev-haskell/unliftio-core:=[profile?] dev-haskell/vector:=[profile?] - >=dev-lang/ghc-8.6.3:= + >=dev-lang/ghc-8.6.3:= <dev-lang/ghc-9.1 " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.4.0.1 diff --git a/dev-haskell/conduit/conduit-1.3.4.3.ebuild b/dev-haskell/conduit/conduit-1.3.4.3.ebuild new file mode 100644 index 000000000000..be625410fa1d --- /dev/null +++ b/dev-haskell/conduit/conduit-1.3.4.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Streaming data processing library" +HOMEPAGE="https://github.com/snoyberg/conduit" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/mono-traversable-1.0.7:=[profile?] + dev-haskell/primitive:=[profile?] + >=dev-haskell/resourcet-1.2:=[profile?] <dev-haskell/resourcet-1.3:=[profile?] + dev-haskell/unliftio-core:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/hspec-1.3 + >=dev-haskell/quickcheck-2.7 + dev-haskell/safe + dev-haskell/silently + >=dev-haskell/split-0.2.0.0 + >=dev-haskell/unliftio-0.2.4.0 ) +" diff --git a/dev-haskell/conduit/metadata.xml b/dev-haskell/conduit/metadata.xml index 119586ddfe53..9d00781cb34b 100644 --- a/dev-haskell/conduit/metadata.xml +++ b/dev-haskell/conduit/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Conduits are an approach to the streaming data problem. It is meant as an alternative to enumerators\/iterators, hoping to address the same issues with different trade-offs based on real-world experience with enumerators. For more information, see <http://www.yesodweb.com/blog/2011/12/conduits>. - </longdescription> <upstream> + <remote-id type="hackage">conduit</remote-id> <remote-id type="github">snoyberg/conduit</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/connection/Manifest b/dev-haskell/connection/Manifest index 63e865131a45..b7021fbaa7cd 100644 --- a/dev-haskell/connection/Manifest +++ b/dev-haskell/connection/Manifest @@ -1 +1,2 @@ +DIST connection-0.3.1-rev2.cabal 1563 BLAKE2B c7d4bc435cd85e2c7a45eddecf0ab0b9ab94b924e5a4af88d154b177d78ac6194d255a75b2a6707b3b4e12b924654affce38ee4523920fb84b2e419b0ae8d051 SHA512 ca1adba80ffd3437151b76eccc978008b0adb590f37cd2399e0b7b53e2873ff61615d206f15a4901e44b766ac6936f1e705f335a3d926f9dde7175e4a24cc91b DIST connection-0.3.1.tar.gz 9051 BLAKE2B 8758906a266180c9c81969c13b7a5e19bcb01757222ba21e1cd258a50180c52288a1a1e1e2486a3fea6fc3c6fd516ebcf4ade984dde822609ac962edfec4d610 SHA512 06da91d39e0d9a556a78da77a7ca31d520d5e7e8fd65509f82be926ad2c34282ef1f4d03aa6065c5834bc89417cf51b573f3cf4529fe3ead72eb1e80cc6d7a98 diff --git a/dev-haskell/connection/connection-0.3.1-r1.ebuild b/dev-haskell/connection/connection-0.3.1-r1.ebuild new file mode 100644 index 000000000000..57d42d31b36a --- /dev/null +++ b/dev-haskell/connection/connection-0.3.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simple and easy network connections API" +HOMEPAGE="https://github.com/vincenthz/hs-connection" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/basement:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/network-2.6.3:=[profile?] + >=dev-haskell/socks-0.6:=[profile?] + >=dev-haskell/tls-1.4:=[profile?] <dev-haskell/tls-1.7:=[profile?] + >=dev-haskell/x509-1.5:=[profile?] + >=dev-haskell/x509-store-1.5:=[profile?] + >=dev-haskell/x509-system-1.5:=[profile?] + >=dev-haskell/x509-validation-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/connection/connection-0.3.1.ebuild b/dev-haskell/connection/connection-0.3.1.ebuild index 61d37e63b9c1..869850adff40 100644 --- a/dev-haskell/connection/connection-0.3.1.ebuild +++ b/dev-haskell/connection/connection-0.3.1.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.1.9999 diff --git a/dev-haskell/connection/metadata.xml b/dev-haskell/connection/metadata.xml index fb144a47822f..bb7ee867c16c 100644 --- a/dev-haskell/connection/metadata.xml +++ b/dev-haskell/connection/metadata.xml @@ -5,15 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Simple network library for all your connection need. - - Features: Really simple to use, SSL/TLS, SOCKS. - - This library provides a very simple api to create sockets - to a destination with the choice of SSL/TLS, and SOCKS. - </longdescription> <upstream> + <remote-id type="hackage">connection</remote-id> <remote-id type="github">vincenthz/hs-connection</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/constraints/Manifest b/dev-haskell/constraints/Manifest index cda9c6797be6..f734ae9ca59f 100644 --- a/dev-haskell/constraints/Manifest +++ b/dev-haskell/constraints/Manifest @@ -1 +1,2 @@ DIST constraints-0.13.3.tar.gz 21574 BLAKE2B 444015cbf61b6e017b08339558c2c0a0ed26157b15d64621deec0e564fb97cff5e246acafc8e75917d21c0865805c96adc5c4f8f8aea3978cd6f6707a3fda62c SHA512 c592d1b60c5606c6dbd883b8acc9e2b68addfc71d28a6df184fb3739791759fdf1d8f0ed243acd694d54a6d9bfac8271ddac2e72e4dbfcb9a8622c2178999472 +DIST constraints-0.13.4.tar.gz 21673 BLAKE2B 47d1d824b85883980202d88699b114a8ecd9256c02b3cf2375bc251b9a4e3065ed334225781c1a74895d409d46f7d431c03f48774529ecacb341589e46d80b71 SHA512 3e4cf62ee897cc103332ae1823552c52568fe090968ee763b83a0cc95c978c6766db02a4cbc4e2c9d6f83d04bb731a91421d5078904847d204e5cc8d8ee59d5f diff --git a/dev-haskell/constraints/constraints-0.13.4.ebuild b/dev-haskell/constraints/constraints-0.13.4.ebuild new file mode 100644 index 000000000000..8be2959872f7 --- /dev/null +++ b/dev-haskell/constraints/constraints-0.13.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Constraint manipulation" +HOMEPAGE="https://github.com/ekmett/constraints/" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hashable-1.2:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/transformers-compat-0.5:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/type-equality-1:=[profile?] <dev-haskell/type-equality-2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hspec-2 ) +" diff --git a/dev-haskell/constraints/metadata.xml b/dev-haskell/constraints/metadata.xml index 4e3ee273ceda..ec6cf5d8dc58 100644 --- a/dev-haskell/constraints/metadata.xml +++ b/dev-haskell/constraints/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">constraints</remote-id> <remote-id type="github">ekmett/constraints</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/contravariant/Manifest b/dev-haskell/contravariant/Manifest index 1e6d5e9bfd49..e50bb6ca92bf 100644 --- a/dev-haskell/contravariant/Manifest +++ b/dev-haskell/contravariant/Manifest @@ -1 +1,2 @@ DIST contravariant-1.5.3.tar.gz 13726 BLAKE2B 89dd8d2265c50a848a52ae21022b9a63781e2ff8945d767349f3d14c0b9dd9fe221c564014ae516bc074c2ac6eabbfc4d114378ac81c107a403e15f78655c5bc SHA512 f84e534ea208ebb949e6e1114233e56f284b94ceb756bddeb5786d2c1ed7ed7ec93defcabfa285887316cf880e7b6d2575a76c72bdd9ad73530b4397f5466c87 +DIST contravariant-1.5.5.tar.gz 13815 BLAKE2B 10509c6d5e747a0c2569ec3372b49defa994f6f24a407579604155d2dc6538fece1bce827b56dddf76460e8d0ad867a14f9b4c1b02609f731104b384a4c839ff SHA512 c5e14525cb44fe24ddaa8b1b2b5eb983e602513887119a9fb9eaed3ec1d5af28b9e858a6e461caa8d3793d52ded135459bf95a15b43b2e07e15aea33d3634bc3 diff --git a/dev-haskell/contravariant/contravariant-1.5.3.ebuild b/dev-haskell/contravariant/contravariant-1.5.3.ebuild index 7d0cd751ace4..34880e35f6cd 100644 --- a/dev-haskell/contravariant/contravariant-1.5.3.ebuild +++ b/dev-haskell/contravariant/contravariant-1.5.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 diff --git a/dev-haskell/contravariant/contravariant-1.5.5.ebuild b/dev-haskell/contravariant/contravariant-1.5.5.ebuild new file mode 100644 index 000000000000..803057b12ecc --- /dev/null +++ b/dev-haskell/contravariant/contravariant-1.5.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Contravariant functors" +HOMEPAGE="https://github.com/ekmett/contravariant/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+semigroups +statevar +tagged" + +RDEPEND=">=dev-lang/ghc-8.4.3:= + statevar? ( >=dev-haskell/statevar-1.2.1:=[profile?] <dev-haskell/statevar-1.3:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag semigroups semigroups) \ + $(cabal_flag statevar statevar) \ + $(cabal_flag tagged tagged) +} diff --git a/dev-haskell/contravariant/metadata.xml b/dev-haskell/contravariant/metadata.xml index 269c2f94d2c6..dee8e98b653e 100644 --- a/dev-haskell/contravariant/metadata.xml +++ b/dev-haskell/contravariant/metadata.xml @@ -26,6 +26,7 @@ </flag> </use> <upstream> + <remote-id type="hackage">contravariant</remote-id> <remote-id type="github">ekmett/contravariant</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/convertible/Manifest b/dev-haskell/convertible/Manifest index c21d5d909b2a..c9bd4d4dc659 100644 --- a/dev-haskell/convertible/Manifest +++ b/dev-haskell/convertible/Manifest @@ -1 +1,2 @@ DIST convertible-1.1.1.0.tar.gz 14354 BLAKE2B 8d60f3ed29732dddf68d9b0221aae12300533c79d2d2763fe09af143296bfda93bc1781b7d21034b4747b5bc18894db033ce16a7c4a3967f8c7c4f4429cb1f52 SHA512 cd36107b686c56a5d374efbb9be4fa8a0ec3504f0cd807870d34f279707b36721ce5639e22939d11d1795354e453fabe4f1b6130b06ec20ad597287f62959dba +DIST convertible-1.1.1.1.tar.gz 14071 BLAKE2B ff5fa7a667b5a65eca95f888c6d1abcebe5a28a53c542a24b7618295cbbd73c0e76a32e274f6cd59a699e9df860ac20d787359556fcab4dfea6623da37ded7b6 SHA512 c0af12974022dfdd539c12e80cecd20682452e2e33018456c531ad50117ef7d961412bb049335c362763355e6ddef25cbaed8560490712a48d8c54bfb30a978a diff --git a/dev-haskell/convertible/convertible-1.1.1.0.ebuild b/dev-haskell/convertible/convertible-1.1.1.0.ebuild index da4f18473d3c..0396aeb5a84b 100644 --- a/dev-haskell/convertible/convertible-1.1.1.0.ebuild +++ b/dev-haskell/convertible/convertible-1.1.1.0.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.6.9999 #hackport: flags: -buildtests diff --git a/dev-haskell/convertible/convertible-1.1.1.1.ebuild b/dev-haskell/convertible/convertible-1.1.1.1.ebuild new file mode 100644 index 000000000000..f6b261a6a13e --- /dev/null +++ b/dev-haskell/convertible/convertible-1.1.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: -buildtests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Typeclasses and instances for converting between types" +HOMEPAGE="https://hackage.haskell.org/package/convertible" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/old-time:=[profile?] + >=dev-haskell/text-0.8:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/quickcheck-2.8 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-buildtests +} diff --git a/dev-haskell/convertible/metadata.xml b/dev-haskell/convertible/metadata.xml index 937381521944..c0287d64a1e5 100644 --- a/dev-haskell/convertible/metadata.xml +++ b/dev-haskell/convertible/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">convertible</remote-id> + <remote-id type="github">hdbc/convertible</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cookie/Manifest b/dev-haskell/cookie/Manifest index 0ab35ca3f09b..b4a2924cf783 100644 --- a/dev-haskell/cookie/Manifest +++ b/dev-haskell/cookie/Manifest @@ -1 +1,2 @@ DIST cookie-0.4.4.tar.gz 5996 BLAKE2B 11ba2d50e004ae498525948c4eb68c470659e306e7a59794fefa8a0441960d2c956f356ef7eb9089866d336f856b30ee208589690767ccfdb886d2920f44b9c2 SHA512 3e17c7c3190602154a196c13b9e65eb139adfe5258441e48ebe5bd9e880af66a7c206f0eca441eeb9ab1700fa49c639adb9414d93f36147c11a1fe3f9fb4a775 +DIST cookie-0.4.5.tar.gz 6048 BLAKE2B 3955c3ebb7e451e2cce7d447dfddc9ba66e97c128ef7cadafd26ad1b490b35e852c07eb17fc64f4f39e1468af19318cde6620fc14d6b0d4c2f91cbd798375ba3 SHA512 b3d4c12b4683f4f02e4d59b47ec3867554dee2fcb106fe59a073b8ead63a220458b91e8b5a2321e46a91666ba61e88798361448a7bc86e496a47d6731b8c0b93 diff --git a/dev-haskell/cookie/cookie-0.4.4.ebuild b/dev-haskell/cookie/cookie-0.4.4.ebuild index 1b4d72030dba..d3b351a304ca 100644 --- a/dev-haskell/cookie/cookie-0.4.4.ebuild +++ b/dev-haskell/cookie/cookie-0.4.4.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.9999 diff --git a/dev-haskell/cookie/cookie-0.4.5.ebuild b/dev-haskell/cookie/cookie-0.4.5.ebuild new file mode 100644 index 000000000000..f3f9dd104892 --- /dev/null +++ b/dev-haskell/cookie/cookie-0.4.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.6.3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="HTTP cookie parsing and rendering" +HOMEPAGE="https://github.com/snoyberg/cookie" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND="dev-haskell/data-default-class:=[profile?] + >=dev-haskell/text-1.1:=[profile?] + >=dev-lang/ghc-7.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.22.2.0 + test? ( dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/cookie/metadata.xml b/dev-haskell/cookie/metadata.xml index a03950629332..43110484d2d9 100644 --- a/dev-haskell/cookie/metadata.xml +++ b/dev-haskell/cookie/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">cookie</remote-id> <remote-id type="github">snoyberg/cookie</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/cprng-aes/cprng-aes-0.6.1.ebuild b/dev-haskell/cprng-aes/cprng-aes-0.6.1.ebuild index c40327f702f4..aeae8e048e01 100644 --- a/dev-haskell/cprng-aes/cprng-aes-0.6.1.ebuild +++ b/dev-haskell/cprng-aes/cprng-aes-0.6.1.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.6.9999 diff --git a/dev-haskell/criterion-measurement/Manifest b/dev-haskell/criterion-measurement/Manifest index a75f8e7d35fd..e9459b44d706 100644 --- a/dev-haskell/criterion-measurement/Manifest +++ b/dev-haskell/criterion-measurement/Manifest @@ -1 +1,2 @@ DIST criterion-measurement-0.1.2.0.tar.gz 16650 BLAKE2B ec4379e6ea016d23e5ee4b0c61404421bf3ba207ecc29063e426f136e1a56ef93a5c5e6f404f17796088e773ab9c4a0e971a587977c57d8ecd3edf33ba72b23d SHA512 d82196d0b4a501795e8f3498b17db89c5febf6cfd2131da262aacc7b268248bb21c7d4e6530789a40a47c4e74e28e34ab5ff3477b2e28f54ddafd01e7cd5993a +DIST criterion-measurement-0.2.0.0.tar.gz 17593 BLAKE2B 96219613c24a9d41c6a4fd2ba0aa90da6b7d8e521761e6e912201832c86e335c43dde1320f248c0e0a767d6735c9ba8d4edfdd618239fe4b362463586cefdbe9 SHA512 a5d4e5e7d1c6313067faac38d64230c5647c9e61a572c20cada6db29f478279599b6f0f81f000ef4754e5cc02a34ee674ea08c8b9606ce60b90791f8b33445fe diff --git a/dev-haskell/criterion-measurement/criterion-measurement-0.1.2.0.ebuild b/dev-haskell/criterion-measurement/criterion-measurement-0.1.2.0.ebuild index 18e70306ee2e..44bcf757e5bb 100644 --- a/dev-haskell/criterion-measurement/criterion-measurement-0.1.2.0.ebuild +++ b/dev-haskell/criterion-measurement/criterion-measurement-0.1.2.0.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.9999 #hackport: flags: -fast diff --git a/dev-haskell/criterion-measurement/criterion-measurement-0.2.0.0.ebuild b/dev-haskell/criterion-measurement/criterion-measurement-0.2.0.0.ebuild new file mode 100644 index 000000000000..84869923f789 --- /dev/null +++ b/dev-haskell/criterion-measurement/criterion-measurement-0.2.0.0.ebuild @@ -0,0 +1,31 @@ +# 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: -fast + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Criterion measurement functionality and associated types" +HOMEPAGE="https://github.com/haskell/criterion" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-0.8:=[profile?] + >=dev-haskell/base-compat-0.9:=[profile?] + >=dev-haskell/vector-0.7.1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-fast +} diff --git a/dev-haskell/criterion-measurement/metadata.xml b/dev-haskell/criterion-measurement/metadata.xml index f3741a090c11..54d806209f58 100644 --- a/dev-haskell/criterion-measurement/metadata.xml +++ b/dev-haskell/criterion-measurement/metadata.xml @@ -5,7 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Measurement-related functionality extracted from Criterion, with minimal dependencies. The rationale for this is to enable alternative analysis front-ends. - </longdescription> + <upstream> + <remote-id type="hackage">criterion-measurement</remote-id> + <remote-id type="github">haskell/criterion</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/criterion/Manifest b/dev-haskell/criterion/Manifest index 4723bd17154f..eb5cd2de63ef 100644 --- a/dev-haskell/criterion/Manifest +++ b/dev-haskell/criterion/Manifest @@ -1 +1,2 @@ DIST criterion-1.5.11.0.tar.gz 46082 BLAKE2B 8cca7ce2d7257cbf471efc1a5c00dcacfb26fe1ff1d5badf1544b2018a33aca43585f7c3afd3e661b67ee443ee424a897a5aa9ac0f653ae37ed2682eb784e558 SHA512 6efc1c59ebe2ca1c03e83174aa6cb742d8070c3c69d4a071187ff6a3abe09b42ba329dba09283fd483b75a6b4e61840af3596d0ab14648f86887cdd44e1480ce +DIST criterion-1.6.3.0.tar.gz 47217 BLAKE2B d54d1271e870f8d0d976e90812943d6d62185c2ba66b176434c28bbca81a197df93f57c3bf02bf5bc11bff8d799ccdef4275490e142845b02824fc59bf895e6a SHA512 e753562678073c7686958f3649d959fae7946e02958ee9f8b0803aa6fe5fc64c66fda2524fd79777e976836f2c9b465675f3be2eca813e6b14986317543a8b46 diff --git a/dev-haskell/criterion/criterion-1.6.3.0.ebuild b/dev-haskell/criterion/criterion-1.6.3.0.ebuild new file mode 100644 index 000000000000..fdbe7d1c0daa --- /dev/null +++ b/dev-haskell/criterion/criterion-1.6.3.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: -fast + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Robust, reliable performance measurement and analysis" +HOMEPAGE="https://www.serpentine.com/criterion" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="embed-data-files" + +RDEPEND=" + >=dev-haskell/aeson-1:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/base-compat-batteries-0.10:=[profile?] <dev-haskell/base-compat-batteries-0.14:=[profile?] + >=dev-haskell/binary-orphans-1.0.1:=[profile?] <dev-haskell/binary-orphans-1.1:=[profile?] + >=dev-haskell/cassava-0.3.0.0:=[profile?] + dev-haskell/code-page:=[profile?] + >=dev-haskell/criterion-measurement-0.2:=[profile?] <dev-haskell/criterion-measurement-0.3:=[profile?] + >=dev-haskell/glob-0.7.2:=[profile?] + >=dev-haskell/js-chart-2.9.4:=[profile?] <dev-haskell/js-chart-3:=[profile?] + >=dev-haskell/microstache-1.0.1:=[profile?] <dev-haskell/microstache-1.1:=[profile?] + >=dev-haskell/mwc-random-0.8.0.3:=[profile?] + >=dev-haskell/optparse-applicative-0.18:=[profile?] <dev-haskell/optparse-applicative-0.19:=[profile?] + >=dev-haskell/parsec-3.1.0:=[profile?] + >=dev-haskell/prettyprinter-1.7:=[profile?] <dev-haskell/prettyprinter-1.8:=[profile?] + >=dev-haskell/prettyprinter-ansi-terminal-1.1:=[profile?] <dev-haskell/prettyprinter-ansi-terminal-1.2:=[profile?] + >=dev-haskell/statistics-0.14:=[profile?] <dev-haskell/statistics-0.17:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/transformers-compat-0.6.4:=[profile?] + >=dev-haskell/vector-0.7.1:=[profile?] + >=dev-haskell/vector-algorithms-0.4:=[profile?] + >=dev-lang/ghc-8.10.6:= + embed-data-files? ( <dev-haskell/file-embed-0.1:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/base-compat + dev-haskell/hunit + >=dev-haskell/quickcheck-2.4 + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed-data-files embed-data-files) \ + --flag=-fast +} diff --git a/dev-haskell/criterion/metadata.xml b/dev-haskell/criterion/metadata.xml index 670130417065..9356cfed7c07 100644 --- a/dev-haskell/criterion/metadata.xml +++ b/dev-haskell/criterion/metadata.xml @@ -6,19 +6,14 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="embed-data-files">Embed the data files in the binary for a relocatable executable</flag> + <flag name="embed-data-files"> + Embed the data files in the binary for a relocatable + executable. (Warning: This will increase the executabl + size significantly.) + </flag> </use> - <longdescription> - This library provides a powerful but simple way to measure the - performance of Haskell code. It provides both a framework for - executing and analysing benchmarks and a set of driver functions - that makes it easy to build and run benchmarks, and to analyse their - results. - - The fastest way to get started is to read the documentation and - examples in the Criterion.Main module. - </longdescription> <upstream> - <remote-id type="github">bos/criterion</remote-id> + <remote-id type="hackage">criterion</remote-id> + <remote-id type="github">haskell/criterion</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/crypto-api-tests/crypto-api-tests-0.3-r1.ebuild b/dev-haskell/crypto-api-tests/crypto-api-tests-0.3-r1.ebuild index adfb14e4ddba..c37ef83492c8 100644 --- a/dev-haskell/crypto-api-tests/crypto-api-tests-0.3-r1.ebuild +++ b/dev-haskell/crypto-api-tests/crypto-api-tests-0.3-r1.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.6.9999 @@ -20,7 +20,7 @@ IUSE="" RDEPEND="dev-haskell/cereal:=[profile?] >=dev-haskell/crypto-api-0.13:=[profile?] dev-haskell/hunit:=[profile?] - >=dev-haskell/quickcheck-2.4:2=[profile?] + >=dev-haskell/quickcheck-2.4:=[profile?] >=dev-haskell/test-framework-0.4:=[profile?] >=dev-haskell/test-framework-hunit-0.2:=[profile?] >=dev-haskell/test-framework-quickcheck2-0.3:=[profile?] diff --git a/dev-haskell/crypto-api/crypto-api-0.13.3.ebuild b/dev-haskell/crypto-api/crypto-api-0.13.3.ebuild index 82cd055afb67..11b8ea52c64a 100644 --- a/dev-haskell/crypto-api/crypto-api-0.13.3.ebuild +++ b/dev-haskell/crypto-api/crypto-api-0.13.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.6.9999 diff --git a/dev-haskell/crypto-cipher-tests/crypto-cipher-tests-0.0.11-r1.ebuild b/dev-haskell/crypto-cipher-tests/crypto-cipher-tests-0.0.11-r1.ebuild index 92686a9ea196..67d209fcec66 100644 --- a/dev-haskell/crypto-cipher-tests/crypto-cipher-tests-0.0.11-r1.ebuild +++ b/dev-haskell/crypto-cipher-tests/crypto-cipher-tests-0.0.11-r1.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.6.9999 @@ -21,7 +21,7 @@ RDEPEND=">=dev-haskell/byteable-0.1.1:=[profile?] <dev-haskell/byteable-0.2:=[pr >=dev-haskell/crypto-cipher-types-0.0.8:=[profile?] <dev-haskell/crypto-cipher-types-0.1:=[profile?] dev-haskell/hunit:=[profile?] dev-haskell/mtl:=[profile?] - >=dev-haskell/quickcheck-2:2=[profile?] + >=dev-haskell/quickcheck-2:=[profile?] >=dev-haskell/securemem-0.1.1:=[profile?] <dev-haskell/securemem-0.2:=[profile?] dev-haskell/test-framework:=[profile?] dev-haskell/test-framework-hunit:=[profile?] diff --git a/dev-haskell/crypto-cipher-types/crypto-cipher-types-0.0.9.ebuild b/dev-haskell/crypto-cipher-types/crypto-cipher-types-0.0.9.ebuild index 31ba18cd4e88..d1ab368b7d9e 100644 --- a/dev-haskell/crypto-cipher-types/crypto-cipher-types-0.0.9.ebuild +++ b/dev-haskell/crypto-cipher-types/crypto-cipher-types-0.0.9.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.6.9999 diff --git a/dev-haskell/crypto-random/crypto-random-0.0.9.ebuild b/dev-haskell/crypto-random/crypto-random-0.0.9.ebuild index 6173cb2ed873..50fbd85a0783 100644 --- a/dev-haskell/crypto-random/crypto-random-0.0.9.ebuild +++ b/dev-haskell/crypto-random/crypto-random-0.0.9.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.6.9999 diff --git a/dev-haskell/cryptohash-md5/Manifest b/dev-haskell/cryptohash-md5/Manifest index 125b0c8915bf..238f8eb82871 100644 --- a/dev-haskell/cryptohash-md5/Manifest +++ b/dev-haskell/cryptohash-md5/Manifest @@ -1 +1,4 @@ +DIST cryptohash-md5-0.11.100.1-rev6.cabal 3964 BLAKE2B 377323b2129dc35c1345226cffce3de90e1b584681c2c500d42767364057aafcc27825e1b524b7c65b27cb623c3fc4f9a0ec6bdd0cb65c36ce7e0768849511a6 SHA512 6b7be0bd0b5e663fd6cce73de16b6396818762a892cf30f6cf9cd08425f06c8c078cc4ee5634d843ffe4014c55c207535589a323dae1c5ff3f76883805e55b54 DIST cryptohash-md5-0.11.100.1.tar.gz 10472 BLAKE2B cc7c99922b05c8df11a7253e6c0dd3ab1399ff739548280fa762b01c507e6d620ab51ccf6c6e791572ae432448118356d1b8879767f4ca245ae59e0daaed2058 SHA512 f2efb197005ed5f12a7c2be490a64a83186cacb34eaedec6cbd76e52c30221733da1d31201c5209538226508db760fd9eed0afc8d72643e1509b32c7287cb12e +DIST cryptohash-md5-0.11.101.0-rev2.cabal 3104 BLAKE2B 7ee2a97bd67c9d39adb4dac059b142083ce807b1bf9e2bec8012dca3a223cce23f28ffd1f2c8587dd1c3215a2387c2d6b3f13cd3d30838183dd0bd31d233ecf1 SHA512 f1cc76e5e00197085ba8cc10eb7a771ac8a55117b51f4eac992f40f65237c70b5e4ab9b25b9312b667d4efdaea289e3f5cdc33b493ff96c9c3819efa60e67a26 +DIST cryptohash-md5-0.11.101.0.tar.gz 11872 BLAKE2B b2aafbfef1ecc51a7a21262210df478ea0d0c33539b940d71ffcb4cf28b31ff801f6fde5fb27c70a99f7ea9a1682cbbb4cf13ebbe015ee3712dda76318563643 SHA512 6116b384e76927aed06748fac6088280d1ecc7eb5886692c287e971761b98960657b106ba8a700bd0c5b2e552797079e143836af3463acd75bbac207633867a4 diff --git a/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.100.1.ebuild b/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.100.1.ebuild index 35c231a144a9..9a1918cd2dbc 100644 --- a/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.100.1.ebuild +++ b/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.100.1.ebuild @@ -3,19 +3,19 @@ EAPI=8 -# ebuild generated by hackport 0.5.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=6 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Fast, pure and practical MD5 implementation" HOMEPAGE="https://github.com/hvr/cryptohash-md5" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" RDEPEND=">=dev-lang/ghc-7.4.1:= " @@ -28,11 +28,10 @@ DEPEND="${RDEPEND} >=dev-haskell/tasty-quickcheck-0.8 ) " -src_prepare() { - cabal_chdeps \ - 'base >= 4.5 && < 4.10' 'base >= 4.5' \ - 'tasty == 0.11.*' 'tasty >= 0.11' \ - 'tasty-quickcheck == 0.8.*' 'tasty-quickcheck >= 0.8' \ - 'tasty-hunit == 0.9.*' 'tasty-hunit >= 0.9' - default -} +CABAL_CHDEPS=( + 'base >= 4.5 && < 4.16' 'base >= 4.5' + 'tasty == 0.11.*' 'tasty >= 0.11' + 'tasty-quickcheck == 0.8.*' 'tasty-quickcheck >= 0.8' + 'tasty-hunit == 0.9.*' 'tasty-hunit >= 0.9' + 'bytestring >= 0.9.2 && < 0.11' 'bytestring >= 0.9.2' +) diff --git a/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.101.0.ebuild b/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.101.0.ebuild new file mode 100644 index 000000000000..f23597a5d998 --- /dev/null +++ b/dev-haskell/cryptohash-md5/cryptohash-md5-0.11.101.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast, pure and practical MD5 implementation" +HOMEPAGE="https://github.com/haskell-hvr/cryptohash-md5" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/base16-bytestring-1.0.1.0 <dev-haskell/base16-bytestring-1.1 + >=dev-haskell/puremd5-2.1.3 <dev-haskell/puremd5-2.2 + =dev-haskell/tasty-1.4* + =dev-haskell/tasty-hunit-0.10* + =dev-haskell/tasty-quickcheck-0.10* + ) +" diff --git a/dev-haskell/cryptohash-md5/metadata.xml b/dev-haskell/cryptohash-md5/metadata.xml index 1b38ed3b7e04..ce013d3a56a1 100644 --- a/dev-haskell/cryptohash-md5/metadata.xml +++ b/dev-haskell/cryptohash-md5/metadata.xml @@ -5,20 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A practical incremental and one-pass, pure API to the - <https://en.wikipedia.org/wiki/MD5 MD5 hash algorithm> - (including <https://en.wikipedia.org/wiki/HMAC HMAC> support) - with performance close to the fastest implementations available in other languages. - - The implementation is made in C with a haskell FFI wrapper that hides the C implementation. - - NOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ package - has been deprecated and so this package continues to satisfy the need for a lightweight package - providing the MD5 hash algorithm without any dependencies on packages other than - @base@ and @bytestring@. - - Consequently, this package can be used as a drop-in replacement for @cryptohash@'s - "Crypto.Hash.MD5" module, though with a clearly smaller footprint. - </longdescription> + <upstream> + <remote-id type="hackage">cryptohash-md5</remote-id> + <remote-id type="github">hvr/cryptohash-md5</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cryptohash-sha1/Manifest b/dev-haskell/cryptohash-sha1/Manifest index 763430616331..8691986056e1 100644 --- a/dev-haskell/cryptohash-sha1/Manifest +++ b/dev-haskell/cryptohash-sha1/Manifest @@ -1 +1,4 @@ +DIST cryptohash-sha1-0.11.100.1-rev6.cabal 4354 BLAKE2B f89a3045c1ea145f3ac2af440eeea2d213a69c5abaa0f9eb1407a2da34a08aabb7df966f014a9b903eff5ae9ee3262703097e6b5f5df0b13252d3889c8a2776c SHA512 3077375cbff05b415168152eeb213a9ec1c0d0d48f63b394f65399f7ae1421adc8f0e760e1ec7f7a5f83c78377151209c77d23ab01cf0ceb36e899aa000310f3 DIST cryptohash-sha1-0.11.100.1.tar.gz 10198 BLAKE2B 5d9835feeb43a80c83de0e390d59efc908fd538ed4146ace4eb0cd67392503cf414a2324968e8249f2b506978348caa6e92c70e82c52eaa7ac14e3956388f05e SHA512 e3528c70501ffaf4649adc0fe120a0b333329761fa66505083269afa67828c16695fd91567035adef0b77915df47a6bcc99d2d90f0ecb26eda583829261cb1bc +DIST cryptohash-sha1-0.11.101.0-rev2.cabal 3094 BLAKE2B fc048a5eaefca1df4b1748f46f48f69e7571f90fdfdb3524b7556a8b6a9b3f7b58d363209ec20d9f4892b1b3e69dc1394287e7e70e7009f06dd75bc02e267910 SHA512 1dbf660ca81c2d8633dd6255602fa6b5f2999f55400bd75391be0049ca8bcf221d14b5d294999427ed193aa0514d68e05509b85fc5a2fe9c8be574b0a0542f9a +DIST cryptohash-sha1-0.11.101.0.tar.gz 11563 BLAKE2B 4da99b2b4943e3909d3af24f62fb0ecf4c87370075f280a7e9ea44956cd58df9f49076a0d90b60bec9a7dcb3d24df032f6b5ef07644a4b63bdf1099458996163 SHA512 4384fc2f63750400561b5dbea0a343510306d755131121346d6a52cb9420cb12fc7d20247f044beb0ea55ae254ce666edc982d76e999c0762894f405e9b6441e diff --git a/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.100.1.ebuild b/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.100.1.ebuild index 9612b03eade0..7781ccfebaec 100644 --- a/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.100.1.ebuild +++ b/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.100.1.ebuild @@ -3,19 +3,19 @@ EAPI=8 -# ebuild generated by hackport 0.5.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=6 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Fast, pure and practical SHA-1 implementation" HOMEPAGE="https://github.com/hvr/cryptohash-sha1" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" RDEPEND=">=dev-lang/ghc-7.4.1:= " @@ -28,11 +28,10 @@ DEPEND="${RDEPEND} >=dev-haskell/tasty-quickcheck-0.8 ) " -src_prepare() { - cabal_chdeps \ - 'base >= 4.5 && < 4.10' 'base >= 4.5' \ - 'tasty == 0.11.*' 'tasty >= 0.11' \ - 'tasty-quickcheck == 0.8.*' 'tasty-quickcheck >= 0.8' \ - 'tasty-hunit == 0.9.*' 'tasty-hunit >= 0.9' - default -} +CABAL_CHDEPS=( + 'base >= 4.5 && < 4.16' 'base >= 4.5' + 'tasty == 0.11.*' 'tasty >= 0.11' + 'tasty-quickcheck == 0.8.*' 'tasty-quickcheck >= 0.8' + 'tasty-hunit == 0.9.*' 'tasty-hunit >= 0.9' + 'bytestring >= 0.9.2 && < 0.11' 'bytestring >= 0.9.2' +) diff --git a/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.101.0.ebuild b/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.101.0.ebuild new file mode 100644 index 000000000000..5c3d3f9e7023 --- /dev/null +++ b/dev-haskell/cryptohash-sha1/cryptohash-sha1-0.11.101.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast, pure and practical SHA-1 implementation" +HOMEPAGE="https://github.com/haskell-hvr/cryptohash-sha1" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/base16-bytestring-1.0.1.0 <dev-haskell/base16-bytestring-1.1 + >=dev-haskell/sha-1.6.4 <dev-haskell/sha-1.7 + >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 ) +" diff --git a/dev-haskell/cryptohash-sha1/metadata.xml b/dev-haskell/cryptohash-sha1/metadata.xml index 9f3f3141af03..fede62a037d9 100644 --- a/dev-haskell/cryptohash-sha1/metadata.xml +++ b/dev-haskell/cryptohash-sha1/metadata.xml @@ -5,20 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A practical incremental and one-pass, pure API to the - <https://en.wikipedia.org/wiki/SHA-1 SHA-1 hash algorithm> - (including <https://en.wikipedia.org/wiki/HMAC HMAC> support) - with performance close to the fastest implementations available in other languages. - - The implementation is made in C with a haskell FFI wrapper that hides the C implementation. - - NOTE: This package has been forked off @cryptohash-0.11.7@ because the @cryptohash@ package has been - deprecated and so this package continues to satisfy the need for a lightweight package - providing the SHA1 hash algorithm without any dependencies on packages other than - @base@ and @bytestring@. - - Consequently, this package can be used as a drop-in replacement for @cryptohash@'s - "Crypto.Hash.SHA1" module, though with a clearly smaller footprint. - </longdescription> + <upstream> + <remote-id type="hackage">cryptohash-sha1</remote-id> + <remote-id type="github">hvr/cryptohash-sha1</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cryptohash-sha256/Manifest b/dev-haskell/cryptohash-sha256/Manifest index 2f3fa9b976b1..0f862c30cc24 100644 --- a/dev-haskell/cryptohash-sha256/Manifest +++ b/dev-haskell/cryptohash-sha256/Manifest @@ -1 +1,3 @@ DIST cryptohash-sha256-0.11.101.0.tar.gz 14996 BLAKE2B 9caccc3eea4ad25c6ebbdd507771d86264a853f282d03399917b42a5311dcad0501bd0b4ea6fa00d039f67bcea3f81c116b9ec016d65cb2ed6f086b0448894c0 SHA512 c755f1354fb5f1d6cfb54f73e39692392517954118d98b39ac4be7460e75a9ddc91ad641fed0f17e5fa33b62b7b0734af66526ea757e00716832572bb383c612 +DIST cryptohash-sha256-0.11.102.1-rev3.cabal 5457 BLAKE2B ed2c47aaed406a62bff372abf9f7768a7a40dc3a84d9ccd16c50dc5a0a05957f6885a87619d463ef546bd804b406f9a632963ec60818efc12582dac6edca46af SHA512 b1a3807ce57eb3f24b343a903b6849c08e4de90d33f77504723b8c5b18138ab527a953fee3ff06d6a55e4af1360494289149e199182422a9734b209bfe9f37c1 +DIST cryptohash-sha256-0.11.102.1.tar.gz 15707 BLAKE2B 16f7b8c39df3eac22af30ea14c98b0a6ef8056118dbc8236dd8951f7d35e32ba07fbf5f318a0896b0ef70ff1459f03937df4ef30b0247835e7550fedaf42386e SHA512 fb4432050ab1236fc913ba50949ee52a117b0d74509b58868e8ade69bfc6e89e1379dfea48afc76d8527d4fdbaee9dd1d2dcea4530ba95a42441491df005e78c diff --git a/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.101.0.ebuild b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11 |