diff options
1371 files changed, 18264 insertions, 3652 deletions
diff --git a/app-admin/haskell-updater/haskell-updater-1.3.2-r1.ebuild b/app-admin/haskell-updater/haskell-updater-1.3.2-r1.ebuild index 40e3558161ec..ba1f73bb9e86 100644 --- a/app-admin/haskell-updater/haskell-updater-1.3.2-r1.ebuild +++ b/app-admin/haskell-updater/haskell-updater-1.3.2-r1.ebuild @@ -3,12 +3,13 @@ EAPI=8 +# ebuild generated by hackport 0.8.0.0.9999 + CABAL_FEATURES="nocabaldep" inherit haskell-cabal DESCRIPTION="Rebuild Haskell dependencies in Gentoo" -HOMEPAGE="https://wiki.haskell.org/Gentoo#haskell-updater" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" +HOMEPAGE="https://github.com/gentoo-haskell/haskell-updater#readme" LICENSE="GPL-2" SLOT="0" diff --git a/app-admin/haskell-updater/haskell-updater-9999.ebuild b/app-admin/haskell-updater/haskell-updater-9999.ebuild new file mode 100644 index 000000000000..05dcc8087bf7 --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-9999.ebuild @@ -0,0 +1,50 @@ +# 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: +pedantic + +CABAL_FEATURES="nocabaldep" +inherit haskell-cabal git-r3 + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://github.com/gentoo-haskell/haskell-updater#readme" +EGIT_REPO_URI="https://github.com/gentoo-haskell/haskell-updater.git" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="" + +# Need a lower version for portage to get --keep-going +RDEPEND="|| ( >=sys-apps/portage-2.1.6 + sys-apps/pkgcore )" +DEPEND=">=dev-lang/ghc-6.12.1" + +src_prepare() { + default + + if use prefix; then + sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \ + "${S}/Distribution/Gentoo/Packages.hs" || die + + sed -i -e 's,"/","'"${EPREFIX}"'/",g' \ + "${S}/Distribution/Gentoo/GHC.hs" || die + fi + + sed -e 's/^version:.*/&.9999/' -i ${PN}.cabal || die # just to distinct from release install +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=pedantic \ + --bindir="${EPREFIX}/usr/sbin" \ + --constraint="Cabal == $(cabal-version)" +} + +src_install() { + cabal_src_install + + dodoc TODO +} diff --git a/app-admin/haskell-updater/metadata.xml b/app-admin/haskell-updater/metadata.xml index 937381521944..1764e6586336 100644 --- a/app-admin/haskell-updater/metadata.xml +++ b/app-admin/haskell-updater/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">haskell-updater</remote-id> + <remote-id type="github">gentoo-haskell/haskell-updater</remote-id> + </upstream> </pkgmetadata> diff --git a/app-portage/hackport/Manifest b/app-portage/hackport/Manifest index 58280c789e04..64c31175a24d 100644 --- a/app-portage/hackport/Manifest +++ b/app-portage/hackport/Manifest @@ -1 +1,2 @@ DIST hackport-0.7.2.2.tar.gz 2083323 BLAKE2B e14fbd5c5fa88260518869ad72dd59d08e7cb4351cecc35952ebfdd71e34ea335e6c4b56de7577033335e3efdbff8796fd05f1ad3df20ae84ed1bc8ef7b2153f SHA512 ce880ae8a5a4dc1d446654b8bf4108bacf4a974afaad0266c291ff9f2ab6f8af49294452314cbbeec1979c8e5ffab0860d87668f63d7d7731eb11eb3144a4bd0 +DIST hackport-0.8.4.0.tar.gz 2427117 BLAKE2B fac57e56cb09d32bd51abd5cb209920176682578cb198675d8dfca82b5b6851a5ea26758b9d83f3db74b5bc03a3ed9cb33372b56e9c314e3fdbb5fc24953e722 SHA512 4ecdc4e0eef0f27b4a79c4ad20676296d925fd51f113f701718f230ca9af2068bb44ef355cc0fdb22dceec11c2fe7aee14887bf2994d49f43bd5cfc66c9b7a79 diff --git a/app-portage/hackport/files/hackport.bash.completion b/app-portage/hackport/files/hackport.bash.completion new file mode 100644 index 000000000000..687c2046c4c2 --- /dev/null +++ b/app-portage/hackport/files/hackport.bash.completion @@ -0,0 +1,14 @@ +_hackport() +{ + local CMDLINE + local IFS=$'\n' + CMDLINE=(+RTS -I0 -A8M -N1 -qg -RTS --bash-completion-index $COMP_CWORD) + + for arg in ${COMP_WORDS[@]}; do + CMDLINE=(${CMDLINE[@]} --bash-completion-word $arg) + done + + COMPREPLY=( $(/usr/bin/hackport "${CMDLINE[@]}") ) +} + +complete -o filenames -F _hackport hackport diff --git a/app-portage/hackport/hackport-0.8.4.0.ebuild b/app-portage/hackport/hackport-0.8.4.0.ebuild new file mode 100644 index 000000000000..d43064a77d5a --- /dev/null +++ b/app-portage/hackport/hackport-0.8.4.0.ebuild @@ -0,0 +1,87 @@ +# 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: +cabal-v1,+gentoo-tests,+pedantic + +CABAL_FEATURES="test-suite" +inherit haskell-cabal bash-completion-r1 +DESCRIPTION="Hackage and Portage integration tool" +HOMEPAGE="https://github.com/gentoo-haskell/hackport#readme" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="profile" + +RDEPEND=" + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/base16-bytestring-0.1.1:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] + >=dev-haskell/cryptohash-sha256-0.11:=[profile?] + dev-haskell/dlist:=[profile?] + >=dev-haskell/echo-0.1.3:=[profile?] + >=dev-haskell/ed25519-0.0:=[profile?] + >=dev-haskell/edit-distance-0.2.2:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + >=dev-haskell/hashable-1.0:=[profile?] + >=dev-haskell/http-4000.1.5:=[profile?] + dev-haskell/lifted-base:=[profile?] + >=dev-haskell/lukko-0.1:=[profile?] + dev-haskell/monad-control:=[profile?] + >=dev-haskell/network-3.0:=[profile?] + >=dev-haskell/network-uri-2.6.0.2:=[profile?] + dev-haskell/optparse-applicative:=[profile?] + >=dev-haskell/parallel-3.2.1.0:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] + dev-haskell/parser-combinators:=[profile?] + dev-haskell/prettyprinter:=[profile?] + dev-haskell/quickcheck:2= + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/regex-base-0.94.0.0:=[profile?] + >=dev-haskell/regex-posix-0.96.0.0:=[profile?] + >=dev-haskell/resolv-0.1.1:=[profile?] + >=dev-haskell/safe-exceptions-0.1.7.0:=[profile?] + dev-haskell/split:=[profile?] + >=dev-haskell/tar-0.5.0.3:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-haskell/zlib-0.5.3:=[profile?] + >=dev-lang/ghc-8.10.6:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/base-compat + >=dev-haskell/cabal-doctest-1.0 + >=dev-haskell/doctest-0.8 + dev-haskell/glob + >=dev-haskell/hspec-2.0 + dev-haskell/hunit + >=dev-haskell/quickcheck-2.0 + ) +" + +src_configure() { + if use test; then + export GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest + ) + fi + + haskell-cabal_src_configure \ + --flag=cabal-v1 \ + --flag=gentoo-tests \ + --flag=pedantic \ + $(cabal_flag profile profile) +} + +src_install() { + haskell-cabal_src_install + doman man/hackport.1 + + # We only install bash completion scripts currently + newbashcomp "${FILESDIR}/${PN}.bash.completion" "${PN}" +} diff --git a/app-portage/hackport/hackport-9999.ebuild b/app-portage/hackport/hackport-9999.ebuild index 7cc74ec9ca0f..dfd8f33c2cf4 100644 --- a/app-portage/hackport/hackport-9999.ebuild +++ b/app-portage/hackport/hackport-9999.ebuild @@ -1,72 +1,97 @@ -# Copyright 1999-2022 Gentoo Authors +# 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: +cabal-v1 +# ebuild generated by hackport 0.8.4.0.9999 +#hackport: flags: +cabal-v1,+gentoo-tests,+pedantic CABAL_FEATURES="test-suite" EGIT_REPO_URI="https://github.com/gentoo-haskell/hackport.git" -inherit git-r3 haskell-cabal +inherit git-r3 haskell-cabal bash-completion-r1 DESCRIPTION="Hackage and Portage integration tool" -HOMEPAGE="https://github.com/gentoo-haskell/hackport" +HOMEPAGE="https://github.com/gentoo-haskell/hackport#readme" LICENSE="GPL-3+" SLOT="0" KEYWORDS="" +IUSE="profile +threads" +REQUIRED_USE="profile? ( threads ) test? ( threads )" -RDEPEND=">=dev-haskell/async-2.0:= - >=dev-haskell/base16-bytestring-0.1.1:= - >=dev-haskell/base64-bytestring-1.0:= - >=dev-haskell/cryptohash-sha256-0.11:= - >=dev-haskell/echo-0.1.3:= - >=dev-haskell/ed25519-0.0:= - >=dev-haskell/edit-distance-0.2.2:= - dev-haskell/extensible-exceptions:= - >=dev-haskell/hashable-1.0:= - >=dev-haskell/http-4000.1.5:= - >=dev-haskell/network-3.0:= - >=dev-haskell/network-uri-2.6.0.2:= - >=dev-haskell/parallel-3.2.1.0:= +RDEPEND=" + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/base16-bytestring-0.1.1:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] + >=dev-haskell/cryptohash-sha256-0.11:=[profile?] + dev-haskell/dlist:=[profile?] + >=dev-haskell/echo-0.1.3:=[profile?] + >=dev-haskell/ed25519-0.0:=[profile?] + >=dev-haskell/edit-distance-0.2.2:=[profile?] + dev-haskell/extensible-exceptions:=[profile?] + >=dev-haskell/hashable-1.0:=[profile?] + >=dev-haskell/http-4000.1.5:=[profile?] + dev-haskell/lifted-base:=[profile?] + >=dev-haskell/lukko-0.1:=[profile?] + dev-haskell/monad-control:=[profile?] + >=dev-haskell/network-3.0:=[profile?] + >=dev-haskell/network-uri-2.6.0.2:=[profile?] + dev-haskell/optparse-applicative:=[profile?] + >=dev-haskell/parallel-3.2.1.0:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] + dev-haskell/parser-combinators:=[profile?] + dev-haskell/prettyprinter:=[profile?] dev-haskell/quickcheck:2= - >=dev-haskell/random-1:= - >=dev-haskell/regex-base-0.94.0.0:= - >=dev-haskell/regex-posix-0.96.0.0:= - >=dev-haskell/resolv-0.1.1:= - dev-haskell/split:= - >=dev-haskell/stm-2.0:= - >=dev-haskell/tar-0.5.0.3:= - dev-haskell/xml:= - >=dev-haskell/zlib-0.5.3:= - >=dev-lang/ghc-8.4.3:= + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/regex-base-0.94.0.0:=[profile?] + >=dev-haskell/regex-posix-0.96.0.0:=[profile?] + >=dev-haskell/resolv-0.1.1:=[profile?] + >=dev-haskell/safe-exceptions-0.1.7.0:=[profile?] + dev-haskell/split:=[profile?] + >=dev-haskell/tar-0.5.0.3:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-haskell/zlib-0.5.3:=[profile?] + >=dev-lang/ghc-8.10.6:=[profile?] " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( dev-haskell/base-compat - dev-haskell/cabal-doctest + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/base-compat + >=dev-haskell/cabal-doctest-1.0 >=dev-haskell/doctest-0.8 dev-haskell/glob >=dev-haskell/hspec-2.0 - >=dev-haskell/quickcheck-2.0 ) -" -RDEPEND+=" - dev-util/pkgcheck + dev-haskell/hunit + >=dev-haskell/quickcheck-2.0 + ) " src_prepare() { - default - sed -e 's/^Version:.*/&.9999/' -i ${PN}.cabal || die # just to distinguish from release install + haskell-cabal_src_prepare + sed -e 's/^version:.*/&.9999/' -i ${PN}.cabal || die # just to distinguish from release install } src_configure() { + if use test; then + export GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest + ) + fi + haskell-cabal_src_configure \ - --flag=cabal-v1 + --flag=cabal-v1 \ + --flag=gentoo-tests \ + --flag=pedantic \ + $(cabal_flag profile profile) \ + $(cabal-flag threads threads) } src_install() { haskell-cabal_src_install doman man/hackport.1 + + # We only install bash completion scripts currently + newbashcomp "${FILESDIR}/${PN}.bash.completion" "${PN}" } diff --git a/app-portage/hackport/metadata.xml b/app-portage/hackport/metadata.xml index bedf907374d9..168e097f4c4c 100644 --- a/app-portage/hackport/metadata.xml +++ b/app-portage/hackport/metadata.xml @@ -5,11 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A command line tool to manage an overlay of Gentoo ebuilds - that are generated from a hackage repo of Cabal packages. - </longdescription> + <use> + <flag name="profile">Enable profiling flags</flag> + </use> <upstream> + <remote-id type="hackage">hackport</remote-id> <remote-id type="github">gentoo-haskell/hackport</remote-id> </upstream> </pkgmetadata> diff --git a/app-text/pandoc-cli/Manifest b/app-text/pandoc-cli/Manifest new file mode 100644 index 000000000000..7723b3414780 --- /dev/null +++ b/app-text/pandoc-cli/Manifest @@ -0,0 +1 @@ +DIST pandoc-cli-0.1.1.tar.gz 10814 BLAKE2B 22ecd904a5e8222f68ef5b72c343a6e87448a8f4839092bca0291864cd34389061119223296171447c1570a1667e9257661ec71bbb9acffe4406ccee7dd67181 SHA512 bf05834761d9c78a21b5aaf20a3a1ca24e035e394e22858506d649ec669d8ca72d8578ad9ba2e4d24bc1681dc8faa9e4c1a39fa1d82414da51e6786b23f31a36 diff --git a/app-text/pandoc-cli/metadata.xml b/app-text/pandoc-cli/metadata.xml new file mode 100644 index 000000000000..14cb3430e380 --- /dev/null +++ b/app-text/pandoc-cli/metadata.xml @@ -0,0 +1,18 @@ +<?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="lua">Support custom modifications and conversions with the +pandoc Lua scripting engine.</flag> + <flag name="nightly">Add '-nightly-COMPILEDATE' to the output of '--version'.</flag> + <flag name="server">Include support for running pandoc as an HTTP server.</flag> + </use> + <upstream> + <remote-id type="hackage">pandoc-cli</remote-id> + <remote-id type="github">jgm/pandoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/pandoc-cli/pandoc-cli-0.1.1.ebuild b/app-text/pandoc-cli/pandoc-cli-0.1.1.ebuild new file mode 100644 index 000000000000..2fd855b96c72 --- /dev/null +++ b/app-text/pandoc-cli/pandoc-cli-0.1.1.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.8.2.0.9999 + +CABAL_FEATURES="" +inherit haskell-cabal + +DESCRIPTION="Conversion between documentation formats" +HOMEPAGE="https://pandoc.org" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+lua nightly +server" + +RDEPEND=">=dev-haskell/pandoc-3.0:= + dev-haskell/text:= + >=dev-lang/ghc-8.8.1:= + lua? ( >=dev-haskell/hslua-cli-1.4.1:= <dev-haskell/hslua-cli-1.5:= + >=dev-haskell/pandoc-lua-engine-0.2:= <dev-haskell/pandoc-lua-engine-0.3:= + >=dev-haskell/temporary-1.1:= <dev-haskell/temporary-1.4:= ) + server? ( >=dev-haskell/pandoc-server-0.1:= <dev-haskell/pandoc-server-0.2:= + dev-haskell/safe:= + >=dev-haskell/wai-extra-3.0.24:= + dev-haskell/warp:= ) + !app-text/pandoc +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag lua lua) \ + $(cabal_flag nightly nightly) \ + $(cabal_flag server server) +} diff --git a/app-text/pandoc/metadata.xml b/app-text/pandoc/metadata.xml index 76ff98a64e2e..712e3e36eea3 100644 --- a/app-text/pandoc/metadata.xml +++ b/app-text/pandoc/metadata.xml @@ -4,16 +4,6 @@ <maintainer type="project"> <email>haskell@gentoo.org</email> </maintainer> - <longdescription> - Pandoc is a Haskell library for converting from one markup - format to another, and a command-line tool that uses - this library. It can read markdown and (subsets of) - reStructuredText, HTML, LaTeX and Textile, and it can write - markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, - OpenDocument, ODT, RTF, MediaWiki, Textile, groff man pages, - plain text, Emacs Org-Mode, EPUB, and S5 and Slidy HTML - slide shows. - </longdescription> <use> <flag name="embed-data-files">Embed data files in binary for relocatable executable.</flag> <flag name="trypandoc">Build trypandoc cgi executable.</flag> diff --git a/app-text/pandoc/pandoc-2.18-r2.ebuild b/app-text/pandoc/pandoc-2.18-r2.ebuild index c06d323777b5..eced4d6a54ab 100644 --- a/app-text/pandoc/pandoc-2.18-r2.ebuild +++ b/app-text/pandoc/pandoc-2.18-r2.ebuild @@ -78,6 +78,8 @@ RDEPEND=">=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-2.1:=[profile?] >=dev-haskell/hslua-2.2:=[profile?] <dev-haskell/hslua-2.3:=[profile?] trypandoc? ( >=dev-haskell/wai-0.3:=[profile?] >=dev-haskell/wai-extra-3.0.24:=[profile?] ) + !app-text/pandoc-cli + !dev-haskell/pandoc " DEPEND="${RDEPEND} >=dev-haskell/cabal-3.2.0.0 diff --git a/dev-cpp/waylandpp/waylandpp-1.0.0-r1.ebuild b/dev-cpp/waylandpp/waylandpp-1.0.0-r1.ebuild index 31b0b780271f..6ba27d433755 100644 --- a/dev-cpp/waylandpp/waylandpp-1.0.0-r1.ebuild +++ b/dev-cpp/waylandpp/waylandpp-1.0.0-r1.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~riscv x86" fi RDEPEND=" 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.1.2.1.ebuild b/dev-haskell/aeson/aeson-2.1.2.1.ebuild new file mode 100644 index 000000000000..fc13f5d57318 --- /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:2=[profile?] <dev-haskell/quickcheck-2.15:2=[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..c5b40f0d6918 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 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..e58612f680b7 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:= " 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..fdb5cf3f3fa1 --- /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 ~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..4cfc9c886f79 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 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..1120a7e9a587 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 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..b6272269df21 --- /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-https-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..934de12c6e19 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 @@ -30,9 +30,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..0c5326fc9d73 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.15' '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..e630e108f1b6 --- /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 ~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/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..8141101470fa 100644 --- a/dev-haskell/cabal/Manifest +++ b/dev-haskell/cabal/Manifest @@ -1,2 +1,5 @@ -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.2.1.0-rev1.cabal 27482 BLAKE2B 7726071d1d59f6f2dcc382346d8e75d219a00bc3b8f936049b464a13224ad1cac0cc6e065a0ab0fdd1ee85d24d3d7e33abbebd603dbac4ff564f72c8aafcab3b SHA512 0d8bb2d72f825a6e3e88e5a0146a97a0ea2f7fa7c4950205ce652648abda2c74ea336654ef77b40f95865cde57126a8725c7538e0d492e74cadf7ebcd4d80d4d +DIST cabal-3.2.1.0.tar.gz 823331 BLAKE2B 060f4808010f9eefd943312144c75e021bf02083c2a0805128da6c9b93da94ba13fe37cef1fbe27e41fe8a10610e088b923783f4b7bb57150532d3a3ea4a91fc SHA512 279088a2ab9145efc03dbdd10941edcf6034137046ee3b659a8cf0ff075a03e3edff28fd01d432d39701c5a7e05a50b99cf8de95f05d3bd4e75edb3af0e3a598 +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.2.1.0-r2.ebuild b/dev-haskell/cabal/cabal-3.2.1.0-r2.ebuild new file mode 100644 index 000000000000..f7ec4a9eae1f --- /dev/null +++ b/dev-haskell/cabal/cabal-3.2.1.0-r2.ebuild @@ -0,0 +1,66 @@ +# 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 test-suite due to "circular" dependencies with quickcheck +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 ~x86 ~amd64-linux ~x86-linux" # ~ppc ~ppc64 ~ppc-macos ~x86-macos ~x86-solaris + +RESTRICT=test # circular deps: cabal -> quickcheck -> cabal + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} +" +# test? ( +# >=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/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.16 +# >=dev-haskell/quickcheck-2.14 <dev-haskell/quickcheck-2.15 +# >=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="8.10.6 8.10.7" 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..ce7ccae0f5c3 --- /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:= +" +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..65f9f2dbf9f7 --- /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 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-lang/ghc-9.2.4:= +" +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..485e294221fa 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 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..141da654672a 100644 --- a/dev-haskell/charset/charset-0.3.7.1-r1.ebuild +++ b/dev-haskell/charset/charset-0.3.7.1-r1.ebuild @@ -25,9 +25,6 @@ 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..22357040b664 --- /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:2=[profile?] <dev-haskell/quickcheck-2.15:2=[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.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..c49b86f06b9a 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 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..825e15298f7b 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 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..ee97631cab25 100644 --- a/dev-haskell/cryptohash-md5/Manifest +++ b/dev-haskell/cryptohash-md5/Manifest @@ -1 +1,3 @@ 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..50d57072a004 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 @@ -28,11 +28,9 @@ 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.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' +) 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..a39901938d32 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">haskell-hvr/cryptohash-md5</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/cryptohash-sha1/Manifest b/dev-haskell/cryptohash-sha1/Manifest index 763430616331..ec9b31b24686 100644 --- a/dev-haskell/cryptohash-sha1/Manifest +++ b/dev-haskell/cryptohash-sha1/Manifest @@ -1 +1,3 @@ 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..1e0a3aca5194 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 @@ -28,11 +28,9 @@ 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.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' +) 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..114f360e78d9 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">haskell-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.101.0.ebuild index 767f820e8d87..3c2252862587 100644 --- a/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.101.0.ebuild +++ b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.101.0.ebuild @@ -29,14 +29,12 @@ DEPEND="${RDEPEND} >=dev-haskell/tasty-quickcheck-0.8 ) " -src_prepare() { - cabal_chdeps \ - 'base >= 4.5 && < 4.11' '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.11' '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' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild new file mode 100644 index 000000000000..0e9b0ff14db7 --- /dev/null +++ b/dev-haskell/cryptohash-sha256/cryptohash-sha256-0.11.102.1.ebuild @@ -0,0 +1,58 @@ +# 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: exe:executable,+use-cbits + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast, pure and practical SHA-256 implementation" +HOMEPAGE="https://github.com/hvr/cryptohash-sha256" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +CABAL_CHBINS=( + 'sha256sum' 'cryptohash-sha256sum' +) + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= + executable? ( + || ( + ( >=dev-haskell/base16-bytestring-0.1.1 <dev-haskell/base16-bytestring-0.2 ) + =dev-haskell/base16-bytestring-1.0* + ) + dev-haskell/base16-bytestring:=[profile?] + ) +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/sha-1.6.4 <dev-haskell/sha-1.7 + >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.6 + =dev-haskell/tasty-hunit-0.10* + =dev-haskell/tasty-quickcheck-0.10* + || ( + ( >=dev-haskell/base16-bytestring-0.1.1 <dev-haskell/base16-bytestring-0.2 ) + =dev-haskell/base16-bytestring-1.0* + ) + ) +" + +src_configure() { + local conf_flags=( + $(cabal_flag executable exe) + --flag=use-cbits + ) + + haskell-cabal_src_configure "${conf_flags[@]}" +} diff --git a/dev-haskell/cryptohash-sha256/metadata.xml b/dev-haskell/cryptohash-sha256/metadata.xml index eaac8fbe800a..0abeaaf769d6 100644 --- a/dev-haskell/cryptohash-sha256/metadata.xml +++ b/dev-haskell/cryptohash-sha256/metadata.xml @@ -5,22 +5,11 @@ <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-2 SHA-256 hash algorithm> - 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@ has been - deprecated and so this package continues to satisfy the need for a lightweight package - providing the SHA256 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.SHA256" module, though with a clearly smaller footprint. - </longdescription> + <use> + <flag name="executable">Build the cryptohash-sha256sum executable</flag> + </use> <upstream> + <remote-id type="hackage">cryptohash-sha256</remote-id> <remote-id type="github">hvr/cryptohash-sha256</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/crypton-connection/Manifest b/dev-haskell/crypton-connection/Manifest new file mode 100644 index 000000000000..8086567443ba --- /dev/null +++ b/dev-haskell/crypton-connection/Manifest @@ -0,0 +1 @@ +DIST crypton-connection-0.3.1.tar.gz 9112 BLAKE2B c8915815d2ae6b7e1c24010d44851a13323cc4211d8e35bcbaa71cb7f07af5ca2b041d90586b243af45a20d56753f361231015bffb2f82c42abe73c6caa13717 SHA512 5ec88d45be285398493aff416be1e40f7a1fff989d472f860ffe05671c2cc2261e244a15a30f79851a4c2a38509a2ecb2959af1e8ae2cf66aee5958c817245a0 diff --git a/dev-haskell/crypton-connection/crypton-connection-0.3.1.ebuild b/dev-haskell/crypton-connection/crypton-connection-0.3.1.ebuild new file mode 100644 index 000000000000..dedf37569ad2 --- /dev/null +++ b/dev-haskell/crypton-connection/crypton-connection-0.3.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simple and easy network connections API" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton-connection" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/basement:=[profile?] + >=dev-haskell/crypton-x509-1.5:=[profile?] + >=dev-haskell/crypton-x509-store-1.5:=[profile?] + >=dev-haskell/crypton-x509-system-1.5:=[profile?] + >=dev-haskell/crypton-x509-validation-1.5:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/network-2.6.3:=[profile?] + >=dev-haskell/socks-0.6:=[profile?] + >=dev-haskell/tls-1.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/crypton-connection/metadata.xml b/dev-haskell/crypton-connection/metadata.xml new file mode 100644 index 000000000000..fca43110a14d --- /dev/null +++ b/dev-haskell/crypton-connection/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">crypton-connection</remote-id> + <remote-id type="github">kazu-yamamoto/crypton-connection</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/crypton-x509-store/Manifest b/dev-haskell/crypton-x509-store/Manifest new file mode 100644 index 000000000000..f5618d107dc3 --- /dev/null +++ b/dev-haskell/crypton-x509-store/Manifest @@ -0,0 +1 @@ +DIST crypton-x509-store-1.6.9.tar.gz 12735 BLAKE2B 2c609676ff1fbb6e25a9d1794ac067cac4fc34ac8b7a6339ef73e5f8d52671be87b6f68a8ff8398bc6084353a084f6dddbf8669f3114604ee5dd732235a847f4 SHA512 3aefa6d204868b7adbe34608575ad782b28f4e6d1431d61e794c1923e0fd933d87a10791b1727ec49eb15e376ffa8e4540404bce581a90e3164239cf8760295e diff --git a/dev-haskell/crypton-x509-store/crypton-x509-store-1.6.9.ebuild b/dev-haskell/crypton-x509-store/crypton-x509-store-1.6.9.ebuild new file mode 100644 index 000000000000..cdcc01989183 --- /dev/null +++ b/dev-haskell/crypton-x509-store/crypton-x509-store-1.6.9.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="X.509 collection accessing and storing methods" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + dev-haskell/crypton:=[profile?] + >=dev-haskell/crypton-x509-1.7.2:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] <dev-haskell/pem-0.3:=[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/crypton-x509-store/metadata.xml b/dev-haskell/crypton-x509-store/metadata.xml new file mode 100644 index 000000000000..d41f77abf931 --- /dev/null +++ b/dev-haskell/crypton-x509-store/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">crypton-x509-store</remote-id> + <remote-id type="github">vincenthz/hs-certificate</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/crypton-x509-system/Manifest b/dev-haskell/crypton-x509-system/Manifest new file mode 100644 index 000000000000..87083e58fe58 --- /dev/null +++ b/dev-haskell/crypton-x509-system/Manifest @@ -0,0 +1 @@ +DIST crypton-x509-system-1.6.7.tar.gz 3496 BLAKE2B 340d45433de35f292112ffd27ec54042895d24143f6f92e037c902c09c69ed0ff7bb6e8b26d389d9818baf8733aa8578d7bb3132080738831b3fce554d121e2b SHA512 fc6edbea995df5d56228413452157fac2349cafdb5cb85a38625cb3e43f46aa519d5a0fe47c1b25a9eb6fbba7b498538e173d276224dab331a8a19193df80f75 diff --git a/dev-haskell/crypton-x509-system/crypton-x509-system-1.6.7.ebuild b/dev-haskell/crypton-x509-system/crypton-x509-system-1.6.7.ebuild new file mode 100644 index 000000000000..9881ca5e14df --- /dev/null +++ b/dev-haskell/crypton-x509-system/crypton-x509-system-1.6.7.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Handle per-operating-system X.509 accessors and storage" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/crypton-x509-1.6:=[profile?] + >=dev-haskell/crypton-x509-store-1.6.2:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] <dev-haskell/pem-0.3:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/crypton-x509-system/metadata.xml b/dev-haskell/crypton-x509-system/metadata.xml new file mode 100644 index 000000000000..ff9b461d97bb --- /dev/null +++ b/dev-haskell/crypton-x509-system/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">crypton-x509-system</remote-id> + <remote-id type="github">kazu-yamamoto/crypton-certificate</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/crypton-x509-validation/Manifest b/dev-haskell/crypton-x509-validation/Manifest new file mode 100644 index 000000000000..74fa76870bcc --- /dev/null +++ b/dev-haskell/crypton-x509-validation/Manifest @@ -0,0 +1 @@ +DIST crypton-x509-validation-1.6.12.tar.gz 19573 BLAKE2B 1eb5ebc9405e865e49f94aa7d44ed3d0d6773fccd60808f57e1e79e14c36edeb8dfd5d2261b97b956cd528467e4c4c1c8a53d9ce2ec2f8a36d7c1fdc7393726d SHA512 3f6e24f4c3c0ebe2a6dd6371d3abf6739fbb571a47d6918a380fe18f68fb33aec4503f826fd1b1a8bda484d91fe5c8cef2ec3d21fbbf3394eb6f77059a7094c2 diff --git a/dev-haskell/crypton-x509-validation/crypton-x509-validation-1.6.12.ebuild b/dev-haskell/crypton-x509-validation/crypton-x509-validation-1.6.12.ebuild new file mode 100644 index 000000000000..9e005ad7c92b --- /dev/null +++ b/dev-haskell/crypton-x509-validation/crypton-x509-validation-1.6.12.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="X.509 Certificate and CRL validation" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + >=dev-haskell/crypton-0.24:=[profile?] + >=dev-haskell/crypton-x509-1.7.5:=[profile?] + >=dev-haskell/crypton-x509-store-1.6:=[profile?] + dev-haskell/data-default-class:=[profile?] + dev-haskell/hourglass:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/pem-0.1:=[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/crypton-x509-validation/metadata.xml b/dev-haskell/crypton-x509-validation/metadata.xml new file mode 100644 index 000000000000..264c7cf3bf35 --- /dev/null +++ b/dev-haskell/crypton-x509-validation/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">crypton-x509-validation</remote-id> + <remote-id type="github">kazu-yamamoto/crypton-certificate</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/crypton-x509/Manifest b/dev-haskell/crypton-x509/Manifest new file mode 100644 index 000000000000..6350cd400a87 --- /dev/null +++ b/dev-haskell/crypton-x509/Manifest @@ -0,0 +1,2 @@ +DIST crypton-x509-1.7.6-rev1.cabal 2339 BLAKE2B 9b8a6a13fb5cd16b3ceed37fa0ada3ba1045fcc92a87e7ec6719f89b6f7a9e098e696119a9249f67b279a789e29b4b87d35c996092f58fdb7f279e0504d66f28 SHA512 fd876eb88fd54107ddb3c1836e24af92a1e3d321a5c114826e308b537fe65be54c01742e373202e3dfa7317945ad2393f89c5562956331cba9624aa43f0e7f1a +DIST crypton-x509-1.7.6.tar.gz 21557 BLAKE2B 856fbf08b7eaff32f4562def1511f74d30f5f6a92fcb7d07c0049efff956787d840774a0d1fe66c14eed9702885b2be3ab58a49c2c071c31701534606e8f0276 SHA512 add965b5c85355f0081597a48430661c8e8a9922dd597a1bf7270f2ed38e855bda9bf5028065e0becf09fbb7a36dbf7fddd4f1e4d747777f26f4b1f8b2c87476 diff --git a/dev-haskell/crypton-x509/crypton-x509-1.7.6.ebuild b/dev-haskell/crypton-x509/crypton-x509-1.7.6.ebuild new file mode 100644 index 000000000000..17df09e6ff4d --- /dev/null +++ b/dev-haskell/crypton-x509/crypton-x509-1.7.6.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 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite fails to build +inherit haskell-cabal + +DESCRIPTION="X509 reader and writer" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # fails to build + +RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-parse-0.9.3:=[profile?] <dev-haskell/asn1-parse-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3.1:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + >=dev-haskell/crypton-0.24:=[profile?] + dev-haskell/hourglass:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" +# test? ( dev-haskell/tasty +# dev-haskell/tasty-quickcheck +# dev-haskell/x509 ) +# " diff --git a/dev-haskell/crypton-x509/metadata.xml b/dev-haskell/crypton-x509/metadata.xml new file mode 100644 index 000000000000..1f52a557a49c --- /dev/null +++ b/dev-haskell/crypton-x509/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">crypton-x509</remote-id> + <remote-id type="github">kazu-yamamoto/crypton-certificate</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/crypton/Manifest b/dev-haskell/crypton/Manifest new file mode 100644 index 000000000000..45032e8a403e --- /dev/null +++ b/dev-haskell/crypton/Manifest @@ -0,0 +1 @@ +DIST crypton-0.32.tar.gz 618042 BLAKE2B 685f8db1be7b7ffffa79e3eea6b66a6ffe573c70268a15c0b34717c369ff15a17c24b6edd275f6e21a64eb9bcf5646f18e77599eec6796191ae9126d50b466ce SHA512 0c544f8213c607c9d063569b45491bced3bd9b1d6aaf59c414a80b6a9f887e75c2da00c539d2ef8abd770f52e03122640fe5219361d1fad0c0b3fb52dc636590 diff --git a/dev-haskell/crypton/crypton-0.32.ebuild b/dev-haskell/crypton/crypton-0.32.ebuild new file mode 100644 index 000000000000..baf8e2b05f65 --- /dev/null +++ b/dev-haskell/crypton/crypton-0.32.ebuild @@ -0,0 +1,43 @@ +# 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="Cryptography Primitives sink" +HOMEPAGE="https://github.com/kazu-yamamoto/crypton" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="check-alignment +integer-gmp old-toolchain-inliner +support-aesni +support-deepseq +support-pclmuldq +support-rdrand support-sse +target-attributes" + +RDEPEND=">=dev-haskell/basement-0.0.6:=[profile?] + >=dev-haskell/memory-0.14.18:=[profile?] + >=dev-lang/ghc-8.8.1:= + virtual/libc +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-kat + dev-haskell/tasty-quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag check-alignment check_alignment) \ + $(cabal_flag integer-gmp integer-gmp) \ + $(cabal_flag old-toolchain-inliner old_toolchain_inliner) \ + $(cabal_flag support-aesni support_aesni) \ + $(cabal_flag support-deepseq support_deepseq) \ + $(cabal_flag support-pclmuldq support_pclmuldq) \ + $(cabal_flag support-rdrand support_rdrand) \ + $(cabal_flag support-sse support_sse) \ + $(cabal_flag target-attributes use_target_attributes) +} diff --git a/dev-haskell/crypton/metadata.xml b/dev-haskell/crypton/metadata.xml new file mode 100644 index 000000000000..79ded3fd0fa2 --- /dev/null +++ b/dev-haskell/crypton/metadata.xml @@ -0,0 +1,23 @@ +<?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="check-alignment">extra check on alignment in C layers, which cause lowlevel assert errors. for debugging only.</flag> + <flag name="integer-gmp">Whether or not to use GMP for some functions</flag> + <flag name="old-toolchain-inliner">use -fgnu89-inline to workaround an old compiler / linker / glibc issue.</flag> + <flag name="support-aesni">allow compilation with AESNI on system and architecture that supports it</flag> + <flag name="support-deepseq">add deepseq instances for cryptographic types</flag> + <flag name="support-pclmuldq">Allow compilation with pclmuldq on architecture that supports it</flag> + <flag name="support-rdrand">allow compilation with RDRAND on system and architecture that supports it</flag> + <flag name="support-sse">Use SSE optimized version of (BLAKE2, ARGON2)</flag> + <flag name="target-attributes">use GCC / clang function attributes instead of global target options.</flag> + </use> + <upstream> + <remote-id type="hackage">crypton</remote-id> + <remote-id type="github">kazu-yamamoto/crypton</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/cryptonite/Manifest b/dev-haskell/cryptonite/Manifest index e924d8e11346..ac7bee5184c5 100644 --- a/dev-haskell/cryptonite/Manifest +++ b/dev-haskell/cryptonite/Manifest @@ -1,2 +1,3 @@ DIST cryptonite-0.28.tar.gz 616309 BLAKE2B 3fa11777574fab06c264709d4de7b56fd4b276fbee93f4731683a9a18f83cf77d2042679f2eac3044d336c5be382e1e4eb0c90862c20b0f452eaafdee401e616 SHA512 c1e485522938f94f15910a5b5a4a3e4dfecbb62df463c80faaa51e9d883c2612611b8486bd0fd13660766cfb6d62d366fbbd03df2db874d525514aae247b6242 +DIST cryptonite-0.30.tar.gz 621062 BLAKE2B cf955f83b72a4fe4ce4aac4d1b3bb322922e9e3e76ab6c6119c359c304c060ccb706a7b7df4d06817be6914535ede6c46f45cc3b2ef76d3a7404881531cebe35 SHA512 519120263fb7c2b9f910e48cf43feaca07f7e705ea70c578da362dafa637b654cab90e3b9484497e33a6fdd5b8f867c0ede60d0dddba02602044b9b3de502d16 DIST cryptonite-338.patch 1823 BLAKE2B 99a502e16ec061b37e1d3dc343760c86c1eb1cecf23a9061ef3198082d2777fa129196af3322153558e1da7e87b125bfa3a1e32501482767bbbe2e4ca874d65f SHA512 1f00a31791fef52e7bdb2b052912f8ede9022ee4013d1f74321ff10517c4c8df68be9b97d4bfd88140f5686b3b9d01e0937909dd5a2c462920e559accde8e72d diff --git a/dev-haskell/cryptonite/cryptonite-0.28.ebuild b/dev-haskell/cryptonite/cryptonite-0.28.ebuild index 1a9e58a3808c..af3cb754b8e9 100644 --- a/dev-haskell/cryptonite/cryptonite-0.28.ebuild +++ b/dev-haskell/cryptonite/cryptonite-0.28.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.7.9999 #hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu_flags_x86_rdrand diff --git a/dev-haskell/cryptonite/cryptonite-0.30.ebuild b/dev-haskell/cryptonite/cryptonite-0.30.ebuild new file mode 100644 index 000000000000..e32cfe9178c8 --- /dev/null +++ b/dev-haskell/cryptonite/cryptonite-0.30.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.7.2.2.9999 +#hackport: flags: -check_alignment,-old_toolchain_inliner,+support_deepseq,support_aesni:cpu_flags_x86_aes,support_pclmuldq:cpu_flags_x86_sse4_1,support_sse:cpu_flags_x86_sse,support_rdrand:cpu_flags_x86_rdrand + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit flag-o-matic haskell-cabal + +DESCRIPTION="Cryptography Primitives sink" +HOMEPAGE="https://github.com/haskell-crypto/cryptonite" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="cpu_flags_x86_aes cpu_flags_x86_rdrand cpu_flags_x86_sse cpu_flags_x86_sse4_1 +integer-gmp +target-attributes" + +RDEPEND=">=dev-lang/ghc-8.4.3:= + >=dev-haskell/memory-0.14.18:=[profile?] + >=dev-haskell/basement-0.0.6:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-kat + dev-haskell/tasty-quickcheck ) +" + +src_prepare() { + default + + # On AVX2 cryptonite's own test suite crashes on unaligned access: + # https://github.com/haskell-crypto/cryptonite/issues/347 + # Disable extensions that might require extra alignment. + use amd64 && append-flags -mno-avx2 + use x86 && append-flags -mno-avx2 +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-check_alignment \ + $(cabal_flag integer-gmp integer-gmp) \ + --flag=-old_toolchain_inliner \ + $(cabal_flag cpu_flags_x86_aes support_aesni) \ + --flag=support_deepseq \ + $(cabal_flag cpu_flags_x86_sse4_1 support_pclmuldq) \ + $(cabal_flag cpu_flags_x86_rdrand support_rdrand) \ + $(cabal_flag cpu_flags_x86_sse support_sse) \ + $(cabal_flag target-attributes use_target_attributes) +} diff --git a/dev-haskell/cryptonite/metadata.xml b/dev-haskell/cryptonite/metadata.xml index 91b640f27b37..d75d89255758 100644 --- a/dev-haskell/cryptonite/metadata.xml +++ b/dev-haskell/cryptonite/metadata.xml @@ -5,34 +5,12 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A repository of cryptographic primitives. - - * Symmetric ciphers: AES, DES, 3DES, Blowfish, Camellia, RC4, Salsa, ChaCha. - - * Hash: SHA1, SHA2, SHA3, MD2, MD4, MD5, Kekkak, Skein, Ripemd, Tiger, Whirlpool - - * MAC: HMAC, Poly1305 - - * Assymmetric crypto: DSA, RSA, DH, ECDH, ECDSA, ECC, Curve25519, Ed25519 - - * Key Derivation Function: PBKDF2, Scrypt - - * Cryptographic Random generation: System Entropy, Deterministic Random Generator - - * Data related: Anti-Forensic Information Splitter (AFIS) - - If anything cryptographic related is missing from here, submit - a pull request to have it added. This package strive to be a - cryptographic kitchen sink that provides cryptography for everyone. - - Evaluate the security related to your requirements before using. - </longdescription> <use> <flag name="integer-gmp">Whether or not to use GMP for some functions</flag> <flag name="target-attributes">use GCC / clang function attributes instead of global target options.</flag> </use> <upstream> + <remote-id type="hackage">cryptonite</remote-id> <remote-id type="github">haskell-crypto/cryptonite</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/data-array-byte/Manifest b/dev-haskell/data-array-byte/Manifest new file mode 100644 index 000000000000..f4d26ec1a3d4 --- /dev/null +++ b/dev-haskell/data-array-byte/Manifest @@ -0,0 +1,2 @@ +DIST data-array-byte-0.1.0.1-rev1.cabal 1989 BLAKE2B 4cc949daa674be3691072d87b1bc158dbda8e03edb1cdc8d839fe88761b3758a285150a3ed6c297343b93cdf49123584aa8d54cc6bce585d6f7ef008c94afdea SHA512 dda81cb1f8e04a762bad70af5f5cc566c2228322ac277296e1492db57757eedebc39133a35f2daca499593bb4f855e2548c0c400eac3d7ab0ebf7d646dfa06e7 +DIST data-array-byte-0.1.0.1.tar.gz 6784 BLAKE2B 5b53eeee371b4463c4c140b153fd5b806db0385c4fba647c158cecd3168f739f97c292ef70bee03b74e4d34f9ef5c58d9cfa6d20e0b11f2f38399b04657d3c12 SHA512 f06e369803fadca57c0782b45c97f914e0e28c512bb3f36be35a06686ac1c3ab45da150143a1be3b0b5633c3d4105570acc4c0482e9692a4ef35568922a303e7 diff --git a/dev-haskell/data-array-byte/data-array-byte-0.1.0.1.ebuild b/dev-haskell/data-array-byte/data-array-byte-0.1.0.1.ebuild new file mode 100644 index 000000000000..322e73d7a889 --- /dev/null +++ b/dev-haskell/data-array-byte/data-array-byte-0.1.0.1.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=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compatibility layer for Data.Array.Byte" +HOMEPAGE="https://github.com/Bodigrim/data-array-byte" + +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/quickcheck-classes-base-0.6 <dev-haskell/quickcheck-classes-base-0.7 + >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 ) +" + +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/data-array-byte/metadata.xml b/dev-haskell/data-array-byte/metadata.xml new file mode 100644 index 000000000000..b095f14949bd --- /dev/null +++ b/dev-haskell/data-array-byte/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">data-array-byte</remote-id> + <remote-id type="github">Bodigrim/data-array-byte</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/data-default-instances-containers/data-default-instances-containers-0.0.1.ebuild b/dev-haskell/data-default-instances-containers/data-default-instances-containers-0.0.1.ebuild index 3a2c39fe01a5..1c3681cd29d3 100644 --- a/dev-haskell/data-default-instances-containers/data-default-instances-containers-0.0.1.ebuild +++ b/dev-haskell/data-default-instances-containers/data-default-instances-containers-0.0.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/data-default-instances-dlist/data-default-instances-dlist-0.0.1.ebuild b/dev-haskell/data-default-instances-dlist/data-default-instances-dlist-0.0.1.ebuild index c87aaa6c10f2..b30a9d18b555 100644 --- a/dev-haskell/data-default-instances-dlist/data-default-instances-dlist-0.0.1.ebuild +++ b/dev-haskell/data-default-instances-dlist/data-default-instances-dlist-0.0.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/data-default-instances-old-locale/data-default-instances-old-locale-0.0.1.ebuild b/dev-haskell/data-default-instances-old-locale/data-default-instances-old-locale-0.0.1.ebuild index 5c84113ca2da..f675c7df4418 100644 --- a/dev-haskell/data-default-instances-old-locale/data-default-instances-old-locale-0.0.1.ebuild +++ b/dev-haskell/data-default-instances-old-locale/data-default-instances-old-locale-0.0.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/data-default/data-default-0.7.1.1.ebuild b/dev-haskell/data-default/data-default-0.7.1.1.ebuild index 7ddcd10a5b6d..16b73301ebd2 100644 --- a/dev-haskell/data-default/data-default-0.7.1.1.ebuild +++ b/dev-haskell/data-default/data-default-0.7.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/data-fix/Manifest b/dev-haskell/data-fix/Manifest index e19ca61a3ddf..844a1504279d 100644 --- a/dev-haskell/data-fix/Manifest +++ b/dev-haskell/data-fix/Manifest @@ -1,2 +1,2 @@ -DIST data-fix-0.3.2.cabal 1692 BLAKE2B 09b59f90198d3982c5ed0904a082b00348ed210872f972d2b3bcd8c3507c0af659e879d72f630b42b32ead16fec3a18c42ba462122b1a44ddb2ca8d60f7dc214 SHA512 353aacd3740c247f692be7256a59824fa35512a121d356515e9b87e204a6a68c6add8f14111a47f8930aac386d85ea2494b09d06b34ca939e2838de79834c923 +DIST data-fix-0.3.2-rev4.cabal 1720 BLAKE2B 804bae8c1788c3ad572e128274b24e62cd8c53cd44d3079acec348f5d3f0a663b258c040b9d3b8fa1463b1b292a30c954121e5f4aea697115f416557a1b5fa59 SHA512 6577a28f2451c9fe88fe5dbabdcfccabad8e5654491f00cace75df8273ec3c0e2fd2dc3fbc9347051a67214499ff56b077c29f020753e5fee647e52f2083b4d0 DIST data-fix-0.3.2.tar.gz 5842 BLAKE2B b59f0e2abd572945219355206f24f689835026d4adb6ce4d85073f11a8742701463dfe6029376d5a65959c61115483cfb00f557213c222b18a28e9336a4f3879 SHA512 70b0c15522ea1fa623397bd399d83cc0921736012e6daaad21a9940ec9f447373f7e0e3915369127c7c54def7cb1d066c4641e676fa5f444f3d5dd761c258b63 diff --git a/dev-haskell/data-fix/data-fix-0.3.2-r1.ebuild b/dev-haskell/data-fix/data-fix-0.3.2-r1.ebuild new file mode 100644 index 000000000000..9bf501127acd --- /dev/null +++ b/dev-haskell/data-fix/data-fix-0.3.2-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.0.9999 + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Fixpoint data types" +HOMEPAGE="https://github.com/spell-music/data-fix" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/data-fix/data-fix-0.3.2.ebuild b/dev-haskell/data-fix/data-fix-0.3.2.ebuild deleted file mode 100644 index d44dacaa2906..000000000000 --- a/dev-haskell/data-fix/data-fix-0.3.2.ebuild +++ /dev/null @@ -1,38 +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 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" -CABAL_HACKAGE_REVISION="2" -inherit haskell-cabal - -DESCRIPTION="Fixpoint data types" -HOMEPAGE="https://github.com/spell-music/data-fix" -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.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 -" -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 -} diff --git a/dev-haskell/data-fix/metadata.xml b/dev-haskell/data-fix/metadata.xml index 937381521944..29898652b264 100644 --- a/dev-haskell/data-fix/metadata.xml +++ b/dev-haskell/data-fix/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">data-fix</remote-id> + <remote-id type="github">spell-music/data-fix</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/data-ordlist/data-ordlist-0.4.7.0.ebuild b/dev-haskell/data-ordlist/data-ordlist-0.4.7.0.ebuild index 53bf5352e3c9..6af9d9b4718b 100644 --- a/dev-haskell/data-ordlist/data-ordlist-0.4.7.0.ebuild +++ b/dev-haskell/data-ordlist/data-ordlist-0.4.7.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 diff --git a/dev-haskell/dav/dav-1.3.4.ebuild b/dev-haskell/dav/dav-1.3.4.ebuild index 3d512b553a1e..07cbde20cad9 100644 --- a/dev-haskell/dav/dav-1.3.4.ebuild +++ b/dev-haskell/dav/dav-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.3 #hackport: flags: -mtl-compat diff --git a/dev-haskell/dbus/Manifest b/dev-haskell/dbus/Manifest index 5e6f09b72982..37e66badbff1 100644 --- a/dev-haskell/dbus/Manifest +++ b/dev-haskell/dbus/Manifest @@ -1,2 +1,2 @@ -DIST dbus-1.2.22.tar.gz 78010 BLAKE2B c7189e15e0a9622e707bb50064584bd43141857257baec8e6d59d0cf39428b3b5efa82668ef70fbff218738ba5822b1aaad0c85b5e14bfa3ae4ef237e2458a9d SHA512 81f9fe1420939ebb5b03602ba59dd86656e4443690d8be460684dcb461ff7df1ff4cdf846a5a15ea6193b6f64b08526b27d3e12825a375eecbded3d0a99a59b9 DIST dbus-1.2.27.tar.gz 78017 BLAKE2B 396739e7e6af0fe1921c9d3857c0650db9532d00a3fd2eda18042d42ce8336631d93d0c0ce75681b695f9e90c7205e38aea7c4f984544460ecab19c7d5090478 SHA512 2c6b87b4a793b555ef617e3f3f89695116180f0e1df2f84ee3da62c819c05c10a78d328644b84c8c9796354ee6dd1c6ad6b0430a1b9a2d7fe112b251d4606e8d +DIST dbus-1.3.0.tar.gz 82155 BLAKE2B 46b5500294e93b2614e66fa99962917e3a27030e178f0b3734a764089d5ba2a72afd203d2b1afcc2227c7b0953e1f324af62b6d537148e32a7527677ae017a8b SHA512 e59b11910a4e4288c89955dbbd2a135cb81dc263aacb331477e4f70403f53d70340af3a280eee9be8b2ee70eef8c06813381ab1dcb36927d059c90a726992cc7 diff --git a/dev-haskell/dbus/dbus-1.2.27.ebuild b/dev-haskell/dbus/dbus-1.2.27.ebuild index 2d425c9f5f79..414024615fea 100644 --- a/dev-haskell/dbus/dbus-1.2.27.ebuild +++ b/dev-haskell/dbus/dbus-1.2.27.ebuild @@ -43,9 +43,7 @@ DEPEND="${RDEPEND} <dev-haskell/tasty-quickcheck-0.11 ) " -src_prepare() { - default - cabal_chdeps \ - "base >=4.16 && <5" "base >=4 && <5" \ - "template-haskell >= 2.18 && < 2.20" "template-haskell" -} +CABAL_CHDEPS=( + "base >=4.16 && <5" "base >=4 && <5" + "template-haskell >= 2.18 && < 2.20" "template-haskell" +) diff --git a/dev-haskell/dbus/dbus-1.2.22.ebuild b/dev-haskell/dbus/dbus-1.3.0.ebuild index e3c321fbdbff..b7dd93a559af 100644 --- a/dev-haskell/dbus/dbus-1.2.22.ebuild +++ b/dev-haskell/dbus/dbus-1.3.0.ebuild @@ -1,43 +1,43 @@ -# Copyright 1999-2022 Gentoo Authors +# 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 +# ebuild generated by hackport 0.8.4.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="A client library for the D-Bus IPC system" HOMEPAGE="https://github.com/rblaze/haskell-dbus#readme" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" - -PATCHES=( - "${FILESDIR}/${PN}-1.2.22-disable-integration-tests.patch" -) +KEYWORDS="~amd64 ~x86" +# exotic keywords require ghc bump to 9.2 series +#KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" RDEPEND="<dev-haskell/cereal-0.6:=[profile?] >=dev-haskell/conduit-1.3.0:=[profile?] <dev-haskell/conduit-1.4:=[profile?] - <dev-haskell/lens-5.2:=[profile?] + <dev-haskell/lens-5.3:=[profile?] >=dev-haskell/network-3.1.2.1:=[profile?] <dev-haskell/network-3.2:=[profile?] + <dev-haskell/parsec-3.2:=[profile?] <dev-haskell/random-1.3:=[profile?] <dev-haskell/split-0.3:=[profile?] + <dev-haskell/text-2.1:=[profile?] <dev-haskell/th-lift-0.9:=[profile?] - <dev-haskell/vector-0.13:=[profile?] + <dev-haskell/vector-0.14:=[profile?] >=dev-haskell/xml-conduit-1.9.0.0:=[profile?] <dev-haskell/xml-conduit-1.10.0.0:=[profile?] <dev-haskell/xml-types-0.4:=[profile?] - >=dev-lang/ghc-8.10.1:= + >=dev-lang/ghc-9.2.4:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-3.2.0.0 + >=dev-haskell/cabal-3.6.3.0 test? ( <dev-haskell/extra-1.8 <dev-haskell/quickcheck-2.15 - <dev-haskell/resourcet-1.3 + <dev-haskell/resourcet-1.4 <dev-haskell/tasty-1.5 <dev-haskell/tasty-hunit-0.11 - <dev-haskell/tasty-quickcheck-0.11 ) + <dev-haskell/tasty-quickcheck-0.11 + >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 ) " diff --git a/dev-haskell/dbus/metadata.xml b/dev-haskell/dbus/metadata.xml index 4640c75ee040..b6c5efc4fb09 100644 --- a/dev-haskell/dbus/metadata.xml +++ b/dev-haskell/dbus/metadata.xml @@ -3,59 +3,8 @@ <pkgmetadata> <maintainer type="project"> <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> </maintainer> - <longdescription> - D-Bus is a simple, message-based protocol for inter-process - communication, which allows applications to interact with other parts of - the machine and the user's session using remote procedure calls. - - D-Bus is a essential part of the modern Linux desktop, where it replaces - earlier protocols such as CORBA and DCOP. - - This library is an implementation of the D-Bus protocol in Haskell. It - can be used to add D-Bus support to Haskell applications, without the - awkward interfaces common to foreign bindings. - - Example: connect to the session bus, and get a list of active names. - - @ - &#x7b;-\# LANGUAGE OverloadedStrings \#-&#x7d; - - import Data.List (sort) - import DBus - import DBus.Client - - main = do - &#x20; client <- connectSession - &#x20; // - &#x20; \-- Request a list of connected clients from the bus - &#x20; reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\") - &#x20; &#x7b; methodCallDestination = Just \"org.freedesktop.DBus\" - &#x20; &#x7d; - &#x20; // - &#x20; \-- org.freedesktop.DBus.ListNames() returns a single value, which is - &#x20; \-- a list of names (here represented as [String]) - &#x20; let Just names = fromVariant (methodReturnBody reply !! 0) - &#x20; // - &#x20; \-- Print each name on a line, sorted so reserved names are below - &#x20; \-- temporary names. - &#x20; mapM_ putStrLn (sort names) - @ - - >$ ghc --make list-names.hs - >$ ./list-names - >:1.0 - >:1.1 - >:1.10 - >:1.106 - >:1.109 - >:1.110 - >ca.desrt.dconf - >org.freedesktop.DBus - >org.freedesktop.Notifications - >org.freedesktop.secrets - >org.gnome.ScreenSaver - </longdescription> <upstream> <remote-id type="hackage">dbus</remote-id> <remote-id type="github">rblaze/haskell-dbus</remote-id> diff --git a/dev-haskell/dec/Manifest b/dev-haskell/dec/Manifest index 6dd83586955d..e05e17968b7e 100644 --- a/dev-haskell/dec/Manifest +++ b/dev-haskell/dec/Manifest @@ -1 +1,3 @@ DIST dec-0.0.3.tar.gz 2629 BLAKE2B 558b559cf5d92afad637f61ae82549e200a6042740d78ef25be5bf32212dac5027e4f1b3cb9104c65d589927e1ff8b65e62b7f46d6fd5ff707f175cf920bb206 SHA512 446911a59287b48d8b98acf588671e6ed19fc12ed8adeabdab8f21c1fefb80cac7b59b9fea52a4671b997aa63d2eadda5181490e6901e99e9882de572abdc595 +DIST dec-0.0.5-rev1.cabal 1468 BLAKE2B df9584455ad01170b770c2342d8a5ac9f43383ebad9f87ac6f0abe7ee65e4165048b2ff1c5b401fa8af25dcc3532f04812a383fb50eb0a4f8b9e1c5bb9bd7089 SHA512 eb8b36f86b7266f1afdb57da4c7eb1b440cb347b9540d15acf217c3dcc432486154bc388adb98f720640fe765bd8acb80d09db7ea2cc27d5b2fa53f5210757e7 +DIST dec-0.0.5.tar.gz 3224 BLAKE2B b6d744a118f895e403d777cbc68b4913e8cd01e9f9e230b693b9d6dc2c6a6896f97e05e0bece5a22ff393da8b0cb9d29f78a8314af4d3799505ffd56d4591b22 SHA512 895085bb95bd8cec482f771d37f75221c12b50326bfeadeb6466d365c69756fef2faffcb557e0fee3861ec5318d8d27ad140ef6296217a80dda9a121f1be931a diff --git a/dev-haskell/dec/dec-0.0.3.ebuild b/dev-haskell/dec/dec-0.0.3.ebuild index 3e8b8ebe4d19..e5527d33dfb6 100644 --- a/dev-haskell/dec/dec-0.0.3.ebuild +++ b/dev-haskell/dec/dec-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.9999 @@ -24,8 +24,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - default - cabal_chdeps \ - 'base >=4.7 && <4.13' 'base >=4.7' -} +CABAL_CHDEPS=( + 'base >=4.7 && <4.13' 'base >=4.7' +) diff --git a/dev-haskell/dec/dec-0.0.5.ebuild b/dev-haskell/dec/dec-0.0.5.ebuild new file mode 100644 index 000000000000..01a3511200b8 --- /dev/null +++ b/dev-haskell/dec/dec-0.0.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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Decidable propositions" +HOMEPAGE="https://github.com/phadej/dec" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/boring-0.2:=[profile?] <dev-haskell/boring-0.3:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/dec/metadata.xml b/dev-haskell/dec/metadata.xml index 937381521944..a0f6ba3a9a33 100644 --- a/dev-haskell/dec/metadata.xml +++ b/dev-haskell/dec/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">dec</remote-id> + <remote-id type="github">phadej/dec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/dense-linear-algebra/dense-linear-algebra-0.1.0.0.ebuild b/dev-haskell/dense-linear-algebra/dense-linear-algebra-0.1.0.0.ebuild index b97eabb18617..d6408e85fdc2 100644 --- a/dev-haskell/dense-linear-algebra/dense-linear-algebra-0.1.0.0.ebuild +++ b/dev-haskell/dense-linear-algebra/dense-linear-algebra-0.1.0.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/deriving-compat/Manifest b/dev-haskell/deriving-compat/Manifest index 9dd88cdd4297..a8ed78fa35a1 100644 --- a/dev-haskell/deriving-compat/Manifest +++ b/dev-haskell/deriving-compat/Manifest @@ -1 +1,2 @@ +DIST deriving-compat-0.6.5.tar.gz 74588 BLAKE2B a20c58f97e02d5b17aab2c561e09d6e7b147dbe3c2321fd0d8125ad2c12e0040a380a4b7f9150fe44905c802326017080a6bfcd0c79ad28816d01632d5af766e SHA512 7e4d20eac97c6deb95067163fef0f2032eaa642dc3ef3044046a5a2b3de4acd8deb8f4d07365c57b831fbada8fd4dd5752a0570d04b97533f07a870d9e728e69 DIST deriving-compat-0.6.tar.gz 73015 BLAKE2B d0694fad9873617eff1581a239a6470248cfd2ed0372590cf5757b1f569dfcfcfb52e44f7096998f98c762735c5c54acd86ef3338271d9dec88d52fede1d698e SHA512 631a9eea6a2546f6f10b1365f8f2acf77611af41c1823583b3365d9def3d355b8596dbfe552d88feae2aa4e3d2aa5b30417e57191ace3c53b05f26890528f51c diff --git a/dev-haskell/deriving-compat/deriving-compat-0.6.5.ebuild b/dev-haskell/deriving-compat/deriving-compat-0.6.5.ebuild new file mode 100644 index 000000000000..420bda40c27e --- /dev/null +++ b/dev-haskell/deriving-compat/deriving-compat-0.6.5.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Backports of GHC deriving extensions" +HOMEPAGE="https://github.com/haskell-compat/deriving-compat" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/th-abstraction-0.4:=[profile?] <dev-haskell/th-abstraction-0.7:=[profile?] + >=dev-haskell/transformers-compat-0.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/base-compat-0.8.1 <dev-haskell/base-compat-1 + >=dev-haskell/base-orphans-0.5 <dev-haskell/base-orphans-1 + >=dev-haskell/hspec-1.8 + >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 + >=dev-haskell/tagged-0.7 <dev-haskell/tagged-1 + >=dev-haskell/void-0.5.10 <dev-haskell/void-1 ) +" diff --git a/dev-haskell/deriving-compat/metadata.xml b/dev-haskell/deriving-compat/metadata.xml index 704693498e4c..ed9245f629c2 100644 --- a/dev-haskell/deriving-compat/metadata.xml +++ b/dev-haskell/deriving-compat/metadata.xml @@ -5,50 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides Template Haskell functions that mimic deriving - extensions that were introduced or modified in recent versions - of GHC. Currently, the following extensions are covered: - - * @DeriveFoldable@ - - * @DeriveFunctor@ - - * @DeriveTraversable@ - - The following changes have been backported: - - * In GHC 8.0, @DeriveFoldable@ was changed to allow folding - over data types with existential constraints. - - * In GHC 8.0, @DeriveFoldable@ and @DeriveTraversable@ were - changed so as not to generate superfluous @mempty@ or @pure@ - expressions in generated code. As a result, this allows - deriving @Traversable@ instances for datatypes with unlifted - argument types. - - * In GHC 8.0, deriving @Show@ was changed so that constructor fields - with unlifted types are no longer shown with parentheses, and - the output of showing an unlifted type is suffixed with the same - number of hash signs as the corresponding primitive literals. - - * In GHC 8.2, deriving `Ord` was changed so that it generates concrete - @if@-expressions that are not subject to @RebindableSyntax@. - - Note that some recent GHC extensions are not covered by this package: - - * @DeriveGeneric@, which was introducted in GHC 7.2 for deriving - @Generic@ instances, and modified in GHC 7.6 to allow derivation - of @Generic1@ instances. Use @Generics.Deriving.TH@ from - @<http://hackage.haskell.org/package/generic-deriving generic-deriving>@ - to derive @Generic(1)@ using Template Haskell. - - * @DeriveLift@, which was introduced in GHC 8.0 for deriving - @Lift@ instances. Use @Language.Haskell.TH.Lift@ from - @<http://hackage.haskell.org/package/th-lift th-lift>@ - to derive @Lift@ using Template Haskell. - </longdescription> <upstream> + <remote-id type="hackage">deriving-compat</remote-id> <remote-id type="github">haskell-compat/deriving-compat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/diff/Manifest b/dev-haskell/diff/Manifest index 38fbab56db40..167b1a5437f7 100644 --- a/dev-haskell/diff/Manifest +++ b/dev-haskell/diff/Manifest @@ -1 +1,2 @@ DIST Diff-0.4.0.tar.gz 8065 BLAKE2B ab29983e8f1322d45a0e2e2551d4f762328bfb3ae92b0bf0cc14c8126f8e6fae87eb3a591c4e9667b6f5a4f6a149630471e64a1da0f1b306f6b6d0e002583320 SHA512 6a48a234d3140bc8c641cdf649a1f0daa39ab4de4064435dcbb15a9ea52994c967aadc8584f70aab89ef78e17ecc66b8ce3d8dd2157eb5b85277dfff80fd608c +DIST diff-0.4.1.tar.gz 8759 BLAKE2B 0f3ec0afd0643ebb2f1a4580b087af01fa2dadce12aa9503b7daef1191427f95f567a1d69a250a7415f58b6d246f6e55016b9fc4e3a672eb84a86a4d347c7b37 SHA512 54a3743635812be22747a50db44a1519f6aabd695bb586a406fb917cf328b7036d379fddd93d361f93b4e29cca817cc551a0329367bf6847ae54f91f87c8895f diff --git a/dev-haskell/diff/diff-0.4.0.ebuild b/dev-haskell/diff/diff-0.4.0.ebuild index 6781f63820ce..b639bf14c398 100644 --- a/dev-haskell/diff/diff-0.4.0.ebuild +++ b/dev-haskell/diff/diff-0.4.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.4.9999 diff --git a/dev-haskell/diff/diff-0.4.1.ebuild b/dev-haskell/diff/diff-0.4.1.ebuild new file mode 100644 index 000000000000..6d276a997ec7 --- /dev/null +++ b/dev-haskell/diff/diff-0.4.1.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.3.0 + +CABAL_PN="Diff" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="O(ND) diff algorithm in haskell" +HOMEPAGE="https://hackage.haskell.org/package/Diff" + +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/diff/metadata.xml b/dev-haskell/diff/metadata.xml index 937381521944..ccaabb918e1b 100644 --- a/dev-haskell/diff/metadata.xml +++ b/dev-haskell/diff/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">Diff</remote-id> + <remote-id type="github">seereason/Diff</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/digest/Manifest b/dev-haskell/digest/Manifest index f9b70b4005ac..b839e549f7d6 100644 --- a/dev-haskell/digest/Manifest +++ b/dev-haskell/digest/Manifest @@ -1 +1,2 @@ DIST digest-0.0.1.2.tar.gz 3790 BLAKE2B 6fa19f1967dc6c8597d0ce2a1b29d3fecc8e47b0f652ca1319e4a7a10d3e9f8a299869ef43df2307f822568e04e109d946abe481aebd2decf8f72cafce4d6446 SHA512 f7961c098677c0e75561e3706446b073f60c6a8646aca6d139d6559952b2cba189221ac8af59f2dc6e4da65ee4a789f703e2ebbcf1e9c3df3f98167409bdf7c9 +DIST digest-0.0.1.3.tar.gz 3792 BLAKE2B 4506977e388a0ccc5d244e4af915c3393c963e06d3899706fd1abbb737b576795d46b53907edc3142980ac470852faa16ca7e4db5c64cf4d2bcbc7f7c61462ea SHA512 2b4a6f58dc70ea18e359ddaa93088bfbefa96c6c37f256cf0c75bdd61087a874584d8a1d47176adb114a4399400b866d7911c12a2c8c1ebafee3398ca58caba2 diff --git a/dev-haskell/digest/digest-0.0.1.2.ebuild b/dev-haskell/digest/digest-0.0.1.2.ebuild index 709d21f09d7f..9eb6dfc796e9 100644 --- a/dev-haskell/digest/digest-0.0.1.2.ebuild +++ b/dev-haskell/digest/digest-0.0.1.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 diff --git a/dev-haskell/digest/digest-0.0.1.3.ebuild b/dev-haskell/digest/digest-0.0.1.3.ebuild new file mode 100644 index 000000000000..a0b9dd81d18f --- /dev/null +++ b/dev-haskell/digest/digest-0.0.1.3.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.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now" +HOMEPAGE="https://hackage.haskell.org/package/digest" +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:= + sys-libs/zlib +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/digits/Manifest b/dev-haskell/digits/Manifest new file mode 100644 index 000000000000..e866ac3cdab8 --- /dev/null +++ b/dev-haskell/digits/Manifest @@ -0,0 +1 @@ +DIST digits-0.3.1.tar.gz 2480 BLAKE2B 92fee6671d5dade7a37b7faa4ea363c42b3ad810ec6cd486000148b9f6972a1b33122d5cf0ac8507cf097b1b1394d12d20414abf52ca1ed418c1a77553bf29ca SHA512 73dea874513585b1ccd5af1aa31fca2dbbbc7916ce1dce5a89fa0c842e86c0ae5f742ac345b77aed843591eec2f1408619ea44c876030d4dd626730d5c999099 diff --git a/dev-haskell/digits/digits-0.3.1.ebuild b/dev-haskell/digits/digits-0.3.1.ebuild new file mode 100644 index 000000000000..837cfd6751a4 --- /dev/null +++ b/dev-haskell/digits/digits-0.3.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.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Converts integers to lists of digits and back" +HOMEPAGE="https://hackage.haskell.org/package/digits" +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/quickcheck:2=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 +" + +src_prepare() { + default + # not compatible to Cabal-3 + rm Setup.lhs || die +} diff --git a/dev-haskell/digits/metadata.xml b/dev-haskell/digits/metadata.xml new file mode 100644 index 000000000000..937381521944 --- /dev/null +++ b/dev-haskell/digits/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/disk-free-space/disk-free-space-0.1.0.1.ebuild b/dev-haskell/disk-free-space/disk-free-space-0.1.0.1.ebuild index 2e49d75bb4f2..efaf8e259764 100644 --- a/dev-haskell/disk-free-space/disk-free-space-0.1.0.1.ebuild +++ b/dev-haskell/disk-free-space/disk-free-space-0.1.0.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/distributive/distributive-0.6.2.1.ebuild b/dev-haskell/distributive/distributive-0.6.2.1.ebuild index ce3173a32745..8c9907e5a2d3 100644 --- a/dev-haskell/distributive/distributive-0.6.2.1.ebuild +++ b/dev-haskell/distributive/distributive-0.6.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 #hackport: flags: +tagged,+semigroups diff --git a/dev-haskell/dlist/dlist-1.0.ebuild b/dev-haskell/dlist/dlist-1.0.ebuild index c68dfdc7498b..82ddb700de2f 100644 --- a/dev-haskell/dlist/dlist-1.0.ebuild +++ b/dev-haskell/dlist/dlist-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.7.9999 diff --git a/dev-haskell/dns/dns-4.0.1.ebuild b/dev-haskell/dns/dns-4.0.1.ebuild index 19bc7b58e5be..e4cd602c43f9 100644 --- a/dev-haskell/dns/dns-4.0.1.ebuild +++ b/dev-haskell/dns/dns-4.0.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.9999 diff --git a/dev-haskell/doclayout/Manifest b/dev-haskell/doclayout/Manifest index 61a844b87ef4..c73f3bce0de6 100644 --- a/dev-haskell/doclayout/Manifest +++ b/dev-haskell/doclayout/Manifest @@ -1 +1,2 @@ DIST doclayout-0.4.tar.gz 38804 BLAKE2B fab7c7090c0416a0d6a377673892ffdd684703f773416fd08ff95e418637caf7a61242931a492f321c09374c020374630e6223d2838650c5078408a041fc9bfb SHA512 78d3f64d72c2991bdc9b7ace27ed93e977d3e5fc3afa511857234f1c756fbdb77ccc74ba11af0aabfb09f31a4a906324abc1945160f435c83a07ebd3ae1a44c4 +DIST doclayout-0.4.0.1.tar.gz 38465 BLAKE2B dc21503946cbfca5dee1db1aaccd2ed07517ae7390fbcca58f6181abd5e53604a125ff6272c0779cb716e7e71651fe6808a20d02a38a9361d2dd717ac69dd07d SHA512 7af503194e513b4586442e850959a247cada1a375964e458cdf8f1df7ecb35f0c350eba3bf55c904107c89f7cc584ea957f218930f41229df62a9528ace4aab2 diff --git a/dev-haskell/doclayout/doclayout-0.4.0.1.ebuild b/dev-haskell/doclayout/doclayout-0.4.0.1.ebuild new file mode 100644 index 000000000000..6fadf9384c49 --- /dev/null +++ b/dev-haskell/doclayout/doclayout-0.4.0.1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A prettyprinting library for laying out text documents" +HOMEPAGE="https://github.com/jgm/doclayout" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/emojis-0.1.2:=[profile?] + dev-haskell/safe:=[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-golden + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/doclayout/metadata.xml b/dev-haskell/doclayout/metadata.xml index 2b6a72a3e300..eae51fcd09cc 100644 --- a/dev-haskell/doclayout/metadata.xml +++ b/dev-haskell/doclayout/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - doclayout is a prettyprinting library for laying out - text documents, with several features not present - in prettyprinting libraries designed for code. It - was designed for use in pandoc. - </longdescription> + <upstream> + <remote-id type="hackage">doclayout</remote-id> + <remote-id type="github">jgm/doclayout</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/doctemplates/Manifest b/dev-haskell/doctemplates/Manifest index 42b1b57af6f4..bc3b509ad5e5 100644 --- a/dev-haskell/doctemplates/Manifest +++ b/dev-haskell/doctemplates/Manifest @@ -1 +1,2 @@ DIST doctemplates-0.10.0.2.tar.gz 27788 BLAKE2B b4c2d505dde62123177c87b7302095a02a6e27cc3f4e311e9a4464fe4eddb43e520146fdf6758cacdb8a9b348ae0b8a46b0485bc105366776e6bfa60b31209cc SHA512 47bca3c29cb306ce0dd8cb91c255f2ed1988136380ddbfd3220ca5a14527650b44d2d4f5c7fef3245c5c11e5287dcf2523eb1b0ab861436e7f950fc8188af36a +DIST doctemplates-0.11.tar.gz 25255 BLAKE2B bcdda272b1cd3e745b87029b9802fe225a86405237713fb263eb315ab4dcba1a3c128d5fb77f0623c64638d024b7bc1bbaeeeff54fdb8f4ac0d897dd19791c31 SHA512 f6e99c7fdc1c2ce4bdac3ff7bd92ad032d9d545f45300bdea46ca09518942adf6ba9b23b002f145d7f4841e119248dc51f61a99949816f7093fb15dddf441433 diff --git a/dev-haskell/doctemplates/doctemplates-0.11.ebuild b/dev-haskell/doctemplates/doctemplates-0.11.ebuild new file mode 100644 index 000000000000..725a61ce5eea --- /dev/null +++ b/dev-haskell/doctemplates/doctemplates-0.11.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pandoc-style document templates" +HOMEPAGE="https://github.com/jgm/doctemplates#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/doclayout-0.4:=[profile?] <dev-haskell/doclayout-0.5:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/scientific:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/text-conversions:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/glob + dev-haskell/tasty + dev-haskell/tasty-golden + dev-haskell/tasty-hunit + dev-haskell/temporary ) +" diff --git a/dev-haskell/doctemplates/metadata.xml b/dev-haskell/doctemplates/metadata.xml index 3dcc69655b53..36be86b11bb1 100644 --- a/dev-haskell/doctemplates/metadata.xml +++ b/dev-haskell/doctemplates/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">doctemplates</remote-id> <remote-id type="github">jgm/doctemplates</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/doctest-driver-gen/Manifest b/dev-haskell/doctest-driver-gen/Manifest new file mode 100644 index 000000000000..23203e5c86d1 --- /dev/null +++ b/dev-haskell/doctest-driver-gen/Manifest @@ -0,0 +1 @@ +DIST doctest-driver-gen-0.3.0.7.tar.gz 3299 BLAKE2B 74012e950328df902b6021496f554c418df797b2b08c01cc93f2b4bd182cb6f7dbc0afaf2c906fcbe2dbec5ee47210bc790e9be43a2835d3bc034d6f7f8209ce SHA512 892a713d7a3d22e1bc25b6722d74ae37be3db90c439f70a19baf2ef6f5dc6acd60359e101c222c1b736614a53fef0928399c6fa4e6e35deecf4994c6973954ca diff --git a/dev-haskell/doctest-driver-gen/doctest-driver-gen-0.3.0.7.ebuild b/dev-haskell/doctest-driver-gen/doctest-driver-gen-0.3.0.7.ebuild new file mode 100644 index 000000000000..4607b051369a --- /dev/null +++ b/dev-haskell/doctest-driver-gen/doctest-driver-gen-0.3.0.7.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Generate driver file for doctest's cabal integration" +HOMEPAGE="https://github.com/Hexirp/doctest-driver-gen#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+executable" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.0.7-add-executable-flag.patch" +) + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/doctest + ) +" + +src_configure() { + local config_flags=( + $(cabal_flag executable executable) + ) + + haskell-cabal_src_configure "${config_flags[@]}" +} diff --git a/dev-haskell/doctest-driver-gen/files/doctest-driver-gen-0.3.0.7-add-executable-flag.patch b/dev-haskell/doctest-driver-gen/files/doctest-driver-gen-0.3.0.7-add-executable-flag.patch new file mode 100644 index 000000000000..b71afe410d91 --- /dev/null +++ b/dev-haskell/doctest-driver-gen/files/doctest-driver-gen-0.3.0.7-add-executable-flag.patch @@ -0,0 +1,31 @@ +From c1d00ee310adf30211150ad9a9444afb3b957889 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@protonmail.com> +Date: Thu, 5 Oct 2023 22:47:26 -0600 +Subject: [PATCH 1/1] Add executable flag + +Toggled on by default + +Signed-off-by: hololeap <hololeap@protonmail.com> +--- + doctest-driver-gen.cabal | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/doctest-driver-gen.cabal b/doctest-driver-gen.cabal +index cbe5aff..d86d001 100644 +--- a/doctest-driver-gen.cabal ++++ b/doctest-driver-gen.cabal +@@ -43,6 +43,11 @@ library + ghc-options: -Wall + default-language: Haskell2010 + ++flag executable ++ description: Build the doctest-driver-gen executable ++ default: True ++ manual: True ++ + executable doctest-driver-gen + hs-source-dirs: app + main-is: Main.hs +-- +2.41.0 + diff --git a/dev-haskell/doctest-driver-gen/metadata.xml b/dev-haskell/doctest-driver-gen/metadata.xml new file mode 100644 index 000000000000..8adc887f2bfb --- /dev/null +++ b/dev-haskell/doctest-driver-gen/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="executable">Build the doctest-driver-gen executable</flag> + </use> + <upstream> + <remote-id type="hackage">doctest-driver-gen</remote-id> + <remote-id type="github">Hexirp/doctest-driver-gen</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/doctest/Manifest b/dev-haskell/doctest/Manifest index 0acb39397be6..a99680e4fb23 100644 --- a/dev-haskell/doctest/Manifest +++ b/dev-haskell/doctest/Manifest @@ -1,2 +1,3 @@ DIST doctest-0.20.0.cabal 7121 BLAKE2B c9f87ca2f1a2250d042004ece7d6957683f487e2e87dca74e564792839019ce017ebdc19afa3742163cc1006177524ef130bc4ec701c3ac49e5a5918880af102 SHA512 08a3fcb4572b6c07266ae93505bc4a5ca0b52b03f1268dffcac291c5603babb9072503c7103a6b1f591235d26a52cdc66b86b2932f56b52d2beb06595510469a DIST doctest-0.20.0.tar.gz 43796 BLAKE2B 7fe8b54ea9be6983cc3ce8d4c340528df533e48eafcd4c36d1cc38813b1b17469f4702064205a05e356e41d3dcefa3ba8ad556596851970edf639a5e50104d4d SHA512 037866d709fdd371941132aea31d15c65cbfcad7832cec4fa98ed580b939930cc2ef87eb77e8bdbf77bee40088b673afe66d9021d6e227416ede25159f8d93fa +DIST doctest-0.22.0.tar.gz 45053 BLAKE2B c0f04a2d0b00790e1057cefdab4953e58b651551f3d03b4b211b9901f43f4b7dc4cc3bb51fcc01f96ef28d4a64fe84a2351a2f5123a6c0ce1380027b71f3dbdf SHA512 9da37402421243367ca307517c63abe93e93cdd10564c56d510e6a43345b4934a52c3201d0bfb3a2459d7c000d0ff5776a0cbd8e5db67f7e3a87bbac0172cd14 diff --git a/dev-haskell/doctest/doctest-0.22.0.ebuild b/dev-haskell/doctest/doctest-0.22.0.ebuild new file mode 100644 index 000000000000..dc7c9f3630e0 --- /dev/null +++ b/dev-haskell/doctest/doctest-0.22.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="Test interactive Haskell examples" +HOMEPAGE="https://github.com/sol/doctest#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/base-compat-0.7.0:=[profile?] + >=dev-haskell/code-page-0.1:=[profile?] + >=dev-haskell/ghc-paths-0.1.0.9:=[profile?] + >=dev-haskell/syb-0.3:=[profile?] + >=dev-lang/ghc-8.0:=[profile?] <dev-lang/ghc-9.7:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/hspec-2.3.0 + >=dev-haskell/hspec-core-2.3.0 + dev-haskell/hunit + dev-haskell/mockery + >=dev-haskell/quickcheck-2.13.1 + dev-haskell/setenv + >=dev-haskell/silently-1.2.4 + >=dev-haskell/stringbuilder-0.4 ) +" diff --git a/dev-haskell/doctest/metadata.xml b/dev-haskell/doctest/metadata.xml index a51c87a6949b..eba755763568 100644 --- a/dev-haskell/doctest/metadata.xml +++ b/dev-haskell/doctest/metadata.xml @@ -5,15 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The doctest program checks examples in source code comments. - It is modeled after doctest for Python - (<http://docs.python.org/library/doctest.html>). - - Documentation is at - <https://github.com/sol/doctest-haskell#readme>. - </longdescription> <upstream> - <remote-id type="github">sol/doctest-haskell#readme</remote-id> + <remote-id type="hackage">doctest</remote-id> + <remote-id type="github">sol/doctest</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/easy-file/easy-file-0.2.2.ebuild b/dev-haskell/easy-file/easy-file-0.2.2.ebuild index e348660945ce..6e7c1d70c461 100644 --- a/dev-haskell/easy-file/easy-file-0.2.2.ebuild +++ b/dev-haskell/easy-file/easy-file-0.2.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 diff --git a/dev-haskell/echo/Manifest b/dev-haskell/echo/Manifest index 6baae75f099a..f8fc2b0513fb 100644 --- a/dev-haskell/echo/Manifest +++ b/dev-haskell/echo/Manifest @@ -1 +1,2 @@ DIST echo-0.1.3.tar.gz 5373 BLAKE2B 3710de35b42e39f7ff9d2e5c2e32ae4c1e863f9ae844ada25dbb653aafd6ed261357c3b5046e9e0cabb03dd4de4f6252272a2b643087a61d1df5f26de329e588 SHA512 26a2398af231a8805b6b0a866348f848b8b8f21fe95a2fa3c781aaeae150df978335df573d46d5b07d7e4df19d6377d997f85c77049abaf0c5cb3e9998439c6f +DIST echo-0.1.4.tar.gz 5501 BLAKE2B 948f5894bc67ab80423ac725c3202fcfb8e032ca73440f16c658486219ab63bd8181f1120a4bbd92834bb3a8695222cb5e3491d5dbd26045d012a90370b1a80a SHA512 25fa868be5cbbc96adb4457b0e6a2fb7060b889e0dead9acef21038fd438d1ca1ee3c57ee03d91f75271e97cfea71b1d3589f800af70e15cb8cee6a60e041477 diff --git a/dev-haskell/echo/echo-0.1.3.ebuild b/dev-haskell/echo/echo-0.1.3.ebuild index bab96c0fc27f..6a5b274cefc7 100644 --- a/dev-haskell/echo/echo-0.1.3.ebuild +++ b/dev-haskell/echo/echo-0.1.3.ebuild @@ -24,12 +24,9 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - default - - cabal_chdeps \ - 'process >= 1.0.1.1 && < 1.5' 'process >= 1.0.1.1' -} +CABAL_CHDEPS=( + 'process >= 1.0.1.1 && < 1.5' 'process >= 1.0.1.1' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/echo/echo-0.1.4-r1.ebuild b/dev-haskell/echo/echo-0.1.4-r1.ebuild new file mode 100644 index 000000000000..e79965cb0d4c --- /dev/null +++ b/dev-haskell/echo/echo-0.1.4-r1.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.0.0.9999 +#hackport: flags: example:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A cross-platform, cross-console way to handle echoing terminal input" +HOMEPAGE="https://github.com/RyanGlScott/echo" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +# Change example name to avoid name collisions +CABAL_CHDEPS=( + 'executable password' 'executable haskell-echo-example' +) + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples example) +} diff --git a/dev-haskell/echo/metadata.xml b/dev-haskell/echo/metadata.xml index 9d0d8cfdb8a6..db0e8f939661 100644 --- a/dev-haskell/echo/metadata.xml +++ b/dev-haskell/echo/metadata.xml @@ -5,18 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The @base@ library exposes the @hGetEcho@ and @hSetEcho@ functions - for querying and setting echo status, but unfortunately, neither - function works with MinTTY consoles on Windows. This is a serious - issue, since @hGetEcho@ and @hSetEcho@ are often used to disable - input echoing when a program prompts for a password, so many - programs will reveal your password as you type it on MinTTY! - - This library provides an alternative interface which works - with both MinTTY and other consoles. An example is included - which demonstrates how one might prompt for a password using - this library. To build it, make sure to configure with the - @-fexample@ flag. - </longdescription> + <upstream> + <remote-id type="hackage">echo</remote-id> + <remote-id type="github">RyanGlScott/echo</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/ed25519/Manifest b/dev-haskell/ed25519/Manifest index 26abe3c2205e..a6bc774fb60f 100644 --- a/dev-haskell/ed25519/Manifest +++ b/dev-haskell/ed25519/Manifest @@ -1 +1,2 @@ +DIST ed25519-0.0.5.0-rev7.cabal 4166 BLAKE2B 8e86fedbb2731e1065786dd0e09ed1a0abb92ebc2f4f290dc5b2d59ad3cfa046d275d9cdc1c36c4d9006e4884c35f823c5a9de3881545f85d1fabf4ebc5a0bf4 SHA512 470430ef4a5a44c842f79cff8d0a632dfd43de500027e511fc17920262d881e310331e30d29c02bda9e2f84c1565fc00d795a7c1bf19a4bedf408366e6df8c7c DIST ed25519-0.0.5.0.tar.gz 80034 BLAKE2B 4de73a76576bc63a7c5e4e8c0d195d48c65901ad417a306ca0001856a3a37975cfbb527dd466c2a737006e44e8d440e9831c360c8c3063b45a704af79c165cbb SHA512 cd2bb28de905c6d659f80f15e82970a9634c959432c73b6fd3b10ebca42a1ce734429e7ac861d0ab328904d99651a6d2fcaaf4d74ab75a3c0be68607e8f54ce9 diff --git a/dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild b/dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild new file mode 100644 index 000000000000..bd2c7ce0b63e --- /dev/null +++ b/dev-haskell/ed25519/ed25519-0.0.5.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.4.0.9999 +#hackport: flags: +no-donna,+test-doctests,+test-properties,-test-hlint + +CABAL_HACKAGE_REVISION=7 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite" +inherit haskell-cabal + +DESCRIPTION="Ed25519 cryptographic signatures" +HOMEPAGE="https://thoughtpolice.github.com/hs-ed25519" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # bitrotten test suite + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" +# test? ( +# >=dev-haskell/doctest-0.10 <dev-haskell/doctest-0.12 +# >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.9 +# ) + +src_configure() { + haskell-cabal_src_configure \ + --flag=no-donna \ + --flag=test-doctests \ + --flag=-test-hlint \ + --flag=test-properties +} diff --git a/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild b/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild deleted file mode 100644 index e45e23d32369..000000000000 --- a/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild +++ /dev/null @@ -1,45 +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.4.6.9999 -#hackport: flags: +no-donna,+test-doctests,+test-properties,-test-hlint - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: needs update -inherit haskell-cabal - -DESCRIPTION="Ed25519 cryptographic signatures" -HOMEPAGE="https://github.com/thoughtpolice/hs-ed25519" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" - -RESTRICT=test # fails on QC-2.10 as: The constructor ‘Failure’ should have 11 arguments, but has been given 10 - -RDEPEND=">=dev-lang/ghc-7.4.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.10 -" - -src_prepare() { - default - - cabal_chdeps \ - 'ghc-prim >= 0.1 && < 0.5' 'ghc-prim >= 0.1' \ - 'doctest >= 0.10 && < 0.11' 'doctest >= 0.10' \ - 'QuickCheck >= 2.4 && < 2.9' 'QuickCheck >= 2.4' \ - 'directory >= 1.0 && < 1.3' 'directory >= 1.0' -} - -src_configure() { - haskell-cabal_src_configure \ - --flag=no-donna \ - --flag=test-doctests \ - --flag=-test-hlint \ - --flag=test-properties -} diff --git a/dev-haskell/ed25519/metadata.xml b/dev-haskell/ed25519/metadata.xml index 61e8ff87d20f..1b178c5d2d4d 100644 --- a/dev-haskell/ed25519/metadata.xml +++ b/dev-haskell/ed25519/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides a simple, fast, self-contained copy of the - Ed25519 public-key signature system with a clean interface. It also - includes support for detached signatures, and thorough documentation - on the design and implementation, including usage guidelines. - </longdescription> <upstream> + <remote-id type="hackage">ed25519</remote-id> <remote-id type="github">thoughtpolice/hs-ed25519</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/edit-distance/edit-distance-0.2.2.1-r1.ebuild b/dev-haskell/edit-distance/edit-distance-0.2.2.1-r1.ebuild index 9fca6aea1114..a1a1bdefc150 100644 --- a/dev-haskell/edit-distance/edit-distance-0.2.2.1-r1.ebuild +++ b/dev-haskell/edit-distance/edit-distance-0.2.2.1-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 @@ -27,9 +27,6 @@ DEPEND="${RDEPEND} dev-haskell/test-framework-quickcheck2 ) " -src_prepare() { - default - - cabal_chdeps \ - 'QuickCheck >= 2.4 && <2.9' 'QuickCheck >= 2.4' -} +CABAL_CHDEPS=( + 'QuickCheck >= 2.4 && <2.9' 'QuickCheck >= 2.4' +) diff --git a/dev-haskell/email-validate/Manifest b/dev-haskell/email-validate/Manifest index 949bb68ee479..ed0e6d7a6534 100644 --- a/dev-haskell/email-validate/Manifest +++ b/dev-haskell/email-validate/Manifest @@ -1 +1,2 @@ DIST email-validate-2.3.2.15.tar.gz 9568 BLAKE2B 1ff8c3e5ce71f3ff39dec02e0cbc211ffea3386646a77b2c176cc0af47a61d13996b2bb68d36e77ccf3114c53facc9b121202cc5d70916a4aa2992fa3956a60e SHA512 0b852771cdf0851bc7024fbb612488bd7721cbce25b551f52932b234e57bc70ded2e5904853f2ca0f68cfb9da02057d4a1903d081ce81a382cf90d0d3ba25001 +DIST email-validate-2.3.2.19.tar.gz 9446 BLAKE2B 596619fc70b8f48d01af57b02ae05f88ab0b47b706c93cc533ebe4f9541399122c48b8444f006d3c8630cfa6b22af838d347526cea2b039013315c4c46d1bc15 SHA512 0a4ad0579cbcf18920703bb12eb296280b6f8dffd57ceefc7fb211ca48e792d17ea8fa37dc4a256a26f01816eb812081b571325803ceb64a7b9d7ae748526b09 diff --git a/dev-haskell/email-validate/email-validate-2.3.2.15.ebuild b/dev-haskell/email-validate/email-validate-2.3.2.15.ebuild index 3706062e4b05..d58ef3b9de9d 100644 --- a/dev-haskell/email-validate/email-validate-2.3.2.15.ebuild +++ b/dev-haskell/email-validate/email-validate-2.3.2.15.ebuild @@ -28,10 +28,7 @@ DEPEND="${RDEPEND} >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.15 ) " -src_prepare() { - default - - cabal_chdeps \ - 'hspec >= 2.2.3 && < 2.9' 'hspec >= 2.2.3' \ - 'doctest >= 0.8 && < 0.19' 'doctest >=0.8' -} +CABAL_CHDEPS=( + 'hspec >= 2.2.3 && < 2.9' 'hspec >= 2.2.3' + 'doctest >= 0.8 && < 0.19' 'doctest >=0.8' +) diff --git a/dev-haskell/email-validate/email-validate-2.3.2.19.ebuild b/dev-haskell/email-validate/email-validate-2.3.2.19.ebuild new file mode 100644 index 000000000000..32b9164dfe5a --- /dev/null +++ b/dev-haskell/email-validate/email-validate-2.3.2.19.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Email address validation" +HOMEPAGE="https://github.com/Porges/email-validate-hs" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/attoparsec-0.10.0:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hspec-2.2.3 <dev-haskell/hspec-2.12 + >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.15 + ) +" diff --git a/dev-haskell/email-validate/metadata.xml b/dev-haskell/email-validate/metadata.xml index 937381521944..eee47cac0b27 100644 --- a/dev-haskell/email-validate/metadata.xml +++ b/dev-haskell/email-validate/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">email-validate</remote-id> + <remote-id type="github">Porges/email-validate-hs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/emojis/Manifest b/dev-haskell/emojis/Manifest index 0dca0cb15e30..7dd795025b3f 100644 --- a/dev-haskell/emojis/Manifest +++ b/dev-haskell/emojis/Manifest @@ -1 +1,2 @@ DIST emojis-0.1.2.tar.gz 49333 BLAKE2B c67e578cd356c2e7edc4f7880dc3235eff33dd98f773a24c4791442c4d0243b59cd775d8fb2bf4c53c6943434f340104183a99544d16a6d6c8f56c7d0d402dd3 SHA512 e34d1c1797f37e3cbe37f5f617496aa70310ca654c98069d393c10c5fcf56e336f35d06e018c859354ea54ae1c5fbbe4a24d484a5f59cceb5a9e3c25caf2a52d +DIST emojis-0.1.3.tar.gz 50494 BLAKE2B 98130715f21c11fd463952ef8a2e4e4d85ddde4b0380351b83821c8ed62649793d4adb0c0a45e99d288ee954cdd3247fa4fdf22f82d016e9fbf6baf87854b59a SHA512 b9552e8be60a84282d7ce160ecdedb0fdc7549b01ea207d4bb1fd5327163c3cb75762ed6b16f2832841e3258a9b85718ea5a0ec6801c53c395f5ff070a31fe07 diff --git a/dev-haskell/emojis/emojis-0.1.3.ebuild b/dev-haskell/emojis/emojis-0.1.3.ebuild new file mode 100644 index 000000000000..705dc0dcb102 --- /dev/null +++ b/dev-haskell/emojis/emojis-0.1.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between emoji characters and their names" +HOMEPAGE="https://github.com/jgm/emojis#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/hunit ) +" diff --git a/dev-haskell/emojis/metadata.xml b/dev-haskell/emojis/metadata.xml index c1f9bb5934f4..7a08a8701db1 100644 --- a/dev-haskell/emojis/metadata.xml +++ b/dev-haskell/emojis/metadata.xml @@ -5,18 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides functions for converting - emoji names to emoji characters and vice versa. - - How does it differ from the @emoji@ package? - - - It supports a fuller range of emojis, including all those - supported by GitHub - - It supports lookup of emoji aliases from emoji - - It uses Text rather than String - - It has a lighter dependency footprint: in particular, it - does not require aeson - - It does not require TemplateHaskell - </longdescription> + <upstream> + <remote-id type="hackage">emojis</remote-id> + <remote-id type="github">jgm/emojis</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/entropy/Manifest b/dev-haskell/entropy/Manifest index 1297b08b5444..da4dd15454f2 100644 --- a/dev-haskell/entropy/Manifest +++ b/dev-haskell/entropy/Manifest @@ -1 +1,3 @@ +DIST entropy-0.4.1.10-rev1.cabal 2952 BLAKE2B f47134454269b5fbb554feec81ff6eccd66290fedd2615ea424ffe4dbaa955930310c575c64b006e6827586724bdc9358fadaf1f54ecfa0d872b3852556f07d6 SHA512 d384d2aeb12d2484455b4be8ee68f9a29dcdd949e62aa0f9baf81d9326cd189d6938b7baf35b0db0e70e2a954a9677611a6193607ede3366d26351c7ee74efc6 +DIST entropy-0.4.1.10.tar.gz 9060 BLAKE2B f1f9d80af0e8ad7d9bf34f8d13af6323ac530ec294d5d7ea5484cddf087b271638daf25f8b119ce426bfebae4f9d5d2a430b316fc4c01c5b282ff6a0a0bda9e6 SHA512 521dded7ae41cc532993236d0ced394f98f495c0c8950201064d17430ee6599d9cd6f3a4f17a19429396ee4a34a3fa17b39af49f4fee730efdae3d42d134c96e DIST entropy-0.4.1.6.tar.gz 9464 BLAKE2B 484e72ba8b6413b6205db4660f52d183dcd075bce836de6b339e2019d584a90b9f650d6b808b46855c9a423e41f21d814e10026efec050f507edc68106568893 SHA512 201a75efe210be5728a1c94ba9ec62514b96c388b6791d9301b34d2fce0208a9fa4ef25965c7840d052fd6221f15a1bec196a6eb209e6d03c3e1f971161df1b1 diff --git a/dev-haskell/entropy/entropy-0.4.1.10.ebuild b/dev-haskell/entropy/entropy-0.4.1.10.ebuild new file mode 100644 index 000000000000..ac64d0821c9e --- /dev/null +++ b/dev-haskell/entropy/entropy-0.4.1.10.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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A platform independent entropy source" +HOMEPAGE="https://github.com/TomMD/entropy" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="donotgetentropy" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 <dev-haskell/cabal-3.11 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag donotgetentropy donotgetentropy) +} diff --git a/dev-haskell/entropy/entropy-0.4.1.6-r1.ebuild b/dev-haskell/entropy/entropy-0.4.1.6-r1.ebuild index 7511a723314e..4a231a27f25b 100644 --- a/dev-haskell/entropy/entropy-0.4.1.6-r1.ebuild +++ b/dev-haskell/entropy/entropy-0.4.1.6-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.4.9999 @@ -23,12 +23,9 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.22.2.0 " -src_prepare() { - default - - cabal_chdeps \ - 'Cabal >= 1.10 && < 3.3' 'Cabal >= 1.10' -} +CABAL_CHDEPS=( + 'Cabal >= 1.10 && < 3.3' 'Cabal >= 1.10' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/entropy/metadata.xml b/dev-haskell/entropy/metadata.xml index 7c276f275a7c..9cfa8f15bfcb 100644 --- a/dev-haskell/entropy/metadata.xml +++ b/dev-haskell/entropy/metadata.xml @@ -5,16 +5,16 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A platform independent method to obtain cryptographically strong entropy - (RDRAND when available anywhere, urandom on nix, CryptAPI on Windows, patches welcome). - Users looking for cryptographically strong (number-theoretically - sound) PRNGs should see the 'DRBG' package too. - </longdescription> <use> + <flag name="donotgetentropy"> + Avoid use of the getentropy() *nix function. By default + getentropy will be used if detected during compilation + (this plays poorly with cross compilation). + </flag> <flag name="halvm">Build for the HaLVM.</flag> </use> <upstream> + <remote-id type="hackage">entropy</remote-id> <remote-id type="github">TomMD/entropy</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/erf/erf-2.0.0.0-r1.ebuild b/dev-haskell/erf/erf-2.0.0.0-r1.ebuild index 2e3960081202..2366ffe04800 100644 --- a/dev-haskell/erf/erf-2.0.0.0-r1.ebuild +++ b/dev-haskell/erf/erf-2.0.0.0-r1.ebuild @@ -3,22 +3,21 @@ EAPI=8 -# ebuild generated by hackport 0.4.7.9999 +# ebuild generated by hackport 0.8.4.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="The error function, erf, and related functions" HOMEPAGE="https://hackage.haskell.org/package/erf" -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:= +RDEPEND=" + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - dev-haskell/cabal + >=dev-haskell/cabal-3.0.0.0 " diff --git a/dev-haskell/erf/metadata.xml b/dev-haskell/erf/metadata.xml index 937381521944..48d1cb487e62 100644 --- a/dev-haskell/erf/metadata.xml +++ b/dev-haskell/erf/metadata.xml @@ -5,4 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">erf</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/errorcall-eq-instance/errorcall-eq-instance-0.3.0.ebuild b/dev-haskell/errorcall-eq-instance/errorcall-eq-instance-0.3.0.ebuild index 806cd4a02263..df97563f60b1 100644 --- a/dev-haskell/errorcall-eq-instance/errorcall-eq-instance-0.3.0.ebuild +++ b/dev-haskell/errorcall-eq-instance/errorcall-eq-instance-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.6.9999 diff --git a/dev-haskell/errors/Manifest b/dev-haskell/errors/Manifest index 7371edafb5a3..922370452f67 100644 --- a/dev-haskell/errors/Manifest +++ b/dev-haskell/errors/Manifest @@ -1 +1,2 @@ +DIST errors-2.3.0-rev4.cabal 1443 BLAKE2B 0aa39605b9138ba7becdbf36a78f761484a4dd11b4674c195f212d35132e2ce7933e197df7b3fdc3c1dbf5e798bca8758af63a1d6b4b1a43a6ff0e9e4ba9f9a3 SHA512 b6253614337376750f886e37e1663097b2a5f434784bf42f42c32eb857f87740f88930e36d34badcb320abf11b71bddcba42570c7222808ecf4ad377d20452c0 DIST errors-2.3.0.tar.gz 9184 BLAKE2B 7a44adaa0dfb5ba623df16b79db469804def23ea8d00ed2b6cbc5995c75b79ef72de095e333428525a1ac5e24cf7bcc81346eb319ad7d343e5d58af2a8449e2c SHA512 dddfc63505fd7023c4a669b3cc3d736cf7ecb774b53dcdfeee2d203dcdf4684f5d149a1c217134de214b64af4e154a3ef08b315615c85a1c734ceb42e80823b4 diff --git a/dev-haskell/errors/errors-2.3.0-r1.ebuild b/dev-haskell/errors/errors-2.3.0-r1.ebuild new file mode 100644 index 000000000000..0a31bf09b5d3 --- /dev/null +++ b/dev-haskell/errors/errors-2.3.0-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.7.3.0 + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simplified error-handling" +HOMEPAGE="https://hackage.haskell.org/package/errors" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/safe-0.3.3:=[profile?] <dev-haskell/safe-0.4:=[profile?] + >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 +" diff --git a/dev-haskell/errors/errors-2.3.0.ebuild b/dev-haskell/errors/errors-2.3.0.ebuild index 41e41502bad9..00e0e7924135 100644 --- a/dev-haskell/errors/errors-2.3.0.ebuild +++ b/dev-haskell/errors/errors-2.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.1.9999 diff --git a/dev-haskell/errors/metadata.xml b/dev-haskell/errors/metadata.xml index e00d59d5eb02..c409a0d89779 100644 --- a/dev-haskell/errors/metadata.xml +++ b/dev-haskell/errors/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The one-stop shop for all your error-handling needs! Just import - "Control.Error". - - This library encourages an error-handling style that directly uses the type - system, rather than out-of-band exceptions. - </longdescription> + <upstream> + <remote-id type="hackage">errors</remote-id> + <remote-id type="github">Gabriella439/Haskell-Errors-Library</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/exceptions/Manifest b/dev-haskell/exceptions/Manifest index 149802f810fb..d1987ad1ac87 100644 --- a/dev-haskell/exceptions/Manifest +++ b/dev-haskell/exceptions/Manifest @@ -1 +1,2 @@ +DIST exceptions-0.10.4-rev3.cabal 2796 BLAKE2B c6c3acf942b522666d88467a0b90940d5272568a1eea114c2ac7711b5ebea832e8e5ad3bf220b5270e2898230a890fe598878314e543b2c5d7d59c5abbf1206e SHA512 b49eb865b4f3f12afe0b8b4fb41f50d2f03b47f6a704f026cf34bbe513e7b31510aeec7948e224cef37a2f5261cc27973b920e58201a4a2de8e62ea137828f30 DIST exceptions-0.10.4.tar.gz 20819 BLAKE2B 16873edfeb540ddf5b950f81772c7d162e3fc37d286dcf6608c4c3017516a4255fb7cad247025aa9b0970508613038a3d0b42eccf22e74a0c4efffdfa22be5d3 SHA512 3df1edb4abab8e2e2dbd7387809d9768efca36c6840225ce33bee8679a4efdcf86d28beafb54a9a40e512163e4d088f94e788341bf614869bbdbd9d701bca4a2 diff --git a/dev-haskell/exceptions/exceptions-0.10.4-r1.ebuild b/dev-haskell/exceptions/exceptions-0.10.4-r1.ebuild deleted file mode 100644 index cb46322c8199..000000000000 --- a/dev-haskell/exceptions/exceptions-0.10.4-r1.ebuild +++ /dev/null @@ -1,39 +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.6.4.9999 - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Extensible optionally-pure exceptions" -HOMEPAGE="https://github.com/ekmett/exceptions/" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=">=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-4.10:=[profile?] - >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?] - >=dev-haskell/stm-2.2:=[profile?] <dev-haskell/stm-3:=[profile?] - >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.7:=[profile?] - >=dev-lang/ghc-7.8.2:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.18.1.3 - test? ( >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-2.15 - >=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 ) -" - -CABAL_CORE_LIB_GHC_PV="8.10.6 9.0.2" - -src_prepare() { - default - - cabal_chdeps \ - 'QuickCheck >= 2.5 && < 2.14' 'QuickCheck >= 2.5' -} diff --git a/dev-haskell/exceptions/exceptions-0.10.4-r3.ebuild b/dev-haskell/exceptions/exceptions-0.10.4-r3.ebuild new file mode 100644 index 000000000000..a86f8a666f65 --- /dev/null +++ b/dev-haskell/exceptions/exceptions-0.10.4-r3.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.0.0.9999 + +CABAL_HACKAGE_REVISION=3 + +# Disable test suite on bundled packages (haskell-cabal.eclass won't allow them +# to be rebuilt because of CABAL_CORE_LIB_GHC_PV) +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal +RESTRICT="test" + +DESCRIPTION="Extensible optionally-pure exceptions" +HOMEPAGE="https://github.com/ekmett/exceptions/" + +LICENSE="BSD" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" +# test? ( +# >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-2.15 +# >=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 +# ) + +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7 9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8" diff --git a/dev-haskell/exceptions/metadata.xml b/dev-haskell/exceptions/metadata.xml index 0143342131b7..ae412adc8134 100644 --- a/dev-haskell/exceptions/metadata.xml +++ b/dev-haskell/exceptions/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">exceptions</remote-id> <remote-id type="github">ekmett/exceptions</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/extensible-exceptions/extensible-exceptions-0.1.1.4.ebuild b/dev-haskell/extensible-exceptions/extensible-exceptions-0.1.1.4.ebuild index 4e3dafe1cc5b..2441d247fe37 100644 --- a/dev-haskell/extensible-exceptions/extensible-exceptions-0.1.1.4.ebuild +++ b/dev-haskell/extensible-exceptions/extensible-exceptions-0.1.1.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/extra/Manifest b/dev-haskell/extra/Manifest index 4ca4c346e01b..dceeec947cee 100644 --- a/dev-haskell/extra/Manifest +++ b/dev-haskell/extra/Manifest @@ -1 +1,2 @@ DIST extra-1.7.10.tar.gz 44872 BLAKE2B cdab5f08bf7f2de216aeacacf994b6008aee91900244101c0a0c1bc78f2fe5fc595d03dcab1a13196b885b639320e00fdb2117f93f85ca037b970a8d6a71f480 SHA512 02ce08f7f22defd1db81bfb407361e18b6d98295f561652880d3ee6e91477a7cd89126cb507e7362fe90ed7b46e57b55400ae0ad94f40de39749926efe3018cd +DIST extra-1.7.14.tar.gz 45971 BLAKE2B 4ee978204771ad3198fa3b3abf8bc6b63d4be86d7a6b917e8a40a8524c6f947c6ae2298a469c2a4d844e4b0e43ce0cf8a02eb24458dff1b012006331b4d62da7 SHA512 9505a6b2b6aecdb0400a4bdf79e1888a2f5db30242903c50f0653df90960f53b8484ea782cde1e7aa5339bcc6e5b3417aa3494efeafebfa49fe318b57878b00b diff --git a/dev-haskell/extra/extra-1.7.14.ebuild b/dev-haskell/extra/extra-1.7.14.ebuild new file mode 100644 index 000000000000..ca349cad6eeb --- /dev/null +++ b/dev-haskell/extra/extra-1.7.14.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Extra functions I use" +HOMEPAGE="https://github.com/ndmitchell/extra#readme" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/clock-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/quickcheck-2.10 + >=dev-haskell/quickcheck-instances-0.3.17 ) +" diff --git a/dev-haskell/extra/metadata.xml b/dev-haskell/extra/metadata.xml index 0766973aeadb..32e763f92ad8 100644 --- a/dev-haskell/extra/metadata.xml +++ b/dev-haskell/extra/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">extra</remote-id> <remote-id type="github">ndmitchell/extra</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/fail/fail-4.9.0.0.ebuild b/dev-haskell/fail/fail-4.9.0.0.ebuild index 0a63aeffb251..c09d8ed3be50 100644 --- a/dev-haskell/fail/fail-4.9.0.0.ebuild +++ b/dev-haskell/fail/fail-4.9.0.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.4.7.9999 diff --git a/dev-haskell/fast-logger/Manifest b/dev-haskell/fast-logger/Manifest index dfd419758e93..33f4ba94a9e6 100644 --- a/dev-haskell/fast-logger/Manifest +++ b/dev-haskell/fast-logger/Manifest @@ -1 +1,2 @@ DIST fast-logger-3.0.1.tar.gz 11700 BLAKE2B 8544f6c131822b39c2583c02554de4ca5cd08865e8f963406d035257eb59bbc27867b70282d5c3cef385873a7b6e7bf88d4baeb1edf77055752704fdf422cc44 SHA512 e646840b50496e86c24753267e0c0c7b0ff3a619032f69881d63e19c17394d2c5b248cb6b7f752100b253f58d7f493aac9ac77a754736474fbd83fe95ab9f6fd +DIST fast-logger-3.2.2.tar.gz 14570 BLAKE2B 95eddb0117bfa564781c0d821569d71a86bc4ebfee2a23fdffbd5246164fd5da099d53222f307ce7506001bc169e80da6b3cd9bba77115d377294aee850393db SHA512 2a132b3c6eea08a127ad32d376ea749e1efc9fb7a9dc08272dd21945e3c6c5a966a73afb3ed13a1f427d5a63d5c6846cd3a025f9e7eb2c1a347c0c57d916bd3e diff --git a/dev-haskell/fast-logger/fast-logger-3.0.1.ebuild b/dev-haskell/fast-logger/fast-logger-3.0.1.ebuild index 79d45a4f079f..3e5c4a811bed 100644 --- a/dev-haskell/fast-logger/fast-logger-3.0.1.ebuild +++ b/dev-haskell/fast-logger/fast-logger-3.0.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/fast-logger/fast-logger-3.2.2.ebuild b/dev-haskell/fast-logger/fast-logger-3.2.2.ebuild new file mode 100644 index 000000000000..4e863134563a --- /dev/null +++ b/dev-haskell/fast-logger/fast-logger-3.2.2.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="A fast logging system" +HOMEPAGE="https://github.com/kazu-yamamoto/logger" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/auto-update-0.1.2:=[profile?] + >=dev-haskell/easy-file-0.2:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/unix-compat-0.2:=[profile?] + >=dev-haskell/unix-time-0.4.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/async + dev-haskell/hspec ) +" diff --git a/dev-haskell/fast-logger/metadata.xml b/dev-haskell/fast-logger/metadata.xml index ed25a7a6ba69..841e5340ab1d 100644 --- a/dev-haskell/fast-logger/metadata.xml +++ b/dev-haskell/fast-logger/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">fast-logger</remote-id> <remote-id type="github">kazu-yamamoto/logger</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/fdo-notify/fdo-notify-0.3.1.ebuild b/dev-haskell/fdo-notify/fdo-notify-0.3.1.ebuild index 491af3c17327..f7426ecf651d 100644 --- a/dev-haskell/fdo-notify/fdo-notify-0.3.1.ebuild +++ b/dev-haskell/fdo-notify/fdo-notify-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.6.9999 diff --git a/dev-haskell/feed/Manifest b/dev-haskell/feed/Manifest index a03211a49a13..566241aa016a 100644 --- a/dev-haskell/feed/Manifest +++ b/dev-haskell/feed/Manifest @@ -1 +1,2 @@ +DIST feed-1.3.2.1-rev2.cabal 4607 BLAKE2B fb55afd490af9997dbb17b9b38ef7cdd6d375b62cafd96800af593b6157cc39c7e585ef8c5543151608d22a4332e7c4530e223fc745b60863276990a508c83f2 SHA512 76a02c57cbbbf9bbd4bedef063eb636a029ba32dbff4c580561f6472d6d54d3caf1afe7b98fb2d4423ac9352160cd25b7b1ad965c51f5280ab786b9fc9a4bddb DIST feed-1.3.2.1.tar.gz 107015 BLAKE2B 4a40441b17f50b9e7d43aee629fa0bc44f5b5cd1ca6281f3f5a8930b9cc5c2acdbdff05e9db4cc96c0e40681ecb15896655d8bbc708dc0bc4e3734b6e9f563bd SHA512 2175201ff9eaab5732e1c4e8dda6a35e8fa0dea5c58cd379348c97cd61a5eaf76e88f8d58d22df0a4b16681017e7ad01657ad60a63d90dab88df3b644ccb1ea0 diff --git a/dev-haskell/feed/feed-1.3.2.1-r2.ebuild b/dev-haskell/feed/feed-1.3.2.1-r2.ebuild new file mode 100644 index 000000000000..35f9c5f9796d --- /dev/null +++ b/dev-haskell/feed/feed-1.3.2.1-r2.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.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds" +HOMEPAGE="https://github.com/haskell-party/feed" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( "${FILESDIR}/${PN}-1.3.2.1-disable-doctest.patch" ) + +RDEPEND=" + >=dev-haskell/base-compat-0.9:=[profile?] <dev-haskell/base-compat-0.14 + =dev-haskell/old-locale-1.0*:=[profile?] + >=dev-haskell/old-time-1:=[profile?] <dev-haskell/old-time-1.2 + =dev-haskell/safe-0.3*:=[profile?] + =dev-haskell/time-locale-compat-0.1*:=[profile?] + <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-haskell/xml-conduit-1.3:=[profile?] <dev-haskell/xml-conduit-1.10 + >=dev-haskell/xml-types-0.3.6:=[profile?] <dev-haskell/xml-types-0.4 + || ( + <dev-haskell/text-1.3 + =dev-haskell/text-2.0* + ) + dev-haskell/text:=[profile?] +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + dev-haskell/text + dev-haskell/doctest + dev-haskell/doctest-driver-gen + >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 + dev-haskell/syb + =dev-haskell/test-framework-0.8* + =dev-haskell/test-framework-hunit-0.3* + ) +" +BDEPEND="test? ( + dev-haskell/doctest-driver-gen[executable(+)] + dev-haskell/markdown-unlit[executable(+)] +)" diff --git a/dev-haskell/feed/metadata.xml b/dev-haskell/feed/metadata.xml index e7fd109bb29d..ef8599691279 100644 --- a/dev-haskell/feed/metadata.xml +++ b/dev-haskell/feed/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">sof/feed</remote-id> + <remote-id type="hackage">feed</remote-id> + <remote-id type="github">haskell-party/feed</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/fgl/Manifest b/dev-haskell/fgl/Manifest index 2ee4ca86d07c..51c59fb399d9 100644 --- a/dev-haskell/fgl/Manifest +++ b/dev-haskell/fgl/Manifest @@ -1 +1,2 @@ DIST fgl-5.7.0.3.tar.gz 56415 BLAKE2B 6b7f5d3d2fd93494f3c2f9fbf69dd38c0358ced8a4f488f31d4904a375e21b4d12b974fe78868be8184a989b43fa6f345ca84ed74ea8c5970416c2903dd7a024 SHA512 f77ee1a66fe02b0a01e70b6fcb16baaba67be5433e4310bfb0862cec66855fc0413de586ca111e2e1569898b890fe93faf7c9f079dc569ca2d32b6c087762bbd +DIST fgl-5.8.1.1.tar.gz 56829 BLAKE2B ad698d62e0961ebc19800225128053eae5d559a952504025f76c783392e699605abf009eccb7a69b8084009309a9252a29d3efb2b022941de895f7ce2064c610 SHA512 c1d82f2cbce89bb8088dda0e57a6787de0f83834b44f3b7e88393fa79f706dc7b5bff254ee4f2479a90c35a99cedc12c1691770c7c78c48362322b48b02b4873 diff --git a/dev-haskell/fgl/fgl-5.7.0.3.ebuild b/dev-haskell/fgl/fgl-5.7.0.3.ebuild index b37b8ffcd43b..dbf509ee6bbd 100644 --- a/dev-haskell/fgl/fgl-5.7.0.3.ebuild +++ b/dev-haskell/fgl/fgl-5.7.0.3.ebuild @@ -24,9 +24,6 @@ DEPEND="${RDEPEND} >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.15 ) " -src_prepare() { - default - - cabal_chdeps \ - 'hspec >= 2.1 && < 2.8' 'hspec >= 2.1' -} +CABAL_CHDEPS=( + 'hspec >= 2.1 && < 2.8' 'hspec >= 2.1' +) diff --git a/dev-haskell/fgl/fgl-5.8.1.1.ebuild b/dev-haskell/fgl/fgl-5.8.1.1.ebuild new file mode 100644 index 000000000000..c65b125d96d3 --- /dev/null +++ b/dev-haskell/fgl/fgl-5.8.1.1.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Martin Erwig's Functional Graph Library" +HOMEPAGE="https://hackage.haskell.org/package/fgl" + +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/hspec-2.1 <dev-haskell/hspec-2.11 + >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.15 ) +" diff --git a/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch b/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch new file mode 100644 index 000000000000..0e3f35425ee1 --- /dev/null +++ b/dev-haskell/fgl/files/fgl-5.6.0.0-ghc-8.6.patch @@ -0,0 +1,42 @@ +commit 344a7e452630ace0f5c647e525e0299d99de5902 +Author: Alex Washburn <github@recursion.ninja> +Date: Mon Aug 20 23:46:32 2018 -0400 + + Fixing issue with MonadFailDesugaring. + +diff --git a/Data/Graph/Inductive/Monad.hs b/Data/Graph/Inductive/Monad.hs +index 1d58af0..d63752b 100644 +--- a/Data/Graph/Inductive/Monad.hs ++++ b/Data/Graph/Inductive/Monad.hs +@@ -1,4 +1,4 @@ +-{-# LANGUAGE MultiParamTypeClasses #-} ++{-# LANGUAGE CPP, MultiParamTypeClasses #-} + + -- (c) 2002 by Martin Erwig [see file COPYRIGHT] + -- | Monadic Graphs +@@ -19,6 +19,10 @@ module Data.Graph.Inductive.Monad( + + + import Data.Graph.Inductive.Graph ++#if MIN_VERSION_base(4,12,0) ++import Control.Monad.Fail ++import Prelude hiding (fail) ++#endif + + {-# ANN module "HLint: ignore Redundant lambda" #-} + +@@ -39,7 +43,13 @@ import Data.Graph.Inductive.Graph + + -- Monadic Graph + -- +-class (Monad m) => GraphM m gr where ++class ++#if MIN_VERSION_base(4,12,0) ++ (MonadFail m) ++#else ++ (Monad m) ++#endif ++ => GraphM m gr where + {-# MINIMAL emptyM, isEmptyM, matchM, mkGraphM, labNodesM #-} + + emptyM :: m (gr a b) diff --git a/dev-haskell/fgl/metadata.xml b/dev-haskell/fgl/metadata.xml index 937381521944..e5868c189376 100644 --- a/dev-haskell/fgl/metadata.xml +++ b/dev-haskell/fgl/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">fgl</remote-id> + <remote-id type="github">haskell/fgl</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/file-embed/Manifest b/dev-haskell/file-embed/Manifest index b587933c07c8..60bb9f425f19 100644 --- a/dev-haskell/file-embed/Manifest +++ b/dev-haskell/file-embed/Manifest @@ -1 +1,2 @@ DIST file-embed-0.0.11.2.tar.gz 6493 BLAKE2B 5e24d8a46fc40619943086fc9f5b211b35c19862a9346cffda4d4afd7c63f273127ca5dc652d40169438ccbef38f45abd77a394575f13aba023f18adc7746620 SHA512 48ea61d41d1f0ac855a446c64830b15904f2a696c16a0abec4407d6f74b61d333ed4854d3c75c2402c7a834704c063793a6660ef4e4fdd0ce9195492a34f8361 +DIST file-embed-0.0.15.0.tar.gz 7119 BLAKE2B 22c64efd1b4edd029c7e76aaa4b53f8f6233930f2e487cb7e3618436794287d90c0919a2d86074782412743ae389dea23f330d3b4a5ec8009be062056879d659 SHA512 49020f4f7d28ad57d72d0a91853cb85bf905baa86df4f48f3992114a30d97edecb889fb21eb95de3bc3edab206379aad783b79fabde2e06fbe9d0984f92a83ce diff --git a/dev-haskell/file-embed/file-embed-0.0.11.2.ebuild b/dev-haskell/file-embed/file-embed-0.0.11.2.ebuild index 0e1cb61a25a3..25e42f1f6258 100644 --- a/dev-haskell/file-embed/file-embed-0.0.11.2.ebuild +++ b/dev-haskell/file-embed/file-embed-0.0.11.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.4 diff --git a/dev-haskell/file-embed/file-embed-0.0.15.0.ebuild b/dev-haskell/file-embed/file-embed-0.0.15.0.ebuild new file mode 100644 index 000000000000..80d706194212 --- /dev/null +++ b/dev-haskell/file-embed/file-embed-0.0.15.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Use Template Haskell to embed file contents directly" +HOMEPAGE="https://github.com/snoyberg/file-embed" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD-2" +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/file-embed/metadata.xml b/dev-haskell/file-embed/metadata.xml index d4524444d977..0424cddf616a 100644 --- a/dev-haskell/file-embed/metadata.xml +++ b/dev-haskell/file-embed/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">file-embed</remote-id> <remote-id type="github">snoyberg/file-embed</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/filemanip/filemanip-0.3.6.3.ebuild b/dev-haskell/filemanip/filemanip-0.3.6.3.ebuild index 3f57eaafc427..814058ba3aee 100644 --- a/dev-haskell/filemanip/filemanip-0.3.6.3.ebuild +++ b/dev-haskell/filemanip/filemanip-0.3.6.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/filepath-bytestring/filepath-bytestring-1.4.2.1.9.ebuild b/dev-haskell/filepath-bytestring/filepath-bytestring-1.4.2.1.9.ebuild index b888a56a556b..b70db22f9b9c 100644 --- a/dev-haskell/filepath-bytestring/filepath-bytestring-1.4.2.1.9.ebuild +++ b/dev-haskell/filepath-bytestring/filepath-bytestring-1.4.2.1.9.ebuild @@ -15,6 +15,10 @@ LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" +CABAL_CHDEPS=( + 'filepath >= 1.4.2 && <= 1.4.2.1' 'filepath >= 1.4.2' +) + RDEPEND=">=dev-lang/ghc-8.4.3:= " DEPEND="${RDEPEND} diff --git a/dev-haskell/filepath-bytestring/metadata.xml b/dev-haskell/filepath-bytestring/metadata.xml index 3a20cee1af99..2701978d8784 100644 --- a/dev-haskell/filepath-bytestring/metadata.xml +++ b/dev-haskell/filepath-bytestring/metadata.xml @@ -5,17 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides functionality for manipulating @RawFilePath@ - values. It can be used as a drop in replacement for the filepath library - to get the benefits of using ByteStrings. It provides three modules: - - * "System.FilePath.Posix.ByteString" manipulates POSIX\/Linux style @RawFilePath@ values (with @\/@ as the path separator). - - * "System.FilePath.Windows.ByteString" manipulates Windows style @RawFilePath@ values (with either @\\@ or @\/@ as the path separator, and deals with drives). - - * "System.FilePath.ByteString" is an alias for the module appropriate to your platform. - - All three modules provide the same API, and the same documentation (calling out differences in the different variants). - </longdescription> + <upstream> + <remote-id type="hackage">filepath-bytestring</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/findbin/findbin-0.0.5-r1.ebuild b/dev-haskell/findbin/findbin-0.0.5-r1.ebuild index b4046b0e844d..24ade6c11dec 100644 --- a/dev-haskell/findbin/findbin-0.0.5-r1.ebuild +++ b/dev-haskell/findbin/findbin-0.0.5-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/fingertree/Manifest b/dev-haskell/fingertree/Manifest index b3caf94871c5..7d6ff2a1588c 100644 --- a/dev-haskell/fingertree/Manifest +++ b/dev-haskell/fingertree/Manifest @@ -1 +1,2 @@ DIST fingertree-0.1.4.2.tar.gz 18978 BLAKE2B 25eafe2e25ac00121c29bf6e54d6dd754e3672bb321451dcbc89594123b4f71b263fa8584bfeaaa63362d9901af7263c8028ea2f75684e2f2f960f31feecbb9a SHA512 016a772830c0bb27ec15fa99c9dff280c210f288a1f2dc15828224a6a8cdad87ade816191320aa59c876eba6b33cdb47a778572e66a8f3c989984cea2f4970ac +DIST fingertree-0.1.5.0.tar.gz 20656 BLAKE2B b6c34b90932f8427586bf5901a2ace8c3e556c5997035edf5116f996b4b093b4b58c441ec05c115866ee38800eb2726d07431de094ca054aaebf58241a7eea9a SHA512 c5a580c64dfe374fe818f1388e4a8870ebfc27bd09137a58fb72afee18d73b8217afe722cbe5f0017990ab28ff630cda512ca4c3c3f28e8f24622d3d15b59325 diff --git a/dev-haskell/fingertree/fingertree-0.1.4.2.ebuild b/dev-haskell/fingertree/fingertree-0.1.4.2.ebuild index c87d3fa65b45..ab1247d9cfa8 100644 --- a/dev-haskell/fingertree/fingertree-0.1.4.2.ebuild +++ b/dev-haskell/fingertree/fingertree-0.1.4.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.9999 diff --git a/dev-haskell/fingertree/fingertree-0.1.5.0.ebuild b/dev-haskell/fingertree/fingertree-0.1.5.0.ebuild new file mode 100644 index 000000000000..4d398e4dd11c --- /dev/null +++ b/dev-haskell/fingertree/fingertree-0.1.5.0.ebuild @@ -0,0 +1,27 @@ +# 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="Generic finger-tree structure, with example instances" +HOMEPAGE="https://hackage.haskell.org/package/fingertree" + +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/fingertree/metadata.xml b/dev-haskell/fingertree/metadata.xml index 9483c27eeca0..cc7fb249a61a 100644 --- a/dev-haskell/fingertree/metadata.xml +++ b/dev-haskell/fingertree/metadata.xml @@ -5,19 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A general sequence representation with arbitrary - annotations, for use as a base for implementations of - various collection types, with examples, as described - in section 4 of - - * Ralf Hinze and Ross Paterson, - \"Finger trees: a simple general-purpose data structure\", - /Journal of Functional Programming/ 16:2 (2006) pp 197-217. - <http://www.soi.city.ac.uk/~ross/papers/FingerTree.html> - - For a tuned sequence type, see @Data.Sequence@ in the - @containers@ package, which is a specialization of - this structure. - </longdescription> + <upstream> + <remote-id type="hackage">fingertree</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/foldable1-classes-compat/Manifest b/dev-haskell/foldable1-classes-compat/Manifest new file mode 100644 index 000000000000..4e951639fe2b --- /dev/null +++ b/dev-haskell/foldable1-classes-compat/Manifest @@ -0,0 +1,2 @@ +DIST foldable1-classes-compat-0.1-rev2.cabal 3782 BLAKE2B 9c65f54ba9b286ced95c21736fed729262b0d2fb8e20b48c09f73ca3816b5aea4cfcf17b1736f89ec688d5822610f6f720c86746977ea5433bb450ad1e904456 SHA512 32b425c491c4e7085d3e0579c889c800ebc8263305d76984356fa8148d899ec9380e2c528f237d9544af2d89384511ded0c39d8255a2193f06350343fdda7668 +DIST foldable1-classes-compat-0.1.tar.gz 10484 BLAKE2B 66931399cb468536bca797d62a65afeaa936dcddafbaea39cadda9c1b3e47ac132ad3928339e76c9870228426df0eae2eea0333068c2f6d67e35d662e2abb3cd SHA512 680404e62d2d5bfec75c76c53b7178b548e4471fc6125ce86f404ddc1626e45ab448a3ff9e8fe902186c424b07d92635406f90c44586ed937d934e8c68ab0b8c diff --git a/dev-haskell/foldable1-classes-compat/foldable1-classes-compat-0.1.ebuild b/dev-haskell/foldable1-classes-compat/foldable1-classes-compat-0.1.ebuild new file mode 100644 index 000000000000..c11814e12bc9 --- /dev/null +++ b/dev-haskell/foldable1-classes-compat/foldable1-classes-compat-0.1.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.2.1.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compatibility package for the Foldable1 and Bifoldable1 type classes" +HOMEPAGE="https://github.com/haskell-compat/foldable1-classes-compat" + +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.4.4:=[profile?] <dev-haskell/tagged-1:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.13.2 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.27 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/test-framework-0.8.2.0 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-quickcheck2-0.3.0.5 <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 +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag tagged tagged) +} diff --git a/dev-haskell/foldable1-classes-compat/metadata.xml b/dev-haskell/foldable1-classes-compat/metadata.xml new file mode 100644 index 000000000000..d8751542cc3b --- /dev/null +++ b/dev-haskell/foldable1-classes-compat/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">foldable1-classes-compat</remote-id> + <remote-id type="github">haskell-compat/foldable1-classes-compat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/foldl/Manifest b/dev-haskell/foldl/Manifest index 37bde468299e..342d69e7b402 100644 --- a/dev-haskell/foldl/Manifest +++ b/dev-haskell/foldl/Manifest @@ -1,2 +1,3 @@ DIST foldl-1.4.12-rev5.cabal 2682 BLAKE2B 616f3b1d69892cdf30039db5c82842d858b58d227f96e301b594e51b2052c7f423264b11a82c82669cc736b337dca901e242177064b0bf2b4cf128da619935b2 SHA512 394fe8ba15a59a270bc70deed3438a2d1e5193bfa3ec266dbdc3bac48e0b32279cbaab6dfb550cc551f48ce466a9bc553d1ea3748f90836f95f158818d267bd5 DIST foldl-1.4.12.tar.gz 23210 BLAKE2B bbdd9a0b74d5b27b4b8800090a1b2dc717d023d860af8f26846a86866756211b30c755f6a1c3e604d6d1db91e5afa35ee943e014672c0a6e65712e0fbcfd29d0 SHA512 6b345b59c52039e914ea703ab88a08a8bba0a18bea91fcf4cf379ce678e5a97044f563c7b285cb656a764068756b4fae8321308e86813f86d04c462e9889e6e0 +DIST foldl-1.4.15.tar.gz 24449 BLAKE2B c8656bc7231e110dccf44e465acf33f9a61ad91020c8cb0b27debacde2ed4ba8c0de98d17c47db3218de4b56f3f026a8da74d092caca0b9fa66db4998a3017d4 SHA512 a0fb401313d8cb1911cc64e93cee7446a1785fac531f77b5f56a1165617c8adca8470be8a60555a07b48156924c657f4eee3094ad7a043fc383b459fa0006328 diff --git a/dev-haskell/foldl/foldl-1.4.15.ebuild b/dev-haskell/foldl/foldl-1.4.15.ebuild new file mode 100644 index 000000000000..bc6602decc62 --- /dev/null +++ b/dev-haskell/foldl/foldl-1.4.15.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Composable, streaming, and efficient left folds" +HOMEPAGE="https://hackage.haskell.org/package/foldl" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( "${FILESDIR}/${PN}-1.4.12-cabal-doctest.patch" ) + +GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest +) + +RDEPEND=">=dev-haskell/comonad-4.0:=[profile?] <dev-haskell/comonad-6:=[profile?] + <dev-haskell/contravariant-1.6:=[profile?] + <dev-haskell/hashable-1.5:=[profile?] + <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/profunctors-4.3.2:=[profile?] <dev-haskell/profunctors-5.7:=[profile?] + >=dev-haskell/random-1.2:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/semigroupoids-1.0:=[profile?] <dev-haskell/semigroupoids-6.1:=[profile?] + >=dev-haskell/text-0.11.2.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.7:=[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/doctest-0.16 ) +" diff --git a/dev-haskell/foldl/metadata.xml b/dev-haskell/foldl/metadata.xml index f258fcc54de0..1582dd67b890 100644 --- a/dev-haskell/foldl/metadata.xml +++ b/dev-haskell/foldl/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides strict left folds that stream in constant - memory, and you can combine folds using @Applicative@ style to derive new - folds. Derived folds still traverse the container just once and are often as - efficient as hand-written folds. - </longdescription> + <upstream> + <remote-id type="hackage">foldl</remote-id> + <remote-id type="github">Gabriella439/Haskell-Foldl-Library</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/foundation/Manifest b/dev-haskell/foundation/Manifest index cd62955f4e3b..f2b9f641976b 100644 --- a/dev-haskell/foundation/Manifest +++ b/dev-haskell/foundation/Manifest @@ -1 +1,2 @@ DIST foundation-0.0.26.1.tar.gz 120487 BLAKE2B 9ded2f69712de5f3af7fd6a2457defaaf7643c8eee51ad27c863ba0f00a39d05c768a3ae03cb9b8401c63e545161f194237e6bd346e6e6e8858ac7d8a33c6cc1 SHA512 56285e445dbf58204fffb3824a2f6144c3ef8eeb1630a5f5e9a658bc216a9bbb4db6f215e1e9b11bb516a389e23a9fc3275242d060b42db6b82b6a449224988a +DIST foundation-0.0.30.tar.gz 120423 BLAKE2B bc9f63b3b25d01eee2b3ce3f648987d8f040385759638103574821ffc0d124455f574755105e54af2f338c036edd50c36101bec8f0cb9afaaf2086bdb3365cf9 SHA512 5b7a193a03f6f86f125a95363705c760f3ce8686720aa91e815daf131b42cb84a8fd39d448f4b2e803654e1e4764fdfea28918c4558c5f87451aa7c05714efda diff --git a/dev-haskell/foundation/foundation-0.0.26.1.ebuild b/dev-haskell/foundation/foundation-0.0.26.1.ebuild index 601385e09a00..e5dc055fb793 100644 --- a/dev-haskell/foundation/foundation-0.0.26.1.ebuild +++ b/dev-haskell/foundation/foundation-0.0.26.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 #hackport: flags: +doctest,-minimal-deps,-bench-all,-bounds-check,-linktest diff --git a/dev-haskell/foundation/foundation-0.0.30.ebuild b/dev-haskell/foundation/foundation-0.0.30.ebuild new file mode 100644 index 000000000000..f7ec5444c124 --- /dev/null +++ b/dev-haskell/foundation/foundation-0.0.30.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 +#hackport: flags: -doctest,-minimal-deps,-bench-all,-bounds-check,-linktest + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Alternative prelude with batteries and no dependencies" +HOMEPAGE="https://github.com/haskell-foundation/foundation" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="experimental" + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/basement ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-bench-all \ + --flag=-bounds-check \ + --flag=-doctest \ + $(cabal_flag experimental experimental) \ + --flag=-linktest \ + --flag=-minimal-deps +} diff --git a/dev-haskell/foundation/metadata.xml b/dev-haskell/foundation/metadata.xml index 0150690448f8..78fbc1c25ade 100644 --- a/dev-haskell/foundation/metadata.xml +++ b/dev-haskell/foundation/metadata.xml @@ -6,25 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="experimental">enable building experimental features, known as highly unstable or without good support cross-platform</flag> + <flag name="experimental">Enable building experimental features, known as highly unstable or without good support cross-platform</flag> </use> - <longdescription> - A custom prelude with no dependencies apart from base. - - This package has the following goals: - - * provide a base like sets of modules that provide a consistent set of features and bugfixes across multiple versions of GHC (unlike base). - - * provide a better and more efficient prelude than base's prelude. - - * be self-sufficient: no external dependencies apart from base. - - * provide better data-types: packed unicode string by default, arrays. - - * Better numerical classes that better represent mathematical thing (No more all-in-one Num). - - * Better I/O system with less Lazy IO - - * Usual partial functions distinguished through type system - </longdescription> + <upstream> + <remote-id type="hackage">foundation</remote-id> + <remote-id type="github">haskell-foundation/foundation</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/free/Manifest b/dev-haskell/free/Manifest index a0d75ff1d518..90e7d97c6b0a 100644 --- a/dev-haskell/free/Manifest +++ b/dev-haskell/free/Manifest @@ -1 +1,3 @@ DIST free-5.1.9.tar.gz 61606 BLAKE2B 0cf1e666f281c1610411a4f34a94cf1b887522db64d9957db36761ee596cc2d97c5bb7ebfa7c8ed40f42a5ab561d1fa8e2309843bf024e95cbef27a077ec02aa SHA512 925d9271adf5d16a48efaeebd65d54a9c5b4e042f1733382ee2269eee1f62d4b184e54209b384bdd145b76b093d7866f0115a56156c73f85bacb04cb7b265ec0 +DIST free-5.2-rev1.cabal 4176 BLAKE2B 5e4ff25305dcd903805a63be8704159f76f7c3e7208f4ecd6c0a4ef8f6d7a9827e1eaaaa7d35788202447e78af665a73973a51d7a2734fd44a07804305d64bd3 SHA512 670f2bc0bc7cbc4bb1bc6a5bbb823ba3507430a3b732e1d2346326e763cdffd8740ffd9228c455ba28a4ac285594cccbcf588434f0c6b55d36d3aefaa0d36ec9 +DIST free-5.2.tar.gz 58781 BLAKE2B b2813e74b6dfaac376d7221b75c73315cb9c1fd1bfb7bb281429668bea6cba20d6316bdc722f91425d950962ee3687a6bff491e44ff77e5f56cf07a2c564e443 SHA512 f27a9cd9d2f29c442a8ae036be53cd22cd28279e15f394212713ad12be05e9a35dce72ae53647cad415833ff356228e5707b6ed85c1195f94cb57493f9341175 diff --git a/dev-haskell/free/free-5.2.ebuild b/dev-haskell/free/free-5.2.ebuild new file mode 100644 index 000000000000..772fb5f0beb5 --- /dev/null +++ b/dev-haskell/free/free-5.2.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 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Monads for free" +HOMEPAGE="https://github.com/ekmett/free/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/comonad-5.0.8:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/distributive-0.5.2:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/profunctors-5.6.1:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/semigroupoids-5.3.5:=[profile?] <dev-haskell/semigroupoids-7:=[profile?] + >=dev-haskell/th-abstraction-0.4.2.0:=[profile?] <dev-haskell/th-abstraction-0.6:=[profile?] + >=dev-haskell/transformers-base-0.4.5.2:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 +" diff --git a/dev-haskell/free/metadata.xml b/dev-haskell/free/metadata.xml index bd0f3da7da23..6b6998bdca9a 100644 --- a/dev-haskell/free/metadata.xml +++ b/dev-haskell/free/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">free</remote-id> <remote-id type="github">ekmett/free</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/generic-deriving/Manifest b/dev-haskell/generic-deriving/Manifest index 6a9ec8236ad2..0c6159c7f8e3 100644 --- a/dev-haskell/generic-deriving/Manifest +++ b/dev-haskell/generic-deriving/Manifest @@ -1 +1,2 @@ DIST generic-deriving-1.14.1.tar.gz 74474 BLAKE2B 9d43cf67c50eb06c73ee50441700752ec757082312dfd660b48ca6f4e722f581ef43b62e0d20e80c3eca6f0844712ad28c9dee621e46475449d55e7980a436b8 SHA512 b7a0dd63ee59d9d8df64bd622aede65943cd83875df6bc4eb3775822ff3c5b476c6179da4fa8fcbc029f4b5e93244e12d5af3d7f7499ebc11488d59f72f6e322 +DIST generic-deriving-1.14.5.tar.gz 76918 BLAKE2B 9e6b5abb27860743e9aa65d703df3ca89c6b78cb5b7240f29871e699e64b45faee7710a1f4ef31fa011aca8195c1ebd505b62f14a20e02fb21510c99d3651605 SHA512 d3fc4e77a9c81ee570b20db6666f1c8bf32d1362cd045731401ff43db65b96c741752deec9f6239e8478d480e7d22e9bbc195fb473498cc380d7f94339563e3c diff --git a/dev-haskell/generic-deriving/generic-deriving-1.14.5.ebuild b/dev-haskell/generic-deriving/generic-deriving-1.14.5.ebuild new file mode 100644 index 000000000000..c6d1bc1aa821 --- /dev/null +++ b/dev-haskell/generic-deriving/generic-deriving-1.14.5.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Generic programming library for generalised deriving" +HOMEPAGE="https://github.com/dreixel/generic-deriving" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/th-abstraction-0.4:=[profile?] <dev-haskell/th-abstraction-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2 <dev-haskell/hspec-3 ) +" diff --git a/dev-haskell/generic-deriving/metadata.xml b/dev-haskell/generic-deriving/metadata.xml index 208017b74634..d5157eeb0a9e 100644 --- a/dev-haskell/generic-deriving/metadata.xml +++ b/dev-haskell/generic-deriving/metadata.xml @@ -5,19 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides functionality for generalizing the deriving mechanism - in Haskell to arbitrary classes. It was first described in the paper: - - * /A generic deriving mechanism for Haskell/. - Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. - Haskell'10. - - The current implementation integrates with the new GHC Generics. See - <http://www.haskell.org/haskellwiki/Generics> for more information. - Template Haskell code is provided for supporting GHC before version 7.2. - </longdescription> <upstream> + <remote-id type="hackage">generic-deriving</remote-id> <remote-id type="github">dreixel/generic-deriving</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/generically/Manifest b/dev-haskell/generically/Manifest new file mode 100644 index 000000000000..11edf5d9211b --- /dev/null +++ b/dev-haskell/generically/Manifest @@ -0,0 +1,2 @@ +DIST generically-0.1.1-rev1.cabal 1155 BLAKE2B 3554bfa3f08f83840c06ab6008f004304a28b1390585642ebe218e77e92bf02d4a716747c1a069ce1f00dce095c41469c0aa879cffce74c7e3165986e00ae4c7 SHA512 d07323461cf572b9867ae324a623b877c662f4df4ff5c97a06b895f17875d5648ae4683d1351e274b81d7dc240d1a441c759d8c0a77668e0b0f7384d32b8f358 +DIST generically-0.1.1.tar.gz 2870 BLAKE2B a67ab7a1d5aab5ad83ee3fbaecb77639caad96fb8ab7ff2385c843a6631c6ea7056d75f37caab60b5b942242c3f89751490ad3273cbe2068d4ea136dcdf66567 SHA512 029c96a5567fea56572ad5522c70d3b41a22ddac15483aee0045f4aa15bc45bf177a69bf42986391de681ab98aedf5b748a91d5bd5486427062f72e2a22a1844 diff --git a/dev-haskell/generically/generically-0.1.1-r1.ebuild b/dev-haskell/generically/generically-0.1.1-r1.ebuild new file mode 100644 index 000000000000..847822061c13 --- /dev/null +++ b/dev-haskell/generically/generically-0.1.1-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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Generically newtype to use with DerivingVia" +HOMEPAGE="https://hackage.haskell.org/package/generically" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/base-orphans-0.8.8:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/generically/metadata.xml b/dev-haskell/generically/metadata.xml new file mode 100644 index 000000000000..2e243cd4145c --- /dev/null +++ b/dev-haskell/generically/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">generically</remote-id> + <remote-id type="github">haskell-compat/generically</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/generics-sop/Manifest b/dev-haskell/generics-sop/Manifest index 89199077806c..3f169d0d7f22 100644 --- a/dev-haskell/generics-sop/Manifest +++ b/dev-haskell/generics-sop/Manifest @@ -1 +1,2 @@ DIST generics-sop-0.5.1.1.tar.gz 29898 BLAKE2B c5d98a338d3cae2bd64abae2d2cace4c87a80d3f194b96ec8c31cbb5e660fd17c9a11fe6cd56eeea8af8d720c1fac9f7ce278338276458de019251157ea27418 SHA512 8514a4aef263c2c38928a716c1755db7f2f52243d742b944bb718bf3458ae0969b451836e889075a2c4ea5893720dbb146212d1960a9573851d3ad6c66fb0d8d +DIST generics-sop-0.5.1.3.tar.gz 30062 BLAKE2B 6a487a9d514d879ea85a66e032b7446809df34af1a1699490445620c15b60b00abe8cf77f83a9e33acf3471652e2d7e37f5f4948a61e1ee6c9b06ba51596f2b0 SHA512 a4354012ade5d34d8640ce10847088f56f5722b5ee0122cfb3b5adac74675e7445ee3f47c1587174c661525d460e09b3251d70170892577446a404d6cdc68e47 diff --git a/dev-haskell/generics-sop/generics-sop-0.5.1.1.ebuild b/dev-haskell/generics-sop/generics-sop-0.5.1.1.ebuild index 66f2b5c1ab6c..98903f45f0cb 100644 --- a/dev-haskell/generics-sop/generics-sop-0.5.1.1.ebuild +++ b/dev-haskell/generics-sop/generics-sop-0.5.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.7.9999 diff --git a/dev-haskell/generics-sop/generics-sop-0.5.1.3.ebuild b/dev-haskell/generics-sop/generics-sop-0.5.1.3.ebuild new file mode 100644 index 000000000000..303874e80f41 --- /dev/null +++ b/dev-haskell/generics-sop/generics-sop-0.5.1.3.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Generic Programming using True Sums of Products" +HOMEPAGE="https://hackage.haskell.org/package/generics-sop" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/sop-core-0.5.0:=[profile?] <dev-haskell/sop-core-0.5.1:=[profile?] + >=dev-haskell/th-abstraction-0.4:=[profile?] <dev-haskell/th-abstraction-0.6:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/generics-sop/metadata.xml b/dev-haskell/generics-sop/metadata.xml index e8e45b95ba77..72bf2acafccc 100644 --- a/dev-haskell/generics-sop/metadata.xml +++ b/dev-haskell/generics-sop/metadata.xml @@ -5,33 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A library to support the definition of generic functions. - Datatypes are viewed in a uniform, structured way: - the choice between constructors is represented using an n-ary - sum, and the arguments of each constructor are represented using - an n-ary product. - - The module "Generics.SOP" is the main module of this library and contains - more detailed documentation. - - Examples of using this library are provided by the following - packages: - - * @<https://hackage.haskell.org/package/basic-sop basic-sop>@ basic examples, - - * @<https://hackage.haskell.org/package/pretty-sop pretty-sop>@ generic pretty printing, - - * @<https://hackage.haskell.org/package/lens-sop lens-sop>@ generically computed lenses, - - * @<https://hackage.haskell.org/package/json-sop json-sop>@ generic JSON conversions. - - A detailed description of the ideas behind this library is provided by - the paper: - - * Edsko de Vries and Andres Löh. - <http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products>. - Workshop on Generic Programming (WGP) 2014. - - </longdescription> + <upstream> + <remote-id type="hackage">generics-sop</remote-id> + <remote-id type="github">well-typed/generics-sop</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/getopt-generics/getopt-generics-0.13.0.4.ebuild b/dev-haskell/getopt-generics/getopt-generics-0.13.0.4.ebuild index 333bad5c7928..38c4e932d38c 100644 --- a/dev-haskell/getopt-generics/getopt-generics-0.13.0.4.ebuild +++ b/dev-haskell/getopt-generics/getopt-generics-0.13.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.9999 diff --git a/dev-haskell/ghc-byteorder/ghc-byteorder-4.11.0.0.10.ebuild b/dev-haskell/ghc-byteorder/ghc-byteorder-4.11.0.0.10.ebuild index 2be5128d49a0..9764333d9327 100644 --- a/dev-haskell/ghc-byteorder/ghc-byteorder-4.11.0.0.10.ebuild +++ b/dev-haskell/ghc-byteorder/ghc-byteorder-4.11.0.0.10.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 @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 " -src_prepare() { - default - cabal_chdeps \ - 'base >=4.11 && <4.15' 'base >=4.11' - eapply_user -} +CABAL_CHDEPS=( + 'base >=4.11 && <4.15' 'base >=4.11' +) diff --git a/dev-haskell/ghc-paths/Manifest b/dev-haskell/ghc-paths/Manifest index eeec592a3c0f..b4dcd9cfa548 100644 --- a/dev-haskell/ghc-paths/Manifest +++ b/dev-haskell/ghc-paths/Manifest @@ -1 +1,2 @@ +DIST ghc-paths-0.1.0.12-rev5.cabal 699 BLAKE2B c23c4c781ff3d47a8a01f067803fb1b71e34b954018990bf03ac81c42e6ca6bc434569c66b2d4cdb13b4f651fe3969a3b3323915a30bfd3d682c4522659044ba SHA512 c68d9f16c28bbac47d6831c5f385e4e21ce2b8188e7b04eb0531ca088b79c2f1169a36650fb5588f73a5e4d78307a0fbbb17af241b8bdc46b9c7dcde39b8d096 DIST ghc-paths-0.1.0.12.tar.gz 2565 BLAKE2B 3e4783a854510a4ae6d6a9d5f4d0fefa7fbc03088aa298d8731c7bdf961ab47553b0e46c1b8d2f61193b669c43fc74e8eb6f948abba4419b0110772d56397c1d SHA512 1c66caf459f5783bde38a47ce1292bf5c47fef21e3f69d7f6c052b4eb39f446ed5decd38f0e4143a90d55ba44ebc0891b4497050cc652cbf3fcad636d45690e9 diff --git a/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild index 6a8cad7ee4d5..c1b92212a47b 100644 --- a/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild +++ b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-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.2.9999 @@ -24,16 +24,17 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6 <dev-haskell/cabal-3.7 " +# https://github.com/simonmar/ghc-paths/pull/26 +CABAL_CHDEPS=( + 'Cabal >= 1.6 && <3.1' 'Cabal >= 1.6 && <3.7' +) + src_prepare() { - default + haskell-cabal_src_prepare # ghc-patch it has awfully unportable (across cabal versions) ghc detection code # but in gentoo we install it to fixed patch, so remove Setup.hs detection code cabal-mksetup - # https://github.com/simonmar/ghc-paths/pull/26 - cabal_chdeps \ - 'Cabal >= 1.6 && <3.1' 'Cabal >= 1.6 && <3.7' - # and use gentoo's hardcoded one: # a few things we need to replace, and example values # GHC_PATHS_LIBDIR /usr/lib64/ghc-6.12.0.20091010 diff --git a/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r3.ebuild b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r3.ebuild new file mode 100644 index 000000000000..c2d544493b0d --- /dev/null +++ b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r3.ebuild @@ -0,0 +1,51 @@ +# 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.1.9999 + +CABAL_HACKAGE_REVISION=5 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit ghc-package haskell-cabal + +DESCRIPTION="Knowledge of GHC's installation directories" +HOMEPAGE="https://hackage.haskell.org/package/ghc-paths" + +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 <dev-haskell/cabal-3.11 +" + +src_prepare() { + haskell-cabal_src_prepare + + # ghc-patch it has awfully unportable (across cabal versions) ghc detection code + # but in gentoo we install it to fixed patch, so remove Setup.hs detection code + cabal-mksetup + + # and use gentoo's hardcoded one: + # a few things we need to replace, and example values + # GHC_PATHS_LIBDIR /usr/lib64/ghc-6.12.0.20091010 + # GHC_PATHS_DOCDIR /usr/share/doc/ghc-6.12.0.20091010/html + # GHC_PATHS_GHC_PKG /usr/bin/ghc-pkg + # GHC_PATHS_GHC /usr/bin/ghc (be careful: GHC_PATHS_GHC is a substring of GHC_PATHS_GHC_PKG) + + cat >"${S}/GHC/Paths.hs" <<-EOF + module GHC.Paths ( ghc, ghc_pkg, libdir, docdir ) where + + libdir, docdir, ghc, ghc_pkg :: FilePath + + libdir = "$(ghc-libdir)" + docdir = "/usr/share/doc/ghc-$(ghc-version)/html" + + ghc = "$(ghc-getghc)" + ghc_pkg = "$(ghc-getghcpkg)" + EOF +} diff --git a/dev-haskell/ghc-paths/metadata.xml b/dev-haskell/ghc-paths/metadata.xml index c7bb0e775ab0..f6c086c0de21 100644 --- a/dev-haskell/ghc-paths/metadata.xml +++ b/dev-haskell/ghc-paths/metadata.xml @@ -1,7 +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> -</maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">ghc-paths</remote-id> + <remote-id type="github">simonmar/ghc-paths</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/git-lfs/git-lfs-1.2.0.ebuild b/dev-haskell/git-lfs/git-lfs-1.2.0-r1.ebuild index 3fa7318a178b..70a2acec2e8f 100644 --- a/dev-haskell/git-lfs/git-lfs-1.2.0.ebuild +++ b/dev-haskell/git-lfs/git-lfs-1.2.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.2.9999 +# ebuild generated by hackport 0.8.2.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal @@ -15,13 +15,19 @@ LICENSE="AGPL-3" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-haskell/aeson-1.3:=[profile?] <dev-haskell/aeson-2.1:=[profile?] +CABAL_CHDEPS=( + 'aeson >= 1.3 && < 2.1' 'aeson >= 1.3' +) + +RDEPEND=" + >=dev-haskell/aeson-1.3:=[profile?] >=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] >=dev-haskell/http-client-0.5:=[profile?] <dev-haskell/http-client-0.8:=[profile?] >=dev-haskell/http-types-0.7:=[profile?] <dev-haskell/http-types-0.13:=[profile?] >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.8:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 + >=dev-haskell/cabal-3.0.0.0 " diff --git a/dev-haskell/git-lfs/metadata.xml b/dev-haskell/git-lfs/metadata.xml index 937381521944..da00322873bd 100644 --- a/dev-haskell/git-lfs/metadata.xml +++ b/dev-haskell/git-lfs/metadata.xml @@ -5,4 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">git-lfs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/glib/Manifest b/dev-haskell/glib/Manifest new file mode 100644 index 000000000000..04856c88978b --- /dev/null +++ b/dev-haskell/glib/Manifest @@ -0,0 +1 @@ +DIST glib-0.13.10.0.tar.gz 39410 BLAKE2B 4de054903034e366becd3735c8bf4a6900e39906d0aac526e7994cd0b8dae35765e88cbbc4062b138f88f33d37b96a637980042c310220c4c05ab27e0ed637d6 SHA512 59f85b442140c12338b9fecb0f51cee5aba64793f2c9baef9b50490024f58b27f6d1a525d03cf7bbd37eae49d9a0bbd75861dfc21c95a6e24de4cc991559e402 diff --git a/dev-haskell/glib/glib-0.13.10.0.ebuild b/dev-haskell/glib/glib-0.13.10.0.ebuild new file mode 100644 index 000000000000..654997a0c298 --- /dev/null +++ b/dev-haskell/glib/glib-0.13.10.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Binding to the GLIB library for Gtk2Hs" +HOMEPAGE="https://projects.haskell.org/gtk2hs/" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+closure-signals" + +GHC_BOOTSTRAP_PACKAGES=( + gtk2hs-buildtools +) + +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:= + dev-libs/glib:2 +" +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 \ + $(cabal_flag closure-signals closure_signals) +} diff --git a/dev-haskell/glib/metadata.xml b/dev-haskell/glib/metadata.xml new file mode 100644 index 000000000000..53e5649323ab --- /dev/null +++ b/dev-haskell/glib/metadata.xml @@ -0,0 +1,16 @@ +<?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="closure-signals">Use the the GClosure-based signals +		implementation.</flag> + </use> + <upstream> + <remote-id type="hackage">glib</remote-id> + <remote-id type="github">gtk2hs/gtk2hs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/gridtables/Manifest b/dev-haskell/gridtables/Manifest new file mode 100644 index 000000000000..841194af0442 --- /dev/null +++ b/dev-haskell/gridtables/Manifest @@ -0,0 +1 @@ +DIST gridtables-0.1.0.0.tar.gz 12279 BLAKE2B 046a97927ec0e0c78db52ab6f05c53bd0c81c08ac85fd6916044dd4f9f12b7e09c3e2b2ab3688bc922f295947a9273d1a83d5a56094642be3cefe1c033dc4b5e SHA512 c83a299b73df7e4bb4cbfe1c74a300f06708e7cbe516c369b77d9d83108da45f90b3cd704d8960071b5dcbf5dbd20abe3fea11c197668b515a71434e2e04943c diff --git a/dev-haskell/gridtables/gridtables-0.1.0.0.ebuild b/dev-haskell/gridtables/gridtables-0.1.0.0.ebuild new file mode 100644 index 000000000000..ca7f98a0ef30 --- /dev/null +++ b/dev-haskell/gridtables/gridtables-0.1.0.0.ebuild @@ -0,0 +1,27 @@ +# 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="Parser for reStructuredText-style grid tables" +HOMEPAGE="https://github.com/tarleb/gridtables" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/doclayout:=[profile?] + >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/text-1.1.1.0:=[profile?] <dev-haskell/text-2.1:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 ) +" diff --git a/dev-haskell/gridtables/metadata.xml b/dev-haskell/gridtables/metadata.xml new file mode 100644 index 000000000000..abeb39d51c61 --- /dev/null +++ b/dev-haskell/gridtables/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">gridtables</remote-id> + <remote-id type="github">tarleb/gridtables</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/gtk2hs-buildtools/Manifest b/dev-haskell/gtk2hs-buildtools/Manifest new file mode 100644 index 000000000000..c8fa72a8aac0 --- /dev/null +++ b/dev-haskell/gtk2hs-buildtools/Manifest @@ -0,0 +1 @@ +DIST gtk2hs-buildtools-0.13.10.0.tar.gz 178586 BLAKE2B 56752492d84d6f884f0aaaed19af165296d8d987a15ba6d050aba234090c72929f14e5389e241a81bae5a64a5c5f3d78675143b820262ea192ed331a34525e27 SHA512 ab82220caf6d8d2499de1560130182628455f57588f7cf83d677443f38b9e5fc2980783b7d9e3e941c16fa2e0dba8882e7a3c939ff05adab5706643dfc62233a diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.10.0.ebuild b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.10.0.ebuild new file mode 100644 index 000000000000..292c62fa3acc --- /dev/null +++ b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.10.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries" +HOMEPAGE="https://projects.haskell.org/gtk2hs/" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+closuresignals" + +RDEPEND=">=dev-haskell/cabal-1.24.0.0:=[profile?] + dev-haskell/hashtables:=[profile?] + dev-haskell/random:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/alex-3.0.1 + >=dev-haskell/cabal-3.0.0.0 + >=dev-haskell/happy-1.18.9 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag closuresignals closuresignals) +} diff --git a/dev-haskell/gtk2hs-buildtools/metadata.xml b/dev-haskell/gtk2hs-buildtools/metadata.xml new file mode 100644 index 000000000000..5b552520f5a8 --- /dev/null +++ b/dev-haskell/gtk2hs-buildtools/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="closuresignals">Use the the GClosure-based signals implementation.</flag> + </use> + <upstream> + <remote-id type="hackage">gtk2hs-buildtools</remote-id> + <remote-id type="github">gtk2hs/gtk2hs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hackage-security/Manifest b/dev-haskell/hackage-security/Manifest index f57f5b49c431..6e22cb418693 100644 --- a/dev-haskell/hackage-security/Manifest +++ b/dev-haskell/hackage-security/Manifest @@ -1 +1,3 @@ DIST hackage-security-0.6.1.0.tar.gz 86243 BLAKE2B f28651d9c0506e4e1b9085e1efd6647ad3dd0dea4fcec2823f3072504831e7d01be34f6a14619cc352ef236214a1fd7073449f00c82c8f7ef5e95cdca1ad3133 SHA512 0a303e8c594a5fef52bf95f3ff75379aeec44fdaebc6ba78da8bf7911798040b43c3c289f0c4d7bcd2c1903d82c29d5ffa012360660c3548c0f3fb4b719a9327 +DIST hackage-security-0.6.2.3-rev3.cabal 12712 BLAKE2B 329c7ad4039411932fc8cdb6f5f31274de8adb11ab68a6688a03bd9d20043ee7df66e9c063aba33aaf7435470190d3e775f7d121011c5ef4b8dd8dfe2837eeb2 SHA512 cf4545d393745efd29da0882b093299d7a6cf8072c3219d71a3d5d1f754bf8b435e135df686447dd785f18ab190287ca57f2a749bb3b1d59199d6d00225684f5 +DIST hackage-security-0.6.2.3.tar.gz 86611 BLAKE2B 4cc851be655c6b4dc9435f129bcd1bda4b31dc16e0a97181c6e68a91c374d662937d5b629934087b6eb13db4c3b49217e3ed924f98024f2b868dca4eced13750 SHA512 d2bd80a940a2bacdbe6c6f5086ae846eb27548f0013952e0fe95dfbdea7bc4f17631f86f295d62b02a491f3903d8a5ab316bad2d8227fd240f459cbe966b1b84 diff --git a/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch b/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch new file mode 100644 index 000000000000..dc26881ebdbe --- /dev/null +++ b/dev-haskell/hackage-security/files/hackage-security-0.6.2.3-change-cabal-syntax-dep.patch @@ -0,0 +1,33 @@ +From b228347d62b7c69f16d1983d4c8c70f6601c7351 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Sun, 2 Jul 2023 14:33:27 -0600 +Subject: [PATCH] Change dependency on Cabal-syntax + +Do not add Cabal-syntax to build-depends when the Cabal-syntax flag is +off. + +This will ensure that Cabal-syntax is ignored/omitted when the flag is +off which will prevent version conflicts with >=Cabal-syntax-3.8 + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + hackage-security.cabal | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/hackage-security.cabal b/hackage-security.cabal +index 58afd57..f0463f4 100644 +--- a/hackage-security.cabal ++++ b/hackage-security.cabal +@@ -170,8 +170,7 @@ library + else + build-depends: Cabal >= 1.14 && < 1.26 + || >= 2.0 && < 2.6 +- || >= 3.0 && < 3.7, +- Cabal-syntax < 3.7 ++ || >= 3.0 && < 3.7 + + hs-source-dirs: src + default-language: Haskell2010 +-- +2.39.3 + diff --git a/dev-haskell/hackage-security/hackage-security-0.6.2.3-r2.ebuild b/dev-haskell/hackage-security/hackage-security-0.6.2.3-r2.ebuild new file mode 100644 index 000000000000..a1f898fad5cb --- /dev/null +++ b/dev-haskell/hackage-security/hackage-security-0.6.2.3-r2.ebuild @@ -0,0 +1,75 @@ +# 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: -mtl21,+use-network-uri,-Cabal-syntax + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal +RESTRICT="test" # Requires Cabal-3.8 or newer + +DESCRIPTION="Hackage security library" +HOMEPAGE="https://github.com/haskell/hackage-security" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+lukko" + +PATCHES=( + "${FILESDIR}/${PN}-0.6.2.3-change-cabal-syntax-dep.patch" +) + +CABAL_CHDEPS=( + '|| >= 3.0 && < 3.7' '|| >= 3.0' +) + +RDEPEND=" + >=dev-haskell/base16-bytestring-0.1.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/cryptohash-sha256-0.11:=[profile?] <dev-haskell/cryptohash-sha256-0.12:=[profile?] + >=dev-haskell/ed25519-0.0:=[profile?] <dev-haskell/ed25519-0.1:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] + >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/tar-0.5:=[profile?] <dev-haskell/tar-0.6:=[profile?] + >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= + || ( + ( >=dev-haskell/network-2.6 <dev-haskell/network-2.9 ) + ( >=dev-haskell/network-3.0 <dev-haskell/network-3.2 ) + ) + dev-haskell/network:=[profile?] + lukko? ( + >=dev-haskell/lukko-0.1:=[profile?] <dev-haskell/lukko-0.2:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" +# test? ( +# >=dev-haskell/cabal-3.7 <dev-haskell/cabal-3.12 +# >=dev-haskell/quickcheck-2.11 <dev-haskell/quickcheck-2.15 +# >=dev-haskell/tasty-1.2 <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/temporary-1.2 <dev-haskell/temporary-1.4 +# dev-haskell/text +# >=dev-haskell/unordered-containers-0.2.8.0 <dev-haskell/unordered-containers-0.3 +# >=dev-haskell/vector-0.12 <dev-haskell/vector-0.14 +# || ( +# ( >=dev-haskell/aeson-1.4 <dev-haskell/aeson-1.6 ) +# ( >=dev-haskell/aeson-2.0 <dev-haskell/aeson-2.2 ) +# ) +# ) + +src_configure() { + haskell-cabal_src_configure \ + --flag=-Cabal-syntax \ + $(cabal_flag lukko lukko) \ + --flag=-mtl21 \ + --flag=use-network-uri +} diff --git a/dev-haskell/hackage-security/metadata.xml b/dev-haskell/hackage-security/metadata.xml index 67d5d614a4f2..63d1cf7e461f 100644 --- a/dev-haskell/hackage-security/metadata.xml +++ b/dev-haskell/hackage-security/metadata.xml @@ -8,4 +8,8 @@ <use> <flag name="lukko">Use @lukko@ for file-locking, otherwise use @GHC.IO.Handle.Lock@</flag> </use> + <upstream> + <remote-id type="hackage">hackage-security</remote-id> + <remote-id type="github">haskell/hackage-security</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/haddock-library/haddock-library-1.10.0-r2.ebuild b/dev-haskell/haddock-library/haddock-library-1.10.0-r2.ebuild new file mode 100644 index 000000000000..ca8fdfae207d --- /dev/null +++ b/dev-haskell/haddock-library/haddock-library-1.10.0-r2.ebuild @@ -0,0 +1,49 @@ +# 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=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Library exposing some functionality of Haddock" +HOMEPAGE="https://www.haskell.org/haddock/" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +CABAL_CHDEPS=( + 'hspec >= 2.4.4 && < 2.8' 'hspec >=2.4.4' + 'hspec-discover:hspec-discover >= 2.4.4 && < 2.8' 'hspec-discover:hspec-discover >=2.4.4' + 'optparse-applicative ^>= 0.15' 'optparse-applicative >=0.15' + 'tree-diff ^>= 0.1' 'tree-diff >=0.1' + 'base-compat ^>= 0.9.3 || ^>= 0.11.0' 'base-compat >=0.11.0' + 'base-compat ^>= 0.9.3 || ^>= 0.11.0' 'base-compat >=0.11.0' +) + +RDEPEND=" + >=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-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/base-compat-0.11.0 + >=dev-haskell/hspec-2.4.4 + >=dev-haskell/optparse-applicative-0.15 + >=dev-haskell/tree-diff-0.1 + || ( + ( >=dev-haskell/quickcheck-2.11 <dev-haskell/quickcheck-2.12 ) + ( >=dev-haskell/quickcheck-2.13.2 <dev-haskell/quickcheck-2.15 ) + ) + ) +" +BDEPEND="test? ( + >=dev-haskell/hspec-discover-2.4.4 +)" diff --git a/dev-haskell/haddock-library/haddock-library-1.10.0.ebuild b/dev-haskell/haddock-library/haddock-library-1.10.0.ebuild deleted file mode 100644 index 8c99c641c993..000000000000 --- a/dev-haskell/haddock-library/haddock-library-1.10.0.ebuild +++ /dev/null @@ -1,55 +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 - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -CABAL_HACKAGE_REVISION="3" -inherit haskell-cabal - -CABAL_FILE="${S}/${PN}.cabal" -CABAL_DISTFILE="${P}-rev${CABAL_HACKAGE_REVISION}.cabal" - -DESCRIPTION="Library exposing some functionality of Haddock" -HOMEPAGE="https://www.haskell.org/haddock/" -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-2" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=">=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/hspec-2.4.4 - >=dev-haskell/hspec-discover-2.4.4 - >=dev-haskell/optparse-applicative-0.15 - >=dev-haskell/tree-diff-0.1 - >=dev-haskell/base-compat-0.11.0 - >=dev-haskell/quickcheck-2.13.2 <dev-haskell/quickcheck-2.15 ) -" -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 - - cabal_chdeps \ - 'hspec >= 2.4.4 && < 2.8' 'hspec >=2.4.4' \ - 'hspec-discover:hspec-discover >= 2.4.4 && < 2.8' 'hspec-discover:hspec-discover >=2.4.4' \ - 'optparse-applicative ^>= 0.15' 'optparse-applicative >=0.15' \ - 'tree-diff ^>= 0.1' 'tree-diff >=0.1' \ - 'base-compat ^>= 0.9.3 || ^>= 0.11.0' 'base-compat >=0.11.0' \ - 'base-compat ^>= 0.9.3 || ^>= 0.11.0' 'base-compat >=0.11.0' -} diff --git a/dev-haskell/haddock-library/metadata.xml b/dev-haskell/haddock-library/metadata.xml index b4a6fd6bd93c..9272627d4f5e 100644 --- a/dev-haskell/haddock-library/metadata.xml +++ b/dev-haskell/haddock-library/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Haddock is a documentation-generation tool for Haskell - libraries. These modules expose some functionality of it - without pulling in the GHC dependency and it is not the same - as Haddock itself. Please note that the - API is likely to change so specify upper bounds in your - project if you can't release often. - </longdescription> + <upstream> + <remote-id type="hackage">haddock-library</remote-id> + <remote-id type="github">haskell/haddock</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/happy/Manifest b/dev-haskell/happy/Manifest index 9258d5307181..aaa3de4cec94 100644 --- a/dev-haskell/happy/Manifest +++ b/dev-haskell/happy/Manifest @@ -1 +1,2 @@ DIST happy-1.19.12.tar.gz 183254 BLAKE2B 17b0d30f4aaf194a0e36c06bd6349665c704b5ab61dce16cae47f0ca6bfef0a0e2d4bbf3456f47cebf0f71f1a0b4a59ff6b581cb4ff76a26d82573eb0e7b056a SHA512 20f36b17adf7330852fd4c05335adbf31e6f19907b4ec247c85a40ee1f8496c6dc432055026696906b149cec7f982b88c9a2eeedf14a11d34b1f6f73272e5208 +DIST happy-1.20.1.1.tar.gz 183409 BLAKE2B b9bb9da227b21e6a63a9649454745f32b6f9fb2c33132da60595ab1bbca0e6659a6941ec89ed0705f9c5052dfc1dc076888c0b309d797f699a1d398e04d5913a SHA512 a2ff6a1778884de22f4900a22b8a451ed5dc8a8e66020ce9e186a03068257748a3810c63b56f1efa0b646d99fe637f87178983f387d4c49bc33b82613877ec48 diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild index 46639787fa6a..b9635469540b 100644 --- a/dev-haskell/happy/happy-1.19.12.ebuild +++ b/dev-haskell/happy/happy-1.19.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.9999 #hackport: flags: +small_base @@ -18,19 +18,8 @@ SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="doc" -# Re: LLVM blocker - ghc-9.0.2 generates IR that crashes LLVM opt -# for two test cases. Unsure yet if this is a bug in the GHC LLVM -# backend or in LLVM itself. Tracked in -# https://github.com/llvm/llvm-project/issues/57393 -# -# Must be in RDEPEND or pkgcheck complains about MisplaceWeakBlocker. -# Although in theory it's possible to enable USE=llvm on an arch with -# native codegen, there is no reason to do so, so in practice this should -# block USE=test exclusively on arches that support registerised GHC -# through the LLVM backend only. RDEPEND=">=dev-haskell/mtl-2.2.1:= >=dev-lang/ghc-7.4.1:= - test? ( !dev-lang/ghc[llvm(-)] ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.8 diff --git a/dev-haskell/happy/happy-1.20.1.1.ebuild b/dev-haskell/happy/happy-1.20.1.1.ebuild new file mode 100644 index 000000000000..de73725aa660 --- /dev/null +++ b/dev-haskell/happy/happy-1.20.1.1.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.6.6.9999 +#hackport: flags: +small_base + +CABAL_FEATURES="test-suite" +inherit haskell-cabal autotools + +DESCRIPTION="Happy is a parser generator for Haskell" +HOMEPAGE="https://www.haskell.org/happy/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=">=dev-haskell/mtl-2.2.1:= + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + doc? ( ~app-text/docbook-xml-dtd-4.2 + app-text/docbook-xsl-stylesheets ) +" + +src_prepare() { + default + + if use doc; then + cd doc || die + eautoconf + fi +} + +src_configure() { + # '--with-happy=false' allows detecting circular + # depends even when 'happy' is installed in system + haskell-cabal_src_configure \ + --with-happy=false\ + --flag=small_base + + if use doc; then + # does not like out-of-source builds + cd doc || die + econf + fi +} + +src_compile() { + haskell-cabal_src_compile + + if use doc; then + emake -C doc -j1 + fi +} + +src_install() { + haskell-cabal_src_install + + if use doc; then + docinto html + dodoc -r doc/happy/. + doman doc/happy.1 + fi +} diff --git a/dev-haskell/hashable/Manifest b/dev-haskell/hashable/Manifest index 09b4980ccf61..6349c517f370 100644 --- a/dev-haskell/hashable/Manifest +++ b/dev-haskell/hashable/Manifest @@ -1 +1,3 @@ DIST hashable-1.4.0.2.tar.gz 25528 BLAKE2B a9d219ce08db64b2bccf691f26ea5e248785ac3263ce1045eb612d2deaf51baa5f0b14270a9810aa1d32193fe9f52b26c2ca4fccb94b98e2ccdcb0b6ba6e8a56 SHA512 a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda +DIST hashable-1.4.2.0-rev1.cabal 4520 BLAKE2B fa09b82c6df33e80381957593f9e4c9206467f9b81ed4dcca73f7924ffee68ccc78600875ca46709582cb231aebff54fa1328fbdee1c0b8613c0d12726f3fc1f SHA512 a244e2e323faa8e36865b52aafbf3f8a792d1051379b11fc5be5f4257c64d5a6c52e4bdbf3a24790f23de707f13ef645ac13222cbc05b5f1e77e4c05564d9298 +DIST hashable-1.4.2.0.tar.gz 25094 BLAKE2B c398381bd1555b4c3d91656391ac492b036daa2f67cc501af8734d46a891e55028f0e7af4cede1d4ebd57863a2ceb10493ec822a01d29bb0edf07c8dc574e199 SHA512 6e44177b6c00d4b385696348a8f66e6158beeb224aa85726141bc4d58c5e3094dab35dd68ae4ef61845ccb3ffd8836547d988d61e9b39176782b567189381140 diff --git a/dev-haskell/hashable/hashable-1.4.2.0-r2.ebuild b/dev-haskell/hashable/hashable-1.4.2.0-r2.ebuild new file mode 100644 index 000000000000..4c505a202cd9 --- /dev/null +++ b/dev-haskell/hashable/hashable-1.4.2.0-r2.ebuild @@ -0,0 +1,45 @@ +# 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: sse41:cpu_flags_x86_sse4_1,sse2:cpu_flags_x86_sse2,+integer-gmp,+random-initial-seed + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A class for types that can be converted to a hash value" +HOMEPAGE="https://github.com/haskell-unordered-containers/hashable" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="random-initial-seed" + +RESTRICT=test # fails 1 test consistently on ghc-9.0.2 + +RDEPEND=" + >=dev-haskell/base-orphans-0.8.6:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] + >=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hunit + >=dev-haskell/quickcheck-2.4.0.1 + >=dev-haskell/random-1.0 <dev-haskell/random-1.3 + >=dev-haskell/test-framework-0.3.3 + dev-haskell/test-framework-hunit + >=dev-haskell/test-framework-quickcheck2-0.2.9 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=integer-gmp \ + $(cabal_flag random-initial-seed random-initial-seed) +} diff --git a/dev-haskell/hashable/metadata.xml b/dev-haskell/hashable/metadata.xml index 5be219a30b88..60a3f5314947 100644 --- a/dev-haskell/hashable/metadata.xml +++ b/dev-haskell/hashable/metadata.xml @@ -12,14 +12,8 @@ can affect legitimate use cases). </flag> </use> - <longdescription> - This package defines a class, 'Hashable', for types that - can be converted to a hash value. This class - exists for the benefit of hashing-based data - structures. The package provides instances for - basic types and a way to combine hash values. - </longdescription> <upstream> - <remote-id type="github">tibbe/hashable</remote-id> + <remote-id type="hackage">hashable</remote-id> + <remote-id type="github">haskell-unordered-containers/hashable</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/hashtables/Manifest b/dev-haskell/hashtables/Manifest new file mode 100644 index 000000000000..0a4264f7732a --- /dev/null +++ b/dev-haskell/hashtables/Manifest @@ -0,0 +1 @@ +DIST hashtables-1.3.1.tar.gz 58697 BLAKE2B d543987f667553b0739b414600190127840cb656d1509cb2541274bed00c298d176ff8ae059f79cc1dbf9201f1e76697103c9620a6208e9a9bf744cafea379d5 SHA512 b6430e092cfa9cde3dbea34cd9e2a10869c41e40e88f79e28aa6aabfdcd359dd74fb87020f8b9e004b817a6e9a8825335fcc91c2b88f7eb93b25758c71c77833 diff --git a/dev-haskell/hashtables/hashtables-1.3.1.ebuild b/dev-haskell/hashtables/hashtables-1.3.1.ebuild new file mode 100644 index 000000000000..13d8df830c14 --- /dev/null +++ b/dev-haskell/hashtables/hashtables-1.3.1.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.4.0.9999 +#hackport: flags: sse42:cpu_flags_x86_sse4_2,+unsafe-tricks,-portable + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Mutable hash tables in the ST monad" +HOMEPAGE="https://github.com/gregorycollins/hashtables" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="bounds-checking cpu_flags_x86_sse4_2 debug detailed-profiling" + +RDEPEND=" + =dev-haskell/hashable-1.4*:=[profile?] + dev-haskell/primitive:=[profile?] + >=dev-haskell/vector-0.7:=[profile?] <dev-haskell/vector-0.14 + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hunit-1.2 <dev-haskell/hunit-2 + >=dev-haskell/mwc-random-0.8 <dev-haskell/mwc-random-0.16 + >=dev-haskell/quickcheck-2.3.0.2 + >=dev-haskell/test-framework-0.3.1 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2.6 <dev-haskell/test-framework-hunit-3 + >=dev-haskell/test-framework-quickcheck2-0.2.6 <dev-haskell/test-framework-quickcheck2-0.4 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bounds-checking bounds-checking) \ + $(cabal_flag debug debug) \ + $(cabal_flag detailed-profiling detailed-profiling) \ + --flag=-portable \ + $(cabal_flag cpu_flags_x86_sse4_2 sse42) \ + --flag=unsafe-tricks +} diff --git a/dev-haskell/hashtables/metadata.xml b/dev-haskell/hashtables/metadata.xml new file mode 100644 index 000000000000..0cf72ece23fa --- /dev/null +++ b/dev-haskell/hashtables/metadata.xml @@ -0,0 +1,16 @@ +<?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="bounds-checking">if on, use bounds-checking array accesses</flag> + <flag name="detailed-profiling">add detailed profiling information to profiled build-depends</flag> + </use> + <upstream> + <remote-id type="hackage">hashtables</remote-id> + <remote-id type="github">gregorycollins/hashtables</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/haskeline/Manifest b/dev-haskell/haskeline/Manifest index ce4e21193edd..314ae7a6e71a 100644 --- a/dev-haskell/haskeline/Manifest +++ b/dev-haskell/haskeline/Manifest @@ -1 +1,2 @@ +DIST haskeline-0.8.2-rev3.cabal 6005 BLAKE2B 33c5f34d92060bef118fd9685cfe26384a1494e1bfe9eff0ed397fcbb00908a19a070d1c3502dd7bcf538f85ffcc56b986170453c3b59a877584bcf9bfd9e629 SHA512 86461b6b5398c42fd4776c60854b0d251a7762b21ef0a65978182b2f4411400352a55773eaa2fecb7aa1fc309554c8d50ff9bf01254c22352a3d384cde92d4c5 DIST haskeline-0.8.2.tar.gz 72759 BLAKE2B 389908d07775bd150801c7423f3cdc860e1330c0f13cd754374870b4aea19d5bd01f761aec7aa0f2effe87a80c25dc8e7f4390c095627c4d25ed2976de855a63 SHA512 5e8dccceb2230340a7f07f2e0926a938b52106d8a1638be6c1a031802ecbdf12cb42246096518ac12614d5d48479666a44ad33e5e32ab0ac2043b630a7b53746 diff --git a/dev-haskell/haskeline/haskeline-0.8.2-r1.ebuild b/dev-haskell/haskeline/haskeline-0.8.2-r1.ebuild new file mode 100644 index 000000000000..e3c2e948c9c5 --- /dev/null +++ b/dev-haskell/haskeline/haskeline-0.8.2-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 +#hackport: flags: -examples + +CABAL_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal + +DESCRIPTION="A command-line interface for user input, written in Haskell" +HOMEPAGE="https://github.com/judah/haskeline" + +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" +IUSE="+terminfo" + +RESTRICT=test # test requires example executable which does not work correctly + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-examples \ + $(cabal_flag terminfo terminfo) +} + +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7 9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5" diff --git a/dev-haskell/haskeline/haskeline-0.8.2.ebuild b/dev-haskell/haskeline/haskeline-0.8.2.ebuild deleted file mode 100644 index 1e3a37f5a13e..000000000000 --- a/dev-haskell/haskeline/haskeline-0.8.2.ebuild +++ /dev/null @@ -1,40 +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: -examples - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="A command-line interface for user input, written in Haskell" -HOMEPAGE="https://github.com/judah/haskeline" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -# keep in sync with ghc-8.10.6 -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="+terminfo" - -RESTRICT=test # test requires example executable which does not work correctly - -RDEPEND=">=dev-haskell/exceptions-0.10:=[profile?] <dev-haskell/exceptions-0.11:=[profile?] - >=dev-haskell/stm-2.4:=[profile?] <dev-haskell/stm-2.6:=[profile?] - >=dev-lang/ghc-8.4.3:= - terminfo? ( >=dev-haskell/terminfo-0.3.1.3:=[profile?] <dev-haskell/terminfo-0.5:=[profile?] ) -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 -" - -src_configure() { - haskell-cabal_src_configure \ - --flag=-examples \ - $(cabal_flag terminfo terminfo) -} - -# ghc-9.0.1 actually comes bundled with haskeline-0.8.1.0 -CABAL_CORE_LIB_GHC_PV="8.10.6 9.0.2" diff --git a/dev-haskell/haskeline/metadata.xml b/dev-haskell/haskeline/metadata.xml index 3e0dfe213e4f..0151f4371988 100644 --- a/dev-haskell/haskeline/metadata.xml +++ b/dev-haskell/haskeline/metadata.xml @@ -5,18 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Haskeline provides a user interface for line input in command-line - programs. This library is similar in purpose to readline, but since - it is written in Haskell it is (hopefully) more easily used in other - Haskell programs. - - Haskeline runs both on POSIX-compatible systems and on Windows. - </longdescription> <use> <flag name="terminfo">Use the terminfo package for POSIX consoles.</flag> </use> <upstream> + <remote-id type="hackage">haskeline</remote-id> <remote-id type="github">judah/haskeline</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/haskell-lexer/haskell-lexer-1.1.ebuild b/dev-haskell/haskell-lexer/haskell-lexer-1.1.ebuild index 57e0338791bb..05972606fe05 100644 --- a/dev-haskell/haskell-lexer/haskell-lexer-1.1.ebuild +++ b/dev-haskell/haskell-lexer/haskell-lexer-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/hdbc-postgresql/Manifest b/dev-haskell/hdbc-postgresql/Manifest index 94d3c2bb0ab1..45507d0c9efd 100644 --- a/dev-haskell/hdbc-postgresql/Manifest +++ b/dev-haskell/hdbc-postgresql/Manifest @@ -1 +1,2 @@ DIST HDBC-postgresql-2.5.0.0.tar.gz 24404 BLAKE2B 8fc7ca3b2fa6d379af4f9dd4b801921274a6c352b05e95b836f0208304e2e2a6cc18df765b432767cb6ef9fa3f99ee0488e095b82091c12838f6b3220f114453 SHA512 3a81708b119e156e08265b02f3b27ac764a854b8d79f7ed1bd1c191b897ead10d231854f0edaf1f27d76af18e4330c67b7ced0328830e013bab88ec47f668a4d +DIST hdbc-postgresql-2.5.0.1.tar.gz 24975 BLAKE2B 2d71b0624bbd5a0ca18bda5060a0fb2aed5528120109631660832ecea11101af2e3a9f545d86659ca67bda44e9eb86f5662158668bb72ddc068770416146ca67 SHA512 0f693fc7bf4f78805f097523203024801b445348441b9cbb5f22a6e55fc0e3409fc4f1c08c7a20299bb96f407286d994c890f8d05a52cb883755be5246bcd4c0 diff --git a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild index b8d720c5fb1b..d04a9048548b 100644 --- a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild +++ b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.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 #hackport: flags: +splitbase -buildtests @@ -37,12 +37,9 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_prepare() { - default - - cabal_chdeps \ - 'Cabal >= 1.8 && < 3.3' 'Cabal >= 1.8' -} +CABAL_CHDEPS=( + 'Cabal >= 1.8 && < 3.3' 'Cabal >= 1.8' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.1.ebuild b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.1.ebuild new file mode 100644 index 000000000000..b90c4758ef83 --- /dev/null +++ b/dev-haskell/hdbc-postgresql/hdbc-postgresql-2.5.0.1.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.2.0.9999 +#hackport: flags: -buildtests,+mintime15,+splitbase + +CABAL_PN="HDBC-postgresql" + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +# error: Connection.hsc:34:10: fatal error: pg_config.h: No such file or directory +RESTRICT="test" # Missing files + +DESCRIPTION="PostgreSQL driver for HDBC" +HOMEPAGE="https://github.com/hdbc/hdbc-postgresql" + +LICENSE="BSD" + +# For some reason, the slot was previously set to 2. Changing this could cause +# problems as haskell-updater tries to reinstall a version of the same slot. +# This should be changed at some point, but currently the version in ::gentoo +# is also set to 2. +SLOT="2/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-db/postgresql-7:* + dev-haskell/convertible:=[profile?] + >=dev-haskell/hdbc-2.2.0:2=[profile?] + dev-haskell/old-time:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-buildtests \ + --flag=mintime15 \ + --flag=splitbase +} diff --git a/dev-haskell/hdbc-postgresql/metadata.xml b/dev-haskell/hdbc-postgresql/metadata.xml index 86e6ee48b925..c5d81d92f84e 100644 --- a/dev-haskell/hdbc-postgresql/metadata.xml +++ b/dev-haskell/hdbc-postgresql/metadata.xml @@ -1,10 +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> - </maintainer> - <upstream> - <remote-id type="github">hdbc/hdbc-postgresql</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">HDBC-postgresql</remote-id> + <remote-id type="github">hdbc/hdbc-postgresql</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild index b2069c66fa96..40e59e8935ef 100644 --- a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild +++ b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-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 #hackport: flags: -buildtests diff --git a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1.ebuild b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1.ebuild new file mode 100644 index 000000000000..89738bb48fb2 --- /dev/null +++ b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1.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.6.6.9999 +#hackport: flags: -buildtests + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +MY_PN="HDBC-sqlite3" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Sqlite v3 driver for HDBC" +HOMEPAGE="https://github.com/hdbc/hdbc-sqlite3" +SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+splitbase" + +RDEPEND=">=dev-db/sqlite-3.0 + >=dev-haskell/hdbc-2.3.0.0:2=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-buildtests \ + $(cabal_flag splitbase splitbase) +} diff --git a/dev-haskell/hdbc/Manifest b/dev-haskell/hdbc/Manifest index b22461360e61..9a764c81c830 100644 --- a/dev-haskell/hdbc/Manifest +++ b/dev-haskell/hdbc/Manifest @@ -1 +1,2 @@ DIST HDBC-2.4.0.3.tar.gz 23489 BLAKE2B 23de627666bc4a03c5f3ec93607641c539c1652a4fa9b798dbfd1f9c09ebcffc562bda88e45a522e38753177d69ee0585c9536ab6b6c353747373b751ead7f2a SHA512 394a74e69ff854e657f66f1fe25ff4d2de33bf4410d560454ec7a2cd3e383586acc34eb694a7d1d70005871240417ee32d4163af9e33978921bfbcfcfe23fe43 +DIST hdbc-2.4.0.4.tar.gz 23756 BLAKE2B 5711f68c212194915895392139544c401981d46672f969fdc453deb01611826f536fefcc989edb1a723ccf9b385c6934d0f7102ded3d3fba17e494faad341a73 SHA512 16bdd35b8b2491ead171f4920133025ac6bc2cf47f8ea9c0ed684107ad576f757badeabc4e789f976948d96a47dafa638f907d9a534bce7bcd54b1d406fb001a diff --git a/dev-haskell/hdbc/files/hdbc-2.4.0.4-fix-tests.patch b/dev-haskell/hdbc/files/hdbc-2.4.0.4-fix-tests.patch new file mode 100644 index 000000000000..e2b94b459273 --- /dev/null +++ b/dev-haskell/hdbc/files/hdbc-2.4.0.4-fix-tests.patch @@ -0,0 +1,127 @@ +From cea6c0ebde0c3c7a0a0976fd9a0e745ccad9dec4 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Mon, 27 Feb 2023 07:54:10 -0700 +Subject: [PATCH] Fix tests + +Fix tests for modern 'time' and turn 'runtests' into a proper test +suite. + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + HDBC.cabal | 40 +++++++++++++++++----------------------- + testsrc/TestSqlValue.hs | 16 +++++++++++++++- + 2 files changed, 32 insertions(+), 24 deletions(-) + +diff --git a/HDBC.cabal b/HDBC.cabal +index e189f9a..15d0c15 100644 +--- a/HDBC.cabal ++++ b/HDBC.cabal +@@ -24,9 +24,6 @@ source-repository head + + flag splitBase + description: Choose the new smaller, split-up base package. +-flag buildtests +- description: Build the executable to run unit tests +- default: False + flag minTime15 + description: Use time 1.5 or higher. + default: True +@@ -59,28 +56,25 @@ library + FlexibleInstances, DeriveDataTypeable + Default-Language: Haskell2010 + +-Executable runtests +- if flag(buildtests) +- Buildable: True +- Build-Depends: HUnit, QuickCheck >= 2.0 ++Test-Suite runtests ++ Build-Depends: HUnit, QuickCheck >= 2.0 + +- if flag(splitBase) +- Build-Depends: base>=3 && <5, old-time, bytestring, containers +- if flag(minTime15) +- Build-Depends: time >= 1.5 && < 1.14 +- CPP-Options: -DMIN_TIME_15 +- else +- Build-Depends: time >= 1.2 && < 1.5, old-locale +- else +- Build-Depends: base<3 +- Build-Depends: mtl, convertible >= 1.1.0.0, utf8-string, text +- +- -- Hack for cabal-install weirdness. cabal-install forces base 3, +- -- though it works fine for Setup.lhs manually. Fix. +- if impl(ghc >= 6.9) +- build-depends: base >= 4 ++ if flag(splitBase) ++ Build-Depends: base>=3 && <5, old-time, bytestring, containers ++ if flag(minTime15) ++ Build-Depends: time >= 1.5 && < 1.14 ++ CPP-Options: -DMIN_TIME_15 ++ else ++ Build-Depends: time >= 1.2 && < 1.5, old-locale + else +- Buildable: False ++ Build-Depends: base<3 ++ Build-Depends: mtl, convertible >= 1.1.0.0, utf8-string, text ++ ++ -- Hack for cabal-install weirdness. cabal-install forces base 3, ++ -- though it works fine for Setup.lhs manually. Fix. ++ if impl(ghc >= 6.9) ++ build-depends: base >= 4 ++ Type: exitcode-stdio-1.0 + Main-Is: runtests.hs + Other-Modules: TestSqlValue + Hs-Source-Dirs: ., testsrc +diff --git a/testsrc/TestSqlValue.hs b/testsrc/TestSqlValue.hs +index 7d29453..e6161e8 100644 +--- a/testsrc/TestSqlValue.hs ++++ b/testsrc/TestSqlValue.hs +@@ -6,12 +6,18 @@ All rights reserved. + For license and copyright information, see the file COPYRIGHT + -} + ++{-# LANGUAGE CPP #-} ++ + module TestSqlValue where + import Test.QuickCheck hiding (Result) + import Test.QuickCheck.Property (Result) + import qualified Test.HUnit as HU + import Database.HDBC ++#if MIN_VERSION_time(0,10,0) ++import Data.Time.Format (parseTimeM) ++#else + import Data.Time.Format (parseTime) ++#endif + import Data.Time.LocalTime + import Database.HDBC.Locale (defaultTimeLocale, iso8601DateFormat, oldIso8601DateFormat) + import Data.Maybe +@@ -29,17 +35,25 @@ fromSql_Int x = + + testZonedTimeStr = "1989-08-01 15:33:01 -0500" + testZonedTime :: ZonedTime +-testZonedTime = fromJust $ parseTime defaultTimeLocale (iso8601DateFormat (Just "%T %z")) ++testZonedTime = fromJust $ parseTimeM False defaultTimeLocale (iso8601DateFormat (Just "%T %z")) + testZonedTimeStr + + testZonedTimeFracStr = "1989-08-01 15:33:01.536 -0500" + testZonedTimeFrac :: ZonedTime ++#if MIN_VERSION_time(0,10,0) ++testZonedTimeFrac = fromJust $ parseTimeM False defaultTimeLocale (iso8601DateFormat (Just "%T%Q %z")) ++#else + testZonedTimeFrac = fromJust $ parseTime defaultTimeLocale (iso8601DateFormat (Just "%T%Q %z")) ++#endif + testZonedTimeFracStr + + testZonedTimeTwoDigitYearStr = "89-08-01 15:33:01 -0500" + testZonedTimeTwoDigitYear :: ZonedTime ++#if MIN_VERSION_time(0,10,0) ++testZonedTimeTwoDigitYear = fromJust $ parseTimeM False defaultTimeLocale (oldIso8601DateFormat (Just "%T %z")) ++#else + testZonedTimeTwoDigitYear = fromJust $ parseTime defaultTimeLocale (oldIso8601DateFormat (Just "%T %z")) ++#endif + testZonedTimeTwoDigitYearStr + + ztparsenf = +-- +2.39.2 + diff --git a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild b/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild index ed0a10f5648d..16d3945d0c86 100644 --- a/dev-haskell/hdbc/hdbc-2.4.0.3.ebuild +++ b/dev-haskell/hdbc/hdbc-2.4.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.1.9999 #hackport: flags: buildtests:test diff --git a/dev-haskell/hdbc/hdbc-2.4.0.4.ebuild b/dev-haskell/hdbc/hdbc-2.4.0.4.ebuild new file mode 100644 index 000000000000..159e1a2ddf5a --- /dev/null +++ b/dev-haskell/hdbc/hdbc-2.4.0.4.ebuild @@ -0,0 +1,43 @@ +# 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: +minTime15,+splitBase + +CABAL_PN="HDBC" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell Database Connectivity" +HOMEPAGE="https://github.com/hdbc/hdbc" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-2.4.0.4-fix-tests.patch" +) + +RDEPEND=" + >=dev-haskell/convertible-1.1.0.0:=[profile?] + dev-haskell/old-time:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hunit + >=dev-haskell/quickcheck-2.0 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=minTime15 \ + --flag=splitBase +} diff --git a/dev-haskell/hdbc/metadata.xml b/dev-haskell/hdbc/metadata.xml index 5e241a22ffbf..4c4bed34630e 100644 --- a/dev-haskell/hdbc/metadata.xml +++ b/dev-haskell/hdbc/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - HDBC provides an abstraction layer between Haskell programs and SQL - relational databases. This lets you write database code once, in - Haskell, and have it work with any number of backend SQL databases - (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) - </longdescription> <upstream> + <remote-id type="hackage">HDBC</remote-id> <remote-id type="github">hdbc/hdbc</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/hedgehog/Manifest b/dev-haskell/hedgehog/Manifest index ba5add1b1806..6fc30c7f145f 100644 --- a/dev-haskell/hedgehog/Manifest +++ b/dev-haskell/hedgehog/Manifest @@ -1,2 +1,3 @@ DIST hedgehog-1.0.5.cabal 4533 BLAKE2B bca8b965bc8e6d78c0eb72ff1ad555719cc260a8744d6e52dbad8b5f6dc61cb4dcc156c8bed04e0a5eb67bfeceaf0ad23acc1c9ac2332f3d5d2ade1520e130fd SHA512 250275ecf38fb0127350539a476cf84a2db8986ef782e0be3cd321f117a003e67c5454ee7ec89a05fadad872bb6dbc4df44b8bf9a661dfb41bae10bbd24fdff2 DIST hedgehog-1.0.5.tar.gz 69389 BLAKE2B c3349fba40b43fbc8079fad9e1725db49bb73b2fb2c4d45fb397ec03ef9b003a49ce1a36465d7b989109b3cafec72200d2784a99ecee9e33f64534c97f8c78ca SHA512 03a1bd64451ce90ce7bac67e9f558a97b33cb2f7eeec7885c76558f34018eb794f82344563c6b511094e9cf610a6c0f4c0a229455e57df8729fc093ec212dd98 +DIST hedgehog-1.4.tar.gz 77762 BLAKE2B 44b8cc3db1f9cb2b833fa71cbcdb9398456a82a66682985be304bcae0f8def5e1f2587abbd27e708fc15d38117e237fef797014294491272503ef018b566acf6 SHA512 2c91d0bab1f06996ea68e2823d7e2105da616329ba3bb967b230fe018e113ee40a40996a60641084c8f5390743fc002a36670620cfa7068ff594bdd28e4b1a9a diff --git a/dev-haskell/hedgehog/hedgehog-1.4.ebuild b/dev-haskell/hedgehog/hedgehog-1.4.ebuild new file mode 100644 index 000000000000..bc16f40c282f --- /dev/null +++ b/dev-haskell/hedgehog/hedgehog-1.4.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Release with confidence" +HOMEPAGE="https://hedgehog.qa" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/ansi-terminal-0.6:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + >=dev-haskell/async-2.0:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/barbies-1.0:=[profile?] <dev-haskell/barbies-2.1:=[profile?] + >=dev-haskell/concurrent-output-1.7:=[profile?] <dev-haskell/concurrent-output-1.11:=[profile?] + >=dev-haskell/erf-2.0:=[profile?] <dev-haskell/erf-2.1:=[profile?] + >=dev-haskell/lifted-async-0.7:=[profile?] <dev-haskell/lifted-async-0.11:=[profile?] + >=dev-haskell/mmorph-1.0:=[profile?] <dev-haskell/mmorph-1.3:=[profile?] + >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] + >=dev-haskell/pretty-show-1.6:=[profile?] <dev-haskell/pretty-show-1.11:=[profile?] + >=dev-haskell/primitive-0.6:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + >=dev-haskell/safe-exceptions-0.1:=[profile?] <dev-haskell/safe-exceptions-0.2:=[profile?] + >=dev-haskell/text-1.1:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/transformers-base-0.4.5.1:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-haskell/wl-pprint-annotated-0.0:=[profile?] <dev-haskell/wl-pprint-annotated-0.2:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/hedgehog/metadata.xml b/dev-haskell/hedgehog/metadata.xml index 7ca4c2d1397c..a1012330d499 100644 --- a/dev-haskell/hedgehog/metadata.xml +++ b/dev-haskell/hedgehog/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Hedgehog is a modern property-based testing system, in the spirit of - QuickCheck. Hedgehog uses integrated shrinking, so shrinks obey the - invariants of generated values by construction. - - To get started quickly, see the examples: - <https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example> - </longdescription> + <upstream> + <remote-id type="hackage">hedgehog</remote-id> + <remote-id type="github">hedgehogqa/haskell-hedgehog</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hinotify/Manifest b/dev-haskell/hinotify/Manifest index af641d63a29d..95a2682af8f0 100644 --- a/dev-haskell/hinotify/Manifest +++ b/dev-haskell/hinotify/Manifest @@ -1 +1,2 @@ DIST hinotify-0.3.10.tar.gz 9193 BLAKE2B 877f98091412732656913f7af9e29e34088d240ac88214afd237e2994730f119a80db3960f27ad3a024026dcd8bb232853412aa314f416555e27886f87fda64a SHA512 d22f40bb055e14fd4be6669122a11b36fd7c5a989489d1b8c1e4117672b9f1700197a827f23242c91504b8236c349a4494adf724827001a77a1abdc11a9d6b8b +DIST hinotify-0.4.1.tar.gz 9173 BLAKE2B c9baafdb64167f1d4ceb82bb072ee56fd0d9d893b321a8f50c3f125ee2756dddbe7372dbf1eeb8f44ce98e07adaf47e531b07ee0df7332fa141d825d11e4e12d SHA512 2f4627a3604ac6ec5d745ba6f4fd11e39a094ad54a5ab4d5040fe6c7c2a8823e42be575b9be95dc6848db99b421bac70798f8eb5f9ba6841f06f6156afe8797b diff --git a/dev-haskell/hinotify/hinotify-0.4.1.ebuild b/dev-haskell/hinotify/hinotify-0.4.1.ebuild new file mode 100644 index 000000000000..60b1686af667 --- /dev/null +++ b/dev-haskell/hinotify/hinotify-0.4.1.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell binding to inotify" +HOMEPAGE="https://github.com/kolmodin/hinotify" +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/async-2:=[profile?] <dev-haskell/async-3:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 +" diff --git a/dev-haskell/hinotify/metadata.xml b/dev-haskell/hinotify/metadata.xml index e9a57e77687b..937381521944 100644 --- a/dev-haskell/hinotify/metadata.xml +++ b/dev-haskell/hinotify/metadata.xml @@ -1,10 +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> - </maintainer> - <upstream> - <remote-id type="github">kolmodin/hinotify</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> </pkgmetadata> diff --git a/dev-haskell/hjsmin/Manifest b/dev-haskell/hjsmin/Manifest index feb053f4b3dd..0f0f75ea03d4 100644 --- a/dev-haskell/hjsmin/Manifest +++ b/dev-haskell/hjsmin/Manifest @@ -1 +1,2 @@ DIST hjsmin-0.2.0.4.tar.gz 5233 BLAKE2B 839cc956a7dad0b958a12f9e9ca45dfeb2c64ef35f6e746747a01d1bba771edc229b9822c9274a67c1fa483da64f94e500644b77b9d90283e1feb56975d0badb SHA512 11534fd3f351cb1b73e9f166ee42737eb31c10f8f49b2b8d593f9a5a07d08d6b070f71204ec41257d02f38b0dc1172f48bd95d59b553b9f602b90018a795b07c +DIST hjsmin-0.2.1.tar.gz 5197 BLAKE2B 88bca64c36728370f11635499d0ff240db43a495e8c2871bb706096995a0ceeb4c0553dd9a95cffde4b97c22a9f63704fc65a12c52a30dde211b056abdb6ca29 SHA512 ccc7ac765c99986e15e35f7e7ceef96b4551dbcccef2a62ad8625a8e4ab51edd0afe87368d6066062dd3749e827dd84af1a1ba1d272934481a77763f1d4d793e diff --git a/dev-haskell/hjsmin/files/hjsmin-0.2.0.4-fix-tests.patch b/dev-haskell/hjsmin/files/hjsmin-0.2.0.4-fix-tests.patch new file mode 100644 index 000000000000..ce994c7588f1 --- /dev/null +++ b/dev-haskell/hjsmin/files/hjsmin-0.2.0.4-fix-tests.patch @@ -0,0 +1,29 @@ +From 9605b913e6aed7fa3d40aa9925975b506d3a0eb0 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Wed, 1 Mar 2023 14:13:58 -0700 +Subject: [PATCH] Fix tests + +Tests assume a 'dist-newstyle' directory (e.g. cabal-v2) when we +actually have a 'dist' directory. + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + test/test-cli.hs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test-cli.hs b/test/test-cli.hs +index a97e1b7..7691587 100644 +--- a/test/test-cli.hs ++++ b/test/test-cli.hs +@@ -18,7 +18,7 @@ main = do + IO.hSetBuffering IO.stderr LineBuffering + + cwd <- getCurrentDirectory +- topdir <- canonicalizePath $ cwd </> "dist-newstyle" ++ topdir <- canonicalizePath $ cwd </> "dist" + + -- Set an environment variable for all the exectuables we want to test. + setExecutableEnvVar "HJSMIN" topdir "hjsmin" +-- +2.39.2 + diff --git a/dev-haskell/hjsmin/hjsmin-0.2.0.4.ebuild b/dev-haskell/hjsmin/hjsmin-0.2.0.4.ebuild index 5bfc031e5139..82aa7e1774c9 100644 --- a/dev-haskell/hjsmin/hjsmin-0.2.0.4.ebuild +++ b/dev-haskell/hjsmin/hjsmin-0.2.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.1 diff --git a/dev-haskell/hjsmin/hjsmin-0.2.1.ebuild b/dev-haskell/hjsmin/hjsmin-0.2.1.ebuild new file mode 100644 index 000000000000..63c56bcf4700 --- /dev/null +++ b/dev-haskell/hjsmin/hjsmin-0.2.1.ebuild @@ -0,0 +1,45 @@ +# 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="Haskell implementation of a javascript minifier" +HOMEPAGE="https://github.com/erikd/hjsmin" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.0.4-fix-tests.patch" +) + +CABAL_CHDEPS=( + 'text >= 2' 'text >= 1.2.5.0' +) + +RDEPEND=">=dev-haskell/language-javascript-0.6:=[profile?] <dev-haskell/language-javascript-0.8:=[profile?] + >=dev-haskell/optparse-applicative-0.7:=[profile?] + >=dev-haskell/text-1.2.5.0:=[profile?] + >=dev-lang/ghc-9.2.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.6.3.0 + test? ( dev-haskell/extra ) +" + +src_prepare() { + # Tests need exec permissions on these files + local files=( + "test/cli/minimal-input/run" + "test/cli/empty-input/run" + ) + chmod -v +x "${files[@]}" + + haskell-cabal_src_prepare +} diff --git a/dev-haskell/hjsmin/metadata.xml b/dev-haskell/hjsmin/metadata.xml index f9a7be27c0e1..3ae810a2ce4b 100644 --- a/dev-haskell/hjsmin/metadata.xml +++ b/dev-haskell/hjsmin/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Reduces size of javascript files by stripping out extraneous whitespace and - other syntactic elements, without changing the semantics. - </longdescription> <upstream> - <remote-id type="github">alanz/hjsmin</remote-id> + <remote-id type="hackage">hjsmin</remote-id> + <remote-id type="github">erikd/hjsmin</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/hostname/hostname-1.0-r1.ebuild b/dev-haskell/hostname/hostname-1.0-r1.ebuild index 394bd0882ea8..382f6315397e 100644 --- a/dev-haskell/hostname/hostname-1.0-r1.ebuild +++ b/dev-haskell/hostname/hostname-1.0-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.4.9999 diff --git a/dev-haskell/hourglass/files/hourglass-0.2.12-time-1_10-fix.patch b/dev-haskell/hourglass/files/hourglass-0.2.12-time-1_10-fix.patch new file mode 100644 index 000000000000..f9a62ed78904 --- /dev/null +++ b/dev-haskell/hourglass/files/hourglass-0.2.12-time-1_10-fix.patch @@ -0,0 +1,30 @@ +From 803fc360e3aa7a772ee7fd5bd7a81c8a21f99c38 Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Mon, 27 Feb 2023 13:44:09 -0700 +Subject: [PATCH] Fix tests for >=time-1.10 + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + tests/Tests.hs | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/tests/Tests.hs b/tests/Tests.hs +index d400032..309eb84 100644 +--- a/tests/Tests.hs ++++ b/tests/Tests.hs +@@ -210,7 +210,12 @@ tests knowns = testGroup "hourglass" + [ testProperty "iso8601 date" $ \(e :: Elapsed) -> + let fmt = calTimeFormatTimeISO8601 (elapsedToPosixTime e) + ed1 = localTimeParseE ISO8601_Date fmt ++#if MIN_VERSION_time(0,10,0) ++ md2 = T.parseTimeM False T.defaultTimeLocale fmt "%F" ++#else + md2 = T.parseTime T.defaultTimeLocale fmt "%F" ++#endif ++ + in case (ed1,md2) of + (Left err, Nothing) -> error ("both cannot parse: " ++ show fmt ++ " hourglass-err=" ++ show err) + (Left err, Just _) -> error ("error parsing string: " ++ show err) +-- +2.39.2 + diff --git a/dev-haskell/hourglass/hourglass-0.2.12-r1.ebuild b/dev-haskell/hourglass/hourglass-0.2.12-r1.ebuild new file mode 100644 index 000000000000..c75f291fc8b9 --- /dev/null +++ b/dev-haskell/hourglass/hourglass-0.2.12-r1.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.1.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="simple performant time related library" +HOMEPAGE="https://github.com/vincenthz/hs-hourglass" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.12-time-1_10-fix.patch" +) + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/old-locale + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + ) +" diff --git a/dev-haskell/hourglass/hourglass-0.2.12.ebuild b/dev-haskell/hourglass/hourglass-0.2.12.ebuild index 3ae0cf441ef3..52cc3dc9e0ac 100644 --- a/dev-haskell/hourglass/hourglass-0.2.12.ebuild +++ b/dev-haskell/hourglass/hourglass-0.2.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.9999 diff --git a/dev-haskell/hourglass/metadata.xml b/dev-haskell/hourglass/metadata.xml index fe5e8c16ea92..0a81fcfb89e9 100644 --- a/dev-haskell/hourglass/metadata.xml +++ b/dev-haskell/hourglass/metadata.xml @@ -5,15 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Simple time library focusing on simple but powerful and performant API - - The backbone of the library are the Timeable and Time type classes. - - Each Timeable instances can be converted to type that has a Time instances, - and thus are different representations of current time. - </longdescription> <upstream> + <remote-id type="hackage">hourglass</remote-id> <remote-id type="github">vincenthz/hs-hourglass</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/hscolour/Manifest b/dev-haskell/hscolour/Manifest index 1bc3dc7944b6..756c65f19d51 100644 --- a/dev-haskell/hscolour/Manifest +++ b/dev-haskell/hscolour/Manifest @@ -1 +1,2 @@ DIST hscolour-1.24.4.tar.gz 28729 BLAKE2B fdda7f784e35ff165981de53df5535b3294f5dbd5d1f484bcd34a20bfde014ddc9a916f20fae639420eca8cd4577f683d0e799459e846aabcc7cb4290b7035d2 SHA512 39b631c0a8346beff1c2e02ca8e72c1b1e3f7dafcedad7dc9de274e6750501de2bc553fe72a7d3459d4f9797e916f27e28ff96f705c2c0f9d3e0eec0ac6182c7 +DIST hscolour-1.25.tar.gz 28695 BLAKE2B c413533a6adac73a94d837aac9d1294e339e138a972e31bc3feb47b1ef3c1f96d7d09a46f72e336a112c91986b6a783c59f9066ec8454355780a52615f77f338 SHA512 00a9b679ae0fa13f3ad873991a1d1af953fb84cc2127387a014eaa8697265dc672c3c286b24a75e07c47b6c96a829aede6ef0e0d5f5939117821654319dc6c6c diff --git a/dev-haskell/hscolour/hscolour-1.24.4.ebuild b/dev-haskell/hscolour/hscolour-1.24.4.ebuild index 6aee9d17536a..cb3a73c25842 100644 --- a/dev-haskell/hscolour/hscolour-1.24.4.ebuild +++ b/dev-haskell/hscolour/hscolour-1.24.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.5.5.9999 diff --git a/dev-haskell/hscolour/hscolour-1.25.ebuild b/dev-haskell/hscolour/hscolour-1.25.ebuild new file mode 100644 index 000000000000..7ab96d0275bd --- /dev/null +++ b/dev-haskell/hscolour/hscolour-1.25.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 + +CABAL_FEATURES="lib profile haddock hoogle" +# avoid Cabal dependency as it's a dependency of most packages +# including cabal depends. +CABAL_FEATURES+=" nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Colourise Haskell code" +HOMEPAGE="https://code.haskell.org/~malcolm/hscolour/" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} +" + +src_configure() { + # llvm-general-pure passes rtsopts + haskell-cabal_src_configure --ghc-options=-rtsopts +} + +src_install() { + cabal_src_install + if use doc; then + docinto html + dodoc hscolour.css + fi +} diff --git a/dev-haskell/hscolour/metadata.xml b/dev-haskell/hscolour/metadata.xml index 9aae77a1da19..1194f4d00e90 100644 --- a/dev-haskell/hscolour/metadata.xml +++ b/dev-haskell/hscolour/metadata.xml @@ -5,15 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - hscolour is a small Haskell script to colourise Haskell code. It currently - has six output formats: - ANSI terminal codes (optionally XTerm-256colour codes), - HTML 3.2 with <font> tags, - HTML 4.01 with CSS, - HTML 4.01 with CSS and mouseover annotations, - XHTML 1.0 with inline CSS styling, - LaTeX, - and mIRC chat codes. - </longdescription> + <upstream> + <remote-id type="hackage">hscolour</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslogger/Manifest b/dev-haskell/hslogger/Manifest index 74027e0de418..14d8586dd9eb 100644 --- a/dev-haskell/hslogger/Manifest +++ b/dev-haskell/hslogger/Manifest @@ -1 +1,2 @@ +DIST hslogger-1.3.1.0-rev7.cabal 2978 BLAKE2B 6886f8313f486b6dfe978ea2e6e12567e85c58e7eb74fc0a221136fc31dbe3b923d5fbb6eb617e95b71b354a367343d556be9db4713d48139cc658ca76f9277e SHA512 22de818ce0c2c9ecdff3a2415ff98b7b3f49dec5b8d16a613357f69ef5d7468441ef2f57428f79a9189f96558a0c27610994aceb6998417f6c62a4256290aa3e DIST hslogger-1.3.1.0.tar.gz 37468 BLAKE2B 24bb750c356f071ee35cc84e01b2483f612b6e7403fe8fe60b8af148dba43107660a36a0e30305666fb76af1939ff00f6817dff98720ab7eef321192e6e87976 SHA512 a08e7c85efe2b3f97e87b54db993f78ac31380f9b6f8d926517854771f482b2c64c358ddd12a449a413e5af0f374c034161b6f772148835b50551dc2cdbfa15a diff --git a/dev-haskell/hslogger/hslogger-1.3.1.0-r2.ebuild b/dev-haskell/hslogger/hslogger-1.3.1.0-r2.ebuild index c655ca86e914..abf50952cace 100644 --- a/dev-haskell/hslogger/hslogger-1.3.1.0-r2.ebuild +++ b/dev-haskell/hslogger/hslogger-1.3.1.0-r2.ebuild @@ -1,39 +1,39 @@ # 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.9999 +# ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: -test,-buildtests,+network--gt-3_0_0 +CABAL_HACKAGE_REVISION=7 + CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Versatile logging framework" -HOMEPAGE="https://github.com/hvr/hslogger/wiki" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" +HOMEPAGE="https://github.com/haskell-hvr/hslogger/wiki" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" -RDEPEND=">=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] - >=dev-lang/ghc-7.4.1:= - >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2:=[profile?] - >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?] +RDEPEND=" + >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2 + >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9 + =dev-haskell/old-locale-1.0*:=[profile?] + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.12 - test? ( >=dev-haskell/hunit-1.3 <dev-haskell/hunit-1.7 ) + >=dev-haskell/cabal-3.0.0.0 + test? ( + || ( + ( =dev-haskell/hunit-1.3* ) + ( =dev-haskell/hunit-1.6* ) + ) + ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.3 && < 4.14' 'base >= 4.3' -} - src_configure() { haskell-cabal_src_configure \ --flag=-buildtests \ diff --git a/dev-haskell/hslogger/metadata.xml b/dev-haskell/hslogger/metadata.xml index 8aed04d90153..13cea5a1ec27 100644 --- a/dev-haskell/hslogger/metadata.xml +++ b/dev-haskell/hslogger/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - hslogger is a logging framework for Haskell, roughly similar to - Python's logging module. - - hslogger lets each log message have a priority and source be associated - with it. The programmer can then define global handlers that route - or filter messages based on the priority and source. hslogger also - has a syslog handler built in. - </longdescription> + <upstream> + <remote-id type="hackage">hslogger</remote-id> + <remote-id type="github">haskell-hvr/hslogger</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-aeson/Manifest b/dev-haskell/hslua-aeson/Manifest index ec4cb2702ce0..3ee1acd921ac 100644 --- a/dev-haskell/hslua-aeson/Manifest +++ b/dev-haskell/hslua-aeson/Manifest @@ -1 +1,2 @@ DIST hslua-aeson-2.2.0.tar.gz 5881 BLAKE2B 00d630f676c32dd55bf66d43c01075412f453d76731d96baf1c894fff7fb122795039e46e4a8180ef1335c3a42b1a7a2e3a17766b697dfea7a5dcd6df2cd38ee SHA512 c11a94d29ba89ebcc403f41935a5338a7e77893a659beb7ce6c34644baf8d0ed03bb5651c99e873a240047673e20e3ec759b190b7419de4706796c014517d66e +DIST hslua-aeson-2.3.0.1.tar.gz 7182 BLAKE2B 652ea54204a2e6270db1d6b371abcca260f0b8314a4ed5cf4bfb6f63a67c7a9dcc5d0db8b076826c13cba2fe1be3c0b41c37a00a6f0459189fea56e7c7e41fdc SHA512 0934ba51a554f8f889340d6f28739028c07ac26e935bd68cea85d6221b0092531f41a0c28bb99d47c0725b4947dcf4742c25f42fe3cc4ef7553158f92a7e06a5 diff --git a/dev-haskell/hslua-aeson/hslua-aeson-2.3.0.1.ebuild b/dev-haskell/hslua-aeson/hslua-aeson-2.3.0.1.ebuild new file mode 100644 index 000000000000..659aa951d90a --- /dev/null +++ b/dev-haskell/hslua-aeson/hslua-aeson-2.3.0.1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Allow aeson data types to be used with Lua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.5:=[profile?] <dev-haskell/aeson-2.2:=[profile?] + >=dev-haskell/hashable-1.2:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/hslua-core-2.0:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/quickcheck + dev-haskell/quickcheck-instances + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.10 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-aeson/metadata.xml b/dev-haskell/hslua-aeson/metadata.xml index 937381521944..88d90360b9fb 100644 --- a/dev-haskell/hslua-aeson/metadata.xml +++ b/dev-haskell/hslua-aeson/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-aeson</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-classes/Manifest b/dev-haskell/hslua-classes/Manifest index 467c230b176f..619f5a842fa4 100644 --- a/dev-haskell/hslua-classes/Manifest +++ b/dev-haskell/hslua-classes/Manifest @@ -1 +1,2 @@ DIST hslua-classes-2.2.0.tar.gz 11614 BLAKE2B 4fddbdd4c130562e961c627ae6a0201362036df846f18b03293d237a9b658157d8e607b5cf840ad793724dfde308e240c299a3633d185e75a40b9e9dbedf0852 SHA512 21d9da7fca86123cf1f6ac339b2453393bd97c052eb9b5ab75bf06a56fc0ff81593e30c88082aab5eb767816c479e975622b01f78e3df13ed476710d424f48c7 +DIST hslua-classes-2.3.0.tar.gz 11579 BLAKE2B b8b61a058b160060438f1d39f8024d98cdac934d7e2107ff71d8b9cea3a0945c6c8556a9c2ccd4a6c1e863a280be52a7a6454ecee58eedf34cbbc4f1717d4302 SHA512 07daa9b31bf4d3c8ec24bff67219cdcaf58ec56d45ac4c1b000aceccbbd90a79748f6786497c3a79e7c2670442859e1f31b200455cf2b26eb0dc4d699f9345ba diff --git a/dev-haskell/hslua-classes/hslua-classes-2.3.0.ebuild b/dev-haskell/hslua-classes/hslua-classes-2.3.0.ebuild new file mode 100644 index 000000000000..91609b23db75 --- /dev/null +++ b/dev-haskell/hslua-classes/hslua-classes-2.3.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type classes for HsLua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/lua-arbitrary-1.0 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hslua-1.0 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-classes/metadata.xml b/dev-haskell/hslua-classes/metadata.xml index 937381521944..b71394be1af6 100644 --- a/dev-haskell/hslua-classes/metadata.xml +++ b/dev-haskell/hslua-classes/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-classes</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-cli/Manifest b/dev-haskell/hslua-cli/Manifest new file mode 100644 index 000000000000..f3ccb8b9f597 --- /dev/null +++ b/dev-haskell/hslua-cli/Manifest @@ -0,0 +1 @@ +DIST hslua-cli-1.4.1.tar.gz 5856 BLAKE2B 80f949f9f4146bda9d391d9fe959b817c4cb79c5c75dc9bdee00548d36f14789b78fb7b7022bc9120e249de693cedf72e2acff7a85f3a2fe35d46c2a05b79f36 SHA512 799715a478bd3ee2f5b5c4aa1d5daa2126bacf7d4315855800ce5c4c189bcb340836af614fe22dabbb88f53d0fb509d7f71636ff079c8fce007d6d12032e1639 diff --git a/dev-haskell/hslua-cli/hslua-cli-1.4.1.ebuild b/dev-haskell/hslua-cli/hslua-cli-1.4.1.ebuild new file mode 100644 index 000000000000..605153581f9c --- /dev/null +++ b/dev-haskell/hslua-cli/hslua-cli-1.4.1.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Command-line interface for Lua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.2:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-repl-0.1:=[profile?] <dev-haskell/hslua-repl-0.2:=[profile?] + >=dev-haskell/lua-2.3:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/hslua-cli/metadata.xml b/dev-haskell/hslua-cli/metadata.xml new file mode 100644 index 000000000000..06ebc2e67d14 --- /dev/null +++ b/dev-haskell/hslua-cli/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="executable">Compile `hslua` standalone executable.</flag> + </use> + <upstream> + <remote-id type="hackage">hslua-cli</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hslua-core/Manifest b/dev-haskell/hslua-core/Manifest index 04fd7fc31e9f..9dffd7138958 100644 --- a/dev-haskell/hslua-core/Manifest +++ b/dev-haskell/hslua-core/Manifest @@ -1 +1,2 @@ DIST hslua-core-2.2.0.tar.gz 36808 BLAKE2B 02cbb94ea562fbaac9c2eb9445150f6f79a345ab15b2062aa7900d18c671ad0104a0ad3abe6603a38ddb40a9fa59cd13f4892d73c7dba4baff5727a9211fa503 SHA512 cb2f8b76b44432698624aac3d425be7a0c068bec1d41cd8a13b75854ed15fc614de5a0aee46c1092ef22b0e6b706a931188879d97354c01c37aa47a334baf5f3 +DIST hslua-core-2.3.1.tar.gz 39580 BLAKE2B db54e9ba24ae17762ce153af9db9e7838579264c90457df15f3dc39cf7942cb6c617dee9bf2c94cada5433fc85107ba7650c10a162c4ee06b40fd478c08ae60f SHA512 840ab7f7a17c34ec00c84b3b7ae80a9c0842ac117d61f938fb8900c0685a41d91006d154898b04e69eb9cd79d08e0e1d8f53e464e6038f08fe15b9570bbad947 diff --git a/dev-haskell/hslua-core/hslua-core-2.3.1.ebuild b/dev-haskell/hslua-core/hslua-core-2.3.1.ebuild new file mode 100644 index 000000000000..418a570aa0d6 --- /dev/null +++ b/dev-haskell/hslua-core/hslua-core-2.3.1.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Bindings to Lua, an embeddable scripting language" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/lua-2.3.1:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/lua-arbitrary-1.0 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-core/metadata.xml b/dev-haskell/hslua-core/metadata.xml index 937381521944..2b850d9e5612 100644 --- a/dev-haskell/hslua-core/metadata.xml +++ b/dev-haskell/hslua-core/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-core</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-list/Manifest b/dev-haskell/hslua-list/Manifest new file mode 100644 index 000000000000..e99a2da9c3d4 --- /dev/null +++ b/dev-haskell/hslua-list/Manifest @@ -0,0 +1 @@ +DIST hslua-list-1.1.1.tar.gz 8004 BLAKE2B 8936a36fe6d0dd173fd432e4bd38318ef86d020667f32f211c1204327a76b96ce60140e897c27049fac554b474a07bc0fbbfd6760147fdf18913fb9c63c900b1 SHA512 1b9cc115503239fda71e290e05a42cb0d475b88d59767f67e89775dc4a47ad63245b632e0facc21fb275b4a6098e09d402b0497d1107db01c63579d9a4f0f43a diff --git a/dev-haskell/hslua-list/hslua-list-1.1.1.ebuild b/dev-haskell/hslua-list/hslua-list-1.1.1.ebuild new file mode 100644 index 000000000000..025ec711d706 --- /dev/null +++ b/dev-haskell/hslua-list/hslua-list-1.1.1.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Opinionated, but extensible Lua list type" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.2:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-lua-1.0 ) +" diff --git a/dev-haskell/hslua-list/metadata.xml b/dev-haskell/hslua-list/metadata.xml new file mode 100644 index 000000000000..d45dfd379164 --- /dev/null +++ b/dev-haskell/hslua-list/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">hslua-list</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hslua-marshalling/Manifest b/dev-haskell/hslua-marshalling/Manifest index 63d27b41dbf1..d562173d702a 100644 --- a/dev-haskell/hslua-marshalling/Manifest +++ b/dev-haskell/hslua-marshalling/Manifest @@ -1 +1,2 @@ DIST hslua-marshalling-2.2.0.tar.gz 16488 BLAKE2B f5aa47ecb431c5ea2308e16f0e4568fe7ba979e4f08901fd85c1c4c7e516c9b1a59e42f58a93db6dc113646e4ab826c13ed0e669972ea8980aabe9ad41828244 SHA512 80436b67fa73a970bcbcf4b8684187ec81590030c0cd38b4feb28e9a719c32f2b0f3cd1288b03f19b130112037e47ccb9585015d7f806ce6dcfe3b12abb7bd51 +DIST hslua-marshalling-2.3.0.tar.gz 17214 BLAKE2B 08d4828bf1ac9dbefa48b1e04cdcacbdcbfc0e847a0de62f0fc327aa746121cdd33b4fac55fb5a83a5e84db5d5b22d9d89a04a7df37798ebed93c921a02d29fe SHA512 b5ebc33f4f4e5b5dd60de60a9bf73cf97b040674a0c0c5a0815f5dada18745061559abf7bfc1cfe5034d0f27ee967eadc9dc287c064d8ff593e3cedb01b771fd diff --git a/dev-haskell/hslua-marshalling/hslua-marshalling-2.3.0.ebuild b/dev-haskell/hslua-marshalling/hslua-marshalling-2.3.0.ebuild new file mode 100644 index 000000000000..b3ebed5a4d8a --- /dev/null +++ b/dev-haskell/hslua-marshalling/hslua-marshalling-2.3.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Marshalling of values between Haskell and Lua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/lua-arbitrary-1.0 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.11 + dev-haskell/tasty-hslua + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-marshalling/metadata.xml b/dev-haskell/hslua-marshalling/metadata.xml index 937381521944..0f7290f0f208 100644 --- a/dev-haskell/hslua-marshalling/metadata.xml +++ b/dev-haskell/hslua-marshalling/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-marshalling</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-doclayout/Manifest b/dev-haskell/hslua-module-doclayout/Manifest index 0580482e0dfd..c408f8b838b2 100644 --- a/dev-haskell/hslua-module-doclayout/Manifest +++ b/dev-haskell/hslua-module-doclayout/Manifest @@ -1 +1,2 @@ DIST hslua-module-doclayout-1.0.4.tar.gz 10184 BLAKE2B 232b48b77ade823c53f3f46db7e227506d7a175bb1393a84cfed1af799d2761ec0742a26a5746ef03c7bb7b81347f34b34de657b84868cbd07d119f47b39bf52 SHA512 2a72e3bf2ccc407ac3208e256216cff4d8b6c80f1378c859c2361e5d932f5e513283a234902221f295db3cdb73cadecd164e59cc7a06d493b3227372b218d0da +DIST hslua-module-doclayout-1.1.0.tar.gz 10294 BLAKE2B 63f1f8372d8e7a4175422bd67273800951b41f2e5c1cb6d653fcb2dcf4a148fdd3d9eff211061e14229936985c428d0318260323b334807f50a67db75fbb4fe3 SHA512 f9fd8120492b5c2a9d62140bb1e9fed586611b3cc994616732d6ff22975f44771969cae272a02b99608dc46b50e336f4e6c10f4c80862b9cb5b04446f9dfab4f diff --git a/dev-haskell/hslua-module-doclayout/hslua-module-doclayout-1.1.0.ebuild b/dev-haskell/hslua-module-doclayout/hslua-module-doclayout-1.1.0.ebuild new file mode 100644 index 000000000000..ed5a168aaa95 --- /dev/null +++ b/dev-haskell/hslua-module-doclayout/hslua-module-doclayout-1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module wrapping Text.DocLayout" +HOMEPAGE="https://github.com/hslua/hslua-module-doclayout" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/doclayout-0.2:=[profile?] <dev-haskell/doclayout-0.5:=[profile?] + >=dev-haskell/hslua-2.3:=[profile?] <dev-haskell/hslua-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[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-lua-1.1 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-doclayout/metadata.xml b/dev-haskell/hslua-module-doclayout/metadata.xml index 937381521944..567263939b8b 100644 --- a/dev-haskell/hslua-module-doclayout/metadata.xml +++ b/dev-haskell/hslua-module-doclayout/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-module-doclayout</remote-id> + <remote-id type="github">hslua/hslua-module-doclayout</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-path/Manifest b/dev-haskell/hslua-module-path/Manifest index a33b3fb45730..c4a40d1ce0d5 100644 --- a/dev-haskell/hslua-module-path/Manifest +++ b/dev-haskell/hslua-module-path/Manifest @@ -1 +1,2 @@ DIST hslua-module-path-1.0.2.tar.gz 7991 BLAKE2B 4cb4ce417cca440185099c003f83c7baf402fb90e00d044bae4b395465083f6f04102c40f06d4e20e581fb3ddf965bb90ef551087d3aeaa12806b43e1266a2ad SHA512 57387757b5adbc52f39d3a9d6eb2bc5f0d59ef054b88a4c61541a38bd07793635c7b54212ef4e720dc5d1604054242175fc28b332bd20480461eb274c8a23b76 +DIST hslua-module-path-1.1.0.tar.gz 8040 BLAKE2B d8f24d0c80e98986563a521bcaeadb0a1ccc55e81b7f7571ef2e2a1164bfeb8b568c6322fd0f6b496afd8fcda33705016155a5308a32c6564874586f58b8da2a SHA512 0cef760dc73fd1a84cb79a6efbbd1e17c677fd6bae86cb410d324d1a6fbb63c876c59508a2da0ac02e888faf4bc28dcad661e058c928d2e572fa4d9a4edbddc0 diff --git a/dev-haskell/hslua-module-path/hslua-module-path-1.1.0.ebuild b/dev-haskell/hslua-module-path/hslua-module-path-1.1.0.ebuild new file mode 100644 index 000000000000..66366c77d6bc --- /dev/null +++ b/dev-haskell/hslua-module-path/hslua-module-path-1.1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module to work with file paths" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[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-lua-1.0 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-path/metadata.xml b/dev-haskell/hslua-module-path/metadata.xml index 937381521944..54c3028e99ca 100644 --- a/dev-haskell/hslua-module-path/metadata.xml +++ b/dev-haskell/hslua-module-path/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-module-path</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-system/Manifest b/dev-haskell/hslua-module-system/Manifest index 09cd3bd7437f..bf2e979d5723 100644 --- a/dev-haskell/hslua-module-system/Manifest +++ b/dev-haskell/hslua-module-system/Manifest @@ -1 +1,2 @@ DIST hslua-module-system-1.0.2.tar.gz 8488 BLAKE2B 433f7aefcdcc3ad6ea04192718d0a8891d4a845e6e1585da7b15b98299574b6e53391b4b5e44dc2e8ca28a5c46486ea067d390df664ea237fe1675282a4b057a SHA512 921c5098f5f5ea4483ed787de68824cd316c5c202a7387bfdc23969f7b6fa30782cc946f34137d44870e921c2d9c7aebbf67ff3cfbf158585a42e2ba38ac5963 +DIST hslua-module-system-1.1.0.1.tar.gz 8930 BLAKE2B 51baa74a331185ed02435a51e8e91cd35bb55799d7db7571a3276f78b333f701b1ef7dc264a9ef12a05428427cfa89f299cc64d833a1fafacb94e6d91ee5917b SHA512 1406a59187a98c3947fc51cc76fb38db04beb15765db51ff3a2662c57a34c77df2f0e27844c825ff1aca6eff261cf42b7db9f7a87fbba4648434d6502bb36931 diff --git a/dev-haskell/hslua-module-system/hslua-module-system-1.1.0.1.ebuild b/dev-haskell/hslua-module-system/hslua-module-system-1.1.0.1.ebuild new file mode 100644 index 000000000000..1badffe3bfbc --- /dev/null +++ b/dev-haskell/hslua-module-system/hslua-module-system-1.1.0.1.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module wrapper around Haskell's System module" +HOMEPAGE="https://github.com/hslua/hslua" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/temporary-1.2:=[profile?] <dev-haskell/temporary-1.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-lua-1.0 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-system/metadata.xml b/dev-haskell/hslua-module-system/metadata.xml index f218327f3045..0d3a6e7e1d20 100644 --- a/dev-haskell/hslua-module-system/metadata.xml +++ b/dev-haskell/hslua-module-system/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides access to system information and functionality - to Lua scripts via Haskell's `System` module. - - Intended usage for this package is to preload it by adding - the loader function to `package.preload`. Note that the - Lua `package` library must have already been loaded before - the loader can be added. - </longdescription> + <upstream> + <remote-id type="hackage">hslua-module-system</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-text/Manifest b/dev-haskell/hslua-module-text/Manifest index da723c348440..0433511913a9 100644 --- a/dev-haskell/hslua-module-text/Manifest +++ b/dev-haskell/hslua-module-text/Manifest @@ -1 +1,2 @@ DIST hslua-module-text-1.0.2.tar.gz 4650 BLAKE2B 94e6a2ff8682acfe29b556e6f3b5a789d7c6f2c8864e4e5d91872c637ed864af4743ca45c64f3c7ce6462c25dbc52308e7fa935b9dac214666ae177ee2ab835f SHA512 1678630a5ae7ac66946598691901a2dcb2f62723e9f7bda50d8c3711384437f4280d280363b04e2794487a541a9b5ee70bbf52a94fa042128650a9c576108e0d +DIST hslua-module-text-1.1.0.1.tar.gz 6216 BLAKE2B 6f3ca45eefbc65d59f97d9107ad9bfa27229057015e6ec6fdf6b7310638da10740bfd88246fc923e3769caa5051d6e9cb777351e8a9a417456c7a85dd3d41286 SHA512 7f2ecc5efd0eb5b3cef42f570407df4bcea04d7e3b3b96d80823f7c33301cafd5da8f0b99216f4ddd955dcdf9c21a1b2b02891216694b877eb2371d5cd5602fb diff --git a/dev-haskell/hslua-module-text/hslua-module-text-1.1.0.1.ebuild b/dev-haskell/hslua-module-text/hslua-module-text-1.1.0.1.ebuild new file mode 100644 index 000000000000..aa34b09bda6c --- /dev/null +++ b/dev-haskell/hslua-module-text/hslua-module-text-1.1.0.1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module for text" +HOMEPAGE="https://github.com/hslua/hslua" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-lua-1.0 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-text/metadata.xml b/dev-haskell/hslua-module-text/metadata.xml index 937381521944..67f7f39fcf4e 100644 --- a/dev-haskell/hslua-module-text/metadata.xml +++ b/dev-haskell/hslua-module-text/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-module-text</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-version/Manifest b/dev-haskell/hslua-module-version/Manifest index 12c68c6fe622..4b0598470e93 100644 --- a/dev-haskell/hslua-module-version/Manifest +++ b/dev-haskell/hslua-module-version/Manifest @@ -1 +1,2 @@ DIST hslua-module-version-1.0.2.tar.gz 5821 BLAKE2B 50e777e8656a1e6213a5aea7a35d61432611eca2f56a12c48b8b33659abf63c4f69696bab4f3e68d9dd0e7b727480bb4ba3ba976b3c9a6c09ef5c2a93d7911b8 SHA512 9c9c392206a5700d46e8481ce56eb3f52827b7017d64937263960db3b4dd05d379d14cdf3a6d1a5680e33706c4baca95b7cc6f60a5a7a7b6221e385a3746b6fd +DIST hslua-module-version-1.1.0.tar.gz 6110 BLAKE2B 62e7b8a7c6bc61d54c812ea5c860c2e270690be92585de68e6bec10c09e19c8e7761584768ab67adf2b4eba89e7e6650eff3c61f37e3dbf233db8712ebe6e873 SHA512 b1856d103fa7ab114176a25fcf2610fa834fcb1fc7ad8af6b9bcc306576da10583ab0f6ec45141bb4bc7a827e5287d3500ce4f4175157dcc8135c8a83a667ec4 diff --git a/dev-haskell/hslua-module-version/hslua-module-version-1.1.0.ebuild b/dev-haskell/hslua-module-version/hslua-module-version-1.1.0.ebuild new file mode 100644 index 000000000000..1470cbbcac88 --- /dev/null +++ b/dev-haskell/hslua-module-version/hslua-module-version-1.1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module to work with version specifiers" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.3:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[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-lua-1.0 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-version/metadata.xml b/dev-haskell/hslua-module-version/metadata.xml index 937381521944..49e6f6e03816 100644 --- a/dev-haskell/hslua-module-version/metadata.xml +++ b/dev-haskell/hslua-module-version/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-module-version</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-module-zip/Manifest b/dev-haskell/hslua-module-zip/Manifest new file mode 100644 index 000000000000..620717e589e8 --- /dev/null +++ b/dev-haskell/hslua-module-zip/Manifest @@ -0,0 +1 @@ +DIST hslua-module-zip-1.1.0.tar.gz 7603 BLAKE2B 3f09ffa5c6e641271f9a358b62d2e8c5bf3719afa22e9674bba8bc8103f0c91ac031b461d5a320540dd17f60e509467f96fa2ef160ee123fe349751a6765db8d SHA512 ed68b34bd8f964732d2be120d2ec2372a435fd50d6494ab147351e9a882f0fb289ee33a1009ebac49ff146c70ae2b9c42104f361ba7cc862560981125eea7542 diff --git a/dev-haskell/hslua-module-zip/hslua-module-zip-1.1.0.ebuild b/dev-haskell/hslua-module-zip/hslua-module-zip-1.1.0.ebuild new file mode 100644 index 000000000000..9002513566b4 --- /dev/null +++ b/dev-haskell/hslua-module-zip/hslua-module-zip-1.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua module to work with file zips" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-list-1.1:=[profile?] <dev-haskell/hslua-list-1.2:=[profile?] + >=dev-haskell/hslua-marshalling-2.3:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/hslua-typing-0.1:=[profile?] <dev-haskell/hslua-typing-0.2:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/zip-archive-0.4:=[profile?] <dev-haskell/zip-archive-0.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/hslua-module-system + dev-haskell/tasty + dev-haskell/tasty-hunit + >=dev-haskell/tasty-lua-1.0 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/hslua-module-zip/metadata.xml b/dev-haskell/hslua-module-zip/metadata.xml new file mode 100644 index 000000000000..1299eac80ffc --- /dev/null +++ b/dev-haskell/hslua-module-zip/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">hslua-module-zip</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hslua-objectorientation/Manifest b/dev-haskell/hslua-objectorientation/Manifest index 3075db1cc447..b8caecdf626f 100644 --- a/dev-haskell/hslua-objectorientation/Manifest +++ b/dev-haskell/hslua-objectorientation/Manifest @@ -1 +1,2 @@ DIST hslua-objectorientation-2.2.0.tar.gz 15240 BLAKE2B 741298dd4d47b5b0bc4da565f9bae1004f13fccb4cb617ad1603821df884604a12f481626af9314f84f781a48bff836367d7fb71ce0ca5e2d3d8058c5899b394 SHA512 c40f0526264db229093f39deb9e77a44e575e6ebf97f257ff063b61279cd47aeecda4204db2ebc686b3e8ac467e2a0f4887608a54386f4afca2d47b469ee6107 +DIST hslua-objectorientation-2.3.0.tar.gz 16615 BLAKE2B 7760d09d30631bdac2255c33a12a005b134b7643d71092076d7a8142c78bb9ae9b54cb0f727746df837cf5a2661c1442edc97560a0fe839e1bd25fe0214ac413 SHA512 648dd92b7b51d8edfc8fcf455e3ae87afc828aeb4f5e54cb7d4f23d0e12173369ecac6ac44a79ddb474e723d1b007615492018d375aa7a4d58abbd13752a84e3 diff --git a/dev-haskell/hslua-objectorientation/hslua-objectorientation-2.3.0.ebuild b/dev-haskell/hslua-objectorientation/hslua-objectorientation-2.3.0.ebuild new file mode 100644 index 000000000000..6c61223c4187 --- /dev/null +++ b/dev-haskell/hslua-objectorientation/hslua-objectorientation-2.3.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Object orientation tools for HsLua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-typing-0.1:=[profile?] <dev-haskell/hslua-typing-0.2:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/lua-arbitrary-1.0 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hslua-1.0 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-objectorientation/metadata.xml b/dev-haskell/hslua-objectorientation/metadata.xml index 937381521944..c43dd0fe0783 100644 --- a/dev-haskell/hslua-objectorientation/metadata.xml +++ b/dev-haskell/hslua-objectorientation/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-objectorientation</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-packaging/Manifest b/dev-haskell/hslua-packaging/Manifest index 520d4842ba17..de44d9b8d86a 100644 --- a/dev-haskell/hslua-packaging/Manifest +++ b/dev-haskell/hslua-packaging/Manifest @@ -1 +1,2 @@ DIST hslua-packaging-2.2.0.tar.gz 15932 BLAKE2B 724a28d8c7414766555968bca08cd6007e6637f8c4183da9524699b70b198a82f8cb4a6430af9ac6a0d26d1cf5abe25bee5153e8e8e09d058153f17a93298035 SHA512 f2dedc0674dd569f76e753edb3f20fe395fd6af082162b648d36ecb2eb0f5adaf5ab7354b809fa995c25cd17f30b7035d40c0ed9b0fb4fc78332f430cd152685 +DIST hslua-packaging-2.3.0.tar.gz 16903 BLAKE2B 8d1c0b10e80013cbe4018c7a9ae8a1b7a06227d9c2aa496ca9d3642f4622c49deedc8e37a5e877dbff568a4ca4a6e35f755a9629d4c69d0fa87665a913ec07dc SHA512 6b5b8f4bfda3798467bae4a7433f3c0ecbaaa9d3392d2fe51cc06d8b3d8ac05b1c9d32b3606ce6347bcbd43b39c583f640e7921befc095c4779db396450f5b4f diff --git a/dev-haskell/hslua-packaging/hslua-packaging-2.3.0.ebuild b/dev-haskell/hslua-packaging/hslua-packaging-2.3.0.ebuild new file mode 100644 index 000000000000..92d50c5953a3 --- /dev/null +++ b/dev-haskell/hslua-packaging/hslua-packaging-2.3.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities to build Lua modules" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.2.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.2.1:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-objectorientation-2.3:=[profile?] <dev-haskell/hslua-objectorientation-2.4:=[profile?] + >=dev-haskell/hslua-typing-0.1:=[profile?] <dev-haskell/hslua-typing-0.2:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/tasty-0.11 + dev-haskell/tasty-hslua + >=dev-haskell/tasty-hunit-0.9 ) +" diff --git a/dev-haskell/hslua-packaging/metadata.xml b/dev-haskell/hslua-packaging/metadata.xml index 937381521944..13301f339d83 100644 --- a/dev-haskell/hslua-packaging/metadata.xml +++ b/dev-haskell/hslua-packaging/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua-packaging</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hslua-repl/Manifest b/dev-haskell/hslua-repl/Manifest new file mode 100644 index 000000000000..7df0ea685b8e --- /dev/null +++ b/dev-haskell/hslua-repl/Manifest @@ -0,0 +1 @@ +DIST hslua-repl-0.1.1.tar.gz 4052 BLAKE2B cd7ca9277340a4708798144d6bd9da54e3b113a35f0896bdc8d08149677892f5fb1d5db0ed4f4ff2d2b29444be10ca737bcb1d18ec853f50284c07a7bb35b56d SHA512 c54c6bb7455d8f0cfd29812afc80d9617d0a100e94d4c3cd279b7579bf3be1fa3c1935785cb9eb4c664af345f1556e16a178049f3bd41823fdea56083d81bfdd diff --git a/dev-haskell/hslua-repl/hslua-repl-0.1.1.ebuild b/dev-haskell/hslua-repl/hslua-repl-0.1.1.ebuild new file mode 100644 index 000000000000..25501539d61c --- /dev/null +++ b/dev-haskell/hslua-repl/hslua-repl-0.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Isocline-based Lua REPL" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RDEPEND=">=dev-haskell/hslua-core-2.3.1:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/isocline-1.0:=[profile?] <dev-haskell/isocline-1.1:=[profile?] + >=dev-haskell/lua-2.3:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/hslua-repl/metadata.xml b/dev-haskell/hslua-repl/metadata.xml new file mode 100644 index 000000000000..aad2a20db55b --- /dev/null +++ b/dev-haskell/hslua-repl/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="executable">Compile `luarepl` standalone executable.</flag> + </use> + <upstream> + <remote-id type="hackage">hslua-repl</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hslua-typing/Manifest b/dev-haskell/hslua-typing/Manifest new file mode 100644 index 000000000000..56e376438547 --- /dev/null +++ b/dev-haskell/hslua-typing/Manifest @@ -0,0 +1 @@ +DIST hslua-typing-0.1.0.tar.gz 6420 BLAKE2B 06571d510baf0654199a91dd98bf4188ab3007bc1f6aa1ce6c1085a593d778e41fb65d549e75c3625c6d6e8083086dc414052e689d2331e61299336298efc271 SHA512 caca4003fab2fab4920e43491dc56cd137198f4a312d654f9489ea841b5e18b1b528a46e493692d027500a2fc5201d6f39b49b8bf0af8c199dbe357b95ccfb1f diff --git a/dev-haskell/hslua-typing/hslua-typing-0.1.0.ebuild b/dev-haskell/hslua-typing/hslua-typing-0.1.0.ebuild new file mode 100644 index 000000000000..2d60654a9256 --- /dev/null +++ b/dev-haskell/hslua-typing/hslua-typing-0.1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type specifiers for Lua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.3:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/lua-arbitrary-1.0 <dev-haskell/lua-arbitrary-1.1 + dev-haskell/quickcheck + dev-haskell/quickcheck-instances + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.10 + >=dev-haskell/tasty-quickcheck-0.8 ) +" diff --git a/dev-haskell/hslua-typing/metadata.xml b/dev-haskell/hslua-typing/metadata.xml new file mode 100644 index 000000000000..339631ae3125 --- /dev/null +++ b/dev-haskell/hslua-typing/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">hslua-typing</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hslua/Manifest b/dev-haskell/hslua/Manifest index 2f837f6c1060..12918e9307d4 100644 --- a/dev-haskell/hslua/Manifest +++ b/dev-haskell/hslua/Manifest @@ -1 +1,2 @@ DIST hslua-2.2.0.tar.gz 17278 BLAKE2B eda496aa4a2bd89fd0be2fcefa0b1554a931c7876f5b2e456fb315a72d304050f8d9b2ad5ee583c15f4b31dc26f1a87370c526626d8dbed1e2fc5660ee66667e SHA512 cdd4ff872557ba014bb6f64a592702820e9274456c35b9f9c42fccbd279b2157b3087a5040be2bad03890934bf682c7f4d066232480e8243d5259f871514346a +DIST hslua-2.3.0.tar.gz 17387 BLAKE2B 298ca26eed54c508621596efd90b0c8c7f0151ff9ab5a4d61d8e10fe57b2b61a865b39fcf7b6f12087a6fe913a0f6fb1e01b37aa2ae7c7e4aab58f434aafcac7 SHA512 a3e4bd970d0a55465aafff91f6b03d29443599d819a48dc9f3296bcac5807c9cb2920cb5c6c5e3bda854403a5bea219b9a626305d932f8c452ff9cc09572d060 diff --git a/dev-haskell/hslua/hslua-2.3.0.ebuild b/dev-haskell/hslua/hslua-2.3.0.ebuild new file mode 100644 index 000000000000..0e681552783c --- /dev/null +++ b/dev-haskell/hslua/hslua-2.3.0.ebuild @@ -0,0 +1,50 @@ +# 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: -allow-unsafe-gc,-apicheck,-export-dynamic,-lua501,-lua502,-lua_32bits,-system-lua,-pkg-config + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Bindings to Lua, an embeddable scripting language" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-aeson-2.3:=[profile?] <dev-haskell/hslua-aeson-2.4:=[profile?] + >=dev-haskell/hslua-classes-2.2:=[profile?] <dev-haskell/hslua-classes-2.4:=[profile?] + >=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.3:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/hslua-objectorientation-2.3:=[profile?] <dev-haskell/hslua-objectorientation-2.4:=[profile?] + >=dev-haskell/hslua-packaging-2.3:=[profile?] <dev-haskell/hslua-packaging-2.4:=[profile?] + >=dev-haskell/hslua-typing-0.1:=[profile?] <dev-haskell/hslua-typing-0.2:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/lua-2.0 + >=dev-haskell/lua-arbitrary-1.0 + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.11 + dev-haskell/tasty-hslua + >=dev-haskell/tasty-hunit-0.9 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-allow-unsafe-gc \ + --flag=-apicheck \ + --flag=-export-dynamic \ + --flag=-lua501 \ + --flag=-lua502 \ + --flag=-lua_32bits \ + --flag=-pkg-config \ + --flag=-system-lua +} diff --git a/dev-haskell/hslua/metadata.xml b/dev-haskell/hslua/metadata.xml index 937381521944..3b4e9a667d84 100644 --- a/dev-haskell/hslua/metadata.xml +++ b/dev-haskell/hslua/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hslua</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hspec-contrib/hspec-contrib-0.5.1.ebuild b/dev-haskell/hspec-contrib/hspec-contrib-0.5.1.ebuild index 5ad238f20283..b98ca284f5c9 100644 --- a/dev-haskell/hspec-contrib/hspec-contrib-0.5.1.ebuild +++ b/dev-haskell/hspec-contrib/hspec-contrib-0.5.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.5.6.9999 diff --git a/dev-haskell/hspec-core/Manifest b/dev-haskell/hspec-core/Manifest index 9e1dd8f33272..03f9707c9277 100644 --- a/dev-haskell/hspec-core/Manifest +++ b/dev-haskell/hspec-core/Manifest @@ -1 +1,2 @@ +DIST hspec-core-2.10.6.tar.gz 90413 BLAKE2B 9f219404602a93db9f6cc143ed7176eb6237402463772374951578c80261e982faae69c1430496c4ab58fb4cc2de4e74336902057d6fc5312eef07cbaff623dc SHA512 ae1dfc4819706511483646c61663ccabc39f0e17128d496bbc65a26c558f5d446ea2e0edcbd9cbd6b61710e522b581e5a412f7ef4fdb17daeebe187d24616126 DIST hspec-core-2.9.4.tar.gz 79521 BLAKE2B c403787898de2296506cd2906641c2d91f3a4cee4cdab69e7e63e2ebab26a5729b37e938001992cccc76930ad5d4e39c0f204064ea542a2ca979b58acce77fdd SHA512 55859f3a6db6ca855a560b7b16f001784a81f6a70061374d58841fe0d6bdb99e98b522df03677ea132222ad6c96b3fed8d87aedb96dfde5326b7e6fde238e387 diff --git a/dev-haskell/hspec-core/hspec-core-2.10.6.ebuild b/dev-haskell/hspec-core/hspec-core-2.10.6.ebuild new file mode 100644 index 000000000000..0bb32db0635a --- /dev/null +++ b/dev-haskell/hspec-core/hspec-core-2.10.6.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A Testing Framework for Haskell" +HOMEPAGE="https://hspec.github.io/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/ansi-terminal-0.6.2:=[profile?] + >=dev-haskell/call-stack-0.2.0:=[profile?] + >=dev-haskell/hspec-expectations-0.8.2:=[profile?] <dev-haskell/hspec-expectations-0.8.3:=[profile?] + >=dev-haskell/hunit-1.6:=[profile?] <dev-haskell/hunit-1.7:=[profile?] + >=dev-haskell/quickcheck-2.13.1:2=[profile?] + >=dev-haskell/quickcheck-io-0.2.0:=[profile?] + dev-haskell/random:=[profile?] + dev-haskell/setenv:=[profile?] + >=dev-haskell/stm-2.2:=[profile?] + dev-haskell/tf-random:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/base-orphans + ~dev-haskell/hspec-meta-2.10.5 + >=dev-haskell/quickcheck-2.14 + >=dev-haskell/silently-1.2.4 + dev-haskell/temporary + ) +" + +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/hspec-core/metadata.xml b/dev-haskell/hspec-core/metadata.xml index 937381521944..3b3621d13184 100644 --- a/dev-haskell/hspec-core/metadata.xml +++ b/dev-haskell/hspec-core/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hspec-core</remote-id> + <remote-id type="github">hspec/hspec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hspec-discover/Manifest b/dev-haskell/hspec-discover/Manifest index 75779119d94a..f92632fc89c7 100644 --- a/dev-haskell/hspec-discover/Manifest +++ b/dev-haskell/hspec-discover/Manifest @@ -1 +1,2 @@ +DIST hspec-discover-2.10.6.tar.gz 6843 BLAKE2B bd9f6feaa3a3aabec31ee0513821b79c439377bbb865fef50af5a63ba61c126fdddf26436a7768bbcfc415ab5f3179c794f770caee24a80d719608d099a1de18 SHA512 a6fad93f31b264b3f80b2775b5420ea983014d88296f404f7b9126d6a97d290313a1e9c59ba92957fe68789cc9b5d49c30fdfa8558e2f8d853fa93aa673f64e3 DIST hspec-discover-2.9.4.tar.gz 6829 BLAKE2B c0f3a762db63f6d50edf2af0d240c5a9ccff7092ba0f440a342c809b4cc7c7c7e9fee95ca92d426baa6956f4e459ea8da04f2d7bb2545d4ca948395d38c75cff SHA512 0c76cfbe56ee67ab14040c7252a2f1ccecf8230868435d64c9015c472c85557921f1ca30e12df6f3097866b5b791e86d06026ef5fa5e998c354f3fa26c95e5ea diff --git a/dev-haskell/hspec-discover/hspec-discover-2.10.6.ebuild b/dev-haskell/hspec-discover/hspec-discover-2.10.6.ebuild new file mode 100644 index 000000000000..2981c9f0918b --- /dev/null +++ b/dev-haskell/hspec-discover/hspec-discover-2.10.6.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Automatically discover and run Hspec tests" +HOMEPAGE="https://hspec.github.io/" + +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/hspec-meta-2.10.5 + >=dev-haskell/mockery-0.3.5 + >=dev-haskell/quickcheck-2.7 + ) +" + +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/hspec-discover/metadata.xml b/dev-haskell/hspec-discover/metadata.xml index 937381521944..21b829b0d806 100644 --- a/dev-haskell/hspec-discover/metadata.xml +++ b/dev-haskell/hspec-discover/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hspec-discover</remote-id> + <remote-id type="github">hspec/hspec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hspec-megaparsec/Manifest b/dev-haskell/hspec-megaparsec/Manifest new file mode 100644 index 000000000000..5f4ffb75b8d2 --- /dev/null +++ b/dev-haskell/hspec-megaparsec/Manifest @@ -0,0 +1 @@ +DIST hspec-megaparsec-2.2.0.tar.gz 5298 BLAKE2B fe18c95325a7b17c214635d8e57477dcd55b10b9a8dad20ccbf7c3d8bdd9027b49da394397493276b1b5aceb5a8337f51688c409fbb1ea1ddf86e96502e19c8e SHA512 347e1d5275fbd52bc0a51a1106aab8de123034ec34d5f0a113af76136009bc16d2c570aa747e903e050899cf3d53a091e765af5aa67dd7eb3ee7aef6e62054a4 diff --git a/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild new file mode 100644 index 000000000000..61ab9e695e89 --- /dev/null +++ b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.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.6.7.9999 +#hackport: flags: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utility functions for testing Megaparsec parsers with Hspec" +HOMEPAGE="https://github.com/mrkkrp/hspec-megaparsec" +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/hspec-expectations-0.8:=[profile?] <dev-haskell/hspec-expectations-0.9:=[profile?] + >=dev-haskell/megaparsec-9.0:=[profile?] <dev-haskell/megaparsec-10.0:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} diff --git a/dev-haskell/hspec-megaparsec/metadata.xml b/dev-haskell/hspec-megaparsec/metadata.xml new file mode 100644 index 000000000000..8559a2fdcf9d --- /dev/null +++ b/dev-haskell/hspec-megaparsec/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">hspec-megaparsec</remote-id> + <remote-id type="github">mrkkrp/hspec-megaparsec</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/hspec-meta/Manifest b/dev-haskell/hspec-meta/Manifest index d185c65d6890..b9cabe57899f 100644 --- a/dev-haskell/hspec-meta/Manifest +++ b/dev-haskell/hspec-meta/Manifest @@ -1 +1,2 @@ +DIST hspec-meta-2.10.5.tar.gz 74024 BLAKE2B 971e2bda452e0d155754cd6ea02e06d8ab2ed492eea428b8f5c21b354e14b573eabb90182926e2004e88ea3c5e3ed30613fffa10c923dd9d91b53a991b85287d SHA512 2c9b9a0a91f8596de423d8409a734642520a317659d93888685a6049971b9fb29806904da48ec6d73f269baa8c39d34da1881d107795212a3c0564eb702797b5 DIST hspec-meta-2.9.3.tar.gz 69002 BLAKE2B 2ed9b44eeb9b5b3335a4e7a695a199cda1bd405c9e041e251ac1f33cf9ade99be84853cbd32bb6204ec879ad342b55841425b0f76399c0a5d588f8769a7a6dea SHA512 d6205a4aead9c8824a89b18f41d2513a0115c76f9130b7100e349f2b8c91dfef34c704ba169f5b103895d0144a8fdf79eaf46abf1c7447da7d634eb3b7c8e80b diff --git a/dev-haskell/hspec-meta/hspec-meta-2.10.5.ebuild b/dev-haskell/hspec-meta/hspec-meta-2.10.5.ebuild new file mode 100644 index 000000000000..8ae96f2c3760 --- /dev/null +++ b/dev-haskell/hspec-meta/hspec-meta-2.10.5.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.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A version of Hspec which is used to test Hspec itself" +HOMEPAGE="https://hspec.github.io/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/ansi-terminal:=[profile?] + dev-haskell/call-stack:=[profile?] + dev-haskell/clock:=[profile?] + >=dev-haskell/quickcheck-2.12:2=[profile?] + dev-haskell/quickcheck-io:=[profile?] + dev-haskell/random:=[profile?] + dev-haskell/setenv:=[profile?] + >=dev-haskell/stm-2.2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/hspec-meta/metadata.xml b/dev-haskell/hspec-meta/metadata.xml index 937381521944..cbe0038a21d2 100644 --- a/dev-haskell/hspec-meta/metadata.xml +++ b/dev-haskell/hspec-meta/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hspec-meta</remote-id> + <remote-id type="github">hspec/hspec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hspec-wai/Manifest b/dev-haskell/hspec-wai/Manifest index d9c05439d19b..d418ef5839bc 100644 --- a/dev-haskell/hspec-wai/Manifest +++ b/dev-haskell/hspec-wai/Manifest @@ -1 +1,2 @@ DIST hspec-wai-0.10.1.tar.gz 7979 BLAKE2B 5972f55595efa643b3ff0c2a3aafc213c23a9bb26841b8c0beebe9a853311edc22337d4496641829f6c0856e079ff8fe9e5685aa1b4fb65570618aa2683d0163 SHA512 9a599411e79ef056a915494f7bb247e61f94a5243cd7fde3f6651f09e2b6fc28e99554f1721717ee45f06b7029502620d6fdf1624e280442333224147320508d +DIST hspec-wai-0.11.1.tar.gz 7899 BLAKE2B ac21a945bcca7c1c42a2e507b66306e648f85e90df8f4d8210f187b10124a12bfbd5e7e13c61631d82f8bb657c6887540e5e605ed9962216823ab56502591be5 SHA512 c5c72dee572f6fd7bd80f3beb4e668697d58f3bb045dabb321e65098f4fc3b1d577aa32e5fe607cab3e18433627538582b6c7acc7bb4728a99daeb20afe41b0a diff --git a/dev-haskell/hspec-wai/hspec-wai-0.10.1.ebuild b/dev-haskell/hspec-wai/hspec-wai-0.10.1.ebuild index 7d20eaee9e9d..161cfda69aa4 100644 --- a/dev-haskell/hspec-wai/hspec-wai-0.10.1.ebuild +++ b/dev-haskell/hspec-wai/hspec-wai-0.10.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.3 diff --git a/dev-haskell/hspec-wai/hspec-wai-0.11.1.ebuild b/dev-haskell/hspec-wai/hspec-wai-0.11.1.ebuild new file mode 100644 index 000000000000..bd1f3b890a33 --- /dev/null +++ b/dev-haskell/hspec-wai/hspec-wai-0.11.1.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.1.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Experimental Hspec support for testing WAI applications" +HOMEPAGE="https://github.com/hspec/hspec-wai#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/base-compat:=[profile?] + dev-haskell/case-insensitive:=[profile?] + >=dev-haskell/hspec-core-2:=[profile?] <dev-haskell/hspec-core-3:=[profile?] + >=dev-haskell/hspec-expectations-0.8.0:=[profile?] + dev-haskell/http-types:=[profile?] + dev-haskell/quickcheck:2=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/wai-3:=[profile?] + >=dev-haskell/wai-extra-3:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/hspec + >=dev-haskell/wai-3.2.2 + ) +" diff --git a/dev-haskell/hspec-wai/metadata.xml b/dev-haskell/hspec-wai/metadata.xml index 937381521944..0e880184b7ff 100644 --- a/dev-haskell/hspec-wai/metadata.xml +++ b/dev-haskell/hspec-wai/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">hspec-wai</remote-id> + <remote-id type="github">hspec/hspec-wai</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hspec/Manifest b/dev-haskell/hspec/Manifest index 76060f4e3816..ecfc7b1b7400 100644 --- a/dev-haskell/hspec/Manifest +++ b/dev-haskell/hspec/Manifest @@ -1 +1,2 @@ +DIST hspec-2.10.6.tar.gz 10847 BLAKE2B 3ed8df690cbf77319aa6cf449df462f3bd5bbeefff31f220a9d4ed4af51fb30d63e0589559718dbbdde07708dd5d3e668a5986575b8397182b946f2641196b15 SHA512 bb20b02b22b8b6dd2cf64141a0738ee786278514fadd9e81712e5aa9e3d25d63b1cfdc89199df34b29c749b3f958f26a660116ffc10bbf6d0db0e7ee97aedddf DIST hspec-2.9.4.tar.gz 10117 BLAKE2B fbe881a560fc015ab4b3b3d81710d9fa758e65fe6740aeea5273e02588d373cd83b64cc7bba870bcf943787614681ad9a139912c3cbe04e9e822b8cb24788e5c SHA512 648fd812f22613616c1f81206e8bd0ee3bbfe52a4e367344887a832b56317615711aa401c1ac6dfab46f84404885e01065d91e154b9136bde041cf5e419b01a0 diff --git a/dev-haskell/hspec/hspec-2.10.6.ebuild b/dev-haskell/hspec/hspec-2.10.6.ebuild new file mode 100644 index 000000000000..d6b7bba75547 --- /dev/null +++ b/dev-haskell/hspec/hspec-2.10.6.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" +inherit haskell-cabal + +DESCRIPTION="A Testing Framework for Haskell" +HOMEPAGE="https://hspec.github.io/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="~dev-haskell/hspec-core-2.10.6:=[profile?] + ~dev-haskell/hspec-discover-2.10.6:=[profile?] + >=dev-haskell/hspec-expectations-0.8.2:=[profile?] <dev-haskell/hspec-expectations-0.8.3:=[profile?] + >=dev-haskell/quickcheck-2.12:2=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/hspec/metadata.xml b/dev-haskell/hspec/metadata.xml index 55d39a4696ef..2ad3a3322f59 100644 --- a/dev-haskell/hspec/metadata.xml +++ b/dev-haskell/hspec/metadata.xml @@ -5,9 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Behavior Driven Development for Haskell - - Hspec is roughly based on the Ruby library RSpec. However, Hspec is just a framework for running HUnit and QuickCheck tests. Compared to other options, it provides a much nicer syntax that makes tests very easy to read. - </longdescription> + <upstream> + <remote-id type="hackage">hspec</remote-id> + <remote-id type="github">hspec/hspec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/hsyaml/Manifest b/dev-haskell/hsyaml/Manifest index 68e65ca3a7fd..e9d179396612 100644 --- a/dev-haskell/hsyaml/Manifest +++ b/dev-haskell/hsyaml/Manifest @@ -1 +1,2 @@ DIST HsYAML-0.2.1.0.tar.gz 83976 BLAKE2B fff32d30eb6cb76c852c9cb1909b8be06e4818d23322397271594dfe60895ea79ffa8cc4c4944173de30d46e1ef8a2872972434aeacec44fff8d52dc169264e5 SHA512 f8ad41a99e48183835093ad8bf6a3fbdf4b9ad9df3bea46b12efd55a9555c22bd2595c72b1ac2e73379ab47e21f6cbf9022412db8971e1c7c02a32e824f53304 +DIST hsyaml-0.2.1.2.tar.gz 84263 BLAKE2B 1fb534a31cdcc41536e3f0114f27b4f140142293aca052d72d5d5993ff5ff686fea30a893e30efe34c2969ad9237228a43960f8adac201470568628d60464237 SHA512 4ade814924422a0985096be48ce0305f8491df03985511b408fefcf68a044f9ec4a0d29d978c2bb72b36315c49ee3faea69d8336cd5d88ca3d2d86077f46d003 diff --git a/dev-haskell/hsyaml/hsyaml-0.2.1.0.ebuild b/dev-haskell/hsyaml/hsyaml-0.2.1.0.ebuild index 631459a7d467..4602f8d4b850 100644 --- a/dev-haskell/hsyaml/hsyaml-0.2.1.0.ebuild +++ b/dev-haskell/hsyaml/hsyaml-0.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 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal @@ -34,13 +34,10 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_prepare() { - default - - cabal_chdeps \ - 'base >=4.5 && <4.14' 'base >=4.5' \ - 'containers >=0.4.2 && <0.7' 'containers >=0.4.2' \ - 'QuickCheck == 2.13.*' 'QuickCheck >= 2.13' \ - 'tasty == 1.2.*' 'tasty >= 1.2' \ - 'tasty-quickcheck == 0.10.*' 'tasty-quickcheck >= 0.10' -} +CABAL_CHDEPS=( + 'base >=4.5 && <4.14' 'base >=4.5' + 'containers >=0.4.2 && <0.7' 'containers >=0.4.2' + 'QuickCheck == 2.13.*' 'QuickCheck >= 2.13' + 'tasty == 1.2.*' 'tasty >= 1.2' + 'tasty-quickcheck == 0.10.*' 'tasty-quickcheck >= 0.10' +) diff --git a/dev-haskell/hsyaml/hsyaml-0.2.1.2.ebuild b/dev-haskell/hsyaml/hsyaml-0.2.1.2.ebuild new file mode 100644 index 000000000000..162f34b60644 --- /dev/null +++ b/dev-haskell/hsyaml/hsyaml-0.2.1.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 + +CABAL_PN="HsYAML" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pure Haskell YAML 1.2 processor" +HOMEPAGE="https://github.com/haskell-hvr/HsYAML" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="exe" + +RDEPEND=">=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-2.2:=[profile?] + >=dev-lang/ghc-8.10.6:= + exe? ( >=dev-haskell/megaparsec-7.0:=[profile?] <dev-haskell/megaparsec-10:=[profile?] + >=dev-haskell/microaeson-0.1:=[profile?] <dev-haskell/microaeson-0.2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/quickcheck-2.14 <dev-haskell/quickcheck-2.15 + >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.6 + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag exe exe) +} diff --git a/dev-haskell/hsyaml/metadata.xml b/dev-haskell/hsyaml/metadata.xml index 298c3553c5d9..b11316eec0dc 100644 --- a/dev-haskell/hsyaml/metadata.xml +++ b/dev-haskell/hsyaml/metadata.xml @@ -5,17 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) parser implementation for Haskell. - - Features of @HsYAML@ include: - - * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). - * Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). - * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). - * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas). - * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). - * Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). - - </longdescription> + <use> + <flag name="exe">Enable @exe:yaml-test@ component</flag> + </use> + <upstream> + <remote-id type="hackage">HsYAML</remote-id> + <remote-id type="github">haskell-hvr/HsYAML</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/html-conduit/html-conduit-1.3.2.1.ebuild b/dev-haskell/html-conduit/html-conduit-1.3.2.1.ebuild index 8c5115ace295..a9f5265be7cc 100644 --- a/dev-haskell/html-conduit/html-conduit-1.3.2.1.ebuild +++ b/dev-haskell/html-conduit/html-conduit-1.3.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.9999 diff --git a/dev-haskell/html/html-1.0.1.2-r1.ebuild b/dev-haskell/html/html-1.0.1.2-r1.ebuild index dbaf589a07ee..86f01034f9c6 100644 --- a/dev-haskell/html/html-1.0.1.2-r1.ebuild +++ b/dev-haskell/html/html-1.0.1.2-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/http-api-data/Manifest b/dev-haskell/http-api-data/Manifest index cc25c71c46d2..044643a2ab47 100644 --- a/dev-haskell/http-api-data/Manifest +++ b/dev-haskell/http-api-data/Manifest @@ -1,2 +1,3 @@ DIST http-api-data-0.4.3.cabal 3845 BLAKE2B fdde464e0c378bd60b135fd325bd2263df2eef42f797c1aa7b04e9382027b58498c80414a75dd83278d3bdf5676041c3ed2493b918d87eda3140ccddecc410b8 SHA512 cbf03caa0a026cad8c327b9fdf04dcc447dab3879c9cacf8fe7cf118665b9466983660937684fe8d14b7c50a29d7fa8a5f8f2eb2e8febc9d8217f3d30888e5d5 DIST http-api-data-0.4.3.tar.gz 20827 BLAKE2B 04e7f0a9e5edebc230b47640c6a86dc76d271942cc70d0aa109d289fe2b1139e4c8103ba0799990b4c7ea0a37f3dd46ac4a72e9a5e4a39029d856e134ebfe8fb SHA512 625367d8f524eff07c69620df17c87a4365c01b9bc8bdd6bab5b8abe1b47cc429a050d63f48e50cb08fcac55aef95dfea532a5d52c87b6fa2d3e58b06aa8f4b0 +DIST http-api-data-0.5.1.tar.gz 21114 BLAKE2B 4653d97f57a8740da75e2d573d43d8ed988499d05c5d235572a2b6983fb22e2be06cdb347b179d23aca9337b7dfc75cfa2a21709ffb233da7d42ac2bee1b7b9b SHA512 04518851593fa8a081ca4ba706a7a21a693c0645968720f734df25fe884b5176a12c32f29ca9595c5de501e071b1e73bc1c45b1ae9dab5f7712ac4ac160a06db diff --git a/dev-haskell/http-api-data/http-api-data-0.5.1.ebuild b/dev-haskell/http-api-data/http-api-data-0.5.1.ebuild new file mode 100644 index 000000000000..033308af399f --- /dev/null +++ b/dev-haskell/http-api-data/http-api-data-0.5.1.ebuild @@ -0,0 +1,45 @@ +# 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="Converting to/from HTTP API data like URL pieces, headers and query parameters" +HOMEPAGE="https://github.com/fizruk/https-api-data" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="text-show" + +RDEPEND=">=dev-haskell/attoparsec-0.13.2.2:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/attoparsec-iso8601-1.1.0.0:=[profile?] <dev-haskell/attoparsec-iso8601-1.2:=[profile?] + >=dev-haskell/base-compat-0.10.5:=[profile?] <dev-haskell/base-compat-0.14:=[profile?] + >=dev-haskell/cookie-0.4.3:=[profile?] <dev-haskell/cookie-0.5:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/http-types-0.12.3:=[profile?] <dev-haskell/http-types-0.13:=[profile?] + >=dev-haskell/tagged-0.8.5:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/time-compat-1.9.5:=[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.3:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + text-show? ( >=dev-haskell/text-show-3.8.2:=[profile?] <dev-haskell/text-show-3.11:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2.7.1 <dev-haskell/hspec-2.11 + >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 + >=dev-haskell/quickcheck-2.13.1 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.25.2 <dev-haskell/quickcheck-instances-0.4 + dev-haskell/text ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag text-show use-text-show) +} diff --git a/dev-haskell/http-api-data/metadata.xml b/dev-haskell/http-api-data/metadata.xml index 82af2cfcc5a0..baafe048b8e7 100644 --- a/dev-haskell/http-api-data/metadata.xml +++ b/dev-haskell/http-api-data/metadata.xml @@ -6,9 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="text-show">Use text-show library for efficient ToHttpApiData implementation.</flag> + <flag name="text-show">Use text-show library for efficient ToHttpApiData implementations.</flag> </use> <upstream> + <remote-id type="hackage">http-api-data</remote-id> <remote-id type="github">fizruk/http-api-data</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/http-client-restricted/Manifest b/dev-haskell/http-client-restricted/Manifest index 028c71f44981..d5b8732a61d7 100644 --- a/dev-haskell/http-client-restricted/Manifest +++ b/dev-haskell/http-client-restricted/Manifest @@ -1 +1,2 @@ DIST http-client-restricted-0.0.5.tar.gz 5389 BLAKE2B 83ec4694c6d99858b85c9751ed915b1d2ebf1df901c62fe59521dda18ced697ec9af71519785df16d06a795c18e496f8b90f6253845b88e810bf4caf0c02704d SHA512 d5876c02c1c6989f1da4741e191f18554efd448339e83bb9b267edec0e414141221c4f770d9f8e48c9d5f4a8fac9d58295e5f57e8c877710c95a71419e53cf3d +DIST http-client-restricted-0.1.0.tar.gz 5462 BLAKE2B e25116e70172373c198187a4596da6f7d4f77c67b574dd02838ff31e96697386232dcdb887c26aad9ef2eafdbdd61065560a826138454210e7e26e6287456723 SHA512 c2f1f3476b01bc0c16512a1db037948d6a1365d9367d7058dee9862e328c59fb9cfbde679904ef66c8353a8422256e64fde443b7fcae2a389495f496fcc3a5ac diff --git a/dev-haskell/http-client-restricted/http-client-restricted-0.1.0.ebuild b/dev-haskell/http-client-restricted/http-client-restricted-0.1.0.ebuild new file mode 100644 index 000000000000..54490aa6b5cc --- /dev/null +++ b/dev-haskell/http-client-restricted/http-client-restricted-0.1.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_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="restricting the servers that http-client will use" +HOMEPAGE="https://hackage.haskell.org/package/http-client-restricted" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/crypton-connection-0.3.1:=[profile?] + dev-haskell/data-default:=[profile?] + >=dev-haskell/http-client-0.7.11:=[profile?] <dev-haskell/http-client-0.8:=[profile?] + >=dev-haskell/http-client-tls-0.3.6:=[profile?] <dev-haskell/http-client-tls-0.4:=[profile?] + >=dev-haskell/network-3.0.0.0:=[profile?] + dev-haskell/network-bsd:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/http-client-restricted/metadata.xml b/dev-haskell/http-client-restricted/metadata.xml index 937381521944..0654b24d0ab8 100644 --- a/dev-haskell/http-client-restricted/metadata.xml +++ b/dev-haskell/http-client-restricted/metadata.xml @@ -5,4 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">http-client-restricted</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/http-client-tls/Manifest b/dev-haskell/http-client-tls/Manifest index 4d4265be7599..5a2453db63b0 100644 --- a/dev-haskell/http-client-tls/Manifest +++ b/dev-haskell/http-client-tls/Manifest @@ -1 +1,2 @@ DIST http-client-tls-0.3.6.1.tar.gz 7850 BLAKE2B c2ef4e8981f2141d496d2d3e0720a29a536cd4937a95e4a59c8db356ac4390c2d419bf61b2eae6fcb4b5e98a73cd945981c9d8535353b3e444b603f9237bab3e SHA512 81b6e9ad3956f237bec83173ab8ac153ea3e9b555f0a84dc6ec0a13f6ad96dfc104d61125b66fc8733c8d8c3b7f8fc5e89cfcb885a7352f3af2e2b5473732294 +DIST http-client-tls-0.3.6.3.tar.gz 7935 BLAKE2B df9ffb0ea6dc0984faabaf4269c6cc62241b603465fdbd65af8cdf434e63f2e222ffbb73e51b404f77ef8eeee13ad0e6289e8ba27230935c4c1f9e318d46644c SHA512 2b4475a9fdcfed07512f19af989289d8b8eacc8568392c03839a806327d5b1cd6dfcbc5afe29a0dd3f63d9c93a7043c4fea594b73c46b43db94518dd7a39325f diff --git a/dev-haskell/http-client-tls/http-client-tls-0.3.6.3.ebuild b/dev-haskell/http-client-tls/http-client-tls-0.3.6.3.ebuild new file mode 100644 index 000000000000..4f1e2fc62318 --- /dev/null +++ b/dev-haskell/http-client-tls/http-client-tls-0.3.6.3.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="http-client backend using the connection package and tls library" +HOMEPAGE="https://github.com/snoyberg/http-client" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # requires network access + +RDEPEND="dev-haskell/case-insensitive:=[profile?] + dev-haskell/crypton:=[profile?] + dev-haskell/crypton-connection:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/http-client-0.7.11:=[profile?] + dev-haskell/http-types:=[profile?] + dev-haskell/memory:=[profile?] + dev-haskell/network:=[profile?] + dev-haskell/network-uri:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/tls-1.2:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( dev-haskell/hspec ) +" diff --git a/dev-haskell/http-client-tls/metadata.xml b/dev-haskell/http-client-tls/metadata.xml index 895e9366e8a6..fd46ff83d375 100644 --- a/dev-haskell/http-client-tls/metadata.xml +++ b/dev-haskell/http-client-tls/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">http-client-tls</remote-id> <remote-id type="github">snoyberg/http-client</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/http-client/Manifest b/dev-haskell/http-client/Manifest index 3f4dec1cf8de..eda78e7fddff 100644 --- a/dev-haskell/http-client/Manifest +++ b/dev-haskell/http-client/Manifest @@ -1 +1,2 @@ DIST http-client-0.7.11.tar.gz 94548 BLAKE2B 5e630b5ec1861301a8a503238c111091b9b099d181b17a1d9c5fd22dac1dc60952faa7ec1da597dd909fe5f23408d728964461d77314a30a747e5edaa1757889 SHA512 0c01961e66c71636ff2628851151a788aaf941155d50a9f20b01a2e065ca7a8218ab4867b24e7cfb434aaa9b9178f727d950017870540e0bce91fffdcc374852 +DIST http-client-0.7.14.tar.gz 95406 BLAKE2B 9cb48fb44d529bc271ce969e72ff374c3d3afe1d983193e7ae7c55ea4dc8625df02e0a1ffd3597ef7882772a3f997057f88c37f356b088a8f9c2eeb9dcf90c7c SHA512 7668bb4b53c9d60aec3bb5a9342bb7c87502820d467dbf40943828136c52e99a619f0be6e8ec96fa6dcf79d8265b55fd3d681d5ce81f0e8540392534b26a3354 diff --git a/dev-haskell/http-client/http-client-0.7.14.ebuild b/dev-haskell/http-client/http-client-0.7.14.ebuild new file mode 100644 index 000000000000..624051696f80 --- /dev/null +++ b/dev-haskell/http-client/http-client-0.7.14.ebuild @@ -0,0 +1,49 @@ +# 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: +network-uri + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="An HTTP client engine" +HOMEPAGE="https://github.com/snoyberg/http-client" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.7.10-disable-net-tests.patch" +) + +RDEPEND=">=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/base64-bytestring-1.0:=[profile?] + >=dev-haskell/blaze-builder-0.3:=[profile?] + >=dev-haskell/case-insensitive-1.0:=[profile?] + dev-haskell/cookie:=[profile?] + >=dev-haskell/http-types-0.8:=[profile?] + >=dev-haskell/iproute-1.7.5:=[profile?] + dev-haskell/mime-types:=[profile?] + >=dev-haskell/network-2.6:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] + dev-haskell/random:=[profile?] + >=dev-haskell/streaming-commons-0.1.0.2:=[profile?] <dev-haskell/streaming-commons-0.3:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( dev-haskell/hspec + dev-haskell/monad-control + >=dev-haskell/streaming-commons-0.1.1 + dev-haskell/zlib ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=network-uri +} diff --git a/dev-haskell/http-client/metadata.xml b/dev-haskell/http-client/metadata.xml index 895e9366e8a6..50f1751001a7 100644 --- a/dev-haskell/http-client/metadata.xml +++ b/dev-haskell/http-client/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">http-client</remote-id> <remote-id type="github">snoyberg/http-client</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/http-conduit/http-conduit-2.3.8.ebuild b/dev-haskell/http-conduit/http-conduit-2.3.8.ebuild index 3d3e7e51ef4d..4278d2e134ea 100644 --- a/dev-haskell/http-conduit/http-conduit-2.3.8.ebuild +++ b/dev-haskell/http-conduit/http-conduit-2.3.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.7.9999 #hackport: flags: +aeson diff --git a/dev-haskell/http-date/Manifest b/dev-haskell/http-date/Manifest index 98f0133adaa0..0ff226550df7 100644 --- a/dev-haskell/http-date/Manifest +++ b/dev-haskell/http-date/Manifest @@ -1 +1,2 @@ +DIST http-date-0.0.11.tar.gz 5351 BLAKE2B e9f9ff3323895ea90fd98625af7fb5213d52303e2b39a661617d7635db294ec256470d6b4dc6d6c38fc2dc7f349eb3a9d4018358e7fef43b966539229ef779fe SHA512 dec4f4fc5f765887fb884a0309648dd3336e2591c05ac89150c7ebe935d1167f3c5996a12c5371f3fab3525b95ca8e46873b6bafc1b937b1b5367c256358a62d DIST http-date-0.0.8.tar.gz 5322 BLAKE2B a88ee8ff31e5356aefa095d5c700e77554657a1102ab12091debbe173dc8b8886b3468795117b81ac745c08511b5b856ee49f6754db265226bd375926a68413c SHA512 7ad48dc20c62fea21aad0d15251cca333b56a59ca13c45be61fd9fcd938e28f5cb82701b7a394c256e1487679d0bbfcf994de90d7c8b57888e3bac8809e97114 diff --git a/dev-haskell/http-date/http-date-0.0.11.ebuild b/dev-haskell/http-date/http-date-0.0.11.ebuild new file mode 100644 index 000000000000..bd0d30401b3e --- /dev/null +++ b/dev-haskell/http-date/http-date-0.0.11.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="HTTP Date parser/formatter" +HOMEPAGE="https://hackage.haskell.org/package/http-date" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # Ambiguous module name ‘Data.Time’: it was found in multiple packages: pulseaudio-0.0.2.1 time-1.8.0.2 + +RDEPEND="dev-haskell/attoparsec:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/doctest-0.8 + dev-haskell/hspec + dev-haskell/old-locale ) +" diff --git a/dev-haskell/http-date/http-date-0.0.8.ebuild b/dev-haskell/http-date/http-date-0.0.8.ebuild index 6ddd73edf8e5..ce23a21ec32c 100644 --- a/dev-haskell/http-date/http-date-0.0.8.ebuild +++ b/dev-haskell/http-date/http-date-0.0.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.9999 diff --git a/dev-haskell/http-media/http-media-0.8.0.0.ebuild b/dev-haskell/http-media/http-media-0.8.0.0.ebuild index f29fb0e81602..40a9f3cb1d49 100644 --- a/dev-haskell/http-media/http-media-0.8.0.0.ebuild +++ b/dev-haskell/http-media/http-media-0.8.0.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 @@ -29,11 +29,8 @@ DEPEND="${RDEPEND} " # https://hackage.haskell.org/package/http-media-0.8.0.0/revisions/ -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.7 && < 4.13' 'base >= 4.8' \ - 'base >= 4.7 && < 4.13' 'base >= 4.7' \ - 'QuickCheck >= 2.8 && < 2.14' 'QuickCheck >= 2.8' -} +CABAL_CHDEPS=( + 'base >= 4.7 && < 4.13' 'base >= 4.8' + 'base >= 4.7 && < 4.13' 'base >= 4.7' + 'QuickCheck >= 2.8 && < 2.14' 'QuickCheck >= 2.8' +) diff --git a/dev-haskell/http-types/http-types-0.12.3.ebuild b/dev-haskell/http-types/http-types-0.12.3.ebuild index 71751e69e27c..a4122c117bae 100644 --- a/dev-haskell/http-types/http-types-0.12.3.ebuild +++ b/dev-haskell/http-types/http-types-0.12.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/http/Manifest b/dev-haskell/http/Manifest index c3d8abe31ae8..04d7dc0b45e9 100644 --- a/dev-haskell/http/Manifest +++ b/dev-haskell/http/Manifest @@ -1 +1,2 @@ -DIST HTTP-4000.4.1.tar.gz 74330 BLAKE2B a4efc62f565609efb981c32961ad9fec28246fc67bbbc3da2c8430b7f4c2a96ee378b12b4f6f5f268353db870949cc6b04a9d8489c8f2bee70d783651a2bafc5 SHA512 c1edc529032013391263bcc0f8abd9534fc53a617b5033dfdc478318465cd988732b2644c7144979156c62bd1a08b1ace507b4fb4e2806f22ec7696cbdfd0147 +DIST http-4000.4.1-rev2.cabal 5862 BLAKE2B bd161e438c968d6bf20efc5bce869b5bae297b59a01332711176e34cd99f03d449f3ca8da178b5147703c2ecebe5c67f5405d98122d59fd796c8d6b23c2113f2 SHA512 03798e5436f1da1a6ecb66879f610b3b2a34d18f90c77b0724167c5931cb25b8e711316d413b7d2688c4eb2809bc957e9af2d10ad827986d026c71b2bed40a86 +DIST http-4000.4.1.tar.gz 74330 BLAKE2B a4efc62f565609efb981c32961ad9fec28246fc67bbbc3da2c8430b7f4c2a96ee378b12b4f6f5f268353db870949cc6b04a9d8489c8f2bee70d783651a2bafc5 SHA512 c1edc529032013391263bcc0f8abd9534fc53a617b5033dfdc478318465cd988732b2644c7144979156c62bd1a08b1ace507b4fb4e2806f22ec7696cbdfd0147 diff --git a/dev-haskell/http/http-4000.4.1.ebuild b/dev-haskell/http/http-4000.4.1-r1.ebuild index e3c4474746ed..bf07dbb5578e 100644 --- a/dev-haskell/http/http-4000.4.1.ebuild +++ b/dev-haskell/http/http-4000.4.1-r1.ebuild @@ -3,36 +3,38 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.2.9999 +# ebuild generated by hackport 0.8.2.1.9999 #hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23,+network-uri,-conduit10 +CABAL_HACKAGE_REVISION=2 +CABAL_PN="HTTP" + CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal -MY_PN="HTTP" -MY_P="${MY_PN}-${PV}" -S="${WORKDIR}/${MY_P}" - DESCRIPTION="A library for client-side HTTP" HOMEPAGE="https://github.com/haskell/HTTP" -SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-3.2:=[profile?] +RDEPEND=" + >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-3.2:=[profile?] >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5 >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.7 >=dev-haskell/puremd5-0.2.4 <dev-haskell/puremd5-2.2 >=dev-haskell/split-0.1.3 <dev-haskell/split-0.3 >=dev-haskell/test-framework-0.2.0 <dev-haskell/test-framework-0.9 - >=dev-haskell/test-framework-hunit-0.3.0 <dev-haskell/test-framework-hunit-0.4 ) + >=dev-haskell/test-framework-hunit-0.3.0 <dev-haskell/test-framework-hunit-0.4 + ) " src_configure() { diff --git a/dev-haskell/http/metadata.xml b/dev-haskell/http/metadata.xml index 35fde4e13547..39f332301d58 100644 --- a/dev-haskell/http/metadata.xml +++ b/dev-haskell/http/metadata.xml @@ -5,40 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The HTTP package supports client-side web programming in Haskell. It lets you set up - HTTP connections, transmitting requests and processing the responses coming back, all - from within the comforts of Haskell. It's dependent on the network package to operate, - but other than that, the implementation is all written in Haskell. - - A basic API for issuing single HTTP requests + receiving responses is provided. On top - of that, a session-level abstraction is also on offer (the @BrowserAction@ monad); - it taking care of handling the management of persistent connections, proxies, - state (cookies) and authentication credentials required to handle multi-step - interactions with a web server. - - The representation of the bytes flowing across is extensible via the use of a type class, - letting you pick the representation of requests and responses that best fits your use. - Some pre-packaged, common instances are provided for you (@ByteString@, @String@.) - - Here's an example use: - - > - > do - > rsp <- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/") - > -- fetch document and return it (as a 'String'.) - > fmap (take 100) (getResponseBody rsp) - > - > do - > rsp <- Network.Browser.browse $ do - > setAllowRedirects True -- handle HTTP redirects - > request $ getRequest "https://google.com/" - > fmap (take 100) (getResponseBody rsp) - > - - Git repository available at <https://github.com/haskell/HTTP.git> - </longdescription> <upstream> + <remote-id type="hackage">HTTP</remote-id> <remote-id type="github">haskell/HTTP</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest index 6648bbe0a355..4c18f5b4a652 100644 --- a/dev-haskell/http2/Manifest +++ b/dev-haskell/http2/Manifest @@ -1 +1,2 @@ DIST http2-3.0.1.tar.gz 5556373 BLAKE2B 40daf73f0460ce649d6bed41b9df961b7388f7ac2e67a11aae56be2f31209183e68cef558b7880b87d1a752f96f989779e5ecbf1a86df5bd4ac8443cd476c41b SHA512 aaa32209fb9945cc33c557866acb053df403bbe37c2bd024ac52e7fc6a3e816d0249e48b83e8846017fe0df0998327cf3498f1bc96b57b0fa81ce9c4d35589c6 +DIST http2-4.1.2.tar.gz 5496723 BLAKE2B 1939a137ce0ef3fad476721fe9059963de7b96e9e09c49735d33de3bb4382ec5536c17965677df3482edb09b93e83edee485503d989b07bff8cf7d0c76f48b3e SHA512 85fb0025854c059d186dd4cefffb1065f0c87d494740afba6a3f785c7d579bc11e2ba881eeeae8f682e55902e70a8ba8bc571f84aa27fcaf341110fb70e1b43d diff --git a/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch b/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch new file mode 100644 index 000000000000..07be024ee5e1 --- /dev/null +++ b/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch @@ -0,0 +1,18 @@ +diff --git a/http2.cabal b/http2.cabal +index fe57a48..b28ad06 100644 +--- a/http2.cabal ++++ b/http2.cabal +@@ -204,6 +204,3 @@ Executable hpack-debug + Buildable: True +- else +- Buildable: False +- Main-Is: hpack-debug.hs +- Build-Depends: base >= 4 && < 5 ++ Build-Depends: base >= 4 && < 5 + , aeson +@@ -219,2 +216,5 @@ Executable hpack-debug + , word8 ++ else ++ Buildable: False ++ Main-Is: hpack-debug.hs + diff --git a/dev-haskell/http2/files/http2-1.6.0-less-deps.patch b/dev-haskell/http2/files/http2-1.6.0-less-deps.patch new file mode 100644 index 000000000000..1ee62446d328 --- /dev/null +++ b/dev-haskell/http2/files/http2-1.6.0-less-deps.patch @@ -0,0 +1,52 @@ +diff --git a/http2.cabal b/http2.cabal +index 7986d1c..fe57a48 100644 +--- a/http2.cabal ++++ b/http2.cabal +@@ -180,7 +180,3 @@ Executable hpack-encode + Buildable: True +- else +- Buildable: False +- Main-Is: hpack-encode.hs +- Other-Modules: HPACKEncode +- Build-Depends: base >= 4 && < 5 ++ Build-Depends: base >= 4 && < 5 + , aeson +@@ -197,2 +193,6 @@ Executable hpack-encode + , word8 ++ else ++ Buildable: False ++ Main-Is: hpack-encode.hs ++ Other-Modules: HPACKEncode + +@@ -226,6 +226,3 @@ Executable hpack-stat + Buildable: True +- else +- Buildable: False +- Main-Is: hpack-stat.hs +- Build-Depends: base >= 4 && < 5 ++ Build-Depends: base >= 4 && < 5 + , aeson +@@ -243,2 +240,5 @@ Executable hpack-stat + , word8 ++ else ++ Buildable: False ++ Main-Is: hpack-stat.hs + +@@ -250,8 +250,3 @@ Executable frame-encode + Buildable: True +- else +- Buildable: False +- Main-Is: frame-encode.hs +- Other-Modules: Case +- JSON +- Build-Depends: base >= 4 && < 5 ++ Build-Depends: base >= 4 && < 5 + , aeson +@@ -263,2 +258,7 @@ Executable frame-encode + , unordered-containers ++ else ++ Buildable: False ++ Main-Is: frame-encode.hs ++ Other-Modules: Case ++ JSON + diff --git a/dev-haskell/http2/http2-3.0.1.ebuild b/dev-haskell/http2/http2-3.0.1.ebuild index fecaeb80aff2..26de4836f1dd 100644 --- a/dev-haskell/http2/http2-3.0.1.ebuild +++ b/dev-haskell/http2/http2-3.0.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 #hackport: flags: -devel,-doc,-h2spec diff --git a/dev-haskell/http2/http2-4.1.2.ebuild b/dev-haskell/http2/http2-4.1.2.ebuild new file mode 100644 index 000000000000..3c47800475b9 --- /dev/null +++ b/dev-haskell/http2/http2-4.1.2.ebuild @@ -0,0 +1,52 @@ +# 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: -devel,-doc,-h2spec + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="HTTP/2 library" +HOMEPAGE="https://github.com/kazu-yamamoto/http2" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # requires network to run one of the test suites + +RDEPEND="dev-haskell/async:=[profile?] + dev-haskell/case-insensitive:=[profile?] + dev-haskell/http-types:=[profile?] + dev-haskell/network:=[profile?] + >=dev-haskell/network-byte-order-0.1.5:=[profile?] + dev-haskell/psqueues:=[profile?] + dev-haskell/time-manager:=[profile?] + dev-haskell/unix-time:=[profile?] + dev-haskell/unliftio:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/aeson-2 + dev-haskell/aeson-pretty + >=dev-haskell/base16-bytestring-1.0 + dev-haskell/cryptonite + >=dev-haskell/glob-0.9 + >=dev-haskell/hspec-1.3 + >=dev-haskell/network-run-0.1.0 + dev-haskell/text + dev-haskell/typed-process + dev-haskell/unordered-containers + dev-haskell/vector ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-devel \ + --flag=-doc \ + --flag=-h2spec +} diff --git a/dev-haskell/http2/metadata.xml b/dev-haskell/http2/metadata.xml index 937381521944..baab2d1900ab 100644 --- a/dev-haskell/http2/metadata.xml +++ b/dev-haskell/http2/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">http2</remote-id> + <remote-id type="github">kazu-yamamoto/http2</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/httpd-shed/httpd-shed-0.4.1.1-r1.ebuild b/dev-haskell/httpd-shed/httpd-shed-0.4.1.1-r1.ebuild index b98c7c2b01fa..a04f32d17dd5 100644 --- a/dev-haskell/httpd-shed/httpd-shed-0.4.1.1-r1.ebuild +++ b/dev-haskell/httpd-shed/httpd-shed-0.4.1.1-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.1.9999 #hackport: flags: +network-uri,+network-bsd diff --git a/dev-haskell/hunit/Manifest b/dev-haskell/hunit/Manifest index 0ac9512ec4fb..49751e7f2dff 100644 --- a/dev-haskell/hunit/Manifest +++ b/dev-haskell/hunit/Manifest @@ -1 +1,2 @@ DIST HUnit-1.6.2.0.tar.gz 21179 BLAKE2B c3a299cbe8f6cfe2859baf1c8a212420fd745cb5927d54ad8aae5d13dfc657a27b972de73b405d1464695405ba932e6bfd2073386e0bb9b1f398178ef1a7ba2d SHA512 b27c33545fcb4ca78dd9543eb0ab2f09e5edd989d116fe2136d876eb94745e6d384967ea4b3c6dbf0f03511091a82ecd0b299c8ab00769c57d6dddcddc27e8e5 +DIST hunit-1.6.2.0.tar.gz 21179 BLAKE2B c3a299cbe8f6cfe2859baf1c8a212420fd745cb5927d54ad8aae5d13dfc657a27b972de73b405d1464695405ba932e6bfd2073386e0bb9b1f398178ef1a7ba2d SHA512 b27c33545fcb4ca78dd9543eb0ab2f09e5edd989d116fe2136d876eb94745e6d384967ea4b3c6dbf0f03511091a82ecd0b299c8ab00769c57d6dddcddc27e8e5 diff --git a/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch b/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch new file mode 100644 index 000000000000..42d1027aba22 --- /dev/null +++ b/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch @@ -0,0 +1,20 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> + +When dependencies change (for instance switching from USE=-test to USE=test) +the ABI hash for the package changes, causing reverse-dependencies to break. +This keeps the dependencies the same whether tests are enabled or not. + +diff -urN HUnit-1.6.2.0/HUnit.cabal HUnit-1.6.2.0-r1/HUnit.cabal +--- HUnit-1.6.2.0/HUnit.cabal 2022-08-28 14:11:57.178837140 -0600 ++++ HUnit-1.6.2.0-r1/HUnit.cabal 2022-08-28 14:12:38.558837160 -0600 +@@ -32,7 +32,8 @@ + build-depends: + base ==4.*, + call-stack >=0.3.0, +- deepseq ++ deepseq, ++ filepath + exposed-modules: + Test.HUnit.Base + Test.HUnit.Lang diff --git a/dev-haskell/hunit/hunit-1.6.2.0-r1.ebuild b/dev-haskell/hunit/hunit-1.6.2.0-r1.ebuild new file mode 100644 index 000000000000..69a8f58dcad5 --- /dev/null +++ b/dev-haskell/hunit/hunit-1.6.2.0-r1.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.7.2.2.9999 + +CABAL_PN="HUnit" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A unit testing framework for Haskell" +HOMEPAGE="https://github.com/hspec/HUnit#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-1.6.2.0-prevent-abi-change.patch" +) + +RDEPEND=">=dev-haskell/call-stack-0.3.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/hunit/hunit-1.6.2.0.ebuild b/dev-haskell/hunit/hunit-1.6.2.0.ebuild index 0f3b97d80a6d..bd88e63271d2 100644 --- a/dev-haskell/hunit/hunit-1.6.2.0.ebuild +++ b/dev-haskell/hunit/hunit-1.6.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.7.9999 diff --git a/dev-haskell/hunit/metadata.xml b/dev-haskell/hunit/metadata.xml index c659a3510515..f49a11c4e034 100644 --- a/dev-haskell/hunit/metadata.xml +++ b/dev-haskell/hunit/metadata.xml @@ -5,11 +5,9 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - HUnit is a unit testing framework for Haskell, inspired by the - JUnit tool for Java, see: <http://www.junit.org>. - </longdescription> <upstream> + <remote-id type="hackage">HUnit</remote-id> + <remote-id type="github">hspec/HUnit</remote-id> <remote-id type="sourceforge">hunit</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/ieee754/Manifest b/dev-haskell/ieee754/Manifest index ee7c4e8a0207..5f21c1727c97 100644 --- a/dev-haskell/ieee754/Manifest +++ b/dev-haskell/ieee754/Manifest @@ -1 +1,2 @@ DIST ieee754-0.7.8.tar.gz 17290 BLAKE2B befc4e9f5f1b69a6ad29a2bde915a6f9115a307419d903db6f4cb4108f3556d5475805f997e31212f580ed859c45e3019c55c0fd1ce8ec3bbf0d1892b04fc091 SHA512 662ed7c68797164ee5f0cd3132da96d8d9032aa23037d57636281fdc4952a7c276f92deb032db60663ab1c71311fd8d3088265fc03f772f271dcb659f3e9b866 +DIST ieee754-0.8.0.tar.gz 17564 BLAKE2B 7dcbfc3fcff5fb840bdba9e6fb6e964adf519ad3b6e21e40bbf05c9a4e571f196b9946b8f4bc3b66b1d38720ad9e44bf23c301fbee39c0da7a2766930e0a7262 SHA512 d75b619f0c0b9ac496a68997b6d79b3d7504221f1583e7c35ecc035b6e2b11559e402264f36827153aa89d9eabb27d9383413eb5fd157385b3f41c4f0050a43b diff --git a/dev-haskell/ieee754/ieee754-0.7.8.ebuild b/dev-haskell/ieee754/ieee754-0.7.8.ebuild index 30979ebd4f58..e8e44dc73401 100644 --- a/dev-haskell/ieee754/ieee754-0.7.8.ebuild +++ b/dev-haskell/ieee754/ieee754-0.7.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.4.6.9999 diff --git a/dev-haskell/ieee754/ieee754-0.8.0.ebuild b/dev-haskell/ieee754/ieee754-0.8.0.ebuild new file mode 100644 index 000000000000..0e9230f0a20b --- /dev/null +++ b/dev-haskell/ieee754/ieee754-0.8.0.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="Utilities for dealing with IEEE floating point numbers" +HOMEPAGE="https://github.com/patperry/hs-ieee754" +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:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2.0 +" diff --git a/dev-haskell/ieee754/metadata.xml b/dev-haskell/ieee754/metadata.xml index fccae010a714..937381521944 100644 --- a/dev-haskell/ieee754/metadata.xml +++ b/dev-haskell/ieee754/metadata.xml @@ -5,11 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Utilities for dealing with IEEE floating point numbers, ported from the Tangoi - math library; approximate and exact equality comparisons for general types. - </longdescription> - <upstream> - <remote-id type="github">patperry/hs-ieee754</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/ifelse/ifelse-0.85-r1.ebuild b/dev-haskell/ifelse/ifelse-0.85-r1.ebuild index 3c3ce1513df1..7b6731de862f 100644 --- a/dev-haskell/ifelse/ifelse-0.85-r1.ebuild +++ b/dev-haskell/ifelse/ifelse-0.85-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.1 diff --git a/dev-haskell/indexed-traversable-instances/Manifest b/dev-haskell/indexed-traversable-instances/Manifest index 5bad1825ac54..aa4424fe5e72 100644 --- a/dev-haskell/indexed-traversable-instances/Manifest +++ b/dev-haskell/indexed-traversable-instances/Manifest @@ -1 +1,3 @@ +DIST indexed-traversable-instances-0.1.1.2-rev1.cabal 2536 BLAKE2B 31012e89159e2957839f38047c5b6f7806dc69b14aedcd99c5851584368b9e44948e22f9ae6e483ca72865bdcf75e99eee099ff00a81b01a9c9444a21a549267 SHA512 097d27918d2589f9b08ebc0d39d47b49ad67c3f594bdbbf668ae5514d0921c458d2386211f0c81753d5694523ea5221d89a73402706d1b79100c7f617fa922f5 +DIST indexed-traversable-instances-0.1.1.2.tar.gz 3769 BLAKE2B c45df13fc334e928df402c3bdc76376b27bfbe5bc3ac0a279499e27a9d592d2fd4fc2e8a8f42e2b8bc0d5ed822f5db4ae1a9b4960f0718ab5d093d506ac8a9e6 SHA512 8e4e53054105155e2bc6637348f91548e49c422c87de659193aa917a1ca69e5b157c30f5bfb213661112d28185f87bb9cc453a57e5960042c82b5654d444ba1f DIST indexed-traversable-instances-0.1.tar.gz 4235 BLAKE2B e6ae68acc5c6424fd7b9bb045bcafe2d5eb158bb10bc2bd2c677bdd4471dd679a90d8d79628d278a1ade1f0a5940a0e17720fce7c123b89b0c79640497fcadf7 SHA512 ff27968b32c6f0925dc8959dd1b185d75811d2bdb0946818e4f7062e22fd71051c627f2abf943b05b40c85610653098b1f9780145a6369231635993fbedd29a2 diff --git a/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.1.2.ebuild b/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.1.2.ebuild new file mode 100644 index 000000000000..e7dbb672e045 --- /dev/null +++ b/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.1.2.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.2.1.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="More instances of FunctorWithIndex, FoldableWithIndex, TraversableWithIndex" +HOMEPAGE="https://hackage.haskell.org/package/indexed-traversable-instances" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/indexed-traversable-0.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/onetuple-0.3:=[profile?] <dev-haskell/onetuple-0.5:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/unordered-containers-0.2.8.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.12.1.2:=[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/quickcheck-2.14.2 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.29 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/tasty-1.2.3 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.10.1.1 <dev-haskell/tasty-quickcheck-0.11 + ) +" diff --git a/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.ebuild b/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.ebuild index 75d767053be6..92bf5e8c6a44 100644 --- a/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.1.ebuild +++ b/dev-haskell/indexed-traversable-instances/indexed-traversable-instances-0.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 diff --git a/dev-haskell/indexed-traversable-instances/metadata.xml b/dev-haskell/indexed-traversable-instances/metadata.xml index 937381521944..27f813d261e3 100644 --- a/dev-haskell/indexed-traversable-instances/metadata.xml +++ b/dev-haskell/indexed-traversable-instances/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">indexed-traversable-instances</remote-id> + <remote-id type="github">haskellari/indexed-traversable</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/indexed-traversable/Manifest b/dev-haskell/indexed-traversable/Manifest index 463ac9da6fc4..7b589a1c7def 100644 --- a/dev-haskell/indexed-traversable/Manifest +++ b/dev-haskell/indexed-traversable/Manifest @@ -1 +1,2 @@ +DIST indexed-traversable-0.1.2.1.tar.gz 8905 BLAKE2B 48abecc7b8e4b494fc8fde5786ac4d92d8a3463351199daf49b46a1dbcbb95e782ef860a9ac976157967e68dbbaba0e36689d2720830877c34987532047cc507 SHA512 22960e94b6cf3c661ae9db7cb8e0ad7d0931bf4bd01ee692c1c026453c6f176fe36acdbe12e8a8552011b3792c2a493d4e17e0996fad0aaa23140d39b1b6d253 DIST indexed-traversable-0.1.2.tar.gz 8685 BLAKE2B e136715ed18919f614b1c977f27556447f3bfdf745f6e47e7cd2aeb3038d7afaae31a34f4e9f299494cc034d34ba4e75e7e8481b8b81ba421a1afb1a8408c619 SHA512 38d2dfc0e45e3eafa1e8827c7f27a64e296902f0193cb61939af74ad6845be067024ac32278a6b5bca1976a2d3ada5820a7a6879d7bf9000730450714a5df9c4 diff --git a/dev-haskell/indexed-traversable/indexed-traversable-0.1.2.1.ebuild b/dev-haskell/indexed-traversable/indexed-traversable-0.1.2.1.ebuild new file mode 100644 index 000000000000..3f0590469484 --- /dev/null +++ b/dev-haskell/indexed-traversable/indexed-traversable-0.1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex" +HOMEPAGE="https://hackage.haskell.org/package/indexed-traversable" + +LICENSE="BSD-2" +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/indexed-traversable/metadata.xml b/dev-haskell/indexed-traversable/metadata.xml index 937381521944..df84db65042b 100644 --- a/dev-haskell/indexed-traversable/metadata.xml +++ b/dev-haskell/indexed-traversable/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">indexed-traversable</remote-id> + <remote-id type="github">haskellari/indexed-traversable</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/integer-logarithms/Manifest b/dev-haskell/integer-logarithms/Manifest index f75dfc862437..b50896cee19d 100644 --- a/dev-haskell/integer-logarithms/Manifest +++ b/dev-haskell/integer-logarithms/Manifest @@ -1 +1,2 @@ +DIST integer-logarithms-1.0.3.1-rev4.cabal 3262 BLAKE2B 7f75cecf3dc90bc6e50f55990c2b1be832cb0b94fbd0c0b6d8d985ecd21aee1a6f078b74af72676ce303261f1e71d5e3b177985baa8b005f52020d0b84159a93 SHA512 217c0fd597f2519879adba16c8e10ee562928102f7c9786a604e7ec12ea683c751d28902296d1153d30a752f566ea6c8cb83c86c990e3cdbb358807b3de71d9b DIST integer-logarithms-1.0.3.1.tar.gz 9023 BLAKE2B 29a9e2e73a6fb63f31ad87b53161b9f669a3cf6fed2992d7bf7414d9c9cff9cbe00baa301f7a7889fc0a31ff635d85dafc49ed5ce3f009202ba017b47e75c8a0 SHA512 670aff419de8d6afd1b7e1a40b68290bcf7aefad788c3b08aebfa5ca3e709f5d22543fce82fb75dc18b3ba0ef6d8a8f61735cde647a7a6c9392a60ec365534b3 diff --git a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild deleted file mode 100644 index 2daf70cdd289..000000000000 --- a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild +++ /dev/null @@ -1,46 +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: -check-bounds - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite" -inherit haskell-cabal - -DESCRIPTION="Integer logarithms" -HOMEPAGE="https://github.com/haskellari/integer-logarithms" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" - -#circular dependency: scientific -> integer-logarithms -> tasty -> scientific -RESTRICT=test - -RDEPEND=">=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1" -# test? ( >=dev-haskell/quickcheck-2.14.1 <dev-haskell/quickcheck-2.15 -# >=dev-haskell/smallcheck-1.2 <dev-haskell/smallcheck-1.3 -# >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.4 -# >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 -# >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 -# >=dev-haskell/tasty-smallcheck-0.8 <dev-haskell/tasty-smallcheck-0.9 ) -# " - -src_prepare() { - default - - cabal_chdeps \ - 'ghc-bignum >=1.0 && <1.1' 'ghc-bignum >=1.0' -} - -src_configure() { - haskell-cabal_src_configure \ - --flag=-check-bounds -} diff --git a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild new file mode 100644 index 000000000000..286e3937405a --- /dev/null +++ b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild @@ -0,0 +1,48 @@ +# 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: -check-bounds,+integer-gmp + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Integer logarithms" +HOMEPAGE="https://github.com/haskellari/integer-logarithms" + +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/quickcheck-2.14.1 <dev-haskell/quickcheck-2.15 + >=dev-haskell/smallcheck-1.2 <dev-haskell/smallcheck-1.3 + >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 + >=dev-haskell/tasty-smallcheck-0.8 <dev-haskell/tasty-smallcheck-0.9 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-check-bounds \ + --flag=integer-gmp +} + +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/integer-logarithms/metadata.xml b/dev-haskell/integer-logarithms/metadata.xml index 937381521944..b5ed47e1ed50 100644 --- a/dev-haskell/integer-logarithms/metadata.xml +++ b/dev-haskell/integer-logarithms/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">integer-logarithms</remote-id> + <remote-id type="github">haskellari/integer-logarithms</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/invariant/Manifest b/dev-haskell/invariant/Manifest index 3b19e08969f4..6bb9860284e6 100644 --- a/dev-haskell/invariant/Manifest +++ b/dev-haskell/invariant/Manifest @@ -1 +1,2 @@ DIST invariant-0.5.5.tar.gz 27181 BLAKE2B d2a6bfb24bfcc28a4e06524e15fbf0b61412d65f9a8a8bf89f77e2ea854b4c10c5a6c30a47c2720c0e772ad20cae0459f1907bcb85b44a64d72d50712933b4af SHA512 da572f725bb1d93e6c2d07f1c8e770a8acbebd4fa3f192cc4459720f440da26f07ac66dcd44c021f82c3e351e1de53db8dd229dd4000d1b917613c6df1d65fa5 +DIST invariant-0.6.2.tar.gz 28199 BLAKE2B e9acc24e0ef05fe4664ba52e23232206b7b01e8c1d6c310eba991876032a351213f07148f59dbb18f9a4bcf1cc29f054efeebe0f8091f0f680cb39f1e679d01c SHA512 a66d21cebbcef1c247ae329e4d607573308060056c22efaedf6f16fb658b6f71d0dade7deb073bf4fd0f9b595e524d190f94b23695ad98cd40a0f141988fa2ee diff --git a/dev-haskell/invariant/invariant-0.6.2.ebuild b/dev-haskell/invariant/invariant-0.6.2.ebuild new file mode 100644 index 000000000000..719a1d450ef1 --- /dev/null +++ b/dev-haskell/invariant/invariant-0.6.2.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell98 invariant functors" +HOMEPAGE="https://github.com/nfrisby/invariant-functors" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/bifunctors-5.2:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + >=dev-haskell/comonad-5:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/contravariant-0.5:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/profunctors-5.2.1:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/statevar-1.1:=[profile?] <dev-haskell/statevar-2:=[profile?] + >=dev-haskell/tagged-0.7.3:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/th-abstraction-0.4:=[profile?] <dev-haskell/th-abstraction-0.7:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2.4:=[profile?] <dev-haskell/unordered-containers-0.3:=[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-2.11 <dev-haskell/quickcheck-3 ) +" diff --git a/dev-haskell/invariant/metadata.xml b/dev-haskell/invariant/metadata.xml index 937381521944..4e2cf6833ac7 100644 --- a/dev-haskell/invariant/metadata.xml +++ b/dev-haskell/invariant/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">invariant</remote-id> + <remote-id type="github">nfrisby/invariant-functors</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/iproute/Manifest b/dev-haskell/iproute/Manifest index 1c138c30e702..834c1a541f79 100644 --- a/dev-haskell/iproute/Manifest +++ b/dev-haskell/iproute/Manifest @@ -1 +1,2 @@ +DIST iproute-1.7.12.tar.gz 17864 BLAKE2B ac69d90c43415602f52d69de69d3c044cf1908eeadb60266ccc629f8589e53a6cae27a32ad990595f65055f97fd597ca81eda83d34f909d8a0ee1f151edf6d0b SHA512 45d60e98e0a18929472d3de8850a257e21a638b3052fc31afc960c0ea755092bf44e44a1b0fae175582c1bcbda6029af028e84ba1498fe6491d925173cf310b7 DIST iproute-1.7.8.tar.gz 13309 BLAKE2B 8d6bef341643e4f096399fcba595e339d63b056aca086434fdbb906688c5720fb556ac17cbaf0c0ff851bd44133e97643a03f35db837065268f0d791222616fa SHA512 ee1bd24a560ee73757ca71eda70a610d5c8e01101c22835bbef23ec7a2217ed66a37b49d5fc3042f3df0e943aaeda2a050e75316ff2ac11602b745cbf7d7ca6a diff --git a/dev-haskell/iproute/files/iproute-1.7.12-package-imports.patch b/dev-haskell/iproute/files/iproute-1.7.12-package-imports.patch new file mode 100644 index 000000000000..f7f88a6cedd4 --- /dev/null +++ b/dev-haskell/iproute/files/iproute-1.7.12-package-imports.patch @@ -0,0 +1,20 @@ +diff -urN iproute-1.7.12/Data/IP/Addr.hs iproute-1.7.12-r1/Data/IP/Addr.hs +--- iproute-1.7.12/Data/IP/Addr.hs 2001-09-08 19:46:40.000000000 -0600 ++++ iproute-1.7.12-r1/Data/IP/Addr.hs 2022-01-15 10:13:21.758588845 -0700 +@@ -1,6 +1,7 @@ + {-# LANGUAGE BangPatterns #-} + {-# LANGUAGE DeriveDataTypeable #-} + {-# LANGUAGE DeriveGeneric #-} ++{-# LANGUAGE PackageImports #-} + + module Data.IP.Addr where + +@@ -14,7 +15,7 @@ + import Data.Word + import Network.Socket + import Numeric (showHex, showInt) +-import System.ByteOrder ++import "byteorder" System.ByteOrder + import Text.Appar.String + import GHC.Enum (succError,predError) + import GHC.Generics diff --git a/dev-haskell/iproute/iproute-1.7.12.ebuild b/dev-haskell/iproute/iproute-1.7.12.ebuild new file mode 100644 index 000000000000..9d3683101441 --- /dev/null +++ b/dev-haskell/iproute/iproute-1.7.12.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.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="IP Routing Table" +HOMEPAGE="https://www.mew.org/~kazu/proj/iproute/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( "${FILESDIR}/${PN}-1.7.12-package-imports.patch" ) + +RDEPEND="dev-haskell/appar:=[profile?] + dev-haskell/byteorder:=[profile?] + dev-haskell/network:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/doctest-0.9.3 + dev-haskell/hspec + dev-haskell/quickcheck + dev-haskell/safe ) +" diff --git a/dev-haskell/iproute/iproute-1.7.8.ebuild b/dev-haskell/iproute/iproute-1.7.8.ebuild index c6a613f4976a..316f54e8548a 100644 --- a/dev-haskell/iproute/iproute-1.7.8.ebuild +++ b/dev-haskell/iproute/iproute-1.7.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.3 diff --git a/dev-haskell/iproute/metadata.xml b/dev-haskell/iproute/metadata.xml index 429df5ba18d3..937381521944 100644 --- a/dev-haskell/iproute/metadata.xml +++ b/dev-haskell/iproute/metadata.xml @@ -5,11 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - IP Routing Table is a tree of IP ranges - to search one of them on the longest - match base. It is a kind of TRIE with one - way branching removed. Both IPv4 and IPv6 - are supported. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/isocline/Manifest b/dev-haskell/isocline/Manifest new file mode 100644 index 000000000000..5f5081d1b6be --- /dev/null +++ b/dev-haskell/isocline/Manifest @@ -0,0 +1 @@ +DIST isocline-1.0.9.tar.gz 101834 BLAKE2B b01a6c097bc4d3623dc2f1082ed79be1907827d133d713df3ed2a007a70e1fb4957553c9bdc17aca02eba7b4833fc2ec0789253e3327bd35dc505ae1f2db72cb SHA512 0bc1a4b2ad217e1e3b270eeab51b18b4d0f5534fb8759daed4b699f2a56628f4a18d909862abed5c949f671ed746855a6de508ee23f3d93ffbff5a8525db1a47 diff --git a/dev-haskell/isocline/isocline-1.0.9.ebuild b/dev-haskell/isocline/isocline-1.0.9.ebuild new file mode 100644 index 000000000000..c75b7f1f6808 --- /dev/null +++ b/dev-haskell/isocline/isocline-1.0.9.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A portable alternative to GNU Readline" +HOMEPAGE="https://github.com/daanx/isocline#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/isocline/metadata.xml b/dev-haskell/isocline/metadata.xml new file mode 100644 index 000000000000..04164fed4a5f --- /dev/null +++ b/dev-haskell/isocline/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">isocline</remote-id> + <remote-id type="github">daanx/isocline</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/jira-wiki-markup/Manifest b/dev-haskell/jira-wiki-markup/Manifest index efa0aa17b18b..0b23e6ca4c6d 100644 --- a/dev-haskell/jira-wiki-markup/Manifest +++ b/dev-haskell/jira-wiki-markup/Manifest @@ -1 +1,2 @@ DIST jira-wiki-markup-1.4.0.tar.gz 24883 BLAKE2B 565c0ddca8361848683ee453e4eaa0020b74d52d847930fd8ae0da43e435c325cf42a1ca1547ad92f10607ba07137ba6a596e90b97f599d0ef055922023cf6ca SHA512 f20bf4b5242657a34cae1aeeb88ba6de61748ccc212243ae6a6d5a4defc3e2ad25445705a87a55d5cb3b6378f5f500887bf509459a66741a75a49025e1549750 +DIST jira-wiki-markup-1.5.1.tar.gz 25459 BLAKE2B 6055bab5a28538e357069e5c7b3ed64bfe64edf2fac045b4a8b3401cd0370e2d8d3e86f928b9c63a7e86568694fbe52a2c1fe208cb645eeacd0f9704e6624f3a SHA512 d72eca3fcf82fb9569eba39cd2446396b3f16bb08c805e4f8f570397001541ca921cadb642acf17af773fc486054bb0533240516a417a21a74ec1642e7b3b517 diff --git a/dev-haskell/jira-wiki-markup/jira-wiki-markup-1.5.1.ebuild b/dev-haskell/jira-wiki-markup/jira-wiki-markup-1.5.1.ebuild new file mode 100644 index 000000000000..f92cc66782c7 --- /dev/null +++ b/dev-haskell/jira-wiki-markup/jira-wiki-markup-1.5.1.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Handle Jira wiki markup" +HOMEPAGE="https://github.com/tarleb/jira-wiki-markup" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/text-1.1.1:=[profile?] <dev-haskell/text-2.1:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit ) +" diff --git a/dev-haskell/jira-wiki-markup/metadata.xml b/dev-haskell/jira-wiki-markup/metadata.xml index 937381521944..b5e7e1d74e03 100644 --- a/dev-haskell/jira-wiki-markup/metadata.xml +++ b/dev-haskell/jira-wiki-markup/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">jira-wiki-markup</remote-id> + <remote-id type="github">tarleb/jira-wiki-markup</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/juicypixels/Manifest b/dev-haskell/juicypixels/Manifest index 9cfa62d570d3..5c7732637649 100644 --- a/dev-haskell/juicypixels/Manifest +++ b/dev-haskell/juicypixels/Manifest @@ -1 +1,2 @@ DIST JuicyPixels-3.3.5.tar.gz 131914 BLAKE2B a541f8052952e9a757fecb7168a74b9cb6aef152a1913aad36ac47d4ea2dbdeec9c644a0d2edf340986bd179ba4e925d3d284fbe73725e149e2b87866a8a5865 SHA512 40ce63d01fb4dea77caeb055cf2f9f16b32252c7c5ea501b93c9020e426da9ea019b6e618da373fa41bae93789b76561f2b091bfe9340ee9c75f4d8fe29f90ed +DIST juicypixels-3.3.7.tar.gz 132469 BLAKE2B 06b58a9969b084eeb4bea2b4e88691d92d77ebdb30fdde944c90bd4b77f780d52dd3fa1f44e0415e71bfed29c5259ec65c434f04075f02935fe052236ac1f4b2 SHA512 adb3ccae12524ddb6f2736d65d14d997e1d672960b2fcc02739742fe18d748497324c9aeecb0b0b5e7662b218c5db55b2e8f5639e6438e0b8a45960c9c0e7da1 diff --git a/dev-haskell/juicypixels/juicypixels-3.3.5.ebuild b/dev-haskell/juicypixels/juicypixels-3.3.5.ebuild index 2664239cbc6a..a9be7e744407 100644 --- a/dev-haskell/juicypixels/juicypixels-3.3.5.ebuild +++ b/dev-haskell/juicypixels/juicypixels-3.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.4.9999 diff --git a/dev-haskell/juicypixels/juicypixels-3.3.7.ebuild b/dev-haskell/juicypixels/juicypixels-3.3.7.ebuild new file mode 100644 index 000000000000..217a2ad292c8 --- /dev/null +++ b/dev-haskell/juicypixels/juicypixels-3.3.7.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.2.2.9999 + +CABAL_PN="JuicyPixels" + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and others)" +HOMEPAGE="https://github.com/Twinside/Juicy.Pixels" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="mmap" + +RDEPEND=">=dev-haskell/primitive-0.4:=[profile?] + <dev-haskell/vector-0.13:=[profile?] + >=dev-haskell/zlib-0.5.3.1:=[profile?] <dev-haskell/zlib-0.7:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +CABAL_CHDEPS=( + 'mtl >= 1.1 && < 2.3' 'mtl >= 1.1' +) + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag mmap mmap) +} diff --git a/dev-haskell/juicypixels/metadata.xml b/dev-haskell/juicypixels/metadata.xml index a1ef9357fe85..9bb364346e80 100644 --- a/dev-haskell/juicypixels/metadata.xml +++ b/dev-haskell/juicypixels/metadata.xml @@ -5,13 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - <<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADABAMAAACg8nE0AAAAElBMVEUAAABJqDSTWEL/qyb///8AAABH/1GTAAAAAXRSTlMAQObYZgAAAN5JREFUeF7s1sEJgFAQxFBbsAV72v5bEVYWPwT/XDxmCsi7zvHXavYREBDI3XP2GgICqBBYuwIC+/rVayPUAyAg0HvIXBcQoDFDGnUBgWQQ2Bx3AYFaRoBpAQHWb3bt2ARgGAiCYFFuwf3X5HA/McgGJWI2FdykCv4aBYzmKwDwvl6NVmUAAK2vlwEALK7fo88GANB6HQsAAAAAAAAA7P94AQCzswEAAAAAAAAAAAAAAAAAAICzh4UAO4zWAYBfRutHA4Bn5C69JhowAMGoBaMWDG0wCkbBKBgFo2AUAACPmegUST/IJAAAAABJRU5ErkJggg==>> - - This library can load and store images in PNG,Bitmap, Jpeg, Radiance and - read Gif images. - </longdescription> + <use> + <flag name="mmap">Enable the file loading via mmap (memory map)</flag> + </use> <upstream> + <remote-id type="hackage">JuicyPixels</remote-id> <remote-id type="github">Twinside/Juicy.Pixels</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/language-c/Manifest b/dev-haskell/language-c/Manifest index c672387c4ccd..4d89e33f9a4a 100644 --- a/dev-haskell/language-c/Manifest +++ b/dev-haskell/language-c/Manifest @@ -1 +1,2 @@ DIST language-c-0.8.3.tar.gz 194870 BLAKE2B 6b35d741f73543d929bac18e3567911f7d2fa56734463cbc15f2db4ecdc127eaaa1ec2afbe6962f39feb860669c33b50d6c7c941cdd7f6b3c97b42f911b21309 SHA512 a2e653c3d6fe4573c0a7f34115d5a5d3db925c174cd574755bb174de834165bce236b354f04e1158309eda654d12104ea03e88f94cdc8b3e11cffba7260282de +DIST language-c-0.9.2.tar.gz 125202 BLAKE2B 56b9254002757158308968b75ac42745710d426c8ba92900a9e0c5e391e6654d8cca3ffc4ae194598d3e07b860bd9ff5634270cd27911b4f7f1ff99bd8980657 SHA512 eaa1a0befbc6ccb5ed53a200a03ea7fa51c2d820fb501476576cc4268d8c8816080f942a5044a769e88a1ec58b0f3f5ca55512c70b797a6c3555186e842de701 diff --git a/dev-haskell/language-c/language-c-0.8.3-r1.ebuild b/dev-haskell/language-c/language-c-0.8.3-r1.ebuild index 2df560ffea41..dd8f5c0f1f78 100644 --- a/dev-haskell/language-c/language-c-0.8.3-r1.ebuild +++ b/dev-haskell/language-c/language-c-0.8.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.9999 #hackport: flags: -allwarnings,+separatesyb,+usebytestrings,+splitbase,+iecfpextension diff --git a/dev-haskell/language-c/language-c-0.9.2.ebuild b/dev-haskell/language-c/language-c-0.9.2.ebuild new file mode 100644 index 000000000000..46747b88aee0 --- /dev/null +++ b/dev-haskell/language-c/language-c-0.9.2.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.0.0.9999 +#hackport: flags: -allwarnings,+separatesyb,+usebytestrings,+splitbase,+iecfpextension + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Analysis and generation of C code" +HOMEPAGE="https://visq.github.io/language-c/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + || ( dev-lang/ghc dev-haskell/process[profile?] ) + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + dev-haskell/alex + >=dev-haskell/cabal-2.2.0.1 + dev-haskell/happy +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-allwarnings \ + --flag=iecfpextension \ + --flag=separatesyb \ + --flag=splitbase \ + --flag=usebytestrings +} diff --git a/dev-haskell/language-c/metadata.xml b/dev-haskell/language-c/metadata.xml index c7bb0e775ab0..e2e11e0dbe7c 100644 --- a/dev-haskell/language-c/metadata.xml +++ b/dev-haskell/language-c/metadata.xml @@ -1,7 +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> -</maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">language-c</remote-id> + <remote-id type="github">visq/language-c</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/language-haskell-extract/language-haskell-extract-0.2.4-r1.ebuild b/dev-haskell/language-haskell-extract/language-haskell-extract-0.2.4-r1.ebuild index fc455a65e5b5..84c586cbeeb3 100644 --- a/dev-haskell/language-haskell-extract/language-haskell-extract-0.2.4-r1.ebuild +++ b/dev-haskell/language-haskell-extract/language-haskell-extract-0.2.4-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.3.2.9999 diff --git a/dev-haskell/language-javascript/Manifest b/dev-haskell/language-javascript/Manifest index 3f60b671450a..53c831352a2e 100644 --- a/dev-haskell/language-javascript/Manifest +++ b/dev-haskell/language-javascript/Manifest @@ -1 +1,2 @@ DIST language-javascript-0.6.0.14.tar.gz 75969 BLAKE2B ca286024545ae1b6ceb84150865c9b4768fd7ba3e783b86c01a977793cee868b55c1bec2daaa498ecc6b672be01358f76df9bcc8196c73d7463ed3213c9e6e42 SHA512 e51dc2d94339583cea58dafc5092571d54ea170a11dd1b38068f656af63ede76cc914dbbe2c18d3743c68108e3d143c8b153ecfb39410f8a4cbe108cea26fa56 +DIST language-javascript-0.7.1.0.tar.gz 76438 BLAKE2B c0e893ba9547a1104afd0397ed3b9439ba78947e6650317d98eeb929c140fbedb1b13d2e2425a71326b795a1b22efddbf93325591313dba9ade2b70acef12909 SHA512 35f935f121cb8aad1a28be50ba8d571ee60bd2c6721eaf9bc7f897cbc4a33b17213e89d84bf9525ddbf555030efd5fbe6b11157c113900354430a7193223516f diff --git a/dev-haskell/language-javascript/language-javascript-0.6.0.14.ebuild b/dev-haskell/language-javascript/language-javascript-0.6.0.14.ebuild index 77ce7d53410e..79daaa409b53 100644 --- a/dev-haskell/language-javascript/language-javascript-0.6.0.14.ebuild +++ b/dev-haskell/language-javascript/language-javascript-0.6.0.14.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/language-javascript/language-javascript-0.7.1.0.ebuild b/dev-haskell/language-javascript/language-javascript-0.7.1.0.ebuild new file mode 100644 index 000000000000..ea7d040d8936 --- /dev/null +++ b/dev-haskell/language-javascript/language-javascript-0.7.1.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.6.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Parser for JavaScript" +HOMEPAGE="https://github.com/erikd/language-javascript" +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/blaze-builder-0.2:=[profile?] + >=dev-haskell/mtl-1.1:=[profile?] + >=dev-haskell/semigroups-0.16.1:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + >=dev-haskell/utf8-string-0.3.7:=[profile?] <dev-haskell/utf8-string-2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + dev-haskell/alex + >=dev-haskell/cabal-1.9.2 + dev-haskell/happy + test? ( dev-haskell/hspec + >=dev-haskell/quickcheck-2 + >=dev-haskell/utf8-light-0.4 ) +" diff --git a/dev-haskell/language-javascript/metadata.xml b/dev-haskell/language-javascript/metadata.xml index 6945e6d21338..937381521944 100644 --- a/dev-haskell/language-javascript/metadata.xml +++ b/dev-haskell/language-javascript/metadata.xml @@ -5,7 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <upstream> - <remote-id type="github">alanz/language-javascript</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/leancheck/Manifest b/dev-haskell/leancheck/Manifest index 0370c79f149e..b1a4364fc7a1 100644 --- a/dev-haskell/leancheck/Manifest +++ b/dev-haskell/leancheck/Manifest @@ -1 +1,2 @@ +DIST leancheck-0.9.10.tar.gz 129134 BLAKE2B d9b6d4cf63eae2e54b327783f6f396d112e2b7e59bacd4dd600ad145640a959439ffdf787c57876e8b29023da2ab3e4931803c7ef6d27ebb96fd2196e970211a SHA512 4b27366fd0128332988db1cf31fbe6654110235de45e56d8f0e2bc483567b8e6bdbd33e021d47989df20100f3eb431fa6cf82c957a541ca3cf7b9bf1de72dbbe DIST leancheck-0.9.3.tar.gz 125801 BLAKE2B 4825d66ddc745a1ba6e20a28c7397ca33bab79e84899d5ed0f28d88f526f8415aad8b707b2e61de25ce482673d47f4771bc2cb1e402b846fff7552df49689837 SHA512 a5591e8f23318ae6097494a62998f1553fe975058827058f4d7400f723e601bcd92060c26fd5d9c60f1c1da51f97d74de0cf380ae5652c8c0721fabc2b4f5027 diff --git a/dev-haskell/leancheck/leancheck-0.9.10.ebuild b/dev-haskell/leancheck/leancheck-0.9.10.ebuild new file mode 100644 index 000000000000..9306a501545e --- /dev/null +++ b/dev-haskell/leancheck/leancheck-0.9.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Enumerative property-based testing" +HOMEPAGE="https://github.com/rudymatela/leancheck#readme" +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/leancheck/leancheck-0.9.3.ebuild b/dev-haskell/leancheck/leancheck-0.9.3.ebuild index 3331d80739e8..a1b78d5c2f29 100644 --- a/dev-haskell/leancheck/leancheck-0.9.3.ebuild +++ b/dev-haskell/leancheck/leancheck-0.9.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/lens/Manifest b/dev-haskell/lens/Manifest index e7a1df2492dc..97d0431ce993 100644 --- a/dev-haskell/lens/Manifest +++ b/dev-haskell/lens/Manifest @@ -1 +1,2 @@ DIST lens-5.1.1.tar.gz 697888 BLAKE2B 707a7986a561abaa33abed08b170ba23945dc97ac98af0f72ce675ecd551903eb9eaaa9c8c1e22b841ab174409f1f1e8256cb17c87230b3733f0424b2bc3b6e4 SHA512 2d64cf710b7835e63a6e5af4a3075968354e01cbcd03b1ce4f7bbc56662d029b7dc399b2d8918692715f6e94f5885a63b811704b9016284dc54d9950d9142a78 +DIST lens-5.2.2.tar.gz 700966 BLAKE2B a8c4114931cea0e6566ed3b67c22ed8e056b4d1d825665f355bae05254616034306c4cfe354841b207ba82f0e4db2c9050ab3d7c38f47883bd6987c1a7961257 SHA512 f98c0a6d86470f76d990868a8a3da8680facce982b6aaf3e5870f0e79836de664df9bc831ba7eb96765e1dde29af704d8063e5fd978f5e1726389dbc755fc494 diff --git a/dev-haskell/lens/lens-5.2.2.ebuild b/dev-haskell/lens/lens-5.2.2.ebuild new file mode 100644 index 000000000000..ba3ceb4e3504 --- /dev/null +++ b/dev-haskell/lens/lens-5.2.2.ebuild @@ -0,0 +1,66 @@ +# 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: -lib-werror,+test-hunit,+test-properties,-benchmark-uniplate,-dump-splices,+inlining,-j,+test-templates,+trustworthy + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lenses, Folds and Traversals" +HOMEPAGE="https://github.com/ekmett/lens/" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/assoc-1.0.2:=[profile?] <dev-haskell/assoc-1.2:=[profile?] + >=dev-haskell/base-orphans-0.5.2:=[profile?] <dev-haskell/base-orphans-1:=[profile?] + >=dev-haskell/bifunctors-5.5.7:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + >=dev-haskell/call-stack-0.1:=[profile?] <dev-haskell/call-stack-0.5:=[profile?] + >=dev-haskell/comonad-5.0.7:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/contravariant-1.4:=[profile?] <dev-haskell/contravariant-2:=[profile?] + >=dev-haskell/distributive-0.5.1:=[profile?] <dev-haskell/distributive-1:=[profile?] + >=dev-haskell/free-5.1.5:=[profile?] <dev-haskell/free-6:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/indexed-traversable-0.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/indexed-traversable-instances-0.1:=[profile?] <dev-haskell/indexed-traversable-instances-0.2:=[profile?] + >=dev-haskell/kan-extensions-5:=[profile?] <dev-haskell/kan-extensions-6:=[profile?] + >=dev-haskell/parallel-3.2.1.0:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/profunctors-5.5.2:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/reflection-2.1:=[profile?] <dev-haskell/reflection-3:=[profile?] + >=dev-haskell/semigroupoids-5.0.1:=[profile?] <dev-haskell/semigroupoids-7:=[profile?] + >=dev-haskell/strict-0.4:=[profile?] <dev-haskell/strict-0.6:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-1:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/th-abstraction-0.4.1:=[profile?] <dev-haskell/th-abstraction-0.6:=[profile?] + >=dev-haskell/these-1.1.1.1:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/transformers-compat-0.5.0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2.10:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.12.1.2:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/hunit-1.2 + >=dev-haskell/quickcheck-2.4 + >=dev-haskell/simple-reflect-0.3.1 + >=dev-haskell/test-framework-0.6 + >=dev-haskell/test-framework-hunit-0.2 + >=dev-haskell/test-framework-quickcheck2-0.2 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-benchmark-uniplate \ + --flag=-dump-splices \ + --flag=inlining \ + --flag=-j \ + --flag=-lib-werror \ + --flag=test-hunit \ + --flag=test-properties \ + --flag=test-templates \ + --flag=trustworthy +} diff --git a/dev-haskell/lens/metadata.xml b/dev-haskell/lens/metadata.xml index 937381521944..db61bc69ecd0 100644 --- a/dev-haskell/lens/metadata.xml +++ b/dev-haskell/lens/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">lens</remote-id> + <remote-id type="github">ekmett/lens</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/libmpd/Manifest b/dev-haskell/libmpd/Manifest index 94026d83b685..84cb8fd7d085 100644 --- a/dev-haskell/libmpd/Manifest +++ b/dev-haskell/libmpd/Manifest @@ -1 +1,2 @@ +DIST libmpd-0.10.0.0.tar.gz 43455 BLAKE2B 1afacbecf7c36f5135b4d4811d38a45841143a87224a7701a1f426b7ec624251e4314645179b19c5743ab6a50d8ad04dfa5c393ac5c6a3c10e20f0baecfc28d2 SHA512 33b2af4cbbcc2c6bb2f05ada685d8870ca5132559f8f0505da39f0deb290f1e15028d783c9b28fc51f785ed86878fbf40bb0be0487612cc2b600eaf619114c11 DIST libmpd-0.9.2.0.tar.gz 41824 BLAKE2B 1788acb7e4152a9612a8cd503ac9751a5165a80044f1470bb4b6b055e9a52b538c9bf9cd5f0d2796e08f11e1c7a80e2739cbedf6869e1929a2f27fda08ec32ae SHA512 44b09e239a757308e59434eec80382465b684c9a00803c917194268a5b5b548b9da8e33ead8582c2a797badd0edb38846267009848a4f2300098adda4004aa18 diff --git a/dev-haskell/libmpd/libmpd-0.10.0.0.ebuild b/dev-haskell/libmpd/libmpd-0.10.0.0.ebuild new file mode 100644 index 000000000000..499b2215af76 --- /dev/null +++ b/dev-haskell/libmpd/libmpd-0.10.0.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.1.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="An MPD client library" +HOMEPAGE="https://github.com/vimus/libmpd-haskell#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +CABAL_CHDEPS=( + 'text >= 0.11 && < 2' 'text >= 0.11' +) + +RDEPEND=">=dev-haskell/attoparsec-0.10.1:=[profile?] <dev-haskell/attoparsec-1:=[profile?] + >=dev-haskell/data-default-class-0.0.1:=[profile?] <dev-haskell/data-default-class-1:=[profile?] + >=dev-haskell/network-2.6.3.5:=[profile?] + >=dev-haskell/safe-exceptions-0.1:=[profile?] <dev-haskell/safe-exceptions-0.2:=[profile?] + >=dev-haskell/utf8-string-0.3.1:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4 + test? ( >=dev-haskell/hspec-2 + >=dev-haskell/quickcheck-2.10 ) +" diff --git a/dev-haskell/libmpd/libmpd-0.9.2.0.ebuild b/dev-haskell/libmpd/libmpd-0.9.2.0.ebuild index b1fb8dbe4180..a3b358b2d75b 100644 --- a/dev-haskell/libmpd/libmpd-0.9.2.0.ebuild +++ b/dev-haskell/libmpd/libmpd-0.9.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.7.9999 diff --git a/dev-haskell/libmpd/metadata.xml b/dev-haskell/libmpd/metadata.xml index 937381521944..d15c9225ef07 100644 --- a/dev-haskell/libmpd/metadata.xml +++ b/dev-haskell/libmpd/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">libmpd</remote-id> + <remote-id type="github">vimus/libmpd-haskell</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/libyaml/libyaml-0.1.2.ebuild b/dev-haskell/libyaml/libyaml-0.1.2.ebuild index 6bcbb87f5f82..62db191a52ba 100644 --- a/dev-haskell/libyaml/libyaml-0.1.2.ebuild +++ b/dev-haskell/libyaml/libyaml-0.1.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.4 @@ -15,7 +15,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="no-unicode system-libyaml" +IUSE="+unicode system-libyaml" RDEPEND=">=dev-haskell/conduit-1.2.8:=[profile?] <dev-haskell/conduit-1.4:=[profile?] >=dev-haskell/resourcet-0.3:=[profile?] <dev-haskell/resourcet-1.3:=[profile?] @@ -27,7 +27,10 @@ DEPEND="${RDEPEND} " src_configure() { + local unicode_flag="no-unicode" + use unicode && unicode_flag="-no-unicode" + haskell-cabal_src_configure \ - $(cabal_flag no-unicode no-unicode) \ + --flag="${unicode_flag}" \ $(cabal_flag system-libyaml system-libyaml) } diff --git a/dev-haskell/libyaml/metadata.xml b/dev-haskell/libyaml/metadata.xml index 97319385e94a..dd6483d64c56 100644 --- a/dev-haskell/libyaml/metadata.xml +++ b/dev-haskell/libyaml/metadata.xml @@ -6,7 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="no-unicode">Don't enable unicode output. Instead, unicode characters will be escaped.</flag> + <flag name="unicode">Enable unicode output. Otherwise, unicode characters will be escaped.</flag> <flag name="system-libyaml">Use the system-wide libyaml instead of the bundled copy</flag> </use> </pkgmetadata> diff --git a/dev-haskell/lifted-async/Manifest b/dev-haskell/lifted-async/Manifest index 58f150b3f38e..a6d19345c334 100644 --- a/dev-haskell/lifted-async/Manifest +++ b/dev-haskell/lifted-async/Manifest @@ -1 +1,2 @@ +DIST lifted-async-0.10.2.3.tar.gz 10685 BLAKE2B 86699670329fe040f1dab3eef317ba717fdfb7c6e69a444190a270280c90e5a59f54378f61d77c63175b06f41bb63100e98e5034d8d4a7df92c4af17fac37293 SHA512 b21ab3ccf04de748d3b0bf0ca8ae2c490fdfad4bcc5b9053a196da424923866d58bb735bc208ca600ae2d4d1d66545adc52e0826ba6bb63a7089d4946493e59a DIST lifted-async-0.10.2.tar.gz 10607 BLAKE2B 79ef9e4f11e5d41d3886473f2443a7345a1b52fd0aaf50a96a338f3958fdfef0a00846adf04cf8d310935c130a583544829685ad895c238544fd3ca5558973cd SHA512 eb2b33693ab1617fdeca934c6ede73c530e578425049804c3a0322a63b5262411453f80cb730dabd338590fc6b3093cd13872b9922f5cda4806741fc74ea63ee diff --git a/dev-haskell/lifted-async/lifted-async-0.10.2.3.ebuild b/dev-haskell/lifted-async/lifted-async-0.10.2.3.ebuild new file mode 100644 index 000000000000..42c5ecac4aa8 --- /dev/null +++ b/dev-haskell/lifted-async/lifted-async-0.10.2.3.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.0.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Run lifted IO operations asynchronously and wait for their results" +HOMEPAGE="https://github.com/maoe/lifted-async" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/async-2.2:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/constraints-0.2:=[profile?] <dev-haskell/constraints-0.14:=[profile?] + >=dev-haskell/lifted-base-0.2:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?] + >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] + >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hunit + dev-haskell/tasty + <dev-haskell/tasty-expected-failure-0.13 + >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 + dev-haskell/tasty-th ) +" diff --git a/dev-haskell/lifted-async/lifted-async-0.10.2.ebuild b/dev-haskell/lifted-async/lifted-async-0.10.2.ebuild index 7d91929f794f..969bc7417d56 100644 --- a/dev-haskell/lifted-async/lifted-async-0.10.2.ebuild +++ b/dev-haskell/lifted-async/lifted-async-0.10.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.7.9999 diff --git a/dev-haskell/lifted-async/metadata.xml b/dev-haskell/lifted-async/metadata.xml index 50b995cb320b..159a65915cec 100644 --- a/dev-haskell/lifted-async/metadata.xml +++ b/dev-haskell/lifted-async/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides IO operations from @async@ package lifted to any - instance of 'MonadBase' or 'MonadBaseControl'. - </longdescription> <upstream> + <remote-id type="hackage">lifted-async</remote-id> <remote-id type="github">maoe/lifted-async</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/logging-facade/logging-facade-0.3.0.ebuild b/dev-haskell/logging-facade/logging-facade-0.3.0.ebuild index 7584885aa399..32a64b07d9dc 100644 --- a/dev-haskell/logging-facade/logging-facade-0.3.0.ebuild +++ b/dev-haskell/logging-facade/logging-facade-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.1 diff --git a/dev-haskell/logict/Manifest b/dev-haskell/logict/Manifest index c59eda725001..100ee4bab151 100644 --- a/dev-haskell/logict/Manifest +++ b/dev-haskell/logict/Manifest @@ -1 +1,2 @@ DIST logict-0.7.0.3.tar.gz 5924 BLAKE2B 1d5fe5a78ff0448e70b68c063f3e1a4d632208e4b5bc35c51c17d12bf0ae5175db31b5c8854776ae41d7ca1fe450f8767a9f5db113c85e60ffc26bb949f1406e SHA512 0d845daffb841efea93b59e48ee86daeb0dbacbe4fc7fa417ff71d1dcda3a5551901f589097416441736007d256197932b83de76a2f630a5f7835909cd758e79 +DIST logict-0.8.1.0.tar.gz 18721 BLAKE2B 733be00e92c6ff47b302c444228335bfbbdbbace75c0076ed29b4f2c65730eafcebdecb5bfa6a20ceceaf4df2d1a0e807c9052b48d614a71c00bff08b1a7f319 SHA512 9202d53252b38f9cab39ca95f74a56e3f858cc05ff6ab27f827fcad9a484416ff743195f528636d18a11dccb1e8566314287e8265c98d856fe374f8748de2739 diff --git a/dev-haskell/logict/logict-0.7.0.3.ebuild b/dev-haskell/logict/logict-0.7.0.3.ebuild index 7826f115d48f..fb111886043b 100644 --- a/dev-haskell/logict/logict-0.7.0.3.ebuild +++ b/dev-haskell/logict/logict-0.7.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/logict/logict-0.8.1.0.ebuild b/dev-haskell/logict/logict-0.8.1.0.ebuild new file mode 100644 index 000000000000..b1a55d511be6 --- /dev/null +++ b/dev-haskell/logict/logict-0.8.1.0.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A backtracking logic-programming monad" +HOMEPAGE="https://github.com/Bodigrim/logict#readme" + +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/async-2.0 <dev-haskell/async-2.3 + <dev-haskell/tasty-1.5 + <dev-haskell/tasty-hunit-0.11 ) +" diff --git a/dev-haskell/logict/metadata.xml b/dev-haskell/logict/metadata.xml index 165b9bf095c2..f00a63d92b3a 100644 --- a/dev-haskell/logict/metadata.xml +++ b/dev-haskell/logict/metadata.xml @@ -5,14 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A continuation-based, backtracking, logic programming monad. - An adaptation of the two-continuation implementation found - in the paper "Backtracking, Interleaving, and Terminating - Monad Transformers" available here: - <http://okmij.org/ftp/papers/LogicT.pdf> - </longdescription> <upstream> + <remote-id type="hackage">logict</remote-id> <remote-id type="github">Bodigrim/logict</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/lpeg/Manifest b/dev-haskell/lpeg/Manifest index d4e67ba27c55..e8375ee4a088 100644 --- a/dev-haskell/lpeg/Manifest +++ b/dev-haskell/lpeg/Manifest @@ -1 +1,2 @@ DIST lpeg-1.0.3.tar.gz 40092 BLAKE2B fa7abf62be859a15b66aacefb8b170488a59a48cf8d209653bb274327af5ad145a047a0e654b37819045eb594389d405813dbe2c9956f91461bf29e4f3ad99d1 SHA512 636a983054576487af8663d627ea16b57894eca18c92a5994abcdeec11acaa1b5d7bb0da1eae0a1a175c75fad44c93a78c5a5e6e7ce25ddac67f5b376559fbdc +DIST lpeg-1.0.4.tar.gz 40132 BLAKE2B 03b1edc225b21d09a69da62157564b504115428843dec4f49575f701f4153b12f5f35005bcb7b5738d299910fddbc58851963800f28bed5584ab73efdaa4fcea SHA512 683af7bc2b695a4058f757de7b45759bbaea790d893109256fb9ee13607f15e765e36aa7df7fff6215d93e4aee480b4e0097a52d261673603e7ae6f632d476c0 diff --git a/dev-haskell/lpeg/lpeg-1.0.4.ebuild b/dev-haskell/lpeg/lpeg-1.0.4.ebuild new file mode 100644 index 000000000000..1d47374670a2 --- /dev/null +++ b/dev-haskell/lpeg/lpeg-1.0.4.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="LPeg – Parsing Expression Grammars For Lua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="rely-on-shared-lpeg-library" + +RDEPEND=">=dev-haskell/lua-2.1:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag rely-on-shared-lpeg-library rely-on-shared-lpeg-library) +} diff --git a/dev-haskell/lpeg/metadata.xml b/dev-haskell/lpeg/metadata.xml index 0e2931233720..571add0e90e2 100644 --- a/dev-haskell/lpeg/metadata.xml +++ b/dev-haskell/lpeg/metadata.xml @@ -11,4 +11,8 @@ made available in other ways, e.g., through a system-wide installation. The loader will be replaced with a placeholder function that only emits a message.</flag> </use> + <upstream> + <remote-id type="hackage">lpeg</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/lua-arbitrary/Manifest b/dev-haskell/lua-arbitrary/Manifest index e05772fd3bf8..8e7dbd4add11 100644 --- a/dev-haskell/lua-arbitrary/Manifest +++ b/dev-haskell/lua-arbitrary/Manifest @@ -1 +1,2 @@ +DIST lua-arbitrary-1.0.1.1.tar.gz 2487 BLAKE2B 978fb3f94715211cdbb22e89d05abc9fbc92b713237e5d87984f7bfc27b56f547c754d62aaf1b23604de0769382d3d6e52bfcb63ad2af2e900257b8e139c1cde SHA512 135c4e16dae746aa06b7c6f217f7beb99f6e70ffc7f20ada5ee09654827d104a9e653317dd10cb615b404419bd76574b7a3f75f518a4ee560d2fcc9bae26113a DIST lua-arbitrary-1.0.1.tar.gz 2479 BLAKE2B e61c8eb60bfd2fa17f253baced7aba296ff79fa8ac930ec3616f7a8db818ab76f0287e99089d61abad1eaf573e522e4456c71e8c7ffc38b675c0dcf7cae3e95f SHA512 09de72fa62600e1b1ddc7de8f51bd6a429bff9a51347c36c2c9d67f0bb25eb9d6105ff7d08717f3b823a63f6fe60c8e4c9620ad3645f285e38126ec10ff5b402 diff --git a/dev-haskell/lua-arbitrary/lua-arbitrary-1.0.1.1.ebuild b/dev-haskell/lua-arbitrary/lua-arbitrary-1.0.1.1.ebuild new file mode 100644 index 000000000000..8f700db46f8b --- /dev/null +++ b/dev-haskell/lua-arbitrary/lua-arbitrary-1.0.1.1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Arbitrary instances for Lua types" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/lua-2.0:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-haskell/quickcheck-2.7:2=[profile?] <dev-haskell/quickcheck-3:2=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/lua-arbitrary/metadata.xml b/dev-haskell/lua-arbitrary/metadata.xml index 937381521944..a36ef1983206 100644 --- a/dev-haskell/lua-arbitrary/metadata.xml +++ b/dev-haskell/lua-arbitrary/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">lua-arbitrary</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/lua/Manifest b/dev-haskell/lua/Manifest index 63f1348bc0b1..93981a094680 100644 --- a/dev-haskell/lua/Manifest +++ b/dev-haskell/lua/Manifest @@ -1 +1,2 @@ DIST lua-2.2.0.tar.gz 260005 BLAKE2B ec79108a72a6060fc82b94aac1e61c51aea0d570bac37add749654d903fec5b62c5caa82932606e9778431c80c68fceb11b5eba9d6c45c183a8f249934d26c55 SHA512 d19f54c9424773557f7ef7929be84dfcb7624d8a617d3383a771fe1ba7d6d5cd724c8fcd40475cde443e02e0cf3164a8869c0d67c90cf04b3b09ef6d876aa727 +DIST lua-2.3.1.tar.gz 262809 BLAKE2B f12e2566008e713e89a87b02edd216bda1f8e9865faf1dcee2e4909b4759990836c3fa4a78d5864812a975ba46f8a6266b45568dc9abd4f752cd765407bcc69f SHA512 3fd5c4d55fdb7480ffc629e7dfd9fb31b7376ca4245e9db098fce7dc4dbdf1a576f521f55902bdf484ad9b4bbfab4a565de4e1528a1cb4296682508ccb977686 diff --git a/dev-haskell/lua/lua-2.3.1.ebuild b/dev-haskell/lua/lua-2.3.1.ebuild new file mode 100644 index 000000000000..d79cf4d78381 --- /dev/null +++ b/dev-haskell/lua/lua-2.3.1.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.7.1.1.9999 +#hackport: flags: -allow-unsafe-gc,-apicheck,-export-dynamic,-lua_32bits,pkg-config:system-lua + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua, an embeddable scripting language" +HOMEPAGE="https://hslua.org/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="system-lua" + +RDEPEND=">=dev-lang/ghc-8.4.3:= + system-lua? ( dev-lang/lua:5.4 ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 ) +" +BDEPEND="system-lua? ( virtual/pkgconfig ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-allow-unsafe-gc \ + --flag=-apicheck \ + --flag=-export-dynamic \ + --flag=-lua_32bits \ + $(cabal_flag system-lua pkg-config) +} diff --git a/dev-haskell/lukko/Manifest b/dev-haskell/lukko/Manifest index afbce89486e4..7ae64b144fc0 100644 --- a/dev-haskell/lukko/Manifest +++ b/dev-haskell/lukko/Manifest @@ -1,2 +1,2 @@ -DIST lukko-0.1.1.3.cabal 4556 BLAKE2B 61ae605ec201a1870aba505e4434ace0b6f153b10eb740e2a28cb44cdf948086eb58485c976c0ab895e26521175f9e97c0c4b1ef296831a671c8c0ae64f719b2 SHA512 ac85483d44211bac42bb5bba64a790a2c328db3e3afb9f2837a50a792a13b6efcaf9298705051c6f54f151786c8a41c79f4929f8d5ef3934cc918dfe8091c12b +DIST lukko-0.1.1.3-rev4.cabal 4584 BLAKE2B f940efd241489c7a078f0c13edf2cd1cce1a6e99109cd423fedefd94ffe73a3a83b021b49c54a760e554f9c6f254261ed16f533feb262543acc5f40a8eba72b8 SHA512 5cde0f7dc7037037a42b73675e1d0c597f77190b5878f6246bc8c71f57fca6de8bb4fb87297fd6dfd145109354341bac55d822ee6c399edbd968f81be2b26a7b DIST lukko-0.1.1.3.tar.gz 28575 BLAKE2B 9f0006d05ba1db03de6fda88265e8949797201124f71ca6690113431f398eb59f19ec67363eb6b2834cac136e985b84882d45dfeb71c67e1147dd000c06cd243 SHA512 8bed8b88a101883f642bb9d9d41512436f5c80db5ea1ad0cddb069c6d09257d21b56a60e0f70b57453e91126065fbfdeeb721064763e64de1975dcb51b1a484a diff --git a/dev-haskell/lukko/lukko-0.1.1.3.ebuild b/dev-haskell/lukko/lukko-0.1.1.3-r1.ebuild index fc565354a17c..b89bdca78478 100644 --- a/dev-haskell/lukko/lukko-0.1.1.3.ebuild +++ b/dev-haskell/lukko/lukko-0.1.1.3-r1.ebuild @@ -3,45 +3,37 @@ EAPI=8 -# ebuild generated by hackport 0.7.9999 +# ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: +ofd-locking +CABAL_HACKAGE_REVISION=4 + CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="File locking" HOMEPAGE="https://hackage.haskell.org/package/lukko" -HACKAGE_REV="2" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz - https://hackage.haskell.org/package/${P}/revision/${HACKAGE_REV}.cabal -> ${PF}.cabal" LICENSE="GPL-2 BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-lang/ghc-8.4.3:= +RDEPEND=">=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/async-2.2.2 <dev-haskell/async-2.3 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/async-2.2.2 <dev-haskell/async-2.3 >=dev-haskell/singleton-bool-0.1.5 <dev-haskell/singleton-bool-0.2 >=dev-haskell/tasty-1.4.0.1 <dev-haskell/tasty-1.5 >=dev-haskell/tasty-hunit-0.10.0.2 <dev-haskell/tasty-hunit-0.11 >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 - >=dev-haskell/tasty-expected-failure-0.11.1.2 <dev-haskell/tasty-expected-failure-0.13 ) + || ( + ( >=dev-haskell/tasty-expected-failure-0.11.1.2 <dev-haskell/tasty-expected-failure-0.12 ) + ( >=dev-haskell/tasty-expected-failure-0.12.2 <dev-haskell/tasty-expected-failure-0.13 ) + ) + ) " -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 \ diff --git a/dev-haskell/lukko/metadata.xml b/dev-haskell/lukko/metadata.xml index 937381521944..a6129181f6be 100644 --- a/dev-haskell/lukko/metadata.xml +++ b/dev-haskell/lukko/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">lukko</remote-id> + <remote-id type="github">haskellari/lukko</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/magic/magic-1.1.ebuild b/dev-haskell/magic/magic-1.1.ebuild index df6b0845e002..5e7a36997fa1 100644 --- a/dev-haskell/magic/magic-1.1.ebuild +++ b/dev-haskell/magic/magic-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/markdown-unlit/Manifest b/dev-haskell/markdown-unlit/Manifest index 6790b5298bb4..422e7476ad38 100644 --- a/dev-haskell/markdown-unlit/Manifest +++ b/dev-haskell/markdown-unlit/Manifest @@ -1 +1,2 @@ DIST markdown-unlit-0.5.0.tar.gz 4681 BLAKE2B cde0d867185c714e0c5d3c76e0baed4b1f7df4f0b85170e3d69476149caa5dd06f7de181e750eee357543ebc2d8e4178d711bee903bd41a5085c75057c9374c8 SHA512 580b4e4a4fcccf845c3e618b2ebc425dd8dba024c1c8bbae8db00a3e4b768353fe6738195dad80ae2afb1a46fcfad46cbed6d98bea1017ef098366fa7a2633ea +DIST markdown-unlit-0.6.0.tar.gz 5201 BLAKE2B fe5e50cd6df156b1db92859099681f2c6796cc2557144b771819ca215cc171dc5f6dd4d11a15fe24da9ac18e92e925b5e2199e6b85b7d789e4167812028e1c0f SHA512 a1d7179ee82635c5fc07a39fd47b8ec288b260844ac3a90038ea97c7a22c170f2e9db0c72ad538242cbe1ae23b75fd27319650142d0f5bf47793954c3b45639a diff --git a/dev-haskell/markdown-unlit/files/markdown-unlit-0.5.1-add-executable-flag.patch b/dev-haskell/markdown-unlit/files/markdown-unlit-0.5.1-add-executable-flag.patch new file mode 100644 index 000000000000..3a40c845652e --- /dev/null +++ b/dev-haskell/markdown-unlit/files/markdown-unlit-0.5.1-add-executable-flag.patch @@ -0,0 +1,23 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> + +Add new USE flag: executable +This toggles building the executable. Since this seems to be the primary +purpose of the package, it is enabled by default. + +--- markdown-unlit-0.5.1/markdown-unlit.cabal.bak 2021-08-28 01:55:59.160717350 -0600 ++++ markdown-unlit-0.5.1/markdown-unlit.cabal 2021-08-28 01:58:49.820717433 -0600 +@@ -35,7 +35,13 @@ + Paths_markdown_unlit + default-language: Haskell2010 + ++flag executable ++ description: Build executable ++ default: True ++ + executable markdown-unlit ++ if !flag(executable) ++ buildable: False + main-is: Main.hs + other-modules: + Paths_markdown_unlit diff --git a/dev-haskell/markdown-unlit/markdown-unlit-0.5.0.ebuild b/dev-haskell/markdown-unlit/markdown-unlit-0.5.0.ebuild index 33165e48e972..be0a1fa55749 100644 --- a/dev-haskell/markdown-unlit/markdown-unlit-0.5.0.ebuild +++ b/dev-haskell/markdown-unlit/markdown-unlit-0.5.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/markdown-unlit/markdown-unlit-0.6.0.ebuild b/dev-haskell/markdown-unlit/markdown-unlit-0.6.0.ebuild new file mode 100644 index 000000000000..f26205873cf5 --- /dev/null +++ b/dev-haskell/markdown-unlit/markdown-unlit-0.6.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Literate Haskell support for Markdown" +HOMEPAGE="https://github.com/sol/markdown-unlit#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+executable" + +RDEPEND=" + dev-haskell/base-compat:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + =dev-haskell/hspec-2* + dev-haskell/quickcheck + dev-haskell/silently + dev-haskell/stringbuilder + dev-haskell/temporary + ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.5.1-add-executable-flag.patch" ) + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/markdown-unlit/metadata.xml b/dev-haskell/markdown-unlit/metadata.xml index 937381521944..ff003871f22c 100644 --- a/dev-haskell/markdown-unlit/metadata.xml +++ b/dev-haskell/markdown-unlit/metadata.xml @@ -5,4 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <use> + <flag name="executable">Build executable</flag> + </use> + <upstream> + <remote-id type="hackage">markdown-unlit</remote-id> + <remote-id type="github">sol/markdown-unlit</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/math-functions/Manifest b/dev-haskell/math-functions/Manifest index e9316477817f..17ed2533d34e 100644 --- a/dev-haskell/math-functions/Manifest +++ b/dev-haskell/math-functions/Manifest @@ -1 +1,2 @@ DIST math-functions-0.3.3.0.tar.gz 424169 BLAKE2B 8b53c657fb5eba8d3ab54d5ba29f7d316e8c2f4803d0587a1071fd9b6c0cf0d8a17c4dadc903280faf028622207ab84db5fb628c8826af0e615524ef45b625c5 SHA512 f6ac6f9fb604207c11d7888fa375a52b544732dd8e811c3b9bf74237bbc0dc83839eb83c11c5ef0dd88666cff4919d4e06236e14d84da7065b4dc75717ceafad +DIST math-functions-0.3.4.2.tar.gz 429223 BLAKE2B 63d305c524c6ab40c415828375a8c2491911693fdf7a1462b9e4d9055a26e1570fb4e80eee8dd617852c96dfc802b6e6a8e2d7bc822d9bf62c00241e5cf43dd7 SHA512 cb29901294463edbba37e97445bb9ed039bdc43815c9bbd9b9bb92b87393e6e891f5840d337c6c06c7e30d26107d32a59c39ac51436be43dba00d0e2411a9053 diff --git a/dev-haskell/math-functions/files/math-functions-0.3.4.2-fix-test-suite.patch b/dev-haskell/math-functions/files/math-functions-0.3.4.2-fix-test-suite.patch new file mode 100644 index 000000000000..5dd2d9c622f7 --- /dev/null +++ b/dev-haskell/math-functions/files/math-functions-0.3.4.2-fix-test-suite.patch @@ -0,0 +1,118 @@ +From 7e5deed1cb3fafdd6eb035b3713ae2f46b67014a Mon Sep 17 00:00:00 2001 +From: Alexey Khudyakov <alexey.skladnoy@gmail.com> +Date: Thu, 8 Jun 2023 13:26:11 +0300 +Bug: https://github.com/haskell/math-functions/pull/75 +Signed-off-by: hololeap <hololeap@protonmail.com> +Subject: [PATCH] Fix test suite + +QC as of 2.14.3. became much better at generating test cases and started +reliably failing Kahan summation + +This was fixed by tweaking badvec to be just very bad. Not outrageously +bad. +--- + tests/Tests/Sum.hs | 72 +++++++++++++++++++++++++++------------------- + 1 file changed, 43 insertions(+), 29 deletions(-) + +diff --git a/tests/Tests/Sum.hs b/tests/Tests/Sum.hs +index 08eaf1e..1fcb2e9 100644 +--- a/tests/Tests/Sum.hs ++++ b/tests/Tests/Sum.hs +@@ -4,54 +4,68 @@ module Tests.Sum (tests) where + + import Control.Applicative ((<$>)) + import Numeric.Sum as Sum ++import Numeric.MathFunctions.Comparison + import Prelude hiding (sum) + import Test.Tasty (TestTree, testGroup) +-import Test.Tasty.QuickCheck (testProperty) ++import Test.Tasty.QuickCheck + import Test.QuickCheck (Arbitrary(..)) + import qualified Prelude + +-t_sum :: ([Double] -> Double) -> [Double] -> Bool +-t_sum f xs = f xs == trueSum xs +- +-t_sum_error :: ([Double] -> Double) -> [Double] -> Bool +-t_sum_error f xs = abs (ts - f xs) <= abs (ts - Prelude.sum xs) +- where ts = trueSum xs +- +-t_sum_shifted :: ([Double] -> Double) -> [Double] -> Bool ++-- Test that summation result is same as exact sum. That should pass ++-- if we're effectively working with quad precision ++t_sum :: ([Double] -> Double) -> [Double] -> Property ++t_sum f xs ++ = counterexample ("APPROX = " ++ show approx) ++ $ counterexample ("EXACT = " ++ show exact) ++ $ counterexample ("DELTA = " ++ show (approx - exact)) ++ $ counterexample ("ULPS = " ++ show (ulpDistance approx exact)) ++ $ approx == exact ++ where ++ approx = f xs ++ exact = trueSum xs ++ ++-- Test that summation has smaller error than naive summation or no ++-- worse than given number of ulps. If we're close enough to exact ++-- answer naive may get ahead ++t_sum_error :: ([Double] -> Double) -> [Double] -> Property ++t_sum_error f xs ++ = counterexample ("APPROX = " ++ show approx) ++ $ counterexample ("NAIVE = " ++ show naive) ++ $ counterexample ("EXACT = " ++ show exact) ++ $ counterexample ("A-EXACT = " ++ show (approx - exact)) ++ $ counterexample ("N-EXACT = " ++ show (naive - exact)) ++ $ counterexample ("ULPS[A] = " ++ show (ulpDistance approx exact)) ++ $ counterexample ("ULPS[N] = " ++ show (ulpDistance naive exact)) ++ $ abs (exact - approx) <= abs (exact - naive) ++ where ++ naive = Prelude.sum xs ++ approx = f xs ++ exact = trueSum xs ++ ++t_sum_shifted :: ([Double] -> Double) -> [Double] -> Property + t_sum_shifted f = t_sum_error f . zipWith (+) badvec + + trueSum :: (Fractional b, Real a) => [a] -> b + trueSum xs = fromRational . Prelude.sum . map toRational $ xs + + badvec :: [Double] +-badvec = cycle [1,1e16,-1e16] ++badvec = cycle [1, 1e14, -1e14] + + tests :: TestTree +-tests = testGroup "Summation" [ +- testGroup "ID" [ +- -- plain summation loses precision quickly +- -- testProperty "t_sum" $ t_sum (sum id) +- +- -- tautological tests: +- -- testProperty "t_sum_error" $ t_sum_error (sum id) +- -- testProperty "t_sum_shifted" $ t_sum_shifted (sum id) +- ] +- , testGroup "Kahan" [ +- -- tests that cannot pass: +- -- testProprty "t_sum" $ t_sum (sum kahan) +- -- testProperty "t_sum_error" $ t_sum_error (sum kahan) +- +- -- kahan summation only beats normal summation with large values ++tests = testGroup "Summation" ++ [ testGroup "Kahan" [ ++ -- Kahan summation only beats naive summation when truly ++ -- catastrophic cancellation occurs + testProperty "t_sum_shifted" $ t_sum_shifted (sum kahan) + ] + , testGroup "KBN" [ +- testProperty "t_sum" $ t_sum (sum kbn) +- , testProperty "t_sum_error" $ t_sum_error (sum kbn) ++ testProperty "t_sum" $ t_sum (sum kbn) ++ , testProperty "t_sum_error" $ t_sum_error (sum kbn) + , testProperty "t_sum_shifted" $ t_sum_shifted (sum kbn) + ] + , testGroup "KB2" [ +- testProperty "t_sum" $ t_sum (sum kb2) +- , testProperty "t_sum_error" $ t_sum_error (sum kb2) ++ testProperty "t_sum" $ t_sum (sum kb2) ++ , testProperty "t_sum_error" $ t_sum_error (sum kb2) + , testProperty "t_sum_shifted" $ t_sum_shifted (sum kb2) + ] + ] diff --git a/dev-haskell/math-functions/math-functions-0.3.3.0.ebuild b/dev-haskell/math-functions/math-functions-0.3.3.0.ebuild index 114bf12cee3f..26a5949bcd1c 100644 --- a/dev-haskell/math-functions/math-functions-0.3.3.0.ebuild +++ b/dev-haskell/math-functions/math-functions-0.3.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.1.9999 #hackport: flags: +system-erf,+system-expm1 diff --git a/dev-haskell/math-functions/math-functions-0.3.4.2.ebuild b/dev-haskell/math-functions/math-functions-0.3.4.2.ebuild new file mode 100644 index 000000000000..cb3dfe1b5008 --- /dev/null +++ b/dev-haskell/math-functions/math-functions-0.3.4.2.ebuild @@ -0,0 +1,43 @@ +# 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 +#hackport: flags: +system-erf,+system-expm1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Collection of tools for numeric computations" +HOMEPAGE="https://github.com/bos/math-functions" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.3.4.2-fix-test-suite.patch" +) + +RDEPEND=">=dev-haskell/data-default-class-0.1.2.0:=[profile?] + dev-haskell/primitive:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/erf + >=dev-haskell/quickcheck-2.7 + >=dev-haskell/tasty-1.2 + >=dev-haskell/tasty-hunit-0.10 + >=dev-haskell/tasty-quickcheck-0.10 + dev-haskell/vector-th-unbox ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=system-erf \ + --flag=system-expm1 +} diff --git a/dev-haskell/math-functions/metadata.xml b/dev-haskell/math-functions/metadata.xml index 34d3ae1258d4..6e48d98c7be5 100644 --- a/dev-haskell/math-functions/metadata.xml +++ b/dev-haskell/math-functions/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides implementations of special mathematical - functions and Chebyshev polynomials. These functions are often - useful in statistical and numerical computing. - </longdescription> <upstream> - <remote-id type="github">haskell/math-functions</remote-id> + <remote-id type="hackage">math-functions</remote-id> + <remote-id type="github">bos/math-functions</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/megaparsec-tests/Manifest b/dev-haskell/megaparsec-tests/Manifest new file mode 100644 index 000000000000..8d398d082cba --- /dev/null +++ b/dev-haskell/megaparsec-tests/Manifest @@ -0,0 +1 @@ +DIST megaparsec-tests-9.2.2.tar.gz 31021 BLAKE2B 872222cfe08fc813445275a747c61e3520b076b3a3f6454f5f95ff91cd85f5ed91b86a2273ee4198f6599d6359369ce410cb6290f66cc7dd9e7c9c3f499fa5c5 SHA512 379098b9d87900540c82e3ae17c2d930ee11644f20535e5eb1730159f59a6dc7f181ee6a022a93893b37ca063a097bea0bdecd1278e7fcc581cb7e95b93c665c diff --git a/dev-haskell/megaparsec-tests/megaparsec-tests-9.2.2.ebuild b/dev-haskell/megaparsec-tests/megaparsec-tests-9.2.2.ebuild new file mode 100644 index 000000000000..3e3db33603fe --- /dev/null +++ b/dev-haskell/megaparsec-tests/megaparsec-tests-9.2.2.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 +#hackport: flags: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Test utilities and the test suite of Megaparsec" +HOMEPAGE="https://github.com/mrkkrp/megaparsec" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hspec-2.0:=[profile?] <dev-haskell/hspec-3.0:=[profile?] + >=dev-haskell/hspec-expectations-0.8:=[profile?] <dev-haskell/hspec-expectations-0.9:=[profile?] + >=dev-haskell/hspec-megaparsec-2.0:=[profile?] <dev-haskell/hspec-megaparsec-3.0:=[profile?] + ~dev-haskell/megaparsec-9.2.2:=[profile?] + >=dev-haskell/quickcheck-2.10:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-lang/ghc-9.0.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.4.1.0 + test? ( >=dev-haskell/case-insensitive-1.2 <dev-haskell/case-insensitive-1.3 + >=dev-haskell/parser-combinators-1.0 <dev-haskell/parser-combinators-2.0 + >=dev-haskell/scientific-0.3.1 <dev-haskell/scientific-0.4 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} diff --git a/dev-haskell/megaparsec-tests/metadata.xml b/dev-haskell/megaparsec-tests/metadata.xml new file mode 100644 index 000000000000..1422b861c8e2 --- /dev/null +++ b/dev-haskell/megaparsec-tests/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">megaparsec-tests</remote-id> + <remote-id type="github">mrkkrp/megaparsec</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/megaparsec/Manifest b/dev-haskell/megaparsec/Manifest new file mode 100644 index 000000000000..e95eebd3d7bf --- /dev/null +++ b/dev-haskell/megaparsec/Manifest @@ -0,0 +1 @@ +DIST megaparsec-9.2.2.tar.gz 61325 BLAKE2B eef0cbcf9c46da28e354bdb6b62845957d449248307dfbac4dc6d9c01d16b36b4ea89b406cfdeb2dee2cf350581f8d4cc55d67ea1596e840fbada29380859f5b SHA512 4cd759a91dcdd50a14ffca1f83afe1a2cb8b99f2afe589739f6fac2ad6ea7cbd7c7e8cb22924a1f8c5d64cbf1602f39b1e4137d9c8a2aeb005d8c970255d9fe4 diff --git a/dev-haskell/megaparsec/megaparsec-9.2.2.ebuild b/dev-haskell/megaparsec/megaparsec-9.2.2.ebuild new file mode 100644 index 000000000000..fe52dfb49006 --- /dev/null +++ b/dev-haskell/megaparsec/megaparsec-9.2.2.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 +#hackport: flags: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Monadic parser combinators" +HOMEPAGE="https://github.com/mrkkrp/megaparsec" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/parser-combinators-1.0:=[profile?] <dev-haskell/parser-combinators-2.0:=[profile?] + >=dev-haskell/scientific-0.3.7:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-lang/ghc-9.0.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.4.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} diff --git a/dev-haskell/megaparsec/metadata.xml b/dev-haskell/megaparsec/metadata.xml new file mode 100644 index 000000000000..f054ea68814e --- /dev/null +++ b/dev-haskell/megaparsec/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">megaparsec</remote-id> + <remote-id type="github">mrkkrp/megaparsec</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/memory/Manifest b/dev-haskell/memory/Manifest index d27e71b51d9c..486c42174d9d 100644 --- a/dev-haskell/memory/Manifest +++ b/dev-haskell/memory/Manifest @@ -1,2 +1,3 @@ DIST memory-0.15.0.tar.gz 42299 BLAKE2B fd4cebe132ebc824e88907325d6106ab62d01942f5055481f0ff85248ba1a84211e768e49409b02f45ff224a4149338abb771b1dcad38c31175c340e35063fad SHA512 49aabf5fdaddae597df6d8f30a3e07c4d6d70fcc7b9146452a4ad4e81858786041676bc780e2b048fd683cc7c0d799d4579596c14fae940ea57954e9a7ee9129 +DIST memory-0.18.0.tar.gz 41957 BLAKE2B 606c197b7ef5ff8189c0ce35b838a9866b9c7996452f77aab5d7632ac5b6c97d44a8a75c3d7e7f707be5fce70de91ec4db727c0732b2a6225d58ce1a8f8dd810 SHA512 5f341dfab54d3f063ac34cc092240082f885f7ee5a23b3b3ed8b58a741ae238df289ccc7e40bbf52f2ce19c4f7bee186e7d9ed6e207e59de6758a7eea5a9fe85 DIST memory-81.patch 4543 BLAKE2B 451af2f23cd975403604f40129c5112f1f1e2856ec90c34058cfc6c97b5f84069b6379dd49d9167ad6e25365035470a0c20d76d4d441f26c6ac283b7999cfa44 SHA512 663672478660b0c693ebf41cbbb1ea123857b4f9c10560c4b0faeafea2cab49291daa99eac623a2c0b8541bcff3285a8837f407a61bf3e83084170c63d111a4e diff --git a/dev-haskell/memory/memory-0.15.0-r1.ebuild b/dev-haskell/memory/memory-0.15.0-r1.ebuild index 3a0c67a250cb..9e74ec909bc1 100644 --- a/dev-haskell/memory/memory-0.15.0-r1.ebuild +++ b/dev-haskell/memory/memory-0.15.0-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.1.9999 #hackport: flags: +support_foundation,+support_deepseq,+support_bytestring,+support_basement diff --git a/dev-haskell/memory/memory-0.18.0.ebuild b/dev-haskell/memory/memory-0.18.0.ebuild new file mode 100644 index 000000000000..7953c9442466 --- /dev/null +++ b/dev-haskell/memory/memory-0.18.0.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.2.1.9999 +#hackport: flags: +support_foundation,+support_deepseq,+support_bytestring,+support_basement + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="memory and related abstraction stuff" +HOMEPAGE="https://github.com/vincenthz/hs-memory" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/basement-0.0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + dev-haskell/foundation + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=support_basement \ + --flag=support_bytestring \ + --flag=support_deepseq \ + --flag=support_foundation +} diff --git a/dev-haskell/memory/metadata.xml b/dev-haskell/memory/metadata.xml index 7b97d9f06cdb..809c410867c2 100644 --- a/dev-haskell/memory/metadata.xml +++ b/dev-haskell/memory/metadata.xml @@ -5,18 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Chunk of memory, polymorphic byte array management and manipulation - - * A polymorphic byte array abstraction and function similar to strict ByteString. - - * Different type of byte array abstraction. - - * Raw memory IO operations (memory set, memory copy, ..) - - * Aliasing with endianness support. - </longdescription> <upstream> + <remote-id type="hackage">memory</remote-id> <remote-id type="github">vincenthz/hs-memory</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/microaeson/Manifest b/dev-haskell/microaeson/Manifest new file mode 100644 index 000000000000..3f627cf820ee --- /dev/null +++ b/dev-haskell/microaeson/Manifest @@ -0,0 +1,2 @@ +DIST microaeson-0.1.0.1-rev2.cabal 4032 BLAKE2B 01dc7e93b8d00024108627326eb01ee9df89326827ce3f42911b2cd02faeb4bf2c184107485e9a4a1724a18950b4933f99601070c78b759fad270b32ac67f6b4 SHA512 b6fb42c04a69f2c478063105d43978d2a150a77b51ce9d57526d9fba730abf5f1c87812bcc962251b466fe03134636f39371e44cd3e57c680e5f15cda9487b6d +DIST microaeson-0.1.0.1.tar.gz 20630 BLAKE2B 3c2de86b976b4532464623e6452bf9675bc187b8bacde5ebae5915a6640680a4593e40e3d71a9405f09a05d9723c459763a084022cb84b4721e0425c1e9eccfb SHA512 4e8aecd9128bca4e8cddfa5a421d886d630adb03cffe08141223993184f441f87c9e0e5105c9e5e0d0dfde47dc6531b1855d1e0411a403315520e46c282e6cff diff --git a/dev-haskell/microaeson/metadata.xml b/dev-haskell/microaeson/metadata.xml new file mode 100644 index 000000000000..3190cd92d667 --- /dev/null +++ b/dev-haskell/microaeson/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">microaeson</remote-id> + <remote-id type="github">haskell-hvr/microaeson</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/microaeson/microaeson-0.1.0.1.ebuild b/dev-haskell/microaeson/microaeson-0.1.0.1.ebuild new file mode 100644 index 000000000000..c9b435941ddd --- /dev/null +++ b/dev-haskell/microaeson/microaeson-0.1.0.1.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_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A tiny JSON library with light dependency footprint" +HOMEPAGE="https://hackage.haskell.org/package/microaeson" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/fail-4.9.0.0:=[profile?] <dev-haskell/fail-4.10:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/alex-3.2.0 <dev-haskell/alex-3.3 + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/aeson-1.3.1.0 <dev-haskell/aeson-2.2 + >=dev-haskell/quickcheck-2.11.3 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.16 <dev-haskell/quickcheck-instances-0.4 + >=dev-haskell/tasty-1.0.1.1 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.10 <dev-haskell/tasty-quickcheck-0.11 + >=dev-haskell/unordered-containers-0.2.8.0 <dev-haskell/unordered-containers-0.3 + >=dev-haskell/vector-0.12.0.1 <dev-haskell/vector-0.14 + ) +" diff --git a/dev-haskell/microlens-mtl/Manifest b/dev-haskell/microlens-mtl/Manifest index 8728384c620c..9b24b9c7cd19 100644 --- a/dev-haskell/microlens-mtl/Manifest +++ b/dev-haskell/microlens-mtl/Manifest @@ -1 +1,2 @@ DIST microlens-mtl-0.2.0.1.tar.gz 9019 BLAKE2B 48fdd193522c239bf477cb289310d2d2c461a3d192f4d70218a2bf2013923fd1f06d79bff9ada29a2729ec5d01884c25f3fb13bf1765803d11b15f354be8baf9 SHA512 2153a38e637e33e426bb64986fe7e818a2be99e4005cc7db51b94a4f66be8170e20071bf785c27a0beeb48cab97da037f68a008fa157a21a70fbf9fd943f6a45 +DIST microlens-mtl-0.2.0.2.tar.gz 9056 BLAKE2B 3de3ee55d885b1cea8e31512d6ee3ae107bc8c3c06a948baca5d493e73f5db36d32a5d03ba500d52fff6b22652763873a5edf33f39d3590f9105b4386e154775 SHA512 562680ae4cae7879f592af511f48f76573e5d483645a9d7f1096a185d1cc919b0221eb01d65eea1ba219a394592ac4a6c2ec32a93a785d782834ccd238943286 diff --git a/dev-haskell/microlens-mtl/metadata.xml b/dev-haskell/microlens-mtl/metadata.xml index 6d12e603d811..07612aa0c41e 100644 --- a/dev-haskell/microlens-mtl/metadata.xml +++ b/dev-haskell/microlens-mtl/metadata.xml @@ -5,9 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package contains functions (like 'view' or '+=') which work on 'MonadReader', 'MonadWriter', and 'MonadState' from the mtl package. - - This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/aelve/microlens#readme on Github>. - </longdescription> + <upstream> + <remote-id type="hackage">microlens-mtl</remote-id> + <remote-id type="github">monadfix/microlens</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.1.ebuild b/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.1.ebuild index 96eaa143ec98..9276e56e3292 100644 --- a/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.1.ebuild +++ b/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.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 diff --git a/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.2.ebuild b/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.2.ebuild new file mode 100644 index 000000000000..4557a480661d --- /dev/null +++ b/dev-haskell/microlens-mtl/microlens-mtl-0.2.0.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="microlens support for Reader/Writer/State from mtl" +HOMEPAGE="https://github.com/monadfix/microlens" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/microlens-0.4:=[profile?] <dev-haskell/microlens-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/microlens-th/Manifest b/dev-haskell/microlens-th/Manifest index d60c4caa66f0..c18886914637 100644 --- a/dev-haskell/microlens-th/Manifest +++ b/dev-haskell/microlens-th/Manifest @@ -1 +1,2 @@ DIST microlens-th-0.4.3.10.tar.gz 24189 BLAKE2B f763ecbe003339bd7102180a97f264c96dcf1e9097663a619e8044c3a03cf3d381189dfa94c1a0f6b326b7882e7017d5e07c12eb88a898592d806a0810dffadb SHA512 8c2c4984eb76ddfbde96b0a429a87fa2643c891fc680e6843abadb2691c2898eb7e89e21e6a82a6631e2115204db443346fe3459764d865b23854dbcd940e5bd +DIST microlens-th-0.4.3.12.tar.gz 24150 BLAKE2B 6ac749eb4933cbadffcac985a89aa922e1a0f48ab3071c5edf2f46390be0a1711bd63abdb3fe14311e3ce5343df9f9a9bd92097a044e02e31b7586086c3898a5 SHA512 452d9a53c4b1111c45e87260ab31e6fbe06f06185975486c07d28369ed7312b87b96b2b59865f86fcb545ebf782834783bc80e3d49a71a63ea464fe35818f7eb diff --git a/dev-haskell/microlens-th/metadata.xml b/dev-haskell/microlens-th/metadata.xml index b6f08d5c0d57..20223e7fb486 100644 --- a/dev-haskell/microlens-th/metadata.xml +++ b/dev-haskell/microlens-th/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">microlens-th</remote-id> <remote-id type="github">stevenfontanella/microlens</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/microlens-th/microlens-th-0.4.3.12.ebuild b/dev-haskell/microlens-th/microlens-th-0.4.3.12.ebuild new file mode 100644 index 000000000000..a24bdd59eb21 --- /dev/null +++ b/dev-haskell/microlens-th/microlens-th-0.4.3.12.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Automatic generation of record lenses for microlens" +HOMEPAGE="https://github.com/stevenfontanella/microlens" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/microlens-0.4.0:=[profile?] <dev-haskell/microlens-0.5:=[profile?] + >=dev-haskell/th-abstraction-0.4.1:=[profile?] <dev-haskell/th-abstraction-0.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tagged ) +" diff --git a/dev-haskell/microlens/Manifest b/dev-haskell/microlens/Manifest index 1c5bbbb51960..0d3a0465900a 100644 --- a/dev-haskell/microlens/Manifest +++ b/dev-haskell/microlens/Manifest @@ -1 +1,2 @@ DIST microlens-0.4.11.2.tar.gz 26549 BLAKE2B 7b4eb026ed937f5b710fbdaca6154c9f4e37a494d4b01b7ff141a8446b80c1c9eb707076f743d9916adb33de4d30e003c66e235c4ec95ef59c43293713389d2d SHA512 16a70dc5b524dc5165faa6502bb74c7eb48a6eaa3ec9bd4bb16c6cbd6eccf5ab365e2e0e2e10e9e60b65e604de78dd62789b53a7c7d2ccd0da93bce5b09fadc8 +DIST microlens-0.4.13.0.tar.gz 27372 BLAKE2B 1763936e44f4931eb3117e8de23d818e26091f98cdf770f2148220cc85b33a75cc8d78191e0e2998a407c4d613cff33086b516b1070ea6e68e97ac562228cd1a SHA512 dacbab28ac54bab596a353e4707f2f83b4d4e4fa7e40dd14f3acaf4276f1e552a74decd7b1275966fa4dac2a3099dbb55f84b9306116a5e0242aaf5749dad36b diff --git a/dev-haskell/microlens/metadata.xml b/dev-haskell/microlens/metadata.xml index 937381521944..058feaa71d9a 100644 --- a/dev-haskell/microlens/metadata.xml +++ b/dev-haskell/microlens/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">microlens</remote-id> + <remote-id type="github">monadfix/microlens</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/microlens/microlens-0.4.11.2.ebuild b/dev-haskell/microlens/microlens-0.4.11.2.ebuild index 0804b2f30dac..462bf702c48d 100644 --- a/dev-haskell/microlens/microlens-0.4.11.2.ebuild +++ b/dev-haskell/microlens/microlens-0.4.11.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.1 diff --git a/dev-haskell/microlens/microlens-0.4.13.0.ebuild b/dev-haskell/microlens/microlens-0.4.13.0.ebuild new file mode 100644 index 000000000000..348155fc573c --- /dev/null +++ b/dev-haskell/microlens/microlens-0.4.13.0.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.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A tiny lens library with no dependencies" +HOMEPAGE="https://github.com/monadfix/microlens" + +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/microstache/Manifest b/dev-haskell/microstache/Manifest index 4ba4c1c46884..55c362496844 100644 --- a/dev-haskell/microstache/Manifest +++ b/dev-haskell/microstache/Manifest @@ -1,2 +1,4 @@ DIST microstache-1.0.2-rev3.cabal 2873 BLAKE2B 8d389ffbb9216b19f0d91fa690230e9bb2a79a74f4742394a8d7fe8ec2e0344c7485ebcd40b516dcdce25dd275ff16eae67bdc22bba0c60da54f7ff1199623ba SHA512 2c952588bbd355f313ae63eba4bb0cea38f36da8e0a7f29be6a841836e32cf05ef86d1bbc2b21bc871b218778ca521484ca146cf0f83e9053e0b00d821258e10 +DIST microstache-1.0.2.3-rev2.cabal 3247 BLAKE2B 78c1fd439c104821dd753945f2a6069ca4908cc41ee0bd9d1b0c6b02335bfdccbecbaf9a73f2dece5eb1ea45a5f16911274b491675c0e0758c1b2bf94f0916b8 SHA512 7349239c7b3156d37379caa13e8fba38ab06a97b7959570554eee098f82e5a583e74f432b5ce2589e2f15e8a76c86cd45b0e1e2f356e1c199ddfbffa4990bfab +DIST microstache-1.0.2.3.tar.gz 22421 BLAKE2B 9d243f5545d95cf48c3acaebbf05f978b69c78e73b0dfd80c94dc5f118033b7917e47b3a9850fdba36d4b46eafed729971c0a4647a109b93996c2990de3bcd34 SHA512 c50fa66a019116ca81e63de59951df29316c39c50d3672197353987ac431f63cc97ee26adb1f8f31ffdad7409f58e2a369502da0e0484af0b0632b6ac8deac4d DIST microstache-1.0.2.tar.gz 21333 BLAKE2B 05f726b88c96e47157e76705bf6961bf27f81cdee8f3c7860e9f24f368e450862d854a6a47492da179ed6830006059100470e029183f11164e1042766111cb6d SHA512 bbf1de864c88809cfd159a679ec1709c7fb523e2b3ac91232e2cabb9a4bf2eda0913666b3a6ab81b6ba9c2488ce1200cb6b43e21a7f475d2dc20f9854c47a61e diff --git a/dev-haskell/microstache/metadata.xml b/dev-haskell/microstache/metadata.xml index a9b24934427e..02d7514695e0 100644 --- a/dev-haskell/microstache/metadata.xml +++ b/dev-haskell/microstache/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Mustache templates for Haskell. - - Based on @stache@ library, which uses @megaparsec@. - This library uses @parsec@, thus the name: @microstache@. - </longdescription> + <upstream> + <remote-id type="hackage">microstache</remote-id> + <remote-id type="github">haskellari/microstache</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/microstache/microstache-1.0.2.3-r1.ebuild b/dev-haskell/microstache/microstache-1.0.2.3-r1.ebuild new file mode 100644 index 000000000000..10399293c94f --- /dev/null +++ b/dev-haskell/microstache/microstache-1.0.2.3-r1.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.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Mustache templates for Haskell" +HOMEPAGE="https://github.com/haskellari/microstache" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/parsec-3.1.11:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/unordered-containers-0.2.5:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/aeson-0.11:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/aeson + >=dev-haskell/base-orphans-0.8.7 <dev-haskell/base-orphans-0.10 + >=dev-haskell/tasty-1.4.0.1 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-hunit-0.10.0.3 <dev-haskell/tasty-hunit-0.11 + dev-haskell/text ) +" diff --git a/dev-haskell/mime-types/Manifest b/dev-haskell/mime-types/Manifest index 00a6c8f89eb9..ac1285ccc1a2 100644 --- a/dev-haskell/mime-types/Manifest +++ b/dev-haskell/mime-types/Manifest @@ -1 +1,2 @@ DIST mime-types-0.1.0.9.tar.gz 11384 BLAKE2B 610604f93b5225589478f87b710c32793c07685b4b009cea146399bf68655188f2771d36b82baee6b09ba331441687b270373c22bdc080a803d2bf133fe293a0 SHA512 cffc9d4d808d52b35bf6b5bdd6c069411ec8746bb3951e7c1a6200eecb2ae0617ede9891aa3e077e9ea5fc6f08bc2a1c44547971ed2a66108c96fd9dda30e6db +DIST mime-types-0.1.1.0.tar.gz 11818 BLAKE2B 9bdc26c7b7eca4aaa936d0dfb885dc6ebe278913035b2da04a56696e440d3e10cf6fdc57987231618a45a56a97a6ab77aed97d4125d45e86a4c69b47d57a94d1 SHA512 48fdb8a4284bf89e76a6875399f7faa082f1a3f0d275a23c1761f8265c33081731bebff8549d248bc31dbf789b0f3a96bdd8ca5fb07efb79085ddd156f635f32 diff --git a/dev-haskell/mime-types/metadata.xml b/dev-haskell/mime-types/metadata.xml index 6b5972c48ca4..26445a0f3c5a 100644 --- a/dev-haskell/mime-types/metadata.xml +++ b/dev-haskell/mime-types/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">mime-types</remote-id> <remote-id type="github">yesodweb/wai</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/mime-types/mime-types-0.1.0.9.ebuild b/dev-haskell/mime-types/mime-types-0.1.0.9.ebuild index 142ee5f005d7..f4227fb0dcf2 100644 --- a/dev-haskell/mime-types/mime-types-0.1.0.9.ebuild +++ b/dev-haskell/mime-types/mime-types-0.1.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.9999 diff --git a/dev-haskell/mime-types/mime-types-0.1.1.0.ebuild b/dev-haskell/mime-types/mime-types-0.1.1.0.ebuild new file mode 100644 index 000000000000..05ab823764ba --- /dev/null +++ b/dev-haskell/mime-types/mime-types-0.1.1.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Basic mime-type handling types and functions" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/missingh/Manifest b/dev-haskell/missingh/Manifest index c6063886177b..42f3df739849 100644 --- a/dev-haskell/missingh/Manifest +++ b/dev-haskell/missingh/Manifest @@ -1 +1,2 @@ DIST MissingH-1.4.3.0.tar.gz 107358 BLAKE2B fa6cf7efd1a60defce6ec0e6bbee229b71f5afe4140cca31dd47c54fbeb8a2a7b0f3e41e4ccba3e010ab85c21fad4d9bb392bd4481a01a945a77de7366b6eae6 SHA512 eb42ad9fd09347d2ec661f8181c6d2c95fb4f9f05634373ac27b377508056afd909b4925f725b9e11441ee9877b66b46038005e469d0b754f8f6cb1cda66d1dc +DIST missingh-1.6.0.0.tar.gz 109652 BLAKE2B ff7faa78c0d48108da83ead5bfa8a137270b3c1c520dfca683923d05b1c14ba581b49e6e713535ea6a596684d5ef55ed54ae8cbd9a8605ce3fd4b2dccda5dafe SHA512 f49cf93bf172e5ed41a05af4d12d05d6b2dcde61a94b42f2f8be2931458ed622af45051c02a30f71d8ce359548b13d1a7afcd7b458b4a68e78896014a33923a0 diff --git a/dev-haskell/missingh/metadata.xml b/dev-haskell/missingh/metadata.xml index a15becf07ceb..d7d3cd104993 100644 --- a/dev-haskell/missingh/metadata.xml +++ b/dev-haskell/missingh/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - MissingH is a library of all sorts of utility functions for - Haskell programmers. It is written in pure Haskell and thus should - be extremely portable and easy to use. - </longdescription> <upstream> - <remote-id type="github">jgoerzen/missingh</remote-id> + <remote-id type="hackage">MissingH</remote-id> + <remote-id type="github">haskell-hvr/missingh</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild b/dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild index ceab11949221..300037aba372 100644 --- a/dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild +++ b/dev-haskell/missingh/missingh-1.4.3.0-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.4.9999 #hackport: flags: +network--ge-3-0-0 @@ -41,12 +41,10 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.5.0.0 && < 4.15' 'base >= 4.5.0.0' \ - 'random >= 1.0.1.1 && < 1.2' 'random' -} +CABAL_CHDEPS=( + 'base >= 4.5.0.0 && < 4.15' 'base >= 4.5.0.0' + 'random >= 1.0.1.1 && < 1.2' 'random' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/missingh/missingh-1.6.0.0.ebuild b/dev-haskell/missingh/missingh-1.6.0.0.ebuild new file mode 100644 index 000000000000..ccd03c06605a --- /dev/null +++ b/dev-haskell/missingh/missingh-1.6.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: +network--ge-3_0_0 + +CABAL_PN="MissingH" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Large utility library" +HOMEPAGE="https://hackage.haskell.org/package/MissingH" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +RDEPEND=">=dev-haskell/hslogger-1.3.0.0:=[profile?] <dev-haskell/hslogger-1.4:=[profile?] + >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?] + >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] + >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?] + || ( dev-lang/ghc ( >=dev-haskell/process-1.1.0.1[profile?] <dev-haskell/process-1.7[profile?] ) ) + >=dev-haskell/regex-compat-0.95.1:=[profile?] <dev-haskell/regex-compat-0.96:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hunit-1.6 <dev-haskell/hunit-1.7 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=network--ge-3_0_0 +} diff --git a/dev-haskell/mmap/mmap-0.5.9.ebuild b/dev-haskell/mmap/mmap-0.5.9.ebuild index a94dd5fc241e..16646a499746 100644 --- a/dev-haskell/mmap/mmap-0.5.9.ebuild +++ b/dev-haskell/mmap/mmap-0.5.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.3.3.9999 diff --git a/dev-haskell/mmorph/Manifest b/dev-haskell/mmorph/Manifest index e05383d54624..38b246e4fd92 100644 --- a/dev-haskell/mmorph/Manifest +++ b/dev-haskell/mmorph/Manifest @@ -1 +1,3 @@ DIST mmorph-1.1.3.tar.gz 6975 BLAKE2B 93316f34fe13ffbf50934394bf7b4831f787e1c79eda625f1ebb5fad92ec143e5744ad0725eec80184c737c8978bf153dad63cdddf153cb69a306ef62dd040cb SHA512 3ef260682b5de48d765f9524abcd6853b5c4bfe94e2ca116ee4077aa0d7e5853f87e8ce1742f59b8753d2c0c3605251188346be7b394fa51d6ff2c5983edc3ec +DIST mmorph-1.2.0-rev3.cabal 1083 BLAKE2B 82896ec005a74ce05475019f1f72448abef6aeabf96bce5d2b837ce0664ed1225c287f23be9cf7ac145faa7bdd952e866f76a6df29d594bd7aaaccd14cae33e0 SHA512 1f3d778b5d66bde30e37ec18e5507a9bc7a9f6b24bc0c737742cc103744013a97b028c2b026eeccd34bc7f8c2bfa80b2046bf5e2832a2f0e7e73195f463b1f5d +DIST mmorph-1.2.0.tar.gz 6861 BLAKE2B f79c2fa9ef374ca93755e2ee5b7b3792140266e363b27cb07f95f46f8df0e8e73855b3cbcd4778dc0655c4542642a60dd442dd5e35c8b8750ab19bf6e3ee85bf SHA512 06c9e2b2d7caa65c6049225ba40a54cf9480e561a6ea521b4c83e38094beea0c2ed595244f434793c6964c6161ac3122da5a8b53fe772d527fbefb15e4cc2c14 diff --git a/dev-haskell/mmorph/metadata.xml b/dev-haskell/mmorph/metadata.xml index c5228db514c4..908cae683347 100644 --- a/dev-haskell/mmorph/metadata.xml +++ b/dev-haskell/mmorph/metadata.xml @@ -5,8 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides monad morphism utilities, most commonly used - for manipulating monad transformer stacks. - </longdescription> + <upstream> + <remote-id type="hackage">mmorph</remote-id> + <remote-id type="github">Gabriella439/Haskell-MMorph-Library</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/mmorph/mmorph-1.1.3.ebuild b/dev-haskell/mmorph/mmorph-1.1.3.ebuild index c5ab201c187c..1055678865db 100644 --- a/dev-haskell/mmorph/mmorph-1.1.3.ebuild +++ b/dev-haskell/mmorph/mmorph-1.1.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/mmorph/mmorph-1.2.0.ebuild b/dev-haskell/mmorph/mmorph-1.2.0.ebuild new file mode 100644 index 000000000000..d6a1729ee0f2 --- /dev/null +++ b/dev-haskell/mmorph/mmorph-1.2.0.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_HACKAGE_REVISION=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Monad morphisms" +HOMEPAGE="https://hackage.haskell.org/package/mmorph" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/monad-control/Manifest b/dev-haskell/monad-control/Manifest index a0198bdba132..c1bad6539efd 100644 --- a/dev-haskell/monad-control/Manifest +++ b/dev-haskell/monad-control/Manifest @@ -1 +1,2 @@ DIST monad-control-1.0.2.3.tar.gz 13864 BLAKE2B c150338e8a585dc045fd23404719fe61a2367f7308e15344f81549fd7f0808ef8fa2238a35b0a7c7984d26885352186bd6bf43359dec68b2df93581b021dd794 SHA512 59837326ec9f25220cb6c7329c91a5806b0ec7412d6af24c0f0d52c4fd93b084e92edd4f5f61a4f9c4248034fa540c23b65d2aacdfca737ece98bb132b8f08d4 +DIST monad-control-1.0.3.1.tar.gz 13985 BLAKE2B b7dbf0b579ca114190cfe6a5400950d20825f7455a4924154e8416dd475eafa81310c397f3283e5d77ac70e158caf46f34fe5214b989ae2bd051de1968cde704 SHA512 b82ac2d3b2ab1892f79bab1341c9ff17ea89b988438cfd40c246f5ffe4560cb2b77e4a1ed1aa9dc2bb64644b9d6da76eda7b40acf8cc34bb03e77b18127e93a1 diff --git a/dev-haskell/monad-control/metadata.xml b/dev-haskell/monad-control/metadata.xml index 8124363ca0a0..937381521944 100644 --- a/dev-haskell/monad-control/metadata.xml +++ b/dev-haskell/monad-control/metadata.xml @@ -5,29 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package defines the type class @MonadControlIO@, a subset of - @MonadIO@ into which generic control operations such as @catch@ can - be lifted from @IO@. Instances are based on monad transformers in - @MonadTransControl@, which includes all standard monad transformers - in the @transformers@ library except @ContT@. For convenience, it - provides a wrapped version of @Control.Exception@ with types - generalized from @IO@ to all monads in @MonadControlIO@. - - Note that this package is a rewrite of Anders Kaseorg's @monad-peel@ library. - The main difference is that this package provides CPS style - operators and exploits the @RankNTypes@ language extension to - simplify most definitions. - - The package includes a copy of the @monad-peel@ testsuite written by Anders Kaseorg. - The tests can be performed by using @cabal test@. - - The following @critertion@ based benchmark shows that @monad-control@ - is on average about 2.5 times faster than @monad-peel@: - - <https://github.com/basvandijk/bench-monad-peel-control> - </longdescription> - <upstream> - <remote-id type="github">basvandijk/monad-control</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/monad-control/monad-control-1.0.3.1.ebuild b/dev-haskell/monad-control/monad-control-1.0.3.1.ebuild new file mode 100644 index 000000000000..096011c07e8b --- /dev/null +++ b/dev-haskell/monad-control/monad-control-1.0.3.1.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.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Lift control operations, like exception catching, through monad transformers" +HOMEPAGE="https://github.com/basvandijk/monad-control" +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-haskell/stm-2.3:=[profile?] <dev-haskell/stm-3:=[profile?] + >=dev-haskell/transformers-base-0.4.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/monad-logger/Manifest b/dev-haskell/monad-logger/Manifest index 7ae8d854fcee..223ded43c68e 100644 --- a/dev-haskell/monad-logger/Manifest +++ b/dev-haskell/monad-logger/Manifest @@ -1 +1,2 @@ DIST monad-logger-0.3.32.tar.gz 10984 BLAKE2B d03a94f9b207e5a64a150140d9b4dcdd56e6ca28db1f371c08ffb9d35168602b8cbe478b19b47fdb38e69f0d08431f3a2a98b7ea916448079d27674bb70cf454 SHA512 d65fad10fc4bcc5a597c7a9b03b9e275c40ef7c930d1b7f703115c2f18b8bd3c5a42b4c3cc445889e0878e62709c62fdf5f0b2b60d1a15430064f11853b01ef3 +DIST monad-logger-0.3.40.tar.gz 11909 BLAKE2B 8c61039a2f104e7f257fb4c4b49f69b8a3337445379b0305f2c6de1a354cc17502efb760eda11217253e442da009cf4c303b145d6868ef48aafe2cb3522dd927 SHA512 a4dd32624a9feb399cf30f107b591742ac558180cb3220acb91f833459c9c525947efd5e8c5961a079c8a5b06263ff7a9a8a9a73067031f4551d6dec4a1db218 diff --git a/dev-haskell/monad-logger/metadata.xml b/dev-haskell/monad-logger/metadata.xml index af578fdf8043..635423e6f19e 100644 --- a/dev-haskell/monad-logger/metadata.xml +++ b/dev-haskell/monad-logger/metadata.xml @@ -6,9 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="template-haskell">Enable Template Haskell support.</flag> + <flag name="template-haskell">Enable Template Haskell support</flag> </use> <upstream> - <remote-id type="github">kazu-yamamoto/logger</remote-id> + <remote-id type="hackage">monad-logger</remote-id> + <remote-id type="github">snoyberg/monad-logger</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/monad-logger/monad-logger-0.3.32.ebuild b/dev-haskell/monad-logger/monad-logger-0.3.32.ebuild index aa01958efd36..cd3925731c53 100644 --- a/dev-haskell/monad-logger/monad-logger-0.3.32.ebuild +++ b/dev-haskell/monad-logger/monad-logger-0.3.32.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/monad-logger/monad-logger-0.3.40.ebuild b/dev-haskell/monad-logger/monad-logger-0.3.40.ebuild new file mode 100644 index 000000000000..b7dd487f6680 --- /dev/null +++ b/dev-haskell/monad-logger/monad-logger-0.3.40.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A class of monads which can log messages" +HOMEPAGE="https://github.com/snoyberg/monad-logger#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+template-haskell" + +RDEPEND=">=dev-haskell/conduit-1.0:=[profile?] <dev-haskell/conduit-1.4:=[profile?] + >=dev-haskell/conduit-extra-1.1:=[profile?] <dev-haskell/conduit-extra-1.4:=[profile?] + >=dev-haskell/fast-logger-2.1:=[profile?] <dev-haskell/fast-logger-3.3:=[profile?] + dev-haskell/lifted-base:=[profile?] + >=dev-haskell/monad-control-1.0:=[profile?] + dev-haskell/monad-loops:=[profile?] + >=dev-haskell/resourcet-1.1:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + dev-haskell/stm-chans:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/transformers-base:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] + dev-haskell/unliftio-core:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag template-haskell template_haskell) +} diff --git a/dev-haskell/monad-loops/monad-loops-0.4.3.ebuild b/dev-haskell/monad-loops/monad-loops-0.4.3.ebuild index 9039babb3d57..1e179635696a 100644 --- a/dev-haskell/monad-loops/monad-loops-0.4.3.ebuild +++ b/dev-haskell/monad-loops/monad-loops-0.4.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/monad-par-extras/monad-par-extras-0.3.3-r1.ebuild b/dev-haskell/monad-par-extras/monad-par-extras-0.3.3-r1.ebuild index 849f1ac5abb1..3eea1c28d5de 100644 --- a/dev-haskell/monad-par-extras/monad-par-extras-0.3.3-r1.ebuild +++ b/dev-haskell/monad-par-extras/monad-par-extras-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.1.9999 diff --git a/dev-haskell/monad-parallel/Manifest b/dev-haskell/monad-parallel/Manifest new file mode 100644 index 000000000000..34a80309842d --- /dev/null +++ b/dev-haskell/monad-parallel/Manifest @@ -0,0 +1 @@ +DIST monad-parallel-0.8.tar.gz 6414 BLAKE2B 84e240ece3100fc75686b6cb548c9118d3d8515994a3302a0c9599d6dcf3dc12ad3027702452d917cc8b26057013b0045454188923210a34e4c82808c23b82e8 SHA512 28231723034ac7a224034d1a8ba6618d38a2abfa139b3185bb8c0d08bc42d265ca8e0564a8f01e9ba2b50b72f789e084bd1aadae730e48b7ed105557c96c6959 diff --git a/dev-haskell/monad-parallel/metadata.xml b/dev-haskell/monad-parallel/metadata.xml new file mode 100644 index 000000000000..f5df80165715 --- /dev/null +++ b/dev-haskell/monad-parallel/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">monad-parallel</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/monad-parallel/monad-parallel-0.8.ebuild b/dev-haskell/monad-parallel/monad-parallel-0.8.ebuild new file mode 100644 index 000000000000..436a92d3daf6 --- /dev/null +++ b/dev-haskell/monad-parallel/monad-parallel-0.8.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.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Parallel execution of monadic computations" +HOMEPAGE="https://hub.darcs.net/blamario/SCC.wiki/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/parallel:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/monads-tf/Manifest b/dev-haskell/monads-tf/Manifest index 0d3719722467..f37299557660 100644 --- a/dev-haskell/monads-tf/Manifest +++ b/dev-haskell/monads-tf/Manifest @@ -1 +1,2 @@ DIST monads-tf-0.1.0.3.tar.gz 14159 BLAKE2B e77b87e274ab8a29af6033fdc69a965b4013f43556bbc65e16eea35d49899e022294a87196a8e7c086659874a939010449102f5c9fa2f17b128212e567bcd588 SHA512 e1be602c584b42390b617cee164c8cb1c4bb17093c44033275924f273c94212e53faceb35aeabadf43e68f9631830e41266858daa10aa2f3af6300ebc20f3ea4 +DIST monads-tf-0.3.0.1.tar.gz 13675 BLAKE2B a363832f9d092708bbdf778acda8fd6c86904c6f43cfc4c596f19c804a33e3450ad6cdd4a3d5cc004cbdfc28086ea1ae6a0156db8a3ff27fb81236f2b0d3e058 SHA512 4074094c1eafa9a4739fd04e183841ac36314c03022f7cacb324d5fa6e6eab4eb6b10efbe9b89181814485a76a3aa64fcf99801c39c831e63e24e88115dbf438 diff --git a/dev-haskell/monads-tf/metadata.xml b/dev-haskell/monads-tf/metadata.xml index ee84b9d844cb..f9cb3771ae43 100644 --- a/dev-haskell/monads-tf/metadata.xml +++ b/dev-haskell/monads-tf/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Monad classes using type families, with instances for various - monad transformers, inspired by the paper /Functional Programming - with Overloading and Higher-Order Polymorphism/, by Mark P - Jones, in /Advanced School of Functional Programming/, 1995 - (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>). - - This package is almost a compatible replacement for the @mtl-tf@ package. - </longdescription> + <upstream> + <remote-id type="hackage">monads-tf</remote-id> + <remote-id type="github">typeclasses/monads-tf</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/monads-tf/monads-tf-0.3.0.1.ebuild b/dev-haskell/monads-tf/monads-tf-0.3.0.1.ebuild new file mode 100644 index 000000000000..2c384616557c --- /dev/null +++ b/dev-haskell/monads-tf/monads-tf-0.3.0.1.ebuild @@ -0,0 +1,27 @@ +# 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="Monad classes, using type families" +HOMEPAGE="https://github.com/typeclasses/monads-tf" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +CABAL_CHDEPS=( + 'base ^>= 4.16 || ^>= 4.17 || ^>= 4.18' 'base >= 4.14 && < 5' +) + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/mono-traversable/Manifest b/dev-haskell/mono-traversable/Manifest index ec28b37e288c..112de1a2a7fb 100644 --- a/dev-haskell/mono-traversable/Manifest +++ b/dev-haskell/mono-traversable/Manifest @@ -1 +1,2 @@ DIST mono-traversable-1.0.15.1.tar.gz 40815 BLAKE2B 432b90de9620b1aadd95e4591f678510b3e878a5af98d12856448e0add928e61bbca3fcb9f4796af0befb0bb70dc7cc8650263abb719e133ca227fcf85b6f0d7 SHA512 adf1af35b93af0605667d8b033415f318c6dab225499fdd1d9eab349fb1eedca2623c98f9dce83f94ed27db75b6f0aa88027daa748c7b3db05f47f68b505b0c8 +DIST mono-traversable-1.0.15.3.tar.gz 40461 BLAKE2B 07a9ce225bfc60f3cf838f5d683d325844369ec5e5eba791f115ce60f5028a737e203113b20b7ad7686eb1b283d5221443eee0e6ff06ebd0819ea6c550f2465c SHA512 55f469149b84ace246e6c0791de25fcc73317152986e4949c7ae9ae020bd6540586da090d58ba495ef7f251c4a3a02979a796af9fde975a54d3d1541527b7691 diff --git a/dev-haskell/mono-traversable/metadata.xml b/dev-haskell/mono-traversable/metadata.xml index 94465aa6a345..937381521944 100644 --- a/dev-haskell/mono-traversable/metadata.xml +++ b/dev-haskell/mono-traversable/metadata.xml @@ -5,10 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Monomorphic variants of the Functor, Foldable, and Traversable typeclasses. Contains even more experimental code for abstracting containers and sequences. - </longdescription> - <upstream> - <remote-id type="github">snoyberg/mono-traversable</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/mono-traversable/mono-traversable-1.0.15.1.ebuild b/dev-haskell/mono-traversable/mono-traversable-1.0.15.1.ebuild index c05e35350cac..1951801ea8f2 100644 --- a/dev-haskell/mono-traversable/mono-traversable-1.0.15.1.ebuild +++ b/dev-haskell/mono-traversable/mono-traversable-1.0.15.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/mono-traversable/mono-traversable-1.0.15.3.ebuild b/dev-haskell/mono-traversable/mono-traversable-1.0.15.3.ebuild new file mode 100644 index 000000000000..c3804221ac69 --- /dev/null +++ b/dev-haskell/mono-traversable/mono-traversable-1.0.15.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.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type classes for mapping, folding, and traversing monomorphic containers" +HOMEPAGE="https://github.com/snoyberg/mono-traversable#readme" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/hashable:=[profile?] + >=dev-haskell/split-0.2:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-haskell/vector-0.10:=[profile?] + >=dev-haskell/vector-algorithms-0.6:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/foldl + dev-haskell/hspec + dev-haskell/hunit + dev-haskell/quickcheck ) +" diff --git a/dev-haskell/mountpoints/mountpoints-1.0.2.ebuild b/dev-haskell/mountpoints/mountpoints-1.0.2.ebuild index a8f475e192a6..a78113a9b0e9 100644 --- a/dev-haskell/mountpoints/mountpoints-1.0.2.ebuild +++ b/dev-haskell/mountpoints/mountpoints-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 diff --git a/dev-haskell/mtl-compat/Manifest b/dev-haskell/mtl-compat/Manifest new file mode 100644 index 000000000000..15c69b17e736 --- /dev/null +++ b/dev-haskell/mtl-compat/Manifest @@ -0,0 +1 @@ +DIST mtl-compat-0.2.2.tar.gz 5128 BLAKE2B e1066f61c8087ffd6c8afc9545dd73402b01e9995fcbe226094777f93623f93209c7afdcd01fe2a5fdae4fc4aa2d39eeb821772ce9d542c80f7d0714d25dc79f SHA512 78a93e9e59d01bf0ffeb32f1322decd65d87cba8912d00f77347f0fc2f7190a755297953ac363ca3342c83822d36101b43ef044dc1f3b2ffef7c7710afda9d0d diff --git a/dev-haskell/mtl-compat/metadata.xml b/dev-haskell/mtl-compat/metadata.xml new file mode 100644 index 000000000000..11043fffaddb --- /dev/null +++ b/dev-haskell/mtl-compat/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">mtl-compat</remote-id> + <remote-id type="github">haskell-compat/mtl-compat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild b/dev-haskell/mtl-compat/mtl-compat-0.2.2.ebuild new file mode 100644 index 000000000000..409eec0f3b25 --- /dev/null +++ b/dev-haskell/mtl-compat/mtl-compat-0.2.2.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.6.9999 + +CABAL_FEATURES="lib profile" # haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Backported Control.Monad.Except module from mtl" +HOMEPAGE="https://github.com/haskell-compat/mtl-compat" +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/mtl-2.1:=[profile?] <dev-haskell/mtl-2.4:=[profile?] + dev-haskell/transformers-compat:= + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +src_configure() { + local mtl_arg=() + + has_version '>=dev-haskell/mtl-2.0.1' && \ + has_version '<dev-haskell/mtl-2.2' && \ + mtl_arg+=(--flag=two-point-one) + has_version '>=dev-haskell/mtl-2.2.0.1' && \ + has_version '<dev-haskell/mtl-2.2.1' && \ + mtl_arg+=(--flag=two-point-two) + haskell-cabal_src_configure \ + ${mtl_arg} +} diff --git a/dev-haskell/mtl/metadata.xml b/dev-haskell/mtl/metadata.xml index 45ba94100750..2171e4c94b9b 100644 --- a/dev-haskell/mtl/metadata.xml +++ b/dev-haskell/mtl/metadata.xml @@ -5,14 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Monad classes using functional dependencies, with instances - for various monad transformers, inspired by the paper - /Functional Programming with Overloading and Higher-Order Polymorphism/, - by Mark P Jones, in /Advanced School of Functional Programming/, 1995 - (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>). - </longdescription> <upstream> + <remote-id type="hackage">mtl</remote-id> <remote-id type="github">haskell/mtl</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/mtl/mtl-2.2.2.ebuild b/dev-haskell/mtl/mtl-2.2.2-r1.ebuild index 284b3af02ac8..377dc6705b05 100644 --- a/dev-haskell/mtl/mtl-2.2.2.ebuild +++ b/dev-haskell/mtl/mtl-2.2.2-r1.ebuild @@ -1,9 +1,9 @@ # 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.5.9999 +# ebuild generated by hackport 0.8.0.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" # break circular dependencies: @@ -13,15 +13,15 @@ inherit haskell-cabal DESCRIPTION="Monad classes, using functional dependencies" HOMEPAGE="https://github.com/haskell/mtl" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" 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 ~ppc-macos" -IUSE="" -RDEPEND=">=dev-lang/ghc-7.10.1:= +RDEPEND=" + >=dev-lang/ghc-8.10.6:= " DEPEND="${RDEPEND}" -CABAL_CORE_LIB_GHC_PV="8.10.6 9.0.2" +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7 9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5" diff --git a/dev-haskell/mwc-random/Manifest b/dev-haskell/mwc-random/Manifest index 9e7fc0f45b1e..dc55022b9c51 100644 --- a/dev-haskell/mwc-random/Manifest +++ b/dev-haskell/mwc-random/Manifest @@ -1 +1,3 @@ DIST mwc-random-0.14.0.0.tar.gz 19674 BLAKE2B 3410f8d237c8e4a0f079c13567082273fc79d287c8de2b9ea0c1f396271ba7571caf890d6065ae7f0e5aae41f66575d90df178b981db24c9792213facf1d9c3d SHA512 bb262d6f4a37d91e4c0667ec5140894ed36bf3ef4b90e487f4d689a6bc4eddd09dcdc3c8b75013124908ca1642e990c3e074fb728acc1b36f63b3db66528301d +DIST mwc-random-0.15.0.2-rev1.cabal 3372 BLAKE2B 1e565e2028fe1cba958684ebfef4c3c248776402c8310e389c553084cae82c2451c19bd78567df9aa58fb926a8b10bf5e8fbec211c9bd0a33c3d0ac15b4f16e3 SHA512 7b3f2bb05148fc85ed4f85bbd96fbe6e836857a117c839cb2ceb51c4b17aa4ebc03b8989970cbf9b51aadfc6a9507a6af4dd864ec65b8b421456f46eee0974ed +DIST mwc-random-0.15.0.2.tar.gz 26591 BLAKE2B 8320eaa28e5bc302104c8e9617e8e50728934d7143ea5a243570aed28cec5c98bb17d128460aed27dcbf5b3b71570a39f6247a3868cb18eb3f3c0325c20fed67 SHA512 7e30a4584bca7f5e5147388dc9c081ac417d3aff1e9bd431535eac695db0779b4d20c6b3bedbda06a4780d9d57ab1f7880743f7bad20e4f5d2b7d32ce7f373bd diff --git a/dev-haskell/mwc-random/metadata.xml b/dev-haskell/mwc-random/metadata.xml index 3bcd47064ae2..c6a1cbc7566e 100644 --- a/dev-haskell/mwc-random/metadata.xml +++ b/dev-haskell/mwc-random/metadata.xml @@ -5,21 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package contains code for generating high quality random - numbers that follow either a uniform or normal distribution. The - generated numbers are suitable for use in statistical applications. - - The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222) - multiply-with-carry generator, which has a period of 2^8222 and - fares well in tests of randomness. It is also extremely fast, - between 2 and 3 times faster than the Mersenne Twister. - - Compared to the mersenne-random package, this package has a more - convenient API, is faster, and supports more statistical - distributions. - </longdescription> <upstream> + <remote-id type="hackage">mwc-random</remote-id> <remote-id type="github">bos/mwc-random</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/mwc-random/mwc-random-0.14.0.0.ebuild b/dev-haskell/mwc-random/mwc-random-0.14.0.0.ebuild index 1731d4239fa3..8c625cf12c31 100644 --- a/dev-haskell/mwc-random/mwc-random-0.14.0.0.ebuild +++ b/dev-haskell/mwc-random/mwc-random-0.14.0.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/mwc-random/mwc-random-0.15.0.2-r2.ebuild b/dev-haskell/mwc-random/mwc-random-0.15.0.2-r2.ebuild new file mode 100644 index 000000000000..017026e79567 --- /dev/null +++ b/dev-haskell/mwc-random/mwc-random-0.15.0.2-r2.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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast, high quality pseudo random number generation" +HOMEPAGE="https://github.com/bos/mwc-random" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +CABAL_CHDEPS=( + 'doctest >=0.15 && <0.20' 'doctest >=0.15' +) + +RDEPEND=" + >=dev-haskell/math-functions-0.2.1.0:=[profile?] + >=dev-haskell/primitive-0.6.2:=[profile?] + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/vector-0.7:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/doctest-0.15 + >=dev-haskell/quickcheck-2.2 + >=dev-haskell/tasty-1.3.1 + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + >=dev-haskell/vector-0.12.1 + ) +" diff --git a/dev-haskell/nanospec/metadata.xml b/dev-haskell/nanospec/metadata.xml index 937381521944..8f1b8ce8ed3a 100644 --- a/dev-haskell/nanospec/metadata.xml +++ b/dev-haskell/nanospec/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">nanospec</remote-id> + <remote-id type="github">hspec/nanospec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/nanospec/nanospec-0.2.2.ebuild b/dev-haskell/nanospec/nanospec-0.2.2.ebuild index 6d7b5ebd836c..c14d160d5dfb 100644 --- a/dev-haskell/nanospec/nanospec-0.2.2.ebuild +++ b/dev-haskell/nanospec/nanospec-0.2.2.ebuild @@ -3,24 +3,33 @@ EAPI=8 -# ebuild generated by hackport 0.5.5.9999 +# ebuild generated by hackport 0.8.0.0.9999 -CABAL_FEATURES="lib profile haddock hoogle hscolour" # drop test-suite: cyclic depend +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="A lightweight implementation of a subset of Hspec's API" HOMEPAGE="https://github.com/hspec/nanospec#readme" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" -RESTRICT=test # cyclic depend: silently[test]->nanospec - -RDEPEND=">=dev-lang/ghc-7.4.1:= +RDEPEND=" + >=dev-lang/ghc-8.4.3:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.10 + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/hspec-1.3 + >=dev-haskell/silently-1.2.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/nats/nats-1.1.2-r1.ebuild b/dev-haskell/nats/nats-1.1.2-r1.ebuild index dcddb294eda0..e67bc613e041 100644 --- a/dev-haskell/nats/nats-1.1.2-r1.ebuild +++ b/dev-haskell/nats/nats-1.1.2-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.7.9999 diff --git a/dev-haskell/netlink/netlink-1.1.1.0.ebuild b/dev-haskell/netlink/netlink-1.1.1.0.ebuild new file mode 100644 index 000000000000..7e28c549bf00 --- /dev/null +++ b/dev-haskell/netlink/netlink-1.1.1.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.5.6 +#hackport: flags: -generators +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Netlink communication for Haskell" +HOMEPAGE="https://github.com/Ongy/netlink-hs" +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/cereal-0.3:=[profile?] + >=dev-haskell/monad-loops-0.3:=[profile?] + dev-haskell/pretty-hex:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-generators +} diff --git a/dev-haskell/network-bsd/network-bsd-2.8.1.0-r1.ebuild b/dev-haskell/network-bsd/network-bsd-2.8.1.0-r1.ebuild index 14a01f081946..89a6c97d38da 100644 --- a/dev-haskell/network-bsd/network-bsd-2.8.1.0-r1.ebuild +++ b/dev-haskell/network-bsd/network-bsd-2.8.1.0-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.4 @@ -24,9 +24,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - default - - cabal_chdeps \ - 'network >= 3.0.0.0 && < 3.0.1' 'network >= 3.0.0.0' -} +CABAL_CHDEPS=( + 'network >= 3.0.0.0 && < 3.0.1' 'network >= 3.0.0.0' +) diff --git a/dev-haskell/network-byte-order/network-byte-order-0.1.6.ebuild b/dev-haskell/network-byte-order/network-byte-order-0.1.6.ebuild index 2f8d2b687ff2..61bc2393fe13 100644 --- a/dev-haskell/network-byte-order/network-byte-order-0.1.6.ebuild +++ b/dev-haskell/network-byte-order/network-byte-order-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.7.9999 diff --git a/dev-haskell/network-info/Manifest b/dev-haskell/network-info/Manifest index 0dafbaa22964..3f1755712c23 100644 --- a/dev-haskell/network-info/Manifest +++ b/dev-haskell/network-info/Manifest @@ -1 +1,2 @@ DIST network-info-0.2.0.10.tar.gz 6278 BLAKE2B 52cec7dc2866ff0aad9f0180391c2e093d3147f7de1dd96baa7ec1f9d149792aca371d7f5bb3a32d254f2fd3a35f6a6b3fb479967ad7cb0a125944aca7eeaa88 SHA512 d578f64860fb3c04d11a444d9636bde57402b6728529e73c7741b056ef0d8f68cb0958118212f2d47826dc28ba9b2bfcc9aef8b5b2e9fc3da8eaadc796160895 +DIST network-info-0.2.1.tar.gz 6387 BLAKE2B 82ff522ddf8bb4b22fabda228148cc428cb847589727dfa18182d6516c1367a6549c07fdca4492c56a012e61b9e3fe168827bd31e837d8f6bea30f0dfef3e19d SHA512 a252bd5c34cbbde9dcdd9606b31ed9b9fa802edfc694795f8779fd8f4ffa9092df0ab25426e0a1dca836d74a9357c1b31acb2aa01a9e46e8ffd5959be7a5d619 diff --git a/dev-haskell/network-info/metadata.xml b/dev-haskell/network-info/metadata.xml index 275cdcb01d77..870e8e27d82c 100644 --- a/dev-haskell/network-info/metadata.xml +++ b/dev-haskell/network-info/metadata.xml @@ -5,19 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides simple read-only access to the - local computer's networking configuration. It is - currently capable of getting a list of all the network - interfaces and their respective IPv4, IPv6 and MAC - addresses. - - network-info has been tested and is known to work on - Ubuntu 10.10, FreeBSD 9.0, Mac OS X 10.6.4 and Windows - XP/7. It probably works on other flavours of Linux, - OS X, FreeBSD and Windows as well. - </longdescription> <upstream> - <remote-id type="github">jystic/network-info</remote-id> + <remote-id type="hackage">network-info</remote-id> + <remote-id type="github">jacobstanley/network-info</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/network-info/network-info-0.2.1.ebuild b/dev-haskell/network-info/network-info-0.2.1.ebuild new file mode 100644 index 000000000000..eb5ab6b19e2a --- /dev/null +++ b/dev-haskell/network-info/network-info-0.2.1.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.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Access the local computer's basic network configuration" +HOMEPAGE="https://github.com/jacobstanley/network-info" + +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/network-multicast/network-multicast-0.3.2.ebuild b/dev-haskell/network-multicast/network-multicast-0.3.2.ebuild index a7e38c8cbfb2..bffad67dceec 100644 --- a/dev-haskell/network-multicast/network-multicast-0.3.2.ebuild +++ b/dev-haskell/network-multicast/network-multicast-0.3.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.4 diff --git a/dev-haskell/network-run/Manifest b/dev-haskell/network-run/Manifest new file mode 100644 index 000000000000..a7d60f7e8cce --- /dev/null +++ b/dev-haskell/network-run/Manifest @@ -0,0 +1 @@ +DIST network-run-0.2.4.tar.gz 3092 BLAKE2B 6297645c5ae200dc584fad8a9a6be1403087cddf7c0bdcb1c928745bed7cc92302d9ffab1b66678941239b478ed595406c299e08f6aa417021f1dc36829d865d SHA512 45f5490e3f3409919a0c9405c96f6529a322dc145017347321a3bceafbefca3f19aba39d8acfcd5b31ee05a324c63355833fce5fabed8ea87a358bf7e3a1ab05 diff --git a/dev-haskell/network-run/metadata.xml b/dev-haskell/network-run/metadata.xml new file mode 100644 index 000000000000..cc983e9d2a29 --- /dev/null +++ b/dev-haskell/network-run/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">network-run</remote-id> + <remote-id type="github">kazu-yamamoto/network-run</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/network-run/network-run-0.2.4.ebuild b/dev-haskell/network-run/network-run-0.2.4.ebuild new file mode 100644 index 000000000000..ab9398987ed9 --- /dev/null +++ b/dev-haskell/network-run/network-run-0.2.4.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Simple network runner library" +HOMEPAGE="https://hackage.haskell.org/package/network-run" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/network-3.1.0:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/network-uri/Manifest b/dev-haskell/network-uri/Manifest index 0ec6b3bc58f0..e6efe7b1d15e 100644 --- a/dev-haskell/network-uri/Manifest +++ b/dev-haskell/network-uri/Manifest @@ -1 +1,2 @@ DIST network-uri-2.6.4.1.tar.gz 32373 BLAKE2B cceeb533cae70b4b3e2a4caa2a2f3722949698bcc6c2c454787195ec33050c0a3f6ff9f2d60d5d965eb13043b22759525298a1840ac7046e765bc40b3ae960c7 SHA512 8e5b01fd11197ac36de9b804d37256662f904f2b94a997a2e262439bb1706d1c460db368e935bf3971fd1581162abbc07439a0bae391e1e616264bd00fe7104e +DIST network-uri-2.6.4.2.tar.gz 31309 BLAKE2B 4ff7d3211ac89ef06ecc6f769c0a0a6933f23bd191dbfdae90697eb31c898d05d42094dec67161ff7cff648b2a6115b7a49d40218037cd838d2160a45cb0b445 SHA512 999e94a3053a101d1dc737a26ff93f832040365e949805b1ff5327ade9ab63d20f686c9f1bb3544d6d22c7c6d0b10bfcb64b30aa226d74ed6ad8bbb28fce6c0f diff --git a/dev-haskell/network-uri/metadata.xml b/dev-haskell/network-uri/metadata.xml index a4f8ab16450e..9e1b07f449dd 100644 --- a/dev-haskell/network-uri/metadata.xml +++ b/dev-haskell/network-uri/metadata.xml @@ -5,30 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides an URI manipulation inteface. - - In network-2.6 the @Network.URI@ module was split off from the - network package into this package. If you're using the @Network.URI@ - module you can automatically get it from the right package by adding - this to your .cabal file: - - > flag network-uri - > description: Get Network.URI from the network-uri package - > default: True - > - > library - > -- ... - > if flag(network-uri) - > build-depends: network-uri >= 2.6 - > else - > build-depends: network < 2.6 - - If you want to use other modules from the network package while - using the @Network.URI@ modules from this package, add a @network > - 2.6@ clause to the first @build-depends@ line. - </longdescription> <upstream> + <remote-id type="hackage">network-uri</remote-id> <remote-id type="github">haskell/network-uri</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/network-uri/network-uri-2.6.4.1.ebuild b/dev-haskell/network-uri/network-uri-2.6.4.1.ebuild index aca2c5c558a6..4624897d973e 100644 --- a/dev-haskell/network-uri/network-uri-2.6.4.1.ebuild +++ b/dev-haskell/network-uri/network-uri-2.6.4.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 diff --git a/dev-haskell/network-uri/network-uri-2.6.4.2.ebuild b/dev-haskell/network-uri/network-uri-2.6.4.2.ebuild new file mode 100644 index 000000000000..78efe4ef49f6 --- /dev/null +++ b/dev-haskell/network-uri/network-uri-2.6.4.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 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="URI manipulation" +HOMEPAGE="https://github.com/haskell/network-uri" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-haskell/th-compat-0.1.1:=[profile?] <dev-haskell/th-compat-1.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-hunit + 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 +} diff --git a/dev-haskell/network/Manifest b/dev-haskell/network/Manifest index 5152aa7037bc..d64e643810e4 100644 --- a/dev-haskell/network/Manifest +++ b/dev-haskell/network/Manifest @@ -1 +1,2 @@ DIST network-3.1.2.5.tar.gz 139267 BLAKE2B 682726d42db1d899810fbe6c0aa89f1b25770a46041a9136260d104f658611bc747c4695f403ae52234ac3506221619d7741e75bea987d0cc19e6a5066172f9f SHA512 671429b18f11285b157c70e669051f57a30bf5e85ada1134464f80dd978f71878f8b4d2564242c9ff4bb100b49af771e449c556654486f5eb433f39401ec6c00 +DIST network-3.1.3.0.tar.gz 139436 BLAKE2B e689f4a7ff235e07029f3d24714a8a1b465b8884aad8c0067f8980fd6a7876ef110f3759a0a7bd4cb3565d99ba1ae60b31ee0a2a87409b59c101c0862bd9f43b SHA512 000e2bf2bb9143e4808b02d8065809c67de9562aca35d043d15c064ae2b9e946a717862253add5ae65bf4bddc720ee266931c798238d2b5a546b52a5ab133cb8 diff --git a/dev-haskell/network/metadata.xml b/dev-haskell/network/metadata.xml index 11c89adf9f6f..dd74ff6d9d5c 100644 --- a/dev-haskell/network/metadata.xml +++ b/dev-haskell/network/metadata.xml @@ -8,4 +8,8 @@ <use> <flag name="devel">using tests for developers</flag> </use> + <upstream> + <remote-id type="hackage">network</remote-id> + <remote-id type="github">haskell/network</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/network/network-3.1.3.0.ebuild b/dev-haskell/network/network-3.1.3.0.ebuild new file mode 100644 index 000000000000..caff0339fd4c --- /dev/null +++ b/dev-haskell/network/network-3.1.3.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Low-level networking interface" +HOMEPAGE="https://github.com/haskell/network" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="devel" + +RDEPEND=">=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2.6 + dev-haskell/hunit + dev-haskell/quickcheck + dev-haskell/temporary ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag devel devel) +} diff --git a/dev-haskell/nothunks/Manifest b/dev-haskell/nothunks/Manifest new file mode 100644 index 000000000000..922334f3ab1e --- /dev/null +++ b/dev-haskell/nothunks/Manifest @@ -0,0 +1 @@ +DIST nothunks-0.1.4.tar.gz 18501 BLAKE2B 5f5bda104990dbecf7e313134d1d723f5ecb0dfb9b3abdb0ab68774f55e416b954720de7ccc449047f795cb03464c15cbf37dd4e20bdac71d0188f8fb76dc70e SHA512 6decd4bcc6c72c09c87692e772affeb4bb22d6312974bfb184567e399844d437bd4c68814f2f208d82a012498090a780958d138a946e907258e9a5d221a697c4 diff --git a/dev-haskell/nothunks/metadata.xml b/dev-haskell/nothunks/metadata.xml new file mode 100644 index 000000000000..de0c1b2d1b19 --- /dev/null +++ b/dev-haskell/nothunks/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="bytestring">Provide instances for bytestring</flag> + <flag name="text">Provide instances for text</flag> + <flag name="vector">Provide instances for vector</flag> + </use> + <upstream> + <remote-id type="hackage">nothunks</remote-id> + <remote-id type="github">input-output-hk/nothunks</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/nothunks/nothunks-0.1.4-r1.ebuild b/dev-haskell/nothunks/nothunks-0.1.4-r1.ebuild new file mode 100644 index 000000000000..f70ecce1a7c2 --- /dev/null +++ b/dev-haskell/nothunks/nothunks-0.1.4-r1.ebuild @@ -0,0 +1,51 @@ +# 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="Examine values for unexpected thunks" +HOMEPAGE="https://hackage.haskell.org/package/nothunks" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+bytestring +text +vector" + +CABAL_CHDEPS=( + 'hedgehog >= 1.1 && < 1.3' 'hedgehog >= 1.1' +) + +RDEPEND=" + >=dev-lang/ghc-8.10.6:= + text? ( + || ( + ( >=dev-haskell/text-1.2 <dev-haskell/text-1.3 ) + ( >=dev-haskell/text-2 <dev-haskell/text-2.1 ) + ) + dev-haskell/text:=[profile?] + ) + vector? ( + >=dev-haskell/vector-0.12:=[profile?] <dev-haskell/vector-0.14:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hedgehog-1.1 + >=dev-haskell/random-1.1 <dev-haskell/random-1.3 + >=dev-haskell/tasty-1.3 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-hedgehog-1.1 <dev-haskell/tasty-hedgehog-1.5 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bytestring bytestring) \ + $(cabal_flag text text) \ + $(cabal_flag vector vector) +} diff --git a/dev-haskell/old-locale/old-locale-1.0.0.7.ebuild b/dev-haskell/old-locale/old-locale-1.0.0.7.ebuild index 2bb8701381c6..75fdf036433b 100644 --- a/dev-haskell/old-locale/old-locale-1.0.0.7.ebuild +++ b/dev-haskell/old-locale/old-locale-1.0.0.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.4.4.9999 @@ -26,8 +26,6 @@ DEPEND="${RDEPEND} # it's not quite true, but there was no major releases CABAL_CORE_LIB_GHC_PV="6.12.* 7.0.* 7.2.* 7.4.* 7.6.* 7.8.*" -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.2 && < 4.9' 'base >= 4.2' -} +CABAL_CHDEPS=( + 'base >= 4.2 && < 4.9' 'base >= 4.2' +) diff --git a/dev-haskell/old-time/old-time-1.1.0.3-r1.ebuild b/dev-haskell/old-time/old-time-1.1.0.3-r1.ebuild index fe84d146d2d9..0bc605e4e901 100644 --- a/dev-haskell/old-time/old-time-1.1.0.3-r1.ebuild +++ b/dev-haskell/old-time/old-time-1.1.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.4.4.9999 @@ -27,8 +27,6 @@ DEPEND="${RDEPEND} # it's not quite true, but there was no major releases CABAL_CORE_LIB_GHC_PV="6.12.* 7.0.* 7.2.* 7.4.* 7.6.* 7.8.*" -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.7 && < 4.9' 'base >= 4.7' -} +CABAL_CHDEPS=( + 'base >= 4.7 && < 4.9' 'base >= 4.7' +) diff --git a/dev-haskell/onetuple/Manifest b/dev-haskell/onetuple/Manifest index ae8af016c6ef..cb540b679187 100644 --- a/dev-haskell/onetuple/Manifest +++ b/dev-haskell/onetuple/Manifest @@ -1,2 +1,3 @@ DIST onetuple-0.3.1-rev2.cabal 2262 BLAKE2B 8cc887f52d2dc6efba347c945c3d7e2075b0051259179e6e46c3a3c5bc53434cc03ba07d5d2fb4427a6a158fa716038478b1f6337c4721f1303369c7bbf95e08 SHA512 c665b01a6c234f90c662cc48b268ea970da8ba29b38c8cdd43426d9361d2d1b6a8f9ec56fd4166358c3be35d4b45373d7f83c7e1c650207173d5149d949681a0 DIST onetuple-0.3.1.tar.gz 5148 BLAKE2B 114cb7d8ba0ff28b7ad2ff7b3874446259a9a88f18a8ff6114975e60f712c466cd31861cac4bc2bf47f02280c155b3f2eb2f0880f0f39dfb855f6ad1b6dd4d69 SHA512 92678ca3e05c6da7d60e460efa88dbd8c19f8ec6b149dc5a9a493f93bd944b7d0c3ac650a3c1ad9d3742bc2a8bfaef1bab8a6e4ba71ebbb1fc0c9f7a07c0906c +DIST onetuple-0.4.1.1.tar.gz 5601 BLAKE2B d847f732babbc5a692ca00cc483be1ca8f4912321bbcbfca5704827706d4e0d8e49127bcfb33b453a730fdb1161f0ba31878cfb53bfe97f51f9a885784e42cc2 SHA512 ee82a427558ad81ec95884794871c1a9245fefe32e21500e82d4f0539e4677dd6048e82bfd0f2b02c6d1a52d4d2392bb8f969c4fd663c35f4f7348a97aba8a26 diff --git a/dev-haskell/onetuple/metadata.xml b/dev-haskell/onetuple/metadata.xml index 937381521944..5f2bfc74586b 100644 --- a/dev-haskell/onetuple/metadata.xml +++ b/dev-haskell/onetuple/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">OneTuple</remote-id> + <remote-id type="github">phadej/OneTuple</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/onetuple/onetuple-0.4.1.1.ebuild b/dev-haskell/onetuple/onetuple-0.4.1.1.ebuild new file mode 100644 index 000000000000..cdbeb54747e4 --- /dev/null +++ b/dev-haskell/onetuple/onetuple-0.4.1.1.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.8.2.0.9999 + +CABAL_PN="OneTuple" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Singleton Tuple" +HOMEPAGE="https://hackage.haskell.org/package/OneTuple" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/base-orphans-0.8.6:=[profile?] + >=dev-haskell/foldable1-classes-compat-0.1:=[profile?] <dev-haskell/foldable1-classes-compat-0.2:=[profile?] + >=dev-haskell/hashable-1.3.5.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/only/only-0.1.ebuild b/dev-haskell/only/only-0.1.ebuild index 386e0c6e2dcf..eb3d6ce1b6f7 100644 --- a/dev-haskell/only/only-0.1.ebuild +++ b/dev-haskell/only/only-0.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.5.3.9999 diff --git a/dev-haskell/options/Manifest b/dev-haskell/options/Manifest index c7c54738adab..53b51528f0b1 100644 --- a/dev-haskell/options/Manifest +++ b/dev-haskell/options/Manifest @@ -1 +1,2 @@ DIST options-1.2.1.1.tar.gz 25327 BLAKE2B 66611694e5beb558e185cd9a89e9368ebac035118360a4c1cb9bcba5ad2a0be74c32848e3983aec999b4cee6e3138c527fe31c869b52c84719ee89afe3aad232 SHA512 615a3767b74ca0ba2eae993f6e475963df2a0933f1e6c9bbfe35144c4dc6018af276144b2ec1b608b695dc7fca904784ebc63cd58a432f966588846cb36f94ea +DIST options-1.2.1.2.tar.gz 22693 BLAKE2B 4e17e038a910deb114182a5f98860cf4bef6ee6b03901105a23760cd108352e5be63ba762dadbd225ec10ef7c3b34c76184ccc927a36f2ff4720d6c0ee77ae5f SHA512 82c366adce56a27ab68a4388bc759b90ee4bfe38fd72325af954bef2eb3aee360729d5ed2de2964c8087b3b5a51d321321d9c02024b34b6167f09d7412aa2568 diff --git a/dev-haskell/options/metadata.xml b/dev-haskell/options/metadata.xml index 284861e4945d..c78c1cd7c4aa 100644 --- a/dev-haskell/options/metadata.xml +++ b/dev-haskell/options/metadata.xml @@ -5,59 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The @options@ package lets library and application developers easily work - with command-line options. - - The following example is a full program that can accept two options, - @--message@ and @--quiet@: - - @ - import Control.Applicative - import Options - - data MainOptions = MainOptions - &#x20; &#x7b; optMessage :: String - &#x20; , optQuiet :: Bool - &#x20; &#x7d; - - instance 'Options' MainOptions where - &#x20; defineOptions = pure MainOptions - &#x20; \<*\> simpleOption \"message\" \"Hello world!\" - &#x20; \"A message to show the user.\" - &#x20; \<*\> simpleOption \"quiet\" False - &#x20; \"Whether to be quiet.\" - - main :: IO () - main = runCommand $ \\opts args -> do - &#x20; if optQuiet opts - &#x20; then return () - &#x20; else putStrLn (optMessage opts) - @ - - >$ ./hello - >Hello world! - >$ ./hello --message='ciao mondo' - >ciao mondo - >$ ./hello --quiet - >$ - - In addition, this library will automatically create documentation options - such as @--help@ and @--help-all@: - - >$ ./hello --help - >Help Options: - > -h, --help - > Show option summary. - > --help-all - > Show all help options. - > - >Application Options: - > --message :: text - > A message to show the user. - > default: "Hello world!" - > --quiet :: bool - > Whether to be quiet. - > default: false - </longdescription> + <upstream> + <remote-id type="hackage">options</remote-id> + <remote-id type="github">typeclasses/options</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/options/options-1.2.1.1.ebuild b/dev-haskell/options/options-1.2.1.1.ebuild index 2d8ab5fc7910..410373f86de7 100644 --- a/dev-haskell/options/options-1.2.1.1.ebuild +++ b/dev-haskell/options/options-1.2.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.4.4.9999 diff --git a/dev-haskell/options/options-1.2.1.2.ebuild b/dev-haskell/options/options-1.2.1.2.ebuild new file mode 100644 index 000000000000..f8c85444f9d0 --- /dev/null +++ b/dev-haskell/options/options-1.2.1.2.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Powerful and easy command-line option parser" +HOMEPAGE="https://github.com/typeclasses/options/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +CABAL_CHDEPS=( + 'base ^>= 4.16 || ^>= 4.17 || ^>= 4.18' 'base >= 4.14 && < 5' +) + +RDEPEND=" + >=dev-haskell/monads-tf-0.3:=[profile?] <dev-haskell/monads-tf-0.4:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hspec-2.9.7 <dev-haskell/hspec-2.12 + >=dev-haskell/patience-0.3 <dev-haskell/patience-0.4 + ) +" diff --git a/dev-haskell/optparse-applicative/Manifest b/dev-haskell/optparse-applicative/Manifest index 8385b7bfbae0..6fb42cf25fa4 100644 --- a/dev-haskell/optparse-applicative/Manifest +++ b/dev-haskell/optparse-applicative/Manifest @@ -1,2 +1,3 @@ DIST optparse-applicative-0.16.1.0.cabal 4982 BLAKE2B 7e9fed3ff6f09f8b7994d4fd2177ade79e62bc2292dd5fa78bfdf15b0b6f7af0bd696d61ef02ed358460a61f0e2f960d01455091168687f6d2db0b07caf182f6 SHA512 31a1e01b4d0a247c10b1eec2f5bb40e518b447527736b8692846980d182ef2ac4d839b4a24b3d17414fac28700d43d0317deb481c1e0c7ac2b7b38aaafc654a1 DIST optparse-applicative-0.16.1.0.tar.gz 58315 BLAKE2B 3998ef8594abd3f0f1e85cc44a3efa19d78751f5d17181e1b203504221c219ebf3fa36ccde7351e5821fe1c4a4c0c16a20fffe92259710dbcc7656f4e3a83c50 SHA512 46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710 +DIST optparse-applicative-0.18.1.0.tar.gz 60682 BLAKE2B 7fc64b6d135fbec6165050e059235a34b0cbe0633076acc97f645af9e25d805ddd5bc03101823ac4645bf7c390dd6c19d96505aeb6c54a4253317b6cbc160d8a SHA512 a5a7667cadd3c2785d787cb6bddb009750308376c771f45d72e2245577f42c2946a069bf420d3404653f9f3662cb798341ee96d1ead35dbf95ab42447698e41d diff --git a/dev-haskell/optparse-applicative/metadata.xml b/dev-haskell/optparse-applicative/metadata.xml index 3e2bcf92c04b..2a153711a9ce 100644 --- a/dev-haskell/optparse-applicative/metadata.xml +++ b/dev-haskell/optparse-applicative/metadata.xml @@ -5,68 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Here is a simple example of an applicative option parser: - - @ - data Sample = Sample - &#x20; &#x7b; hello :: String - &#x20; , quiet :: Bool &#x7d; - - sample :: Parser Sample - sample = Sample - &#x20; \<$\> strOption - &#x20; ( long \"hello\" - &#x20; & metavar \"TARGET\" - &#x20; & help \"Target for the greeting\" ) - &#x20; \<*\> switch - &#x20; ( long \"quiet\" - &#x20; & help \"Whether to be quiet\" ) - @ - - The parser is built using applicative style starting from a set of basic - combinators. In this example, @hello@ is defined as an 'option' with a - @String@ argument, while @quiet@ is a boolean 'flag' (called 'switch'). - - A parser can be used like this: - - @ - greet :: Sample -> IO () - greet (Sample h False) = putStrLn $ \"Hello, \" ++ h - greet _ = return () - - main :: IO () - main = execParser opts \>\>= greet - &#x20; where - &#x20; opts = info (helper \<*\> sample) - &#x20; ( fullDesc - &#x20; & progDesc \"Print a greeting for TARGET\" - &#x20; & header \"hello - a test for optparse-applicative\" ) - @ - - The @greet@ function is the entry point of the program, while @opts@ is a - complete description of the program, used when generating a help text. The - 'helper' combinator takes any parser, and adds a @help@ option to it (which - always fails). - - The @hello@ option in this example is mandatory (since it doesn't have a - default value), so running the program without any argument will display a - help text: - - >hello - a test for optparse-applicative - > - >Usage: hello --hello TARGET [--quiet] - > Print a greeting for TARGET - > - >Available options: - > -h,--help Show this help text - > --hello TARGET Target for the greeting - > --quiet Whether to be quiet - - containing a short usage summary, and a detailed list of options with - descriptions. - </longdescription> <upstream> + <remote-id type="hackage">optparse-applicative</remote-id> <remote-id type="github">pcapriotti/optparse-applicative</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/optparse-applicative/optparse-applicative-0.18.1.0.ebuild b/dev-haskell/optparse-applicative/optparse-applicative-0.18.1.0.ebuild new file mode 100644 index 000000000000..69832dbebf11 --- /dev/null +++ b/dev-haskell/optparse-applicative/optparse-applicative-0.18.1.0.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: +process + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Utilities and combinators for parsing command line options" +HOMEPAGE="https://github.com/pcapriotti/optparse-applicative" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=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/text-1.2:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-2.15 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=process +} diff --git a/dev-haskell/ordered-containers/Manifest b/dev-haskell/ordered-containers/Manifest new file mode 100644 index 000000000000..e266df26597a --- /dev/null +++ b/dev-haskell/ordered-containers/Manifest @@ -0,0 +1 @@ +DIST ordered-containers-0.2.3.tar.gz 7404 BLAKE2B 1e731a5bcf78a3ab8262fcc6edfc5e51ea286d93271f605b7d6b43356994f704eaa438887671f72f4811638108ff52924029fb956d05b1ed6fcc18d9c37f2911 SHA512 a5e141705f9bdbccf152238bcd6be22f3a04966bf57cdf9485f1ea5efd9cc25de80b2d2dd92f281520fddaa74906e9fbbb789e111d19b46854f1cf5297b1b7e9 diff --git a/dev-haskell/ordered-containers/metadata.xml b/dev-haskell/ordered-containers/metadata.xml new file mode 100644 index 000000000000..1f356cb193b1 --- /dev/null +++ b/dev-haskell/ordered-containers/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">ordered-containers</remote-id> + <remote-id type="github">dmwit/ordered-containers</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/ordered-containers/ordered-containers-0.2.3.ebuild b/dev-haskell/ordered-containers/ordered-containers-0.2.3.ebuild new file mode 100644 index 000000000000..5552b1a0d557 --- /dev/null +++ b/dev-haskell/ordered-containers/ordered-containers-0.2.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Set- and Map-like types that remember the order elements were inserted" +HOMEPAGE="https://hackage.haskell.org/package/ordered-containers" + +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 +" diff --git a/dev-haskell/pandoc-lua-engine/Manifest b/dev-haskell/pandoc-lua-engine/Manifest new file mode 100644 index 000000000000..64df061cf7b0 --- /dev/null +++ b/dev-haskell/pandoc-lua-engine/Manifest @@ -0,0 +1,2 @@ +DIST pandoc-lua-engine-0.2.1.2-rev1.cabal 6835 BLAKE2B 70217c170c8eeb59571b208fab3ea34b7e1bcf30afad7365249fbd292a8c571910a3afe868f2b1fd68f8801eeeeb95f08810901f8dd5a32f511fdfc0ea665b98 SHA512 6c0fa6f266ab796f3c041f839a8fdb11f511dd76b88f2a48b6aa3df717e9a137a571ea204398a92be39bdc5e0d3a1e1e1814374192a9a9ea243c6303770ed4ae +DIST pandoc-lua-engine-0.2.1.2.tar.gz 81179 BLAKE2B b6e8c29a754b093ebd17695a12a28a8755417033068668b6f8154f30ed649031b03c94f9a4ba262f7fa644b718f44c470273371cfa9866d1d7da1d5526fffc42 SHA512 4226463f889ae08fd6449ee3cc66b47830e3c0afee70cf897500461924176a62a2e7123cda8c1c2f8b47bcfdd67ae41502cc01cc04fc73f489c01dff6c897232 diff --git a/dev-haskell/pandoc-lua-engine/metadata.xml b/dev-haskell/pandoc-lua-engine/metadata.xml new file mode 100644 index 000000000000..daccca3763a8 --- /dev/null +++ b/dev-haskell/pandoc-lua-engine/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">pandoc-lua-engine</remote-id> + <remote-id type="github">jgm/pandoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/pandoc-lua-engine/pandoc-lua-engine-0.2.1.2.ebuild b/dev-haskell/pandoc-lua-engine/pandoc-lua-engine-0.2.1.2.ebuild new file mode 100644 index 000000000000..b0b2b0d9301c --- /dev/null +++ b/dev-haskell/pandoc-lua-engine/pandoc-lua-engine-0.2.1.2.ebuild @@ -0,0 +1,50 @@ +# 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=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lua engine to power custom pandoc conversions" +HOMEPAGE="https://pandoc.org" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # requires network access to fetch .svg + +RDEPEND=">=dev-haskell/pandoc-3.1.4:=[profile?] <dev-haskell/pandoc-3.2:=[profile?] + dev-haskell/aeson:=[profile?] + >=dev-haskell/citeproc-0.8:=[profile?] <dev-haskell/citeproc-0.9:=[profile?] + >=dev-haskell/data-default-0.4:=[profile?] <dev-haskell/data-default-0.8:=[profile?] + >=dev-haskell/doclayout-0.4:=[profile?] <dev-haskell/doclayout-0.5:=[profile?] + >=dev-haskell/doctemplates-0.11:=[profile?] <dev-haskell/doctemplates-0.12:=[profile?] + >=dev-haskell/hslua-2.3:=[profile?] <dev-haskell/hslua-2.4:=[profile?] + >=dev-haskell/hslua-module-doclayout-1.1:=[profile?] <dev-haskell/hslua-module-doclayout-1.2:=[profile?] + >=dev-haskell/hslua-module-path-1.1:=[profile?] <dev-haskell/hslua-module-path-1.2:=[profile?] + >=dev-haskell/hslua-module-system-1.1:=[profile?] <dev-haskell/hslua-module-system-1.2:=[profile?] + >=dev-haskell/hslua-module-text-1.1:=[profile?] <dev-haskell/hslua-module-text-1.2:=[profile?] + >=dev-haskell/hslua-module-version-1.1:=[profile?] <dev-haskell/hslua-module-version-1.2:=[profile?] + >=dev-haskell/hslua-module-zip-1.1:=[profile?] <dev-haskell/hslua-module-zip-1.2:=[profile?] + >=dev-haskell/hslua-repl-0.1.1:=[profile?] <dev-haskell/hslua-repl-0.2:=[profile?] + >=dev-haskell/lpeg-1.0.4:=[profile?] <dev-haskell/lpeg-1.1:=[profile?] + >=dev-haskell/pandoc-lua-marshal-0.2.2:=[profile?] <dev-haskell/pandoc-lua-marshal-0.3:=[profile?] + >=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/sha-1.6:=[profile?] <dev-haskell/sha-1.7:=[profile?] + >=dev-haskell/text-1.1.1:=[profile?] <dev-haskell/text-2.2:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-golden + dev-haskell/tasty-hunit + >=dev-haskell/tasty-lua-1.1 <dev-haskell/tasty-lua-1.2 ) +" diff --git a/dev-haskell/pandoc-lua-marshal/Manifest b/dev-haskell/pandoc-lua-marshal/Manifest index cad348d9abaa..c01529711831 100644 --- a/dev-haskell/pandoc-lua-marshal/Manifest +++ b/dev-haskell/pandoc-lua-marshal/Manifest @@ -1 +1,2 @@ DIST pandoc-lua-marshal-0.1.6.tar.gz 41737 BLAKE2B 878f28c9f20b752f09c9c94215a90d7d2e43f32f598f95272aac0e1847d90cbe03df1a52cc93c025f24b8c439e633599d5b0d0b4c9f224f21c505b2a82cd8290 SHA512 be425707b82da8d82d544da5c67f58537ddaa7eabf2508ab4e7bd4c0cff05b394a784bea744e6f702047ee733e259369eef43de615436607b38ceb8bda89417d +DIST pandoc-lua-marshal-0.2.2.tar.gz 38236 BLAKE2B 34685d34caa523390639fcdbf98faa19ef4f91f7bfab8e3a99016562280712409a2ddedc45be370f30165e66af849cd9e4d8c4069f1020c604ca2974236aeee3 SHA512 4a861beb82d2abd95c4c671c9962c99d5302d1fa44de7d80e6e0896c172a6cd3c3758fc4b51b29667dcec1a6d51385cbe8d8e53c15e6eab761840e39270cfe3d diff --git a/dev-haskell/pandoc-lua-marshal/metadata.xml b/dev-haskell/pandoc-lua-marshal/metadata.xml index 937381521944..b4ca44993479 100644 --- a/dev-haskell/pandoc-lua-marshal/metadata.xml +++ b/dev-haskell/pandoc-lua-marshal/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">pandoc-lua-marshal</remote-id> + <remote-id type="github">pandoc/pandoc-lua-marshal</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/pandoc-lua-marshal/pandoc-lua-marshal-0.2.2.ebuild b/dev-haskell/pandoc-lua-marshal/pandoc-lua-marshal-0.2.2.ebuild new file mode 100644 index 000000000000..d240a29a02ac --- /dev/null +++ b/dev-haskell/pandoc-lua-marshal/pandoc-lua-marshal-0.2.2.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Use pandoc types in Lua" +HOMEPAGE="https://github.com/pandoc/pandoc-lua-marshal" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.5:=[profile?] <dev-haskell/aeson-2.2:=[profile?] + >=dev-haskell/hslua-2.2:=[profile?] <dev-haskell/hslua-2.4:=[profile?] + >=dev-haskell/hslua-list-1.1:=[profile?] <dev-haskell/hslua-list-1.2:=[profile?] + >=dev-haskell/hslua-marshalling-2.2:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/lua-2.2:=[profile?] <dev-haskell/lua-2.4:=[profile?] + >=dev-haskell/pandoc-types-1.23:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + >=dev-haskell/safe-0.3:=[profile?] <dev-haskell/safe-0.4:=[profile?] + >=dev-lang/ghc-8.10.1:= + >=dev-haskell/text-1.1.1.0:=[profile?] <dev-haskell/text-2.1:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.15 + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-lua-1.0 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) +" diff --git a/dev-haskell/pandoc-server/Manifest b/dev-haskell/pandoc-server/Manifest new file mode 100644 index 000000000000..b58a33eb3d8d --- /dev/null +++ b/dev-haskell/pandoc-server/Manifest @@ -0,0 +1 @@ +DIST pandoc-server-0.1.0.3.tar.gz 12779 BLAKE2B a2265acd435053d8c7bbe61c9dd2ada19b75554ca49be2fe6dddd232dcf44e41194c984a4cde6c4dcb060ebd630ee0584cf6217d31080cacaae27fa026ae345b SHA512 3fc7af2fcc16dfcbd05f12f04ac7682c56d2ea8e19d554d3abc803e3cc3ccedfdaaa14583fe5afa69961b86ba6a52d5ef099bf51330c70c4f5dc401d615098c6 diff --git a/dev-haskell/pandoc-server/metadata.xml b/dev-haskell/pandoc-server/metadata.xml new file mode 100644 index 000000000000..53c2244508b1 --- /dev/null +++ b/dev-haskell/pandoc-server/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">pandoc-server</remote-id> + <remote-id type="github">jgm/pandoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/pandoc-server/pandoc-server-0.1.0.3.ebuild b/dev-haskell/pandoc-server/pandoc-server-0.1.0.3.ebuild new file mode 100644 index 000000000000..4f55a6ec2a51 --- /dev/null +++ b/dev-haskell/pandoc-server/pandoc-server-0.1.0.3.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Pandoc document conversion as an HTTP servant-server" +HOMEPAGE="https://pandoc.org" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/pandoc-3.0:=[profile?] + >=dev-haskell/aeson-2.0:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/base64-0.4:=[profile?] <dev-haskell/base64-0.5:=[profile?] + >=dev-haskell/data-default-0.4:=[profile?] <dev-haskell/data-default-0.8:=[profile?] + >=dev-haskell/doctemplates-0.11:=[profile?] <dev-haskell/doctemplates-0.12:=[profile?] + >=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + >=dev-haskell/servant-server-0.19:=[profile?] <dev-haskell/servant-server-0.21:=[profile?] + >=dev-haskell/skylighting-0.13:=[profile?] <dev-haskell/skylighting-0.15:=[profile?] + >=dev-haskell/text-1.1.1.0:=[profile?] <dev-haskell/text-2.2:=[profile?] + >=dev-haskell/unicode-collation-0.1.1:=[profile?] <dev-haskell/unicode-collation-0.2:=[profile?] + >=dev-haskell/wai-3.2:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/wai-cors-0.2.7:=[profile?] <dev-haskell/wai-cors-0.3:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/pandoc-types/Manifest b/dev-haskell/pandoc-types/Manifest index 1862acb534c3..6dcbaa2575ee 100644 --- a/dev-haskell/pandoc-types/Manifest +++ b/dev-haskell/pandoc-types/Manifest @@ -1 +1,2 @@ DIST pandoc-types-1.22.2.tar.gz 35887 BLAKE2B 7a884551a1c1ed94308a1b2529806aee42b9e04a7de94d6a0ded0ad106a6653b9c290b8781ff4197ff86bd132645ef96b5984987206b67173e057258a9fd4c43 SHA512 c4e78de0d6f2df67a716f7e549d629b9ead7f2569674cd84cd73a430c7ee97d1ebe30e0a95e84b5f45dab2a5cee6c6d5cc30f6c47f11859c938c75f63406878b +DIST pandoc-types-1.23.1.tar.gz 36480 BLAKE2B 7c25cc294d0180c4c8a694b0471e76049ff9236a0c9dcf1fac37e6dbe47f7166948c8468b9232c6900a2fc231fd3210edd32b7c504e58b5ed749ce66cfbc3454 SHA512 c09dd9966da80e7121d2033d175832fef190f17044f3fa340c554b4f3ec1a288ffe3b0bb1c1fb0bbd477de0633adfdf111cda39d2e09d8e6d5019f6c28be3fb4 diff --git a/dev-haskell/pandoc-types/metadata.xml b/dev-haskell/pandoc-types/metadata.xml index 937381521944..05ac3948269e 100644 --- a/dev-haskell/pandoc-types/metadata.xml +++ b/dev-haskell/pandoc-types/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">pandoc-types</remote-id> + <remote-id type="github">jgm/pandoc-types</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/pandoc-types/pandoc-types-1.23.1.ebuild b/dev-haskell/pandoc-types/pandoc-types-1.23.1.ebuild new file mode 100644 index 000000000000..d71b49b34b75 --- /dev/null +++ b/dev-haskell/pandoc-types/pandoc-types-1.23.1.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Types for representing a structured document" +HOMEPAGE="https://pandoc.org/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-0.6.2:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/quickcheck-2.10:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.8:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 + >=dev-haskell/test-framework-0.3 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.2.9 <dev-haskell/test-framework-quickcheck2-0.4 ) +" diff --git a/dev-haskell/pandoc/Manifest b/dev-haskell/pandoc/Manifest new file mode 100644 index 000000000000..3afdee24cae4 --- /dev/null +++ b/dev-haskell/pandoc/Manifest @@ -0,0 +1 @@ +DIST pandoc-3.1.8.tar.gz 7315618 BLAKE2B 6e24c1e113be040f413f9e351d020ca911a1e895144cbc2182d10bedf82f75f5d4fbc05fd15c575bb2f6b6605a2574aa3e2a6a9ee36599d1344ee76612a93b53 SHA512 2de648e7f3808d3139c214882a53157b2003c3fd340d7beee77a1cc49c2438004c03016f870d2348032457da5c6a63dd075eb7098e6f126db5a185325cbcc528 diff --git a/dev-haskell/pandoc/metadata.xml b/dev-haskell/pandoc/metadata.xml new file mode 100644 index 000000000000..d70da6d9333b --- /dev/null +++ b/dev-haskell/pandoc/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="embed-data-files">Embed data files in binary for relocatable executable.</flag> + </use> + <upstream> + <remote-id type="hackage">pandoc</remote-id> + <remote-id type="github">jgm/pandoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/pandoc/pandoc-3.1.8.ebuild b/dev-haskell/pandoc/pandoc-3.1.8.ebuild new file mode 100644 index 000000000000..261026dbeb67 --- /dev/null +++ b/dev-haskell/pandoc/pandoc-3.1.8.ebuild @@ -0,0 +1,105 @@ +# 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: -static,-lua53,-nightly + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between markup formats" +HOMEPAGE="https://pandoc.org" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="embed-data-files" + +RESTRICT=test # test case fails + +RDEPEND=">=dev-haskell/aeson-2.0.1.0:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/aeson-pretty-0.8.9:=[profile?] <dev-haskell/aeson-pretty-0.9:=[profile?] + >=dev-haskell/attoparsec-0.12:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base64-0.4:=[profile?] <dev-haskell/base64-0.5:=[profile?] + >=dev-haskell/blaze-html-0.9:=[profile?] <dev-haskell/blaze-html-0.10:=[profile?] + >=dev-haskell/blaze-markup-0.8:=[profile?] <dev-haskell/blaze-markup-0.9:=[profile?] + >=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/citeproc-0.8.1:=[profile?] <dev-haskell/citeproc-0.9:=[profile?] + >=dev-haskell/commonmark-0.2.3:=[profile?] <dev-haskell/commonmark-0.3:=[profile?] + >=dev-haskell/commonmark-extensions-0.2.3.5:=[profile?] <dev-haskell/commonmark-extensions-0.3:=[profile?] + >=dev-haskell/commonmark-pandoc-0.2.1.3:=[profile?] <dev-haskell/commonmark-pandoc-0.3:=[profile?] + >=dev-haskell/crypton-connection-0.3.1:=[profile?] <dev-haskell/crypton-connection-0.4:=[profile?] + >=dev-haskell/data-default-0.4:=[profile?] <dev-haskell/data-default-0.8:=[profile?] + >=dev-haskell/doclayout-0.4.0.1:=[profile?] <dev-haskell/doclayout-0.5:=[profile?] + >=dev-haskell/doctemplates-0.11:=[profile?] <dev-haskell/doctemplates-0.12:=[profile?] + >=dev-haskell/emojis-0.1:=[profile?] <dev-haskell/emojis-0.2:=[profile?] + >=dev-haskell/file-embed-0.0:=[profile?] <dev-haskell/file-embed-0.1:=[profile?] + >=dev-haskell/glob-0.7:=[profile?] <dev-haskell/glob-0.11:=[profile?] + >=dev-haskell/gridtables-0.1:=[profile?] <dev-haskell/gridtables-0.2:=[profile?] + >=dev-haskell/haddock-library-1.10:=[profile?] <dev-haskell/haddock-library-1.12:=[profile?] + >=dev-haskell/http-client-0.4.30:=[profile?] <dev-haskell/http-client-0.8:=[profile?] + >=dev-haskell/http-client-tls-0.2.4:=[profile?] <dev-haskell/http-client-tls-0.4:=[profile?] + >=dev-haskell/http-types-0.8:=[profile?] <dev-haskell/http-types-0.13:=[profile?] + >=dev-haskell/ipynb-0.2:=[profile?] <dev-haskell/ipynb-0.3:=[profile?] + >=dev-haskell/jira-wiki-markup-1.5.1:=[profile?] <dev-haskell/jira-wiki-markup-1.6:=[profile?] + >=dev-haskell/juicypixels-3.1.6.1:=[profile?] <dev-haskell/juicypixels-3.4:=[profile?] + >=dev-haskell/mime-types-0.1.1:=[profile?] <dev-haskell/mime-types-0.2:=[profile?] + >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.8:=[profile?] + >=dev-haskell/pandoc-types-1.23.1:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/pretty-show-1.10:=[profile?] <dev-haskell/pretty-show-1.11:=[profile?] + >=dev-haskell/random-1:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/safe-0.3.18:=[profile?] <dev-haskell/safe-0.4:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/sha-1.6:=[profile?] <dev-haskell/sha-1.7:=[profile?] + >=dev-haskell/skylighting-0.14:=[profile?] <dev-haskell/skylighting-0.15:=[profile?] + >=dev-haskell/skylighting-core-0.14:=[profile?] <dev-haskell/skylighting-core-0.15:=[profile?] + >=dev-haskell/split-0.2:=[profile?] <dev-haskell/split-0.3:=[profile?] + >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.8:=[profile?] + >=dev-haskell/tagsoup-0.14.6:=[profile?] <dev-haskell/tagsoup-0.15:=[profile?] + >=dev-haskell/temporary-1.1:=[profile?] <dev-haskell/temporary-1.4:=[profile?] + >=dev-haskell/texmath-0.12.8.2:=[profile?] <dev-haskell/texmath-0.13:=[profile?] + >=dev-haskell/text-1.1.1.0:=[profile?] <dev-haskell/text-2.2:=[profile?] + >=dev-haskell/text-conversions-0.3:=[profile?] <dev-haskell/text-conversions-0.4:=[profile?] + >=dev-haskell/typst-0.3.2.0:=[profile?] <dev-haskell/typst-0.3.3:=[profile?] + >=dev-haskell/unicode-collation-0.1.1:=[profile?] <dev-haskell/unicode-collation-0.2:=[profile?] + >=dev-haskell/unicode-transforms-0.3:=[profile?] <dev-haskell/unicode-transforms-0.5:=[profile?] + >=dev-haskell/vector-0.12:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-haskell/xml-1.3.12:=[profile?] <dev-haskell/xml-1.4:=[profile?] + >=dev-haskell/xml-conduit-1.9.1.1:=[profile?] <dev-haskell/xml-conduit-1.10:=[profile?] + >=dev-haskell/xml-types-0.3:=[profile?] <dev-haskell/xml-types-0.4:=[profile?] + >=dev-haskell/yaml-0.11:=[profile?] <dev-haskell/yaml-0.12:=[profile?] + >=dev-haskell/zip-archive-0.4.3:=[profile?] <dev-haskell/zip-archive-0.5:=[profile?] + >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.7:=[profile?] + >=dev-lang/ghc-8.10.6:= + !app-text/pandoc +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/diff-0.2 <dev-haskell/diff-0.5 + >=dev-haskell/tasty-0.11 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-golden-2.3 <dev-haskell/tasty-golden-2.4 + >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag embed-data-files embed_data_files) \ + --flag=-lua53 \ + --flag=-nightly \ + --flag=-static +} + +src_install() { + haskell-cabal_src_install + doman "${S}/man/${PN}.1" +} + +pkg_postinst() { + einfo "As of version 3, ${PN} no longer packages the pandoc executable" + einfo "as standard. For the executable, run 'emerge -av app-text/pandoc-cli'." +} diff --git a/dev-haskell/pango/Manifest b/dev-haskell/pango/Manifest new file mode 100644 index 000000000000..e7d95edab6a2 --- /dev/null +++ b/dev-haskell/pango/Manifest @@ -0,0 +1 @@ +DIST pango-0.13.10.0.tar.gz 52695 BLAKE2B 5551b0352b8c444de6ad6cfb216e571ef71b38e76d4d174ac9dd090bc3cec7c3c395065cf2a90e889ce945939ef5cd64715d443283cb350c78b99bc7ab02879b SHA512 050729ddf2a35bd21836a3a67eaa7218faf3534ff1affe74be840b6a7cfff256cc207b7805d5e3a48f6f6c365e3b0793818f98e94fc4a9dd03c31e1a60e7d078 diff --git a/dev-haskell/pango/metadata.xml b/dev-haskell/pango/metadata.xml new file mode 100644 index 000000000000..584240bb2f12 --- /dev/null +++ b/dev-haskell/pango/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">pango</remote-id> + <remote-id type="github">gtk2hs/gtk2hs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/pango/pango-0.13.10.0.ebuild b/dev-haskell/pango/pango-0.13.10.0.ebuild new file mode 100644 index 000000000000..1beb5cff52e8 --- /dev/null +++ b/dev-haskell/pango/pango-0.13.10.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.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Binding to the Pango text rendering engine" +HOMEPAGE="https://projects.haskell.org/gtk2hs/" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/cairo-0.13.0.0:=[profile?] <dev-haskell/cairo-0.14:=[profile?] + >=dev-haskell/glib-0.13.0.0:=[profile?] <dev-haskell/glib-0.14:=[profile?] + >=dev-haskell/text-0.11.0.6:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= + x11-libs/cairo + x11-libs/pango +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 <dev-haskell/cabal-3.11 +" +BDEPEND="virtual/pkgconfig + >=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14 +" + +GHC_BOOTSTRAP_PACKAGES=( gtk2hs-buildtools ) diff --git a/dev-haskell/parallel-io/parallel-io-0.3.5.ebuild b/dev-haskell/parallel-io/parallel-io-0.3.5.ebuild index f65f98327e9a..0ca40c57fc97 100644 --- a/dev-haskell/parallel-io/parallel-io-0.3.5.ebuild +++ b/dev-haskell/parallel-io/parallel-io-0.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.7.9999 #hackport: flags: -tests,-fuzz,-benchmark diff --git a/dev-haskell/parallel/parallel-3.2.2.0.ebuild b/dev-haskell/parallel/parallel-3.2.2.0.ebuild index 4e334823e67f..5f601299665e 100644 --- a/dev-haskell/parallel/parallel-3.2.2.0.ebuild +++ b/dev-haskell/parallel/parallel-3.2.2.0.ebuild @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.3 && < 4.13' 'base >= 4.3' -} +CABAL_CHDEPS=( + 'base >= 4.3 && < 4.13' 'base >= 4.3' +) diff --git a/dev-haskell/parsec/Manifest b/dev-haskell/parsec/Manifest index 32a912d49a6c..9b16df62bf2d 100644 --- a/dev-haskell/parsec/Manifest +++ b/dev-haskell/parsec/Manifest @@ -1 +1,3 @@ +DIST parsec-3.1.14.0-rev4.cabal 4356 BLAKE2B 6c0d7b4ae6c2adad8e79eee1f90ce51b6451b5929bddbd553e9a58cf4f9c169d48910ed8a6254afec54c096caf473230ce3f5672da60c4c170dcadfe9e1d1120 SHA512 4f5cef855f39497f7c84cb9f033cde9b8326a38a81d6ed1dab310078a935a14f36aa3f660b0ff1ef73333841c603c4a28237e96df1737de70ba9f88df84780c1 DIST parsec-3.1.14.0.tar.gz 35688 BLAKE2B 474b14ff35d332339ce07f09ef22cbbdf971de9d9712848eb1c67b7ea4359e46079b67d39f978755c7560c55baf6d5f0d69a425291644a3ff638139a8bbec3ce SHA512 db14f77a2d36da5e540be35f0facb7fa61f2c46057b98039bdf16c06fe9865d5ee47e3523a312201665ca133f3f93855b42f0d0a920b8e233ffc8274075c56d3 +DIST parsec-3.1.15.0.tar.gz 36412 BLAKE2B b7d0b0eb022c0662a023d94e83106a528ed2fe280e3aa4cbd643479045d8afdee66a6dee938d5b7932e823fa39dddff18a407efb03a26d0029f1aea59b8738ef SHA512 fab7c48f43fae2708ee2d345897f827111408f82f4370442047d49d703de5d7a9666753926486764a3cfab15df98cf0f8e37d5b73811ffc80797ee498b4eb591 diff --git a/dev-haskell/parsec/metadata.xml b/dev-haskell/parsec/metadata.xml index 34bd558d2be0..5e5863ecfd97 100644 --- a/dev-haskell/parsec/metadata.xml +++ b/dev-haskell/parsec/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Parsec is designed from scratch as an industrial-strength parser - library. It is simple, safe, well documented (on the package - homepage), has extensive libraries and good error messages, - and is also fast. It is defined as a monad transformer that can be - stacked on arbitrary monads, and it is also parametric in the - input stream type. - </longdescription> + <upstream> + <remote-id type="hackage">parsec</remote-id> + <remote-id type="github">haskell/parsec</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/parsec/parsec-3.1.14.0-r1.ebuild b/dev-haskell/parsec/parsec-3.1.14.0-r2.ebuild index 198a26235898..3f56195eee38 100644 --- a/dev-haskell/parsec/parsec-3.1.14.0-r1.ebuild +++ b/dev-haskell/parsec/parsec-3.1.14.0-r2.ebuild @@ -3,9 +3,11 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.1.9999 +# ebuild generated by hackport 0.8.0.0.9999 -CABAL_FEATURES="lib profile haddock hoogle hscolour" # Circular depens: test-suite" +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # Circular depends: test-suite # break circular dependencies: # https://github.com/gentoo-haskell/gentoo-haskell/issues/810 CABAL_FEATURES+=" nocabaldep" @@ -13,27 +15,23 @@ inherit haskell-cabal DESCRIPTION="Monadic parser combinators" HOMEPAGE="https://github.com/haskell/parsec" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -# keep in sync with ghc-8.8 +# 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 dependencies: dev-haskell/base-orphans->cabal->parsec[test]->test-framework-hunit->test-framework->base-orphans -RDEPEND=">=dev-haskell/mtl-1.1.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?] - >=dev-lang/ghc-7.4.1:= - >=dev-haskell/text-0.11.3.1:=[profile?] <dev-haskell/text-1.3:=[profile?] +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} " -DEPEND="${RDEPEND}" +# test? ( +# >=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/hunit-1.6 <dev-haskell/hunit-1.7 +# ) CABAL_CORE_LIB_GHC_PV="8.8.4 8.10.4 8.10.5 8.10.6 8.10.7 9.0.1 9.0.2 PM:9999" - -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.5.0 && < 4.14' 'base >= 4.5.0' \ - 'bytestring >= 0.9.2.1 && < 0.11' 'bytestring >= 0.9.2.1' \ - 'semigroups >= 0.18 && < 0.20' 'semigroups >= 0.18' -} diff --git a/dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild b/dev-haskell/parsec/parsec-3.1.15.0-r1.ebuild new file mode 100644 index 000000000000..70937459e239 --- /dev/null +++ b/dev-haskell/parsec/parsec-3.1.15.0-r1.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.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="Monadic parser combinators" +HOMEPAGE="https://github.com/haskell/parsec" + +LICENSE="BSD-2" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RESTRICT=test # circular dependencies: dev-haskell/base-orphans->cabal->parsec[test]->test-framework-hunit->test-framework->base-orphans + +RDEPEND=" + >=dev-lang/ghc-9.2.4:= +" +DEPEND="${RDEPEND} +" +# test? ( +# >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5 +# >=dev-haskell/tasty-hunit-0.10 <dev-haskell/tasty-hunit-0.11 +# ) + +CABAL_CORE_LIB_GHC_PV="9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5" diff --git a/dev-haskell/parsec1/Manifest b/dev-haskell/parsec1/Manifest index 998a1bd4ede2..fc973842a4cb 100644 --- a/dev-haskell/parsec1/Manifest +++ b/dev-haskell/parsec1/Manifest @@ -1 +1,2 @@ DIST parsec1-1.0.0.7.tar.gz 13440 BLAKE2B c445585d3db87a1abf7ea0a3157145241396ced3202c70927d355e76ad7b40f802ec0701efdc4e4dcbcdd024d6837d8eae118513acaedd44b77634befd89f7d7 SHA512 6ce75332064f811b105091d6adbdc2d0cfe571ec04674cf7b8f79d50df5b6d81f4a32a703151c09dfd9022b6df0929ceafc7f7451b4dff7bbc79382dc5ac743c +DIST parsec1-1.0.0.8.tar.gz 12933 BLAKE2B 414077432a74a719754c634f16815bfd9c78892067f275d0dbdeed929950c88a2e87c56ffd9e2c07560d92ed6640d8778d0b4ff83a8d73313f7fb6276d7d7550 SHA512 fa7185ff5392130c5fd538f93a613046e667bd95596951dd04340d818f8e6412e5c254c10517bd8decd1547d547da2b920acfb32fcc90980627bb0214b9941b0 diff --git a/dev-haskell/parsec1/metadata.xml b/dev-haskell/parsec1/metadata.xml index 927852cac2d5..937381521944 100644 --- a/dev-haskell/parsec1/metadata.xml +++ b/dev-haskell/parsec1/metadata.xml @@ -5,30 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Parsec is designed from scratch as an industrial-strength parser - library. It is simple, safe, well documented (on the package - homepage), has extensive libraries and good error messages, - and is also fast. - - This package is the core haskell98 part of the parsec2 - package, intended to preserve its simplicity and portability. - - Note, that the module names overlap with those of parsec from the Haskell - Platform, therefore I do not recommend to unconditionally use parsec1 (or - parsec2 and parsec3) as dependency in cabal files of packages for hackage. - But you may want to develop your code using these limited and portable - parsec1 functions and finally change the dependency from parsec1 to parsec - in order to avoid module ambiguities for users just installing your package. - Your own module ambiguities are best avoided by hiding packages. - - This version only differs from the pervious one by improved error messages - for try (positions are not reset), tokens and thus string (longer - unexpected strings are now reported to match the error position). - The notFollowedBy-parser was generalized (as in parsec-3) so - characters in messages are now shown in single instead of double - quotes. - Also (as since parsec-3.1.2) lookAhead no longer consumes tokens on success - (so that the many-parser can detect this). - </longdescription> </pkgmetadata> diff --git a/dev-haskell/parsec1/parsec1-1.0.0.7.ebuild b/dev-haskell/parsec1/parsec1-1.0.0.7.ebuild index a57c679ed8bd..67a49598a3ef 100644 --- a/dev-haskell/parsec1/parsec1-1.0.0.7.ebuild +++ b/dev-haskell/parsec1/parsec1-1.0.0.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/parsec1/parsec1-1.0.0.8.ebuild b/dev-haskell/parsec1/parsec1-1.0.0.8.ebuild new file mode 100644 index 000000000000..ee19cfb2e456 --- /dev/null +++ b/dev-haskell/parsec1/parsec1-1.0.0.8.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" +inherit haskell-cabal + +DESCRIPTION="Portable monadic parser combinators" +HOMEPAGE="https://hackage.haskell.org/package/parsec1" +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/parser-combinators/Manifest b/dev-haskell/parser-combinators/Manifest new file mode 100644 index 000000000000..465db364cdf3 --- /dev/null +++ b/dev-haskell/parser-combinators/Manifest @@ -0,0 +1,2 @@ +DIST parser-combinators-1.3.0.tar.gz 11699 BLAKE2B 0a24e95c52627a3219cc8e89ed49ebc12e759a487e7daf333f3ab788837576aef88d295f585aecd0831866319ee0445369cc3cd26255d6ef85d602f44d7767fa SHA512 f7a4581d229b788e841d844003e058a6c63827c5cadeb6fe8f1b94e2a920b11d3b08a8a7a412fa95e1b75bca24f6957f88162f8d1af5bb174ca7f91ef47c0b71 +DIST parser-combinators-tests-1.3.0.tar.gz 6860 BLAKE2B ececd5d8a47501a90e68ba77da679aed2c00da225c234f8afeebd43bf4cb821c988cd5612e8411e70179b39f0fcf8c15fcd93accd81e42ce1b8999d0cd8c7bdf SHA512 ac863afcbe81ea83c20cbab3229c5321860d1d45b4b04031db1a8cc493239096aef80d24148fe3cd5a18dfc811d806855386736be94e32cecabab3ae656d5389 diff --git a/dev-haskell/parser-combinators/metadata.xml b/dev-haskell/parser-combinators/metadata.xml new file mode 100644 index 000000000000..d9090efa8693 --- /dev/null +++ b/dev-haskell/parser-combinators/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">parser-combinators</remote-id> + <remote-id type="github">mrkkrp/parser-combinators</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild b/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild new file mode 100644 index 000000000000..8c34b94aff0f --- /dev/null +++ b/dev-haskell/parser-combinators/parser-combinators-1.3.0.ebuild @@ -0,0 +1,74 @@ +# 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: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +TEST_PN="${PN}-tests" +TEST_P="${TEST_PN}-${PV}" + +DESCRIPTION="Lightweight package providing commonly useful parser combinators" +HOMEPAGE="https://github.com/mrkkrp/parser-combinators" +SRC_URI+=" test? ( https://hackage.haskell.org/package/${TEST_P}/${TEST_P}.tar.gz )" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT+=" !test? ( test )" + +RDEPEND=">=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( + >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 + >=dev-haskell/hspec-expectations-0.8 <dev-haskell/hspec-expectations-0.9 + >=dev-haskell/hspec-megaparsec-2.0 <dev-haskell/hspec-megaparsec-3.0 + >=dev-haskell/megaparsec-8.0 <dev-haskell/megaparsec-10.0 + >=dev-haskell/megaparsec-tests-8.0 <dev-haskell/megaparsec-tests-10.0 + >=dev-haskell/quickcheck-2.7 <dev-haskell/quickcheck-2.15 + ) +" + +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=-dev +} + +src_test() { + if use test; then + cabal-register-inplace || die + local pkg_db="${S}/dist/package.conf.inplace" + + local old_S="${S}" + export S="${WORKDIR}/${TEST_P}" + pushd "${S}" > /dev/null || die + + export CABAL_TEST_SUITE=yes + export CABAL_USE_HADDOCK='' + haskell-cabal_src_configure \ + --package-db="${pkg_db}" \ + --flag=-dev + + haskell-cabal_src_compile + + SKIP_REGISTER_INPLACE=yes haskell-cabal_src_test + + popd > /dev/null || die + export S="${old_S}" + fi +} diff --git a/dev-haskell/parsers/Manifest b/dev-haskell/parsers/Manifest index 4036465f8724..3458589c17f8 100644 --- a/dev-haskell/parsers/Manifest +++ b/dev-haskell/parsers/Manifest @@ -1,2 +1,3 @@ DIST parsers-0.12.10-rev2.cabal 3428 BLAKE2B ff4fa52451f5f85a76dc8a3cd7fecfacfd74bfc5836b46b1c463ff7d021c0f680feedb5816f0cc1e66bc32fddde491c58108fde60d7073bd150b33185c218c76 SHA512 3861ecd2139dadc721b3e3a0ae45f83e488c48b067fc600cffe7b194102e9ac135ce1bbdc8094f10d670367dd5d2571c88b2943be136a682b53d0408d50836b8 DIST parsers-0.12.10.tar.gz 26215 BLAKE2B 35303f6f4919e07b77490f5bcbc2a45efe8fda5edf169ade7dd7cd3bd080f2d24d5470ecb47f8a6428be1176faa8d138616e8f2635f9974ed473c8a61145e8ee SHA512 99ff90de4e60be3c03c8e1e5ae7902a37424c3139ccf566ff1cbc363d176787bd60bb709ef6c56f5b446f1f1b7eca65aa5d431897a0f82a9d6f7fe77fd2ee49f +DIST parsers-0.12.11.tar.gz 24004 BLAKE2B 4d5d700e1dd8e89b3025b9d659c9bb35ede45c327359ea18d4db2961bec2ad05c44c7484ca6a8aff8f10679107996bb989516889df311c44de464b2d593b0928 SHA512 7ffa8b092aa731dc263151f755b52126924a8dd0a6c51aa52b044937976ad6410dd0755af5d361f5255c212e6cadc5793d15fa3a3fe26514c1324eeee71b4019 diff --git a/dev-haskell/parsers/metadata.xml b/dev-haskell/parsers/metadata.xml index aa88907fe7af..88974e5372c2 100644 --- a/dev-haskell/parsers/metadata.xml +++ b/dev-haskell/parsers/metadata.xml @@ -6,15 +6,12 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="parsec">Enable the use of the `parsec` package</flag> + <flag name="attoparsec">You can disable the use of the `attoparsec` package using `-f-attoparsec`.</flag> <flag name="binary">You can disable the use of the `binary` package using `-f-binary`.</flag> - <flag name="attoparsec">Enable the use of the `attoparsec` package</flag> + <flag name="parsec">You can disable the use of the `parsec` package using `-f-parsec`.</flag> </use> - <longdescription> - This library provides convenient combinators for working with and building parsing combinator libraries. - - Given a few simple instances, e.g. for the class 'Text.Parser.Combinators.Parsing' in "Text.Parser.Combinators.Parsing" you - get access to a large number of canned definitions. Instances exist for the parsers provided by @parsec@, - @attoparsec@ and base’s "Text.Read". - </longdescription> + <upstream> + <remote-id type="hackage">parsers</remote-id> + <remote-id type="github">ekmett/parsers</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/parsers/parsers-0.12.11.ebuild b/dev-haskell/parsers/parsers-0.12.11.ebuild new file mode 100644 index 000000000000..a635ff0fbc7d --- /dev/null +++ b/dev-haskell/parsers/parsers-0.12.11.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="Parsing combinators" +HOMEPAGE="https://github.com/ekmett/parsers/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+attoparsec +binary +parsec" + +RDEPEND=">=dev-haskell/base-orphans-0.3:=[profile?] <dev-haskell/base-orphans-1:=[profile?] + >=dev-haskell/charset-0.3:=[profile?] <dev-haskell/charset-1:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-lang/ghc-8.4.3:= + attoparsec? ( >=dev-haskell/attoparsec-0.12.1.4:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/quickcheck + dev-haskell/quickcheck-instances ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag attoparsec attoparsec) \ + $(cabal_flag binary binary) \ + $(cabal_flag parsec parsec) +} diff --git a/dev-haskell/path-pieces/path-pieces-0.2.1.ebuild b/dev-haskell/path-pieces/path-pieces-0.2.1.ebuild index 0b355f5b4d9d..a4dd67858e9d 100644 --- a/dev-haskell/path-pieces/path-pieces-0.2.1.ebuild +++ b/dev-haskell/path-pieces/path-pieces-0.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.6.9999 diff --git a/dev-haskell/patience/Manifest b/dev-haskell/patience/Manifest index bc128bc0b24b..e591252ebdf2 100644 --- a/dev-haskell/patience/Manifest +++ b/dev-haskell/patience/Manifest @@ -1 +1,2 @@ DIST patience-0.1.1.tar.gz 4610 BLAKE2B 6ce8e959dec8493990f66c9cb7b5dc8aaef6cb4edc3207f19156ba527fd993112a29a9d39241a39c2d9c4af600cebdfd31f02833779ce6cbf74e14ce6305273a SHA512 dac94580d9b82023841b5406509f8cd0e58148756e4259708c21b78b480fb4fb67b21a82c81e702275f49d90bcd1d2b46d20bb96267131d4ff57334f110e14f7 +DIST patience-0.3.tar.gz 6247 BLAKE2B d461e0739a0f03f31bee30f5940e7f3803984643b0a90b65f968ce00b5487efed7b44176d9c603f1fe566966169fd18e188c0c7efb3812ffed6db3cb5569b4e5 SHA512 12bc0005d6ca47ac9954aee8950d00f5c6af133958015fe791d2e100295660bebe967e37ce859abb67ae38bedefa1bd1d81a7770842448485d2f7466652e7ea5 diff --git a/dev-haskell/patience/metadata.xml b/dev-haskell/patience/metadata.xml index c447e25538a3..ee2f452d0522 100644 --- a/dev-haskell/patience/metadata.xml +++ b/dev-haskell/patience/metadata.xml @@ -5,17 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library implements the \"patience diff\" algorithm, as well as the patience - algorithm for the longest increasing subsequence problem. - - Patience diff computes the difference between two lists, for example the - lines of two versions of a source file. It provides a good balance of - performance, nice output for humans, and implementation simplicity. For more - information, see <http://alfedenzo.livejournal.com/170301.html> and - <http://bramcohen.livejournal.com/73318.html>. - - New in version 0.1.1: relaxed @containers@ dependency, so it should build on - GHC 6.10. - </longdescription> + <upstream> + <remote-id type="hackage">patience</remote-id> + <remote-id type="github">chessai/patience</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/patience/patience-0.3.ebuild b/dev-haskell/patience/patience-0.3.ebuild new file mode 100644 index 000000000000..0ea1c786e96d --- /dev/null +++ b/dev-haskell/patience/patience-0.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Patience diff and longest increasing subsequence" +HOMEPAGE="https://github.com/chessai/patience" + +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 +" diff --git a/dev-haskell/pcg-random/Manifest b/dev-haskell/pcg-random/Manifest new file mode 100644 index 000000000000..df133729331e --- /dev/null +++ b/dev-haskell/pcg-random/Manifest @@ -0,0 +1 @@ +DIST pcg-random-0.1.3.7.tar.gz 25416 BLAKE2B e964c59aafd7114cd6c731ab35da9154e698dd3b1445be37408018d09a623c007eedbfc18fc3d4b0cfcda1fba58a50abd0a58f72e8999680f7014c0af443da4d SHA512 995c7ef160dfcde373cda3cab185bdf8f2448168d9d08409291b0e7c77d6cd7e9ec14933fa2e61896ea62eaaae49a1ddf99979dd6b7364ae7b788e5773cac984 diff --git a/dev-haskell/pcg-random/metadata.xml b/dev-haskell/pcg-random/metadata.xml new file mode 100644 index 000000000000..ea3ec888549e --- /dev/null +++ b/dev-haskell/pcg-random/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">pcg-random</remote-id> + <remote-id type="github">cchalmers/pcg-random</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/pcg-random/pcg-random-0.1.3.7.ebuild b/dev-haskell/pcg-random/pcg-random-0.1.3.7.ebuild new file mode 100644 index 000000000000..ce7bbed88311 --- /dev/null +++ b/dev-haskell/pcg-random/pcg-random-0.1.3.7.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell bindings to the PCG random number generator" +HOMEPAGE="https://github.com/cchalmers/pcg-random" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +GHC_BOOTSTRAP_PACKAGES=( + cabal-doctest +) + +RDEPEND="dev-haskell/entropy:=[profile?] + >=dev-haskell/primitive-0.4:=[profile?] <dev-haskell/primitive-0.8:=[profile?] + >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-2.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + >=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1 + test? ( dev-haskell/doctest ) +" diff --git a/dev-haskell/pcre-light/pcre-light-0.4.1.0.ebuild b/dev-haskell/pcre-light/pcre-light-0.4.1.0.ebuild index d59e283142eb..5cebcf4343c0 100644 --- a/dev-haskell/pcre-light/pcre-light-0.4.1.0.ebuild +++ b/dev-haskell/pcre-light/pcre-light-0.4.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/pem/pem-0.2.4.ebuild b/dev-haskell/pem/pem-0.2.4.ebuild index b72a0183c0cf..0d60ca26657f 100644 --- a/dev-haskell/pem/pem-0.2.4.ebuild +++ b/dev-haskell/pem/pem-0.2.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/persistent-sqlite/Manifest b/dev-haskell/persistent-sqlite/Manifest index 2518af2dfa9c..c51087274175 100644 --- a/dev-haskell/persistent-sqlite/Manifest +++ b/dev-haskell/persistent-sqlite/Manifest @@ -1 +1,2 @@ DIST persistent-sqlite-2.13.1.0.tar.gz 2276809 BLAKE2B acc9f4b0e351313486e89f695b69756ea165146fd8aaafcc2d3da8dc620c109cee8d922fe0246e688691748c18e75fa64f9f4a992ca2cd28e01677766d56326b SHA512 19842dcd867f57ac2f81d8651838f41f6a4f0074293c0b3a21a52d2fb96410c26d5340307983da21ca89170a01621da257320e36f33170657acb6890f70299d4 +DIST persistent-sqlite-2.13.1.1.tar.gz 2276814 BLAKE2B e408ce749a1648874a33fc99677540ee609cb3ffe30eb2043e9425df724f15db41a692b7b3b0cb43388629db52b8e3a74e3025489290cc412dfdf8878490c92b SHA512 12489af434a9748670f621072872bd43abbecafde3ff01960a2fb446466f6320137e13e0029a944ad6efb60dc2bcf8632c4b60541292e8627065e34d5f467d22 diff --git a/dev-haskell/persistent-sqlite/metadata.xml b/dev-haskell/persistent-sqlite/metadata.xml index 0dc6e47275b2..d634eb999f8a 100644 --- a/dev-haskell/persistent-sqlite/metadata.xml +++ b/dev-haskell/persistent-sqlite/metadata.xml @@ -5,10 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package includes a thin sqlite3 wrapper based on the direct-sqlite package, as well as the entire C library, so there are no system dependencies. - </longdescription> <use> - <flag name="build-sanity-exe">Build a sanity check test executable.</flag> + <flag name="build-sanity-exe">Build a sanity check test executable</flag> </use> + <upstream> + <remote-id type="hackage">persistent-sqlite</remote-id> + <remote-id type="github">yesodweb/persistent</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.13.1.1.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.13.1.1.ebuild new file mode 100644 index 000000000000..3a486c7720cd --- /dev/null +++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.13.1.1.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: +systemlib,-use-stat3,-use-stat4,-uri-filenames,-full-text-search,-have-usleep,-json1,-use-pkgconfig + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Backend for the persistent library using sqlite3" +HOMEPAGE="https://www.yesodweb.com/book/persistent" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="build-sanity-exe" + +RDEPEND=">=dev-db/sqlite-3.0 + >=dev-haskell/aeson-1.0:=[profile?] + >=dev-haskell/conduit-1.2.12:=[profile?] + >=dev-haskell/microlens-th-0.4.1.1:=[profile?] + >=dev-haskell/monad-logger-0.3.25:=[profile?] + >=dev-haskell/persistent-2.13.3:=[profile?] <dev-haskell/persistent-3:=[profile?] + dev-haskell/resource-pool:=[profile?] + >=dev-haskell/resourcet-1.1.9:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + dev-haskell/unliftio-core:=[profile?] + dev-haskell/unordered-containers:=[profile?] + >=dev-lang/ghc-8.8.1:= + virtual/libc +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/exceptions + dev-haskell/fast-logger + >=dev-haskell/hspec-2.4 + dev-haskell/hunit + dev-haskell/microlens + dev-haskell/persistent-test + dev-haskell/quickcheck + dev-haskell/system-fileio + dev-haskell/system-filepath + dev-haskell/temporary ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag build-sanity-exe build-sanity-exe) \ + --flag=-full-text-search \ + --flag=-have-usleep \ + --flag=-json1 \ + --flag=systemlib \ + --flag=-uri-filenames \ + --flag=-use-pkgconfig \ + --flag=-use-stat3 \ + --flag=-use-stat4 +} diff --git a/dev-haskell/persistent-template/persistent-template-2.12.0.0.ebuild b/dev-haskell/persistent-template/persistent-template-2.12.0.0.ebuild index 4275793ff6c2..312c22eb83d8 100644 --- a/dev-haskell/persistent-template/persistent-template-2.12.0.0.ebuild +++ b/dev-haskell/persistent-template/persistent-template-2.12.0.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/persistent/Manifest b/dev-haskell/persistent/Manifest index f7fd98868d4a..44f03fce73dc 100644 --- a/dev-haskell/persistent/Manifest +++ b/dev-haskell/persistent/Manifest @@ -1 +1,3 @@ DIST persistent-2.14.0.3.tar.gz 171536 BLAKE2B 2659ebf0acd64a4dde77f8d17f0081676a4215093eaace2f847d8aa7bff736535ca15fe0a7b023a4ec145f4091fa4f3ae9b9dc3b8a77086b44d61d6968ad006b SHA512 63256b0a4e32f5b229e4924f787db3ffa18f40b4101c4610ea51311d6f0b5ac295abfea632bc8cf095de858f19bfe0649c2d2c07289e50ac845e6c945ac172ba +DIST persistent-2.14.5.1-rev1.cabal 7162 BLAKE2B 99345333efb85d4308a882c4ad292cf6d52e53340540c88a2d5a61cd2cf0799e28c4081b466cf7f33313b4c5609b7409e6d549a1b71c85e492a41cce19036088 SHA512 3f1b880c3cff83e6094bd62879bb5b0e0d3f0c94c68b5f4e2596c64fc5603a53ea5f10b6128e300be7183fdfd133a34da720149e8d3e83581b377462c24c8995 +DIST persistent-2.14.5.1.tar.gz 175205 BLAKE2B d064d07b90e29c0b738962e537da433444d25a2688013034e4b22de3ae45735600e707d036cebdd565eb32f69ce0d184573832e33d17bde6d9811b7192915326 SHA512 a3969142f77d9fc54a0e73ac54b53a96de0b93fadf67326f6b8d9fdb668fc4acf78eece4502cc557873b011e2191fc1607836a5aa0d5d287e79820c0bf6e90a4 diff --git a/dev-haskell/persistent/metadata.xml b/dev-haskell/persistent/metadata.xml index 937381521944..f8895bd89e6f 100644 --- a/dev-haskell/persistent/metadata.xml +++ b/dev-haskell/persistent/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">persistent</remote-id> + <remote-id type="github">yesodweb/persistent</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/persistent/persistent-2.14.5.1.ebuild b/dev-haskell/persistent/persistent-2.14.5.1.ebuild new file mode 100644 index 000000000000..26db569711a4 --- /dev/null +++ b/dev-haskell/persistent/persistent-2.14.5.1.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.9999 +#hackport: flags: -nooverlap + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Type-safe, multi-backend data serialization" +HOMEPAGE="https://www.yesodweb.com/book/persistent" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?] + dev-haskell/attoparsec:=[profile?] + dev-haskell/base64-bytestring:=[profile?] + >=dev-haskell/blaze-html-0.9:=[profile?] + >=dev-haskell/conduit-1.3:=[profile?] + >=dev-haskell/fast-logger-2.4:=[profile?] + >=dev-haskell/http-api-data-0.3:=[profile?] + >=dev-haskell/lift-type-0.1.0.0:=[profile?] <dev-haskell/lift-type-0.2.0.0:=[profile?] + >=dev-haskell/monad-logger-0.3.28:=[profile?] + >=dev-haskell/path-pieces-0.2:=[profile?] + >=dev-haskell/resource-pool-0.2.3:=[profile?] + >=dev-haskell/resourcet-1.1.10:=[profile?] + dev-haskell/scientific:=[profile?] + dev-haskell/silently:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + >=dev-haskell/th-lift-instances-0.1.14:=[profile?] <dev-haskell/th-lift-instances-0.2:=[profile?] + dev-haskell/unliftio:=[profile?] + dev-haskell/unliftio-core:=[profile?] + dev-haskell/unordered-containers:=[profile?] + dev-haskell/vault:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2.4 + dev-haskell/quickcheck + >=dev-haskell/quickcheck-instances-0.3 + dev-haskell/shakespeare ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-nooverlap +} diff --git a/dev-haskell/pgp-wordlist/pgp-wordlist-0.1.0.3.ebuild b/dev-haskell/pgp-wordlist/pgp-wordlist-0.1.0.3.ebuild index f5c8d778e765..90f3843d10b6 100644 --- a/dev-haskell/pgp-wordlist/pgp-wordlist-0.1.0.3.ebuild +++ b/dev-haskell/pgp-wordlist/pgp-wordlist-0.1.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.9999 diff --git a/dev-haskell/pretty-hex/Manifest b/dev-haskell/pretty-hex/Manifest index 7afc93878430..040fbe7fccf6 100644 --- a/dev-haskell/pretty-hex/Manifest +++ b/dev-haskell/pretty-hex/Manifest @@ -1 +1,2 @@ DIST pretty-hex-1.0.tar.gz 2950 BLAKE2B 7fd2049eb42e4e596a54207820d66874620554e72d8f3dae48f5f42b7be089e2b9fe9c9e318a5b13fa4448630a54a7aab3eff593882e6e8df1ed2466a502f35e SHA512 a5ffdecf56b586a23b1243bcace040c7043cc67ced07c5f94d459a2e6a00cade98c70e1480be763ef75946d2aedf87e00d2b653a6f8f23d21cd8e9ab198ea45d +DIST pretty-hex-1.1.tar.gz 3305 BLAKE2B 833b6056cd8b3ecf0601757cb5b51284e80af613afb81b50a6329fb690d0b8d7d67a263d96ab67794e5bbb17b8dac5b36e39e08e0f1a2b47038f216033f94e66 SHA512 e61223ea492d179e21dd0b26626e6dd32cc24e9e895e27ecedcdc20f70e7ca1db8ef69754a4273a4776d0574570c1d85de6e240f9d3ca0af003bd45416df7c3c diff --git a/dev-haskell/pretty-hex/metadata.xml b/dev-haskell/pretty-hex/metadata.xml index 6c7bc22ecf52..937381521944 100644 --- a/dev-haskell/pretty-hex/metadata.xml +++ b/dev-haskell/pretty-hex/metadata.xml @@ -5,8 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library generates pretty hex dumps of ByteStrings in the - style of other common *nix hex dump tools. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/pretty-hex/pretty-hex-1.1.ebuild b/dev-haskell/pretty-hex/pretty-hex-1.1.ebuild new file mode 100644 index 000000000000..ef4d96251f2e --- /dev/null +++ b/dev-haskell/pretty-hex/pretty-hex-1.1.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="A library for hex dumps of ByteStrings" +HOMEPAGE="https://hackage.haskell.org/package/pretty-hex" +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:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/prettyprinter-ansi-terminal/Manifest b/dev-haskell/prettyprinter-ansi-terminal/Manifest index 6aa19243ba3c..80bf8dc5fc10 100644 --- a/dev-haskell/prettyprinter-ansi-terminal/Manifest +++ b/dev-haskell/prettyprinter-ansi-terminal/Manifest @@ -1 +1,2 @@ DIST prettyprinter-ansi-terminal-1.1.2.tar.gz 8836 BLAKE2B f1220169d02db0927468ba7af922e2631c5a18780edd786d37e0c273043cb3c1c653f70af70ca963a093cf7936284c73f6131d94f8ffaef1f60125e6ab574846 SHA512 6f3f077f3f171b6a2c1ca811d267f5311328cd3538ace0c174dd87960fd2617a6543e4bfe239f231ef68c6cce87ce563d0f2068631c084a1faa56a3e051f3fae +DIST prettyprinter-ansi-terminal-1.1.3.tar.gz 8879 BLAKE2B 64d796a28cf3ce3930bc2de87643c173ca1b7e26837be1e47807e0eef13be54e830328a18515183cd21544836776f92798606e48007591e01c5fcd22f59f6a2b SHA512 985e965f78c767234b9f30e9cc1590d037e00d211385ebfa833b96f9b9aa092840e2587236d848c66ff1c58c97748f6ae9bd5cc02ea5175aa66d2654392ea1b6 diff --git a/dev-haskell/prettyprinter-ansi-terminal/metadata.xml b/dev-haskell/prettyprinter-ansi-terminal/metadata.xml index 937381521944..7beb07893938 100644 --- a/dev-haskell/prettyprinter-ansi-terminal/metadata.xml +++ b/dev-haskell/prettyprinter-ansi-terminal/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">prettyprinter-ansi-terminal</remote-id> + <remote-id type="github">quchen/prettyprinter</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.2.ebuild b/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.2.ebuild index dd505b5f1f70..fe6d4dbccc86 100644 --- a/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.2.ebuild +++ b/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.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 diff --git a/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.3.ebuild b/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.3.ebuild new file mode 100644 index 000000000000..c28dd6963b7c --- /dev/null +++ b/dev-haskell/prettyprinter-ansi-terminal/prettyprinter-ansi-terminal-1.1.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="ANSI terminal backend for the »prettyprinter« package" +HOMEPAGE="https://github.com/quchen/prettyprinter" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?] + >=dev-haskell/prettyprinter-1.7.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/doctest-0.9 ) +" + +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/prettyprinter-compat-ansi-wl-pprint/Manifest b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/Manifest new file mode 100644 index 000000000000..629384f46251 --- /dev/null +++ b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/Manifest @@ -0,0 +1 @@ +DIST prettyprinter-compat-ansi-wl-pprint-1.0.2.tar.gz 3894 BLAKE2B 4683b62a44e021a19859c0deb45685b3c93feb17cce81dd5d924882e4e5175b758919188497fa6b3a3b0d4129227392f60d8fd4d9fd51a2ddbc6b80ce2a6ba11 SHA512 06f9f2380e85ed392173fa459e650153d9965346fc39fbfaa09e358150015ab99a8ad529c456b35c4c7e5350242f9c9db11bc1296e384b5f7a5e0de7e93a4300 diff --git a/dev-haskell/prettyprinter-compat-ansi-wl-pprint/metadata.xml b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/metadata.xml new file mode 100644 index 000000000000..5b373e016290 --- /dev/null +++ b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/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">prettyprinter-compat-ansi-wl-pprint</remote-id> + <remote-id type="github">quchen/prettyprinter</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/prettyprinter-compat-ansi-wl-pprint/prettyprinter-compat-ansi-wl-pprint-1.0.2.ebuild b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/prettyprinter-compat-ansi-wl-pprint-1.0.2.ebuild new file mode 100644 index 000000000000..5979258f7d51 --- /dev/null +++ b/dev-haskell/prettyprinter-compat-ansi-wl-pprint/prettyprinter-compat-ansi-wl-pprint-1.0.2.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="Drop-in compatibility package from ansi-wl-pprint to prettyprinter" +HOMEPAGE="https://github.com/quchen/prettyprinter" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/prettyprinter-1.7.0:=[profile?] + >=dev-haskell/prettyprinter-ansi-terminal-1.1:=[profile?] + >=dev-haskell/text-1.2:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/prettyprinter/Manifest b/dev-haskell/prettyprinter/Manifest index a04db2d8d919..965b137ff7da 100644 --- a/dev-haskell/prettyprinter/Manifest +++ b/dev-haskell/prettyprinter/Manifest @@ -1 +1,2 @@ DIST prettyprinter-1.7.0.tar.gz 55569 BLAKE2B fbcdad5485f8139c71f5e34a438adbe59822ef1eb77ae55f9f86228c934e7c751947dcae0900250ea2cfd8638493352759b40c68d91d6b4887289cc475c08163 SHA512 4f1b756b3284a0319bb73229e8445f6d92c3d3d12a879f651df5624389bd6c449b2d9bc440dbf70d8752a6ba574d0539f91950d4bafbe7f9d3fd79d0d30ec95d +DIST prettyprinter-1.7.1.tar.gz 56907 BLAKE2B a05d9153b8b0eccd84b110d8e785c758b407757f54424d37b17ba5452e4b34fbfe4b4d7a6238d8a6b73d65cb23dc51ca3af320b577ae645fdf63190159f2e695 SHA512 26289e579cc1a2826dc11daedbdfd5ce31acf4a2382f827c20194d910f05201e3f332a6544aa0c3f941188d9eaee8d6dee3cf3d319dc3c5a7bfe4f35d77b4dd9 diff --git a/dev-haskell/prettyprinter/metadata.xml b/dev-haskell/prettyprinter/metadata.xml index 0451e4e6929a..fcd7bf78e975 100644 --- a/dev-haskell/prettyprinter/metadata.xml +++ b/dev-haskell/prettyprinter/metadata.xml @@ -1,11 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <longdescription> - A prettyprinter/text rendering engine. Easy to use, well-documented, ANSI terminal backend exists, HTML backend is trivial to implement, no name clashes, Text-based, extensible. - </longdescription> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="buildreadme">Build the readme generator</flag> + <flag name="text">While it's a core value of @prettyprinter@ to use @Text@, there are rare +circumstances (mostly when @prettyprinter@ arises as a dependency of +test suites of packages like @bytestring@ or @text@ themselves) when +this is inconvenient. In this case one can disable this flag, so that +@prettyprinter@ fallbacks to @String@.</flag> + </use> <upstream> + <remote-id type="hackage">prettyprinter</remote-id> <remote-id type="github">quchen/prettyprinter</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/prettyprinter/prettyprinter-1.7.0.ebuild b/dev-haskell/prettyprinter/prettyprinter-1.7.0.ebuild index 39a4d77afcd9..a8b3dbd4dbbd 100644 --- a/dev-haskell/prettyprinter/prettyprinter-1.7.0.ebuild +++ b/dev-haskell/prettyprinter/prettyprinter-1.7.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 diff --git a/dev-haskell/prettyprinter/prettyprinter-1.7.1.ebuild b/dev-haskell/prettyprinter/prettyprinter-1.7.1.ebuild new file mode 100644 index 000000000000..02d35e6a2de1 --- /dev/null +++ b/dev-haskell/prettyprinter/prettyprinter-1.7.1.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A modern, easy to use, well-documented, extensible pretty-printer" +HOMEPAGE="https://github.com/quchen/prettyprinter" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="buildreadme +text" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/doctest-0.9 + >=dev-haskell/quickcheck-2.5 + text? ( >=dev-haskell/pgp-wordlist-0.1 + >=dev-haskell/quickcheck-instances-0.3 + >=dev-haskell/tasty-0.10 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/tasty-quickcheck-0.8 ) ) +" + +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 \ + $(cabal_flag buildreadme buildreadme) \ + $(cabal_flag text text) +} diff --git a/dev-haskell/primitive-addr/primitive-addr-0.1.0.2.ebuild b/dev-haskell/primitive-addr/primitive-addr-0.1.0.2.ebuild index 365a2ecd50fa..1040356e724b 100644 --- a/dev-haskell/primitive-addr/primitive-addr-0.1.0.2.ebuild +++ b/dev-haskell/primitive-addr/primitive-addr-0.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.2 diff --git a/dev-haskell/primitive/Manifest b/dev-haskell/primitive/Manifest index 8a5860c8851a..26738b0d4919 100644 --- a/dev-haskell/primitive/Manifest +++ b/dev-haskell/primitive/Manifest @@ -1,2 +1,4 @@ DIST primitive-0.7.3.0-rev2.cabal 3080 BLAKE2B eb2e4c196978ca8534801c62b09302d1426564047b740fce992e81eb22136c123e07ae7240b03fd6983c496da563e7e2ed0a60d038e436966db9771644b57736 SHA512 d2dabfa4e2833886ec4430fdb50b2b53eea4eb94ed77350d53fcbaaad74b3b673d9dd7b3a48c69dda596f77743c70b31c9f1a5b6dc19114f80bf148af894f04c DIST primitive-0.7.3.0.tar.gz 55161 BLAKE2B 2963b9cea320ebcceddc4760c8890636a8f99b3eb5bb944a40ec5e097d8d92c92a18618126e23d345cb072b8245d4979a4b4988c64e2eb5fe30c7182ac11d386 SHA512 7fe593c24d990ce113c7dd155479b30a1c74aa9cfd10d2f0903dc185fc00d725b36d340e5eea6f1af7547d47bbde27339c56e2949e7f518674a7306ed8e56342 +DIST primitive-0.7.4.0-rev1.cabal 2982 BLAKE2B c85ee94b899932b6d465c29aaab1b5f1ba31a7b7a6581ae6a05927b4bd1b471ba120c228142913a28bf3e4142621d7d1f95944d372e4d29c4166881c3615565f SHA512 25fb5d4292d6cff46d351a9ae4fba058448d1065b455ee09bb6085a8725d0b5abc0f30225d66d11da09ad4ba48321ff9677e5554fe6c236fd35b06c0ea2079af +DIST primitive-0.7.4.0.tar.gz 56575 BLAKE2B 3ecfe44a0e043bb80e5875aa45cfe1e8b48daa88c6dcda942604f2eb9903d2656dd13dbda7abcae3bee35f38750c3bb57823200500522e64e882f48f000150e1 SHA512 5c01ea4fc509ccb8f00b7d282948e8fa120d2ee3abd09c4efa473496ce6a716e26a95994a30bb8e18754a6226cbcaf102264e263e517d4ff2cea2d67216eb6c7 diff --git a/dev-haskell/primitive/metadata.xml b/dev-haskell/primitive/metadata.xml index cc68a0e84cb4..d5f01e1981ab 100644 --- a/dev-haskell/primitive/metadata.xml +++ b/dev-haskell/primitive/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">primitive</remote-id> <remote-id type="github">haskell/primitive</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/primitive/primitive-0.7.4.0.ebuild b/dev-haskell/primitive/primitive-0.7.4.0.ebuild new file mode 100644 index 000000000000..1a4f19a9b655 --- /dev/null +++ b/dev-haskell/primitive/primitive-0.7.4.0.ebuild @@ -0,0 +1,46 @@ +# 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_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Primitive memory-related operations" +HOMEPAGE="https://github.com/haskell/primitive" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +CABAL_CHDEPS=( + 'tasty ^>= 1.2 || ^>= 1.3 || ^>= 1.4' 'tasty >= 1.2' +) + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/base-orphans + >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-classes-base-0.6 <dev-haskell/quickcheck-classes-base-0.7 + dev-haskell/tagged + >=dev-haskell/tasty-1.2 + dev-haskell/tasty-quickcheck + dev-haskell/transformers-compat + ) +" + +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/profunctors/Manifest b/dev-haskell/profunctors/Manifest index e2c87b39015e..70b9fb352a7f 100644 --- a/dev-haskell/profunctors/Manifest +++ b/dev-haskell/profunctors/Manifest @@ -1 +1,2 @@ +DIST profunctors-5.6.2-rev3.cabal 2484 BLAKE2B bbc95a6ce16d9740b7ff65000743e5dd9cbd036f2638b1678161fc304f7edcbb7044fde7c9c74d13b4cc2e15588f3b7563cbaeedcb840cb8dcd6863341217b86 SHA512 4996281dd2f69d065bd8dc49ed02407f882937885a1b6260014820e4ff0084ee19d82a1e0a6af6fe75f9704383f0f0943439ccf7f8b1d87d693c853e4e6f2d3d DIST profunctors-5.6.2.tar.gz 28522 BLAKE2B 812692b257caf7443ff03bf0e9268df8b4b7cd6af4ce95addb7bba6a2fa198b52a98121f63847a4402719a50c95535f379a111f4e943aa9937840920466a04b5 SHA512 ddf33426fdf52dbe0ffea5c9124e1d35b79696564b8e88bcd7a015b8361634566e5d35135cee69c6dc2fa2bbb870d9f624710f98e122078f7f3a82bbdacad690 diff --git a/dev-haskell/profunctors/metadata.xml b/dev-haskell/profunctors/metadata.xml index 62b8af2487a2..19c6c8c12b75 100644 --- a/dev-haskell/profunctors/metadata.xml +++ b/dev-haskell/profunctors/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">profunctors</remote-id> <remote-id type="github">ekmett/profunctors</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/profunctors/profunctors-5.6.2.ebuild b/dev-haskell/profunctors/profunctors-5.6.2-r1.ebuild index 77e3257b3678..a653eff5be86 100644 --- a/dev-haskell/profunctors/profunctors-5.6.2.ebuild +++ b/dev-haskell/profunctors/profunctors-5.6.2-r1.ebuild @@ -1,29 +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.7.9999 +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=3 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="The Profunctors package, authored by Edward Kmett" HOMEPAGE="https://github.com/ekmett/profunctors/" -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/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.9:=[profile?] +RDEPEND=" + >=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] >=dev-haskell/bifunctors-5.5.9:=[profile?] <dev-haskell/bifunctors-6:=[profile?] >=dev-haskell/comonad-5.0.8:=[profile?] <dev-haskell/comonad-6:=[profile?] >=dev-haskell/contravariant-1.5.3:=[profile?] <dev-haskell/contravariant-2:=[profile?] >=dev-haskell/distributive-0.5.2:=[profile?] <dev-haskell/distributive-1:=[profile?] >=dev-haskell/tagged-0.8.6.1:=[profile?] <dev-haskell/tagged-1:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 + >=dev-haskell/cabal-3.0.0.0 " diff --git a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild index 752023779d8e..3563d04b0caa 100644 --- a/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.2.0.ebuild +++ b/dev-haskell/quickcheck-classes-base/quickcheck-classes-base-0.6.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.7.9999 diff --git a/dev-haskell/quickcheck-classes/Manifest b/dev-haskell/quickcheck-classes/Manifest index c6932af438a5..7ff6ea58d8da 100644 --- a/dev-haskell/quickcheck-classes/Manifest +++ b/dev-haskell/quickcheck-classes/Manifest @@ -1 +1,2 @@ DIST quickcheck-classes-0.6.4.0.tar.gz 19976 BLAKE2B 614ebc6e1be382a942a55a039921021fd4bcaa2f5c977a8d83bd7b1fb76feebb31f94da908c2389d5f9ab5f7e2481f76223375db41d12b3583658d5d7361ed9b SHA512 2d5786d3cd386a795d5e1ca58ef55fb2efb9285724cf8cbb2f28577973ac2b2a9058ba6185904bc29da88f6d080f4a38629df272502796a0c2e31f9a0e8b658c +DIST quickcheck-classes-0.6.5.0.tar.gz 20242 BLAKE2B 6b058b9991ad60bc7f9409d9b85d6f02236174eb39765cad3ced0b633ba1877a2866cccd36968e6902e8bae2b2382c319075ce71922afbc1a9e01a6563378b28 SHA512 d0f894d0357522f59440bd795746b3c17802332e3833982cf1d2d20c2a5dc3e4ac1e54f6b3aeac93c0a1beed9f0f4838e20d8798d99bf161b49fc50bdf1f0670 diff --git a/dev-haskell/quickcheck-classes/metadata.xml b/dev-haskell/quickcheck-classes/metadata.xml index 5f5d00f85a27..1e70ae5d8016 100644 --- a/dev-haskell/quickcheck-classes/metadata.xml +++ b/dev-haskell/quickcheck-classes/metadata.xml @@ -6,42 +6,11 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="aeson"> - Enable the use of the `aeson` package. This may be useful for - accelerating builds in sandboxes for expert users. - </flag> - <flag name="semigroupoids"> - Enable the use of the `semigroupoids` package. This may be - useful for accelerating builds in sandboxes for expert users. - </flag> - <flag name="semirings"> - Enable the use of the `semirings` package. This may be useful - for accelerating builds in sandboxes for expert users. - </flag> - <flag name="vector"> - Enable the use of the `vector` package. This may be useful - for accelerating builds in sandboxes for expert users. - </flag> - <flag name="unary-laws"> - Include infrastructure for testing class laws of unary type constructors. - </flag> - <flag name="binary-laws"> - Include infrastructure for testing class laws of binary type constructors. - Disabling `unary-laws` while keeping `binary-laws` enabled is an unsupported - configuration. - </flag> + <flag name="aeson">You can disable the use of the `aeson` package using `-f-aeson`. This may be useful for accelerating builds in sandboxes for expert users.</flag> + <flag name="binary-laws">Include infrastructure for testing class laws of binary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`. Disabling `unary-laws` while keeping `binary-laws` enabled is an unsupported configuration.</flag> + <flag name="semigroupoids">You can disable the use of the `semigroupoids` package using `-f-semigroupoids`. This may be useful for accelerating builds in sandboxes for expert users.</flag> + <flag name="semirings">You can disable the use of the `semirings` package using `-f-semirings`. This may be useful for accelerating builds in sandboxes for expert users.</flag> + <flag name="unary-laws">Include infrastructure for testing class laws of unary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`.</flag> + <flag name="vector">You can disable the use of the `vector` package using `-f-vector`. This may be useful for accelerating builds in sandboxes for expert users.</flag> </use> - <longdescription> - This library provides QuickCheck properties to ensure - that typeclass instances adhere to the set of laws that - they are supposed to. There are other libraries that do - similar things, such as `genvalidity-hspec` and `checkers`. - This library differs from other solutions by not introducing - any new typeclasses that the user needs to learn. - - /Note:/ on GHC < 8.5, this library uses the higher-kinded typeclasses - ('Data.Functor.Classes.Show1', 'Data.Functor.Classes.Eq1', 'Data.Functor.Classes.Ord1', etc.), - but on GHC >= 8.5, it uses `-XQuantifiedConstraints` to express these - constraints more cleanly. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild index 0483ffffab91..1a22e5080c84 100644 --- a/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.0.ebuild +++ b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.4.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.2 diff --git a/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.ebuild new file mode 100644 index 000000000000..295570109654 --- /dev/null +++ b/dev-haskell/quickcheck-classes/quickcheck-classes-0.6.5.0.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="QuickCheck common typeclasses" +HOMEPAGE="https://github.com/andrewthad/quickcheck-classes#readme" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+aeson +binary-laws +semigroupoids +semirings +unary-laws +vector" + +RDEPEND=">=dev-haskell/primitive-0.6.4:=[profile?] <dev-haskell/primitive-0.8:=[profile?] + >=dev-haskell/primitive-addr-0.1.0.2:=[profile?] <dev-haskell/primitive-addr-0.2:=[profile?] + >=dev-haskell/quickcheck-classes-base-0.6.2:=[profile?] <dev-haskell/quickcheck-classes-base-0.7:=[profile?] + >=dev-lang/ghc-8.4.3:= + aeson? ( >=dev-haskell/aeson-0.9:=[profile?] ) + binary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] ) + semigroupoids? ( dev-haskell/semigroupoids:=[profile?] ) + semirings? ( >=dev-haskell/semirings-0.4.2:=[profile?] ) + unary-laws? ( >=dev-haskell/quickcheck-2.10.0:2=[profile?] ) + !unary-laws? ( !binary-laws? ( >=dev-haskell/quickcheck-2.7:2=[profile?] ) ) + vector? ( >=dev-haskell/vector-0.12:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4 + test? ( >=dev-haskell/base-orphans-0.5 + dev-haskell/tagged + !vector? ( dev-haskell/vector ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag aeson aeson) \ + $(cabal_flag binary-laws binary-laws) \ + $(cabal_flag semigroupoids semigroupoids) \ + $(cabal_flag semirings semirings) \ + $(cabal_flag unary-laws unary-laws) \ + $(cabal_flag vector vector) +} diff --git a/dev-haskell/quickcheck-instances/Manifest b/dev-haskell/quickcheck-instances/Manifest index dc7a37021060..0efd0b6aa0d2 100644 --- a/dev-haskell/quickcheck-instances/Manifest +++ b/dev-haskell/quickcheck-instances/Manifest @@ -1,2 +1,4 @@ DIST quickcheck-instances-0.3.27.cabal 4710 BLAKE2B 591e79f2435e7ae7d7f179b8b7f4cda7fd1f96cfdbf573e48e17393e2f2d47a44b0e86745128fb5be396d5736bf8ce7d70eeee3f735409f5e5697e412cdbceb6 SHA512 653e5b249d0138db38df962fc061c2df089de8ba43f2a13d2dc47282e35b9221844af8beb9d01bdb474e99e9736464b929a27c35a12fcbbc6a6ab3359cd78586 DIST quickcheck-instances-0.3.27.tar.gz 12711 BLAKE2B f3424d88d4a41924a156bf00490f34b2094bde7d0bfadf375dc0316b89a4774d84fe45a7a964f64f5953deb10a6132e2cd745f67bfb6b10f991a5490d23bc433 SHA512 be2b7525a1433b3cd038b5bcc55c01cc1a9ab2fa02fb89b4cf0d3c4748b6ee4a384b0ff101727a30c6f788a2da72adf87a8c97a36a57ce626f9269e1464f3a90 +DIST quickcheck-instances-0.3.29.1-rev2.cabal 4908 BLAKE2B d261d3a71e6231db20192d9435c2e06843a94195ff745aa7ac75ee243d1dd8bfc31f8e9eb331e942181c6921973bddf88d60d38b2cb1e709a6291a767dd295da SHA512 219ee8c9dbaf39fab98bf04bea787d8f0a6177f78092489b3fe61aa6eaf3c41894ae8c2d9c1cdaa4e8d2bc9c5e6212791131200122b38b5d82bedbb55fe3d2c4 +DIST quickcheck-instances-0.3.29.1.tar.gz 13288 BLAKE2B 7189752a460bf81a00998012c2a45e6653e9d279fd1b272173702fda3f37ac8b7942d01253e2a52a302b93df5871b11e0e921a61dbfb3ef506d4acaa3a61dc5c SHA512 67d9c83cdc40825221bcd88d41911d2c91ab5f8515b2ac1c3c1d3baf1580fbd5793e9069d0d7c630e9a60c1c150d90e4b8cd51c0d76e8a89375c19bcdae8cf7c diff --git a/dev-haskell/quickcheck-instances/metadata.xml b/dev-haskell/quickcheck-instances/metadata.xml index 1ab7acdaa0f1..080d41cb81f3 100644 --- a/dev-haskell/quickcheck-instances/metadata.xml +++ b/dev-haskell/quickcheck-instances/metadata.xml @@ -5,22 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - QuickCheck instances. - - The goal is to supply QuickCheck instances for - types provided by the Haskell Platform. - - Since all of these instances are provided as - orphans, I recommend that you do not use this library - within another library module, so that you don't - impose these instances on down-stream consumers of - your code. - - For information on writing a test-suite with Cabal - see <http://www.haskell.org/cabal/users-guide/#test-suites> - </longdescription> <upstream> - <remote-id type="github">aslatter/qc-instances</remote-id> + <remote-id type="hackage">quickcheck-instances</remote-id> + <remote-id type="github">haskellari/qc-instances</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/quickcheck-instances/quickcheck-instances-0.3.29.1-r1.ebuild b/dev-haskell/quickcheck-instances/quickcheck-instances-0.3.29.1-r1.ebuild new file mode 100644 index 000000000000..89efd46e848b --- /dev/null +++ b/dev-haskell/quickcheck-instances/quickcheck-instances-0.3.29.1-r1.ebuild @@ -0,0 +1,45 @@ +# 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="Common quickcheck instances" +HOMEPAGE="https://github.com/haskellari/qc-instances" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/case-insensitive-1.2.0.4:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?] + >=dev-haskell/data-fix-0.3:=[profile?] <dev-haskell/data-fix-0.4:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/integer-logarithms-1.0.3:=[profile?] <dev-haskell/integer-logarithms-1.1:=[profile?] + >=dev-haskell/old-time-1.1.0.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?] + >=dev-haskell/onetuple-0.3:=[profile?] <dev-haskell/onetuple-0.5:=[profile?] + >=dev-haskell/primitive-0.6.4.0:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/quickcheck-2.14.1:2=[profile?] <dev-haskell/quickcheck-2.14.4:2=[profile?] + >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/splitmix-0.0.2:=[profile?] <dev-haskell/splitmix-0.2:=[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.3:=[profile?] <dev-haskell/text-short-0.2:=[profile?] + >=dev-haskell/these-1.1.1.1:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/time-compat-1.9.4:=[profile?] <dev-haskell/time-compat-1.10:=[profile?] + >=dev-haskell/transformers-compat-0.6.5:=[profile?] <dev-haskell/transformers-compat-0.8:=[profile?] + >=dev-haskell/unordered-containers-0.2.2.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/uuid-types-1.0.3:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?] + >=dev-haskell/vector-0.12.3.1:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/quickcheck-unicode/Manifest b/dev-haskell/quickcheck-unicode/Manifest new file mode 100644 index 000000000000..afefe6541d27 --- /dev/null +++ b/dev-haskell/quickcheck-unicode/Manifest @@ -0,0 +1 @@ +DIST quickcheck-unicode-1.0.1.0.tar.gz 3216 BLAKE2B 29a0736759a4b17b7623a14ffc13048fd7d516275918ce61d6fa5c546999b24f2a763bd4b91993f3609c32a16558f38c24c019ff13a8120982e1c02e42bee83a SHA512 4762d9cdf7624e28586ed18ad05f273b600bf664cb3f3f76d9e33dd217181f49f5835ac6276da8d5302dbf89fe65cec4e9d3c1e57dfc457ee3b3748467672c15 diff --git a/dev-haskell/quickcheck-unicode/metadata.xml b/dev-haskell/quickcheck-unicode/metadata.xml new file mode 100644 index 000000000000..0efb136df64e --- /dev/null +++ b/dev-haskell/quickcheck-unicode/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">quickcheck-unicode</remote-id> + <remote-id type="github">bos/quickcheck-unicode</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/quickcheck-unicode/quickcheck-unicode-1.0.1.0.ebuild b/dev-haskell/quickcheck-unicode/quickcheck-unicode-1.0.1.0.ebuild new file mode 100644 index 000000000000..ce958f28633a --- /dev/null +++ b/dev-haskell/quickcheck-unicode/quickcheck-unicode-1.0.1.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="Generator and shrink functions for testing Unicode-related software" +HOMEPAGE="https://github.com/bos/quickcheck-unicode" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/quickcheck-2.7:2=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/quickcheck/Manifest b/dev-haskell/quickcheck/Manifest index 2496e36b3faf..337abbc91663 100644 --- a/dev-haskell/quickcheck/Manifest +++ b/dev-haskell/quickcheck/Manifest @@ -1 +1,2 @@ DIST QuickCheck-2.14.2.tar.gz 75246 BLAKE2B a64ad51f3daa858a224c00fb785979460b638d76f20c7a19d95a6303cd5da61adaa40cb52e154dd15218adbf54fff184f16ab3b932895294cf37f24982a2b9cc SHA512 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5 +DIST quickcheck-2.14.3.tar.gz 76849 BLAKE2B e3a0eefaebd27fe5e11c4ed8dd7120b42e688be1cd249ee88a8b6b25a248376fae6d3f2f0506f675040314e019baeb60eac993421a0a7d87f821cdab01e93be5 SHA512 d00499fcdbe66d384a40c66a0d01dfe80f0622599f2f19ab569b45ef13c8d726c855b4687c7a1be022ea22df4bc66c48cf12fc156fadc558714fccc5a3deef7e diff --git a/dev-haskell/quickcheck/metadata.xml b/dev-haskell/quickcheck/metadata.xml index c64f613cab7c..6d0a1dba3e0c 100644 --- a/dev-haskell/quickcheck/metadata.xml +++ b/dev-haskell/quickcheck/metadata.xml @@ -6,23 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="template-haskell">Enable additional test modules requiring Template Haskell support.</flag> + <flag name="template-haskell">Build Test.QuickCheck.All, which uses Template Haskell.</flag> </use> - <longdescription> - QuickCheck is a library for random testing of program properties. - - The programmer provides a specification of the program, in - the form of properties which functions should satisfy, and - QuickCheck then tests that the properties hold in a large number - of randomly generated cases. - - Specifications are expressed in - Haskell, using combinators defined in the QuickCheck library. - QuickCheck provides combinators to define properties, observe - the distribution of test data, and define test - data generators. - </longdescription> <upstream> + <remote-id type="hackage">QuickCheck</remote-id> <remote-id type="github">nick8325/quickcheck</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/quickcheck/quickcheck-2.14.3.ebuild b/dev-haskell/quickcheck/quickcheck-2.14.3.ebuild new file mode 100644 index 000000000000..bcfff140bd41 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.14.3.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: +base4,-base3,-old-random,templatehaskell:template-haskell + +CABAL_PN="QuickCheck" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="+template-haskell" + +RDEPEND=">=dev-haskell/random-1.2.0:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/splitmix-0.1:=[profile?] <dev-haskell/splitmix-0.2:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-base3 \ + --flag=base4 \ + --flag=-old-random \ + $(cabal_flag template-haskell templatehaskell) +} diff --git a/dev-haskell/random-bytestring/Manifest b/dev-haskell/random-bytestring/Manifest new file mode 100644 index 000000000000..b01268cee054 --- /dev/null +++ b/dev-haskell/random-bytestring/Manifest @@ -0,0 +1 @@ +DIST random-bytestring-0.1.4.tar.gz 79911 BLAKE2B 2d4eb685a231a891a04050a6c2c71c6088b77220872b1aebc02e8db77fd12ab01aeed30f724207f1a544206eb79fab3499222d9997e4ea7ed967a4ea34922492 SHA512 17d7a2a758fbfc88ef1bcf6231f28276ecc5e363521b5fab38b539cf191c80c2dedeefe6d59346b7dff2def87b1e18657f13db8f43cf3c447142909fb3012ed5 diff --git a/dev-haskell/random-bytestring/metadata.xml b/dev-haskell/random-bytestring/metadata.xml new file mode 100644 index 000000000000..c78fd78a2d28 --- /dev/null +++ b/dev-haskell/random-bytestring/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> + <use> + <flag name="pcg">compile with support for PCG from pcg-random</flag> + </use> +</pkgmetadata> diff --git a/dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild b/dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild new file mode 100644 index 000000000000..77e5d04ff939 --- /dev/null +++ b/dev-haskell/random-bytestring/random-bytestring-0.1.4.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.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Efficient generation of random bytestrings" +HOMEPAGE="https://www.github.com/larskuhtz/random-bytestring" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+pcg" + +RDEPEND=">=dev-haskell/mwc-random-0.13:=[profile?] + >=dev-lang/ghc-8.4.3:= + pcg? ( >=dev-haskell/pcg-random-0.1:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag pcg with-pcg) +} diff --git a/dev-haskell/random/Manifest b/dev-haskell/random/Manifest index a26d131999d1..5075de49a7fd 100644 --- a/dev-haskell/random/Manifest +++ b/dev-haskell/random/Manifest @@ -1 +1,2 @@ +DIST random-1.2.1.1.tar.gz 47109 BLAKE2B a7234569569cfd87c04e9f294390cb8f6be1a068d56f1fc5b19b098474d66b8b82211c688d07570de23f2bd6379adf4869b0444af237bf95017abeb3f3c1a42a SHA512 4d5565390849cf85b2f307cd93f284a1f9094cfcd692beb5dd5f3ec917dd69ad7158fb52b1faa581eb573af25beee1f6c2830472ebb6553da6cfa01a4e954326 DIST random-1.2.1.tar.gz 47143 BLAKE2B 861a216b063aa893a9de645cca231fb1a1914609ea4dd8ec222b35db6ee9cc60760a613896e979f731d3e1a55ea792a294d380313e78549c6effc21b77d57564 SHA512 b130a90981de53b4fc3e7cf660224268d24bcceb9498d33827d9f43dc705c9a724c23999c4cf0222127f4c69daebf0d049d963abbea0a860135d661f9cc55731 diff --git a/dev-haskell/random/random-1.2.1.1.ebuild b/dev-haskell/random/random-1.2.1.1.ebuild new file mode 100644 index 000000000000..b0f7e3246305 --- /dev/null +++ b/dev-haskell/random/random-1.2.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite circular depend +inherit haskell-cabal + +DESCRIPTION="Pseudo-random number generation" +HOMEPAGE="https://hackage.haskell.org/package/random" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +# circular depend: random[test]->mwc-random->math-functions[test]->vector-th-unbox->vector->random +RESTRICT=test + +RDEPEND=">=dev-haskell/splitmix-0.1:=[profile?] <dev-haskell/splitmix-0.2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1" +# test? ( >=dev-haskell/doctest-0.15 <dev-haskell/doctest-0.21 +# >=dev-haskell/mwc-random-0.13 <dev-haskell/mwc-random-0.16 +# >=dev-haskell/primitive-0.6 <dev-haskell/primitive-0.8 +# >=dev-haskell/smallcheck-1.2 <dev-haskell/smallcheck-1.3 +# dev-haskell/stm +# >=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-inspection-testing +# >=dev-haskell/tasty-smallcheck-0.8 <dev-haskell/tasty-smallcheck-0.9 +# >=dev-haskell/unliftio-0.2 <dev-haskell/unliftio-0.3 +# >=dev-haskell/vector-0.10 <dev-haskell/vector-0.14 ) +# " diff --git a/dev-haskell/raw-strings-qq/raw-strings-qq-1.1.ebuild b/dev-haskell/raw-strings-qq/raw-strings-qq-1.1.ebuild index 0843c32fb13a..c96364a9b776 100644 --- a/dev-haskell/raw-strings-qq/raw-strings-qq-1.1.ebuild +++ b/dev-haskell/raw-strings-qq/raw-strings-qq-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/recv/Manifest b/dev-haskell/recv/Manifest new file mode 100644 index 000000000000..fecfaff17093 --- /dev/null +++ b/dev-haskell/recv/Manifest @@ -0,0 +1 @@ +DIST recv-0.1.0.tar.gz 5158 BLAKE2B b0a935096b620c5b1026998d175ddfde2d775852d777b767a3aeea590b4ac7bcf64b9b3c42a2c1d791a49d8e36c6ae413480794cc1d05aed5842a3bd8fe3f592 SHA512 24fc55bac9e96da56328fa04901041330f9b89e36ec9c4663a6a66b57d38d16e4d374126ff634086449b71e3546d66dcbcfe69d4096d7a2f94fab42b5d35d49f diff --git a/dev-haskell/recv/metadata.xml b/dev-haskell/recv/metadata.xml new file mode 100644 index 000000000000..2073c88a22ff --- /dev/null +++ b/dev-haskell/recv/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">recv</remote-id> + <remote-id type="github">yesodweb/wai</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/recv/recv-0.1.0.ebuild b/dev-haskell/recv/recv-0.1.0.ebuild new file mode 100644 index 000000000000..53bd8f3d0d2b --- /dev/null +++ b/dev-haskell/recv/recv-0.1.0.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.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient network recv" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/network-3.1.0:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( dev-haskell/hspec ) +" diff --git a/dev-haskell/reducers/Manifest b/dev-haskell/reducers/Manifest index dafcc234f9b4..07ffc9485b1c 100644 --- a/dev-haskell/reducers/Manifest +++ b/dev-haskell/reducers/Manifest @@ -1 +1,3 @@ DIST reducers-3.12.3.tar.gz 13405 BLAKE2B 8631ac257a24958be7446ff7bdb2e02ccad4e591d4f8334baf322fc58cdbadfc7c0eaa73f6a371ebf24b263057263b3230e3ff0e1b5aced348cebe979199e7aa SHA512 7bb78ccf107d7bc6bce8d68c3766b799ce2c2a41587ee4d2b7197c2dae1d27a6ce47110f1abd655108d7fcc306e9069a25562e53b00ff97704af0b8aac9139d9 +DIST reducers-3.12.4-rev2.cabal 2587 BLAKE2B bdb182b2ede577aa99b3a8146194a1fb7f20e06f402225092e6cc72bbb453443c09b23cc9a10fecd4c5748606b8268f34c89f35e9465e2aab2dc5eb1f00198d5 SHA512 7255995503c9d47ae035a773d3c61900203564b36dec91f6cf4390252b58c8e69d9b7fcd39fe5a7a77d33f28468621f2697c65a198e10b063ee9569b89c2eb51 +DIST reducers-3.12.4.tar.gz 11938 BLAKE2B d98fc9bcb4735f0dfa21230f34bba3c0d2624c1bc8d8caa11eb87a1a566d44c3ac6e36f78dd38d2a7e462dd96df32c6e483f3e8ff76d7acf867add0154c8c88a SHA512 5640cb567b21e06884d0f8cbdc90530f90ef2bebf783e3d02e0fd5fd7ed2fd24876d612a6e5ece14ccfe80e963f19a2925b2af4c5317c44de75b1b1894457f1f diff --git a/dev-haskell/reducers/metadata.xml b/dev-haskell/reducers/metadata.xml index a2632f709ce3..d3d0c2bd801c 100644 --- a/dev-haskell/reducers/metadata.xml +++ b/dev-haskell/reducers/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">reducers</remote-id> <remote-id type="github">ekmett/reducers</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/reducers/reducers-3.12.3-r1.ebuild b/dev-haskell/reducers/reducers-3.12.3-r1.ebuild index 8834f2758d2e..20cfff69798f 100644 --- a/dev-haskell/reducers/reducers-3.12.3-r1.ebuild +++ b/dev-haskell/reducers/reducers-3.12.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.7.9999 @@ -29,9 +29,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - default - - cabal_chdeps \ - 'hashable >= 1.1.2.1 && < 1.3' 'hashable >= 1.1.2.1' -} +CABAL_CHDEPS=( + 'hashable >= 1.1.2.1 && < 1.3' 'hashable >= 1.1.2.1' +) diff --git a/dev-haskell/reducers/reducers-3.12.4.ebuild b/dev-haskell/reducers/reducers-3.12.4.ebuild new file mode 100644 index 000000000000..a57a5ba40ed0 --- /dev/null +++ b/dev-haskell/reducers/reducers-3.12.4.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_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Semigroups, specialized containers and a general map/reduce framework" +HOMEPAGE="https://github.com/ekmett/reducers/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/fingertree-0.1:=[profile?] <dev-haskell/fingertree-0.2:=[profile?] + >=dev-haskell/hashable-1.1.2.1:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/semigroupoids-4:=[profile?] <dev-haskell/semigroupoids-6:=[profile?] + >=dev-haskell/text-0.11.1.5:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[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/regex-applicative/regex-applicative-0.3.3.1.ebuild b/dev-haskell/regex-applicative/regex-applicative-0.3.3.1.ebuild index 267178311077..e6b190e94852 100644 --- a/dev-haskell/regex-applicative/regex-applicative-0.3.3.1.ebuild +++ b/dev-haskell/regex-applicative/regex-applicative-0.3.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.9999 diff --git a/dev-haskell/regex-base/Manifest b/dev-haskell/regex-base/Manifest index a9c9becd439b..2ed820908d5f 100644 --- a/dev-haskell/regex-base/Manifest +++ b/dev-haskell/regex-base/Manifest @@ -1 +1,3 @@ DIST regex-base-0.94.0.1.tar.gz 10095 BLAKE2B 89dd1bf850c072ba8b0283e363415f82bd47557590161e6a65c3a570ff01042b63f85361b4910bba50e8ddbc64887ebf249d8e9b1d60f954d03dad1f29965b93 SHA512 2a1f088532c4488e4dea417222b8723436fbffcf8a8a3596d66c5fd4941250e97c0271c23025244ef3f4ba5295cff82ad8b49a6776d9410210efa7f199bc8b7e +DIST regex-base-0.94.0.2-rev1.cabal 2643 BLAKE2B 707879e0ddb6cccdad35b034b14b45438fd3d72598f287441bf37ea0c8e756975b447123c160b107633119d0a55f4b758c69fe130038a901263ea952fcd0cfe6 SHA512 e55e3e199035f3271b687463a60423cdbb1814b55a8669c3b49f97b8935825b3527ab527e016ac0ee3a009bbae64160f74568d803cb0d65a065294e236bfb2a3 +DIST regex-base-0.94.0.2.tar.gz 10488 BLAKE2B c401e66232c402ebc8d3ea2b3cba42caa8297951af43a9bc1a2c8a59e4d7d12ae96b17ca56db3cc187227478cf97664d38869a062d77d6883bcde1ffb31fb202 SHA512 cef8177c35b98f31a12044033dca95b767df593c6830d253cee6e31677c99a5cebf67d6e64f24ec9ba736e36256e9da3bfbe66e2ac8450582d36a4c5cad25c88 diff --git a/dev-haskell/regex-base/metadata.xml b/dev-haskell/regex-base/metadata.xml index 13b8f14085dd..937381521944 100644 --- a/dev-haskell/regex-base/metadata.xml +++ b/dev-haskell/regex-base/metadata.xml @@ -1,10 +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> - </maintainer> - <upstream> - <remote-id type="sourceforge">lazy-regex</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> </pkgmetadata> diff --git a/dev-haskell/regex-base/regex-base-0.94.0.1.ebuild b/dev-haskell/regex-base/regex-base-0.94.0.1.ebuild index 99cff6ed3a1a..e766df4d1743 100644 --- a/dev-haskell/regex-base/regex-base-0.94.0.1.ebuild +++ b/dev-haskell/regex-base/regex-base-0.94.0.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 diff --git a/dev-haskell/regex-base/regex-base-0.94.0.2.ebuild b/dev-haskell/regex-base/regex-base-0.94.0.2.ebuild new file mode 100644 index 000000000000..8b827f831b00 --- /dev/null +++ b/dev-haskell/regex-base/regex-base-0.94.0.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.7.2.2.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Common \"Text.Regex.*\" API for Regex matching" +HOMEPAGE="https://wiki.haskell.org/Regular_expressions" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/regex-compat/Manifest b/dev-haskell/regex-compat/Manifest index d6a0c0a86099..08f1bff57313 100644 --- a/dev-haskell/regex-compat/Manifest +++ b/dev-haskell/regex-compat/Manifest @@ -1 +1,2 @@ +DIST regex-compat-0.95.2.1-rev2.cabal 1705 BLAKE2B 99c4b12e120b2360edebe97899ce66e520ee05171cca7e2888fa2b0f30fbb0440a8d2d81c3bbf432d08de9ac10cbed3bead4a8ae20162711f6dd667be558e8b5 SHA512 4eb8c7a86268c7e5b834ff093e843cfb8bde1e72d51bd53346998a2743cc5999b1f8efd08e4b091dad662e5f1cc466eadf490af94d122e8b12799726a6824b85 DIST regex-compat-0.95.2.1.tar.gz 4285 BLAKE2B 5b1b7adf71c2903bf6647cc0bfefae230f59dbd3ab655a03083f279e7557b533ab745c15e36c51dcd6c4da9239e49a85c64a37a50458ee1a20e0d33a5abecc38 SHA512 87a671729dcdb2c89ce079fbb124cd2f16407f2dca0ed5d0d898a9cf06f893b82c184566efe80d966afbc7dde2cab1693b81516adc4832a9c65283a65fecd919 diff --git a/dev-haskell/regex-compat/metadata.xml b/dev-haskell/regex-compat/metadata.xml index 13b8f14085dd..116bb696237e 100644 --- a/dev-haskell/regex-compat/metadata.xml +++ b/dev-haskell/regex-compat/metadata.xml @@ -1,10 +1,13 @@ <?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> - </maintainer> - <upstream> - <remote-id type="sourceforge">lazy-regex</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">regex-compat</remote-id> + <remote-id type="github">haskell-hvr/regex-compat</remote-id> + <remote-id type="sourceforge">lazy-regex</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/regex-compat/regex-compat-0.95.2.1.ebuild b/dev-haskell/regex-compat/regex-compat-0.95.2.1-r1.ebuild index 332ffda94125..a8b58590ce60 100644 --- a/dev-haskell/regex-compat/regex-compat-0.95.2.1.ebuild +++ b/dev-haskell/regex-compat/regex-compat-0.95.2.1-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.7.2.2.9999 #hackport: flags: +newbase,+splitbase +CABAL_HACKAGE_REVISION=2 + CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Replaces/enhances \"Text.Regex\"" HOMEPAGE="https://wiki.haskell.org/Regular_expressions" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" diff --git a/dev-haskell/regex-posix/Manifest b/dev-haskell/regex-posix/Manifest index 79d1f41416ff..a4b2530c36cf 100644 --- a/dev-haskell/regex-posix/Manifest +++ b/dev-haskell/regex-posix/Manifest @@ -1 +1,3 @@ DIST regex-posix-0.96.0.0.tar.gz 12529 BLAKE2B e949fd28a8fee8c0ae056dc0037dc9eb03b3814145740a053752ac121f6ffc60bad5db72832626340f0f201d06ccc649225af9506be671f63fd5b850e20bda6c SHA512 91bdc672a535cd1a6a65b1ae2adef43605b792ec9f99150fa239ab4353cddad47988ac7baa65673c53be36e83c8fad1511ba85fb5f7b43c51b4ae526d9af248a +DIST regex-posix-0.96.0.1-rev1.cabal 2954 BLAKE2B e53df5885439c8e29cc562a5bbbcbb9434b72ee3c0abba83e5b1a1cbb5f39b1fa002585bbb1d70b3cad5c88ea4b83c4767799bbafed35d7f32fc658c98a53042 SHA512 d8720a871133a1cd8388474766889fd560686a941eef845202fe45c2191908ec444bc93b423e763d183dda2ed06f1cd3c3c44ee846dd01f288dfc4d9832835d0 +DIST regex-posix-0.96.0.1.tar.gz 12853 BLAKE2B 8b01c71287cd4477f6fdc11eae0a2447efc39ee538313713de8e851430bb480c56c011389748b113d2ae8b0ec8f6f8306ded2bbfed2226ff3c172fa7a2eb0241 SHA512 4d6383e34fd6144af3004caee70bc83c8894c8e78c147c2e829cdbd9c74af3d1807604db0927554aea20c69a8b5c1eb3dd01d3963b2e615ee39beaa48095125b diff --git a/dev-haskell/regex-posix/metadata.xml b/dev-haskell/regex-posix/metadata.xml index df2d49a25f2b..937381521944 100644 --- a/dev-haskell/regex-posix/metadata.xml +++ b/dev-haskell/regex-posix/metadata.xml @@ -5,7 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <upstream> - <remote-id type="sourceforge">lazy-regex</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/regex-posix/regex-posix-0.96.0.0.ebuild b/dev-haskell/regex-posix/regex-posix-0.96.0.0.ebuild index b2c1e9fe8638..902b314f2c34 100644 --- a/dev-haskell/regex-posix/regex-posix-0.96.0.0.ebuild +++ b/dev-haskell/regex-posix/regex-posix-0.96.0.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.9999 #hackport: flags: +newbase,+splitbase,-_regex-posix-clib @@ -26,12 +26,9 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.12 " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.3 && < 4.14' 'base >= 4.3' -} +CABAL_CHDEPS=( + 'base >= 4.3 && < 4.14' 'base >= 4.3' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/regex-posix/regex-posix-0.96.0.1.ebuild b/dev-haskell/regex-posix/regex-posix-0.96.0.1.ebuild new file mode 100644 index 000000000000..be58429a3bc1 --- /dev/null +++ b/dev-haskell/regex-posix/regex-posix-0.96.0.1.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.2.2.9999 +#hackport: flags: +newbase,+splitbase,-_regex-posix-clib + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="POSIX Backend for \"Text.Regex\" (regex-base)" +HOMEPAGE="https://hackage.haskell.org/package/regex-posix" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos" + +RDEPEND=">=dev-haskell/regex-base-0.94:=[profile?] <dev-haskell/regex-base-0.95:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-_regex-posix-clib \ + --flag=newbase \ + --flag=splitbase +} diff --git a/dev-haskell/regex-tdfa/Manifest b/dev-haskell/regex-tdfa/Manifest index 6feaf270d664..8e5ff0f84c27 100644 --- a/dev-haskell/regex-tdfa/Manifest +++ b/dev-haskell/regex-tdfa/Manifest @@ -1 +1,2 @@ +DIST regex-tdfa-1.3.2.2.tar.gz 83016 BLAKE2B 77f6698a5c42eece0eb9f2166017a6a9334f917ba2134e963d06a443088e6d594765e846083052d91fc7944b8fea776c5e188afcbad2b25ce57939255f5cc3b4 SHA512 be5d93b0e989a3232f9d0e37f002085d500d334ec554ade30177b22dd0d873321aa2a4f8b3cacb4156d002659f67b6d6f50d5f8c8b2da513a43be49572dc9c6c DIST regex-tdfa-1.3.2.tar.gz 82839 BLAKE2B e381bc951dfad53b0cd2c83f6c77e3a71fe6b1fd64988f75544e631f49a9d108f39e27bc5bb42fbccc4887321c7655d609c0c13cc58f7be3b93e8131059f4320 SHA512 88bbf8f4d7ac15fb85c899bdeb8f8556c7a284075bf2b600051f529f0e2109dcda6ba74fc95969b824cfb03f00a9eb47e9c375c70b1b9e17096c95acbe517168 diff --git a/dev-haskell/regex-tdfa/files/regex-tdfa-1.3.2.2-disable-doctests.patch b/dev-haskell/regex-tdfa/files/regex-tdfa-1.3.2.2-disable-doctests.patch new file mode 100644 index 000000000000..769ff7f34191 --- /dev/null +++ b/dev-haskell/regex-tdfa/files/regex-tdfa-1.3.2.2-disable-doctests.patch @@ -0,0 +1,24 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> + +doctests don't seem to work with Setup.hs + +The hackage tarball doesn't include cabal.project which seems to be necessary +for doctest-parallel to work. Even when this file is copied to $S, Setup.hs +doesn't seem to recognize it. + +The necessary flag is not recognized by `./setup configure`: + --write-ghc-environment-files=always +See: <https://cabal.readthedocs.io/en/3.4/cabal-project.html#cfg-field-write-ghc-environment-files> + +diff -urN regex-tdfa-1.3.2/regex-tdfa.cabal regex-tdfa-1.3.2-r1/regex-tdfa.cabal +--- regex-tdfa-1.3.2/regex-tdfa.cabal 2022-08-14 00:42:54.578227087 -0600 ++++ regex-tdfa-1.3.2-r1/regex-tdfa.cabal 2022-08-14 00:43:17.428227098 -0600 +@@ -175,6 +175,7 @@ + ghc-options: -O2 + + test-suite doctest ++ buildable: False + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: DocTestMain.hs diff --git a/dev-haskell/regex-tdfa/metadata.xml b/dev-haskell/regex-tdfa/metadata.xml index 6883f6fe98a6..1192b9e7aef1 100644 --- a/dev-haskell/regex-tdfa/metadata.xml +++ b/dev-haskell/regex-tdfa/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">ChrisKuklewicz/regex-tdfa</remote-id> + <remote-id type="hackage">regex-tdfa</remote-id> + <remote-id type="github">haskell-hvr/regex-tdfa</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/regex-tdfa/regex-tdfa-1.3.2.2.ebuild b/dev-haskell/regex-tdfa/regex-tdfa-1.3.2.2.ebuild new file mode 100644 index 000000000000..a47592f6b41f --- /dev/null +++ b/dev-haskell/regex-tdfa/regex-tdfa-1.3.2.2.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.4.0.9999 +#hackport: flags: +base4,-devel,+force-o2,-doctest + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pure Haskell Tagged DFA Backend for \"Text.Regex\" (regex-base)" +HOMEPAGE="https://wiki.haskell.org/Regular_expressions" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${P}-disable-doctests.patch" +) + +RDEPEND=">=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/regex-base-0.94:=[profile?] <dev-haskell/regex-base-0.95:=[profile?] + >=dev-haskell/text-1.2.3:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/utf8-string-1.0.1 <dev-haskell/utf8-string-1.1 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=base4 \ + --flag=-devel \ + --flag=force-o2 +} diff --git a/dev-haskell/resolv/resolv-0.1.2.0-r1.ebuild b/dev-haskell/resolv/resolv-0.1.2.0-r1.ebuild index 9e5417a76545..a17699a7dd22 100644 --- a/dev-haskell/resolv/resolv-0.1.2.0-r1.ebuild +++ b/dev-haskell/resolv/resolv-0.1.2.0-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.4.9999 @@ -26,11 +26,8 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2 " -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.5 && <4.15' 'base >= 4.5' \ - 'base16-bytestring ^>= 0.1' 'base16-bytestring >= 0.1' \ - 'bytestring ^>=0.9.2 || ^>= 0.10' 'bytestring >=0.9.2' - eapply_user -} +CABAL_CHDEPS=( + 'base >= 4.5 && <4.15' 'base >= 4.5' + 'base16-bytestring ^>= 0.1' 'base16-bytestring >= 0.1' + 'bytestring ^>=0.9.2 || ^>= 0.10' 'bytestring >=0.9.2' +) diff --git a/dev-haskell/resource-pool/Manifest b/dev-haskell/resource-pool/Manifest index e7286464935a..2cb0993b2ec4 100644 --- a/dev-haskell/resource-pool/Manifest +++ b/dev-haskell/resource-pool/Manifest @@ -1 +1,2 @@ DIST resource-pool-0.2.3.2.tar.gz 6527 BLAKE2B e57d2406a483f0252cc564de91f74c51b62b9c1e7b52ae147e5c60a647130c2803af469d5b33389a5ff618d259f110738a973580e7633d2ff2dc9e7d57cd82a7 SHA512 42b0bb6dea35c08884f65604acc0dd93707b8d4de780c584877e92fbfe534d4f754282e9c9f7257c203f1152d85ac8170f84ee9a95573343d02a774006c4118b +DIST resource-pool-0.4.0.0.tar.gz 8128 BLAKE2B 2aff7704d00f352ab8972335223cd0e713de2be60c91a01020e39155c4666247313a73d88af2cb53227cba17ca23533219f25b0cd124536ac4c29043a4371345 SHA512 714db44aa41efbe684b589d20242a8fb3ad6112287fa797954e69c19432c83a2bc0c37bbcd9674ad2980a45ce6f38acea5393753caa05de609ac958e53057b92 diff --git a/dev-haskell/resource-pool/metadata.xml b/dev-haskell/resource-pool/metadata.xml index 937381521944..11d1ddb06d9c 100644 --- a/dev-haskell/resource-pool/metadata.xml +++ b/dev-haskell/resource-pool/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">resource-pool</remote-id> + <remote-id type="github">scrive/pool</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/resource-pool/resource-pool-0.2.3.2.ebuild b/dev-haskell/resource-pool/resource-pool-0.2.3.2.ebuild index 194b57d40712..1fe1025c6b36 100644 --- a/dev-haskell/resource-pool/resource-pool-0.2.3.2.ebuild +++ b/dev-haskell/resource-pool/resource-pool-0.2.3.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 #hackport: flags: -developer diff --git a/dev-haskell/resource-pool/resource-pool-0.4.0.0.ebuild b/dev-haskell/resource-pool/resource-pool-0.4.0.0.ebuild new file mode 100644 index 000000000000..1bdf11331bcf --- /dev/null +++ b/dev-haskell/resource-pool/resource-pool-0.4.0.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.0.9999 +#hackport: flags: -developer + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A high-performance striped resource pooling implementation" +HOMEPAGE="https://hackage.haskell.org/package/resource-pool" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hashable-1.1.0.0:=[profile?] + >=dev-haskell/primitive-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-developer +} diff --git a/dev-haskell/resourcet/Manifest b/dev-haskell/resourcet/Manifest index d9192237f689..cf8bfa3dbb92 100644 --- a/dev-haskell/resourcet/Manifest +++ b/dev-haskell/resourcet/Manifest @@ -1 +1,2 @@ DIST resourcet-1.2.4.2.tar.gz 16862 BLAKE2B 041997adc9db44e4e99d878f001191eff853fc2d473f544a107d3526924273bda32de9ff39ebd93ec6fddb81fa1dd1180f6a6e1c06361a33486bf7c56a98c750 SHA512 9f415a902261e64916e8c937a3d464eb29ff3a59fde511a17304aa4aa58c01f882d29c304375a0f23d87fa770763f09c84e428ed9f75c9b187fe2aabbbf4adf2 +DIST resourcet-1.2.6.tar.gz 17196 BLAKE2B e82da2b2cf2329182d46a331b1bbcd8437268a90501c38acc299b80377ccb3a7d53e9c97d07565830c9f993b8cf6e9189e930622d7ede7510e35350b07aa7883 SHA512 2b08c99ad102fd3bef1e1e9363c000f48f03d1ac3e5122c8c764c71f90905697a818a70391f0f67e5074b4cc0b030bd5cfecd3477930e3e4ec64049e10d8fa3a diff --git a/dev-haskell/resourcet/metadata.xml b/dev-haskell/resourcet/metadata.xml index 601f5a295165..937381521944 100644 --- a/dev-haskell/resourcet/metadata.xml +++ b/dev-haskell/resourcet/metadata.xml @@ -5,10 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package was originally included with the conduit package, and has since been split off. For more information, please see <http://www.yesodweb.com/book/conduits>. - </longdescription> - <upstream> - <remote-id type="github">snoyberg/conduit</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/resourcet/resourcet-1.2.4.2.ebuild b/dev-haskell/resourcet/resourcet-1.2.4.2.ebuild index 97b4087159c3..a55ca295082d 100644 --- a/dev-haskell/resourcet/resourcet-1.2.4.2.ebuild +++ b/dev-haskell/resourcet/resourcet-1.2.4.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.4.9999 diff --git a/dev-haskell/resourcet/resourcet-1.2.6.ebuild b/dev-haskell/resourcet/resourcet-1.2.6.ebuild new file mode 100644 index 000000000000..b13e58ee12aa --- /dev/null +++ b/dev-haskell/resourcet/resourcet-1.2.6.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.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Deterministic allocation and freeing of scarce resources" +HOMEPAGE="https://github.com/snoyberg/conduit" +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/primitive:=[profile?] + >=dev-haskell/unliftio-core-0.1.1.0:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/hspec-1.3 ) +" diff --git a/dev-haskell/retry/Manifest b/dev-haskell/retry/Manifest index 224c212555c4..c2cac5759f82 100644 --- a/dev-haskell/retry/Manifest +++ b/dev-haskell/retry/Manifest @@ -1 +1,2 @@ DIST retry-0.9.0.0.tar.gz 15863 BLAKE2B 2ebe8e71b700f0bedf19a43e08171f98219009dc9ff4f6069ada64945128839f5321c9a2f0602a976431cedbb0c77a56b01805005b8cb4c746b4d4d875b90921 SHA512 89c6ab55a5b0050f7132566d0c9d6ddbbdb927d21c5fcf8fe959fb04228398bc87aa9b51752a881f8a581e6030ac7d21d344dc2c3fea192b0330519e94b33269 +DIST retry-0.9.3.1.tar.gz 18717 BLAKE2B 6db19277fb92e9a12f68f8ce0bd0017426540ca8d842fce85d36c62f553afdc91019e0a8326d3f52e15762a6129192f69b73ab61954222bbe0f6d2171b6b133d SHA512 6ce93f69bffcc6a13da9878ea1ec9547dbd3ba5f84148b3ee408292138297329ded6e3aa0daf0cfa76a9b5e99696f66721e0abc711d0a92383c3ec6584de0861 diff --git a/dev-haskell/retry/metadata.xml b/dev-haskell/retry/metadata.xml index bd401a627e00..8e465ebd89e3 100644 --- a/dev-haskell/retry/metadata.xml +++ b/dev-haskell/retry/metadata.xml @@ -5,16 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package exposes combinators that can wrap arbitrary - monadic actions. They run the action and potentially retry - running it with some configurable delay for a configurable - number of times. - The purpose is to make it easier to work with IO and - especially network IO actions that often experience temporary - failure and warrant retrying of the original action. For - example, a database query may time out for a while, in which - case we should hang back for a bit and retry the query instead - of simply raising an exception. - </longdescription> + <upstream> + <remote-id type="hackage">retry</remote-id> + <remote-id type="github">Soostone/retry</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/retry/retry-0.9.3.1.ebuild b/dev-haskell/retry/retry-0.9.3.1.ebuild new file mode 100644 index 000000000000..5ba3167745a0 --- /dev/null +++ b/dev-haskell/retry/retry-0.9.3.1.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.8.4.0.9999 +#hackport: flags: -lib-werror + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Retry combinators for monadic actions that may fail" +HOMEPAGE="https://github.com/Soostone/retry" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/mtl-compat:=[profile?] + >=dev-haskell/random-1:=[profile?] + >=dev-haskell/unliftio-core-0.1.0.0:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hedgehog-1.0 + >=dev-haskell/hunit-1.2.5.2 + dev-haskell/tasty + dev-haskell/tasty-hedgehog + dev-haskell/tasty-hunit + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-lib-werror +} diff --git a/dev-haskell/rio/Manifest b/dev-haskell/rio/Manifest index bc8300cc2dd5..3a8fa2e9af75 100644 --- a/dev-haskell/rio/Manifest +++ b/dev-haskell/rio/Manifest @@ -1 +1,2 @@ DIST rio-0.1.21.0.tar.gz 59157 BLAKE2B 5455a0056efc32f0120182a65adee665cfc33fbf2b6627bf420b26db7d472ca8b3d0797d996600f8538cc1dcfe34d87c0b6ce93f88dfc4c7e8b9516be334f25d SHA512 5a049c7af44f0811e402d641815453be0af1f437a89cada613940085ceb8b8bb66ab92753f31bf400ff16f72ff08a9e83ff422c988e434ffef0c64b4c1cc7224 +DIST rio-0.1.22.0.tar.gz 59262 BLAKE2B 1db8d70ab0d740c95d80db3bcb16a395ab1c2bed522f2ebb989821a73e091919967b23e6be57d2ab35ff2c661560463f80f278e4abf532ecb261bcabcd6ce617 SHA512 a324bdc62341f7da9300c429712963de3926d5585a5772d412ba50d75503fd1c08edb7e6712d9ddc5d825910a5d59e13d9f0c48a2dca98efe33fead44ec7f8bd diff --git a/dev-haskell/rio/metadata.xml b/dev-haskell/rio/metadata.xml index 937381521944..cc574ab28b0d 100644 --- a/dev-haskell/rio/metadata.xml +++ b/dev-haskell/rio/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">rio</remote-id> + <remote-id type="github">commercialhaskell/rio</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/rio/rio-0.1.22.0-r1.ebuild b/dev-haskell/rio/rio-0.1.22.0-r1.ebuild new file mode 100644 index 000000000000..4e9a92cd357c --- /dev/null +++ b/dev-haskell/rio/rio-0.1.22.0-r1.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.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A standard library for Haskell" +HOMEPAGE="https://github.com/commercialhaskell/rio#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/hashable:=[profile?] + dev-haskell/microlens:=[profile?] + dev-haskell/microlens-mtl:=[profile?] + dev-haskell/primitive:=[profile?] + >=dev-haskell/typed-process-0.2.5.0:=[profile?] + >=dev-haskell/unliftio-0.2.14:=[profile?] + dev-haskell/unliftio-core:=[profile?] + dev-haskell/unordered-containers:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( + dev-haskell/hspec + dev-haskell/quickcheck + ) +" diff --git a/dev-haskell/safe-exceptions/Manifest b/dev-haskell/safe-exceptions/Manifest index ec7c2d0a7bcb..41208c432ca3 100644 --- a/dev-haskell/safe-exceptions/Manifest +++ b/dev-haskell/safe-exceptions/Manifest @@ -1 +1,2 @@ DIST safe-exceptions-0.1.7.0.tar.gz 13533 BLAKE2B 4dbf6ebdb5dcd2d1f691cac540fe4cdaf3557bfc90f702b7120b4b6a8d1e2be7ff4e6d22851be5d2650a35e074551e48643152c25a76a2ab0ffd3c37fab663b0 SHA512 05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351 +DIST safe-exceptions-0.1.7.3.tar.gz 14169 BLAKE2B 96750575daec4deba15f0302381b17b7f63f77c6b671c34f14a7eb2e947b94419317c94a831e8361e65096f577e392343f6b2eba811b7a6d8d2c7640872ae328 SHA512 380165ad904868982fd1ae1c1eeafecb0458e837563e1279e35eb7865582b44d27b766c9d66695d1bf6fe5d4eb10897c114d79b35395ee89612b78b3eaa55208 diff --git a/dev-haskell/safe-exceptions/metadata.xml b/dev-haskell/safe-exceptions/metadata.xml index 6e64c173a240..32c35127060f 100644 --- a/dev-haskell/safe-exceptions/metadata.xml +++ b/dev-haskell/safe-exceptions/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">safe-exceptions</remote-id> <remote-id type="github">fpco/safe-exceptions</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.0.ebuild b/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.0.ebuild index 709c1d605f2d..9957997ddc4c 100644 --- a/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.0.ebuild +++ b/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.0.ebuild @@ -26,10 +26,7 @@ DEPEND="${RDEPEND} dev-haskell/void ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.7 && < 4.11' 'base >= 4.7' \ - 'exceptions >= 0.8 && < 0.9' 'exceptions >= 0.8' -} +CABAL_CHDEPS=( + 'base >= 4.7 && < 4.11' 'base >= 4.7' + 'exceptions >= 0.8 && < 0.9' 'exceptions >= 0.8' +) diff --git a/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.3.ebuild b/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.3.ebuild new file mode 100644 index 000000000000..c35b689b5b48 --- /dev/null +++ b/dev-haskell/safe-exceptions/safe-exceptions-0.1.7.3.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Safe, consistent, and easy exception handling" +HOMEPAGE="https://github.com/fpco/safe-exceptions#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( dev-haskell/hspec + dev-haskell/void ) +" diff --git a/dev-haskell/safe/safe-0.3.19.ebuild b/dev-haskell/safe/safe-0.3.19.ebuild index d6f0e3082539..6c0fffac4019 100644 --- a/dev-haskell/safe/safe-0.3.19.ebuild +++ b/dev-haskell/safe/safe-0.3.19.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/safesemaphore/safesemaphore-0.10.1.ebuild b/dev-haskell/safesemaphore/safesemaphore-0.10.1.ebuild index e6efa403f9ec..440e0ae96ec0 100644 --- a/dev-haskell/safesemaphore/safesemaphore-0.10.1.ebuild +++ b/dev-haskell/safesemaphore/safesemaphore-0.10.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/sandi/sandi-0.5.ebuild b/dev-haskell/sandi/sandi-0.5.ebuild index b82601d7e865..f50b99738749 100644 --- a/dev-haskell/sandi/sandi-0.5.ebuild +++ b/dev-haskell/sandi/sandi-0.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 #hackport: flags: with-conduit:conduit diff --git a/dev-haskell/scientific/Manifest b/dev-haskell/scientific/Manifest index 1030244299af..db6ffb23739d 100644 --- a/dev-haskell/scientific/Manifest +++ b/dev-haskell/scientific/Manifest @@ -1,2 +1,2 @@ -DIST scientific-0.3.7.0-r1.cabal 4826 BLAKE2B 5c97f879ac7fe64e6584283bd65539aba51a66844bdb19926c163117d36ffc7412434a7191657f4d0f53904299be4893486da489fceba2bfbaa3b6ab8622184e SHA512 e4f9a79dfc05bf9619df070ce9553322bcbf36d81c649ec25afc3ea148fba0eed89ea9e4725942da664109ba3468e383433e4afc9a93d903a17eb50735246832 +DIST scientific-0.3.7.0-rev5.cabal 4854 BLAKE2B b9490a11d6cea1395cf1cea0bc85627a097aeff7db397de045195b2d0a0db093a39861d5b50e447d98a4b96da3c61eb6d53dffba216c6257ec5b7a009290d6c2 SHA512 3a2c8babc65040692c95f5bbf033d31ec4a3e63382739dfa27a6c0920c96cbcebb982a05222983c796cb04ac81a7b641a742f1d6b9a657f3450bb07242859e90 DIST scientific-0.3.7.0.tar.gz 24723 BLAKE2B b50d995f6b46d37011823cdd096b1166244c1ab453db490da61eefcf0913f28b9a0b70798aa4ec3c29e6b836d473800b556b6ff062e1e2bee6a25174cd18d52d SHA512 dbd13060a6d1d101138715b4106382a78d115cff247859cb6f83aca3cdb6f6caf8a2c52d7ae99be64845c5e4a7959940bbf31df6265b15079c236f193b087865 diff --git a/dev-haskell/scientific/metadata.xml b/dev-haskell/scientific/metadata.xml index 2900651af244..1b6ea2a6660c 100644 --- a/dev-haskell/scientific/metadata.xml +++ b/dev-haskell/scientific/metadata.xml @@ -5,21 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A @Scientific@ number is an arbitrary-precision floating-point number - represented using scientific notation. - - A scientific number with 'coefficient' @c@ and - 'base10Exponent' @e@ corresponds to the - 'Fractional' number: @'fromInteger' c * 10 '^^' e@ - - Its primary use-case is to serve as the target of - parsing floating point numbers. Since the textual - representation of floating point numbers use - scientific notation they can be efficiently - parsed to a @Scientific@ number. - </longdescription> <upstream> + <remote-id type="hackage">scientific</remote-id> <remote-id type="github">basvandijk/scientific</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild b/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild deleted file mode 100644 index d3f15fad4a24..000000000000 --- a/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild +++ /dev/null @@ -1,52 +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: -integer-simple - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite -CABAL_HACKAGE_REVISION="2" -inherit haskell-cabal -RESTRICT="test" # circular dependencies - -DESCRIPTION="Numbers represented using scientific notation" -HOMEPAGE="https://github.com/basvandijk/scientific" -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.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-haskell/integer-logarithms-1.0.3.1:=[profile?] <dev-haskell/integer-logarithms-1.1:=[profile?] - >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1" -# test? ( >=dev-haskell/quickcheck-2.14.2 -# >=dev-haskell/smallcheck-1.0 -# >=dev-haskell/tasty-1.4.0.1 -# >=dev-haskell/tasty-hunit-0.8 -# >=dev-haskell/tasty-quickcheck-0.8 -# >=dev-haskell/tasty-smallcheck-0.2 ) -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=-integer-simple -} diff --git a/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild b/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild new file mode 100644 index 000000000000..68dbd52ad020 --- /dev/null +++ b/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild @@ -0,0 +1,49 @@ +# 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: -integer-simple + +CABAL_HACKAGE_REVISION=5 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Numbers represented using scientific notation" +HOMEPAGE="https://github.com/basvandijk/scientific" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/integer-logarithms-1.0.3.1:=[profile?] <dev-haskell/integer-logarithms-1.1:=[profile?] + >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/quickcheck-2.14.2 + >=dev-haskell/smallcheck-1.0 + >=dev-haskell/tasty-1.4.0.1 + >=dev-haskell/tasty-hunit-0.8 + >=dev-haskell/tasty-quickcheck-0.8 + >=dev-haskell/tasty-smallcheck-0.2 + ) +" +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=-integer-simple +} diff --git a/dev-haskell/semialign/Manifest b/dev-haskell/semialign/Manifest index e9e2c7f7a83f..46466dd4dda7 100644 --- a/dev-haskell/semialign/Manifest +++ b/dev-haskell/semialign/Manifest @@ -1,2 +1,3 @@ DIST semialign-1.2.0.1.cabal 2836 BLAKE2B f637909d2c3e3d9a5b7c0e1dd06c9df1236f55fb353e32f944f7f9ba8140044b882b360e98139c2620a585f3a01820b89fcbea1785a9c5acadfa609d0e9c46c4 SHA512 fc97232dbbb35b3578572129fa52e8f9835ea4d9edc8d927db9b57a501c626acd1fd30ca70ab3a669905c36828f680c744f56873966cd1ec011cb8aa4a8298ad DIST semialign-1.2.0.1.tar.gz 10371 BLAKE2B ac77920eb72eb6d39798bb84d8ef5f1c52ae99ce2300e1db57a84f495796dbd120007abefae8d0a6be51b5625814682f7b9ae5c743dff77cfa3dcd8667882915 SHA512 ba4c680ec2f301c6b76e2198a422bd9c540915fd89a12cbb1787e95c0ccd1bb05abdf59ab1678f46141939673418c650d9624af2ddb7370f2b6bccf704ade83d +DIST semialign-1.3.tar.gz 10543 BLAKE2B 27b5cf6071cced022d5122db550e172e25111cdf54d1d3ff339a1791064c582d0a0cc52d4b05031446ea3d3c67d588aa7c8b589931300a16f684cf7e460853f1 SHA512 4f8ce9c01a145e16f5b203c4ffc0131c42f1d348e2d9c812fc83107a8a4515507da335fa2690f3740d9c89d4d8f2c88fd3b9c9e1862f4726a0874f773a3569b3 diff --git a/dev-haskell/semialign/metadata.xml b/dev-haskell/semialign/metadata.xml index 937381521944..23370b585b31 100644 --- a/dev-haskell/semialign/metadata.xml +++ b/dev-haskell/semialign/metadata.xml @@ -5,4 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <use> + <flag name="semigroupoids">Build with semigroupoids dependency</flag> + </use> + <upstream> + <remote-id type="hackage">semialign</remote-id> + <remote-id type="github">haskellari/these</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/semialign/semialign-1.3.ebuild b/dev-haskell/semialign/semialign-1.3.ebuild new file mode 100644 index 000000000000..6ded9ff887e3 --- /dev/null +++ b/dev-haskell/semialign/semialign-1.3.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.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Align and Zip type-classes from the common Semialign ancestor" +HOMEPAGE="https://github.com/haskellari/these" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+semigroupoids" + +RDEPEND=" + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/indexed-traversable-instances-0.1:=[profile?] <dev-haskell/indexed-traversable-instances-0.2:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/these-1.2:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/unordered-containers-0.2.8.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/vector-0.12.0.2:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= + semigroupoids? ( + >=dev-haskell/semigroupoids-5.3.2:=[profile?] <dev-haskell/semigroupoids-6.1:=[profile?] + ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag semigroupoids semigroupoids) +} diff --git a/dev-haskell/semirings/Manifest b/dev-haskell/semirings/Manifest index a6a5a7fa2a34..d934fe605edf 100644 --- a/dev-haskell/semirings/Manifest +++ b/dev-haskell/semirings/Manifest @@ -1,2 +1,2 @@ -DIST semirings-0.6.cabal 2668 BLAKE2B d1c1293a9f2ad63caf291bd1e409afef54815815ea3e750cc915a4872725f8d1f69fdf7097fd724f8f4762a98f9b36653b38df900a31c4fef775615c7031e838 SHA512 1b2afdf824ff308726b258b82cc9b18718da01795bcfae23c073dfb484faa1a44ee59af479a8719ed950e5811bbdce64bea4e7b7a0cf59986c24f89e256de156 +DIST semirings-0.6-rev1.cabal 2668 BLAKE2B d1c1293a9f2ad63caf291bd1e409afef54815815ea3e750cc915a4872725f8d1f69fdf7097fd724f8f4762a98f9b36653b38df900a31c4fef775615c7031e838 SHA512 1b2afdf824ff308726b258b82cc9b18718da01795bcfae23c073dfb484faa1a44ee59af479a8719ed950e5811bbdce64bea4e7b7a0cf59986c24f89e256de156 DIST semirings-0.6.tar.gz 19640 BLAKE2B 9cd6d17cfdc2fde31741a6db085d972fd8ed131ad003102c1b4991e8157f4b22a05508306c64b1a4f730ce1f99e3d40861b60332689d9b16e122c3ff59a80e0c SHA512 01675527d47b5283ae6beb6feb38b4a5527a46a780b75e4b712c0b1e4b57218fa8238ba100a20947a2e2b53c4a314ad4e1a71f989bd5194fe6378dba048c870c diff --git a/dev-haskell/semirings/metadata.xml b/dev-haskell/semirings/metadata.xml index 937381521944..bfc3eb60560a 100644 --- a/dev-haskell/semirings/metadata.xml +++ b/dev-haskell/semirings/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">semirings</remote-id> + <remote-id type="github">chessai/semirings</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/semirings/semirings-0.6-r2.ebuild b/dev-haskell/semirings/semirings-0.6-r2.ebuild new file mode 100644 index 000000000000..1d556bcd783c --- /dev/null +++ b/dev-haskell/semirings/semirings-0.6-r2.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: +containers,+unordered-containers + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="two monoids as one, in holy haskimony" +HOMEPAGE="https://github.com/chessai/semirings" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/base-compat-batteries:=[profile?] + >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.5 + =dev-haskell/unordered-containers-0.2*:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=containers \ + --flag=unordered-containers +} diff --git a/dev-haskell/semirings/semirings-0.6.ebuild b/dev-haskell/semirings/semirings-0.6.ebuild deleted file mode 100644 index 96e2fd6f602c..000000000000 --- a/dev-haskell/semirings/semirings-0.6.ebuild +++ /dev/null @@ -1,47 +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: +containers,+unordered-containers - -CABAL_FEATURES="lib profile haddock hoogle hscolour" -CABAL_HACKAGE_REVISION="1" -inherit haskell-cabal - -DESCRIPTION="two monoids as one, in holy haskimony" -HOMEPAGE="https://github.com/chessai/semirings" -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/base-compat-batteries:=[profile?] - >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 -" -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=containers \ - --flag=unordered-containers -} diff --git a/dev-haskell/servant-server/Manifest b/dev-haskell/servant-server/Manifest index e3fbf243d81c..3d58affe3a12 100644 --- a/dev-haskell/servant-server/Manifest +++ b/dev-haskell/servant-server/Manifest @@ -1,2 +1,4 @@ DIST servant-server-0.19.1-rev1.cabal 5695 BLAKE2B 949da62888d2d0a5e98e4b6c874ab3f6e0278e010e7ec22c355d7b01f53aa20f8020502e219f289cefb0f57ced891ac4a0cc9ae04ebd0f4c96468cb1bbf0675c SHA512 14d16cc02a765cfdbe28c024c07b857a40b91379c48a4418a24a4d0b8e23ffa563bbd14a794a5594a86288bf14d039152ade3783a572d8314a32a13bf7e17e9f DIST servant-server-0.19.1.tar.gz 53170 BLAKE2B 1e93a208995e78550b01a3cd417d427ac759e436b881a1ce38e3f171635798a9f24fb3ddfd94f3300ad79b6301cfbbf2a42df8f7e7a2928a5bcf8b85fa40e174 SHA512 1489455605b73b3ed40f4fd73c7891bf5af71cad39c36948ddef8aaf7f91c76d6d371e96cd2492923ca10ec6c0b5ace8c4d3538abef46be2fb491962e8fb8a04 +DIST servant-server-0.20-rev1.cabal 5739 BLAKE2B aafdedd66f6749c5bc48514830c19ecec2ac5d3ce1621cd1f847047fc8a4bf7629bc44b4bd181c13e03a975d281583446110258c7a929ff5191702cea32958ac SHA512 ad65c05a6880855555ca7e61fa9399f08a27b08203231bf25ca94f6f59743824540162ef914fad3fd8391e1661233e44b2720ecfb93e4bbad14c0c2a127c0f61 +DIST servant-server-0.20.tar.gz 55745 BLAKE2B bf2216382f7b1da7ac62554387a7341dbc8a276cc70014b38992e1e5927c909e5f046290904e9c46a36e7e920b4a0ea7dbc3e08bf78c1d7c01eb7140f5981f5d SHA512 4db1d8f6b08ce3af835cbc6232951a1fc6d5d8a5d63a713b33c70be1d587f1c4e6825fa3893e27056ab4635477444ebb5479add8825e3e50473833e586c0c397 diff --git a/dev-haskell/servant-server/metadata.xml b/dev-haskell/servant-server/metadata.xml index 937381521944..ed10557de666 100644 --- a/dev-haskell/servant-server/metadata.xml +++ b/dev-haskell/servant-server/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">servant-server</remote-id> + <remote-id type="github">haskell-servant/servant</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/servant-server/servant-server-0.20.ebuild b/dev-haskell/servant-server/servant-server-0.20.ebuild new file mode 100644 index 000000000000..178b133e31cc --- /dev/null +++ b/dev-haskell/servant-server/servant-server-0.20.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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A family of combinators for defining webservices APIs and serving them" +HOMEPAGE="https://docs.servant.dev/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.4.1.0:=[profile?] <dev-haskell/aeson-3:=[profile?] + >=dev-haskell/base-compat-0.10.5:=[profile?] <dev-haskell/base-compat-0.14:=[profile?] + >=dev-haskell/base64-bytestring-1.0.0.1:=[profile?] <dev-haskell/base64-bytestring-1.3:=[profile?] + >=dev-haskell/constraints-0.2:=[profile?] <dev-haskell/constraints-0.14:=[profile?] + >=dev-haskell/http-api-data-0.4.1:=[profile?] <dev-haskell/http-api-data-0.6:=[profile?] + >=dev-haskell/http-media-0.7.1.3:=[profile?] <dev-haskell/http-media-0.9:=[profile?] + >=dev-haskell/http-types-0.12.2:=[profile?] <dev-haskell/http-types-0.13:=[profile?] + >=dev-haskell/monad-control-1.0.2.3:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] + >=dev-haskell/network-2.8:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/network-uri-2.6.1.0:=[profile?] <dev-haskell/network-uri-2.8:=[profile?] + >=dev-haskell/resourcet-1.2.2:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + >=dev-haskell/servant-0.20:=[profile?] <dev-haskell/servant-0.21:=[profile?] + >=dev-haskell/sop-core-0.4.0.0:=[profile?] <dev-haskell/sop-core-0.6:=[profile?] + >=dev-haskell/string-conversions-0.4.0.1:=[profile?] <dev-haskell/string-conversions-0.5:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/transformers-base-0.4.5.2:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?] + >=dev-haskell/wai-3.2.2.1:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/wai-app-static-3.1.6.2:=[profile?] <dev-haskell/wai-app-static-3.2:=[profile?] + >=dev-haskell/warp-3.2.25:=[profile?] <dev-haskell/warp-3.4:=[profile?] + >=dev-haskell/word8-0.1.3:=[profile?] <dev-haskell/word8-0.2:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( >=dev-haskell/hspec-2.6.0 <dev-haskell/hspec-2.12 + >=dev-haskell/hspec-wai-0.10.1 <dev-haskell/hspec-wai-0.12 + >=dev-haskell/quickcheck-2.12.6.1 <dev-haskell/quickcheck-2.15 + dev-haskell/safe + >=dev-haskell/should-not-typecheck-2.1.0 <dev-haskell/should-not-typecheck-2.2 + >=dev-haskell/temporary-1.3 <dev-haskell/temporary-1.4 + dev-haskell/transformers-compat + >=dev-haskell/wai-extra-3.0.24.3 <dev-haskell/wai-extra-3.2 ) +" diff --git a/dev-haskell/servant/Manifest b/dev-haskell/servant/Manifest index 420af67170a0..c63b21440fad 100644 --- a/dev-haskell/servant/Manifest +++ b/dev-haskell/servant/Manifest @@ -1,2 +1,4 @@ DIST servant-0.19-rev4.cabal 5562 BLAKE2B 317773458ecb9ffae30c5f16a478d3587db7e5dec1f578e670af51e3a5b73d5212f08cea18a7826b337d54266e3bb68aaf7ef0097b0c684748db69a2fb924ec3 SHA512 6d9c75d7b598f57a523c4e4c8b3cf5c3fa14cd542007a178cca4b206708a07797e689a82169deba9a76ccf670ec51836ad61a8cef1212c7f3b5a056b12e91864 DIST servant-0.19.tar.gz 54480 BLAKE2B 0066fc21e6bcc1f572b20048e6fee85e093b15a292d4916fc0de39462f4ac5292aab1007eecdfd553ea37bcb4ce93f24f8180d9efe0c1a0be8a729971e36db6c SHA512 5f7a7a03e7cb1f729cf4265a767006b4d65dfadea878540df3ffb8347e1d2ff5d8faaa58a5e032535a489fd45e1da81dc9424c2d931b6d26adf156ee59f1c003 +DIST servant-0.20-rev1.cabal 5622 BLAKE2B 112493e257801317eee5f1341b2cc4d27262f5bb1ad48cad4bb983ccb47ad610fc3233af9deb8a944080ab47c2f9604ad3502e9c88dcf2ab81efb95116fa0a2d SHA512 f15582d6badf85eca1b0914d0ae0eb1b9a6e18bb4a5c2aa8c116e44b9aaf0c239fb30e7beef3c7616d4283e657c898ac01f6f0b34a14aa59f2f8d6caa393f628 +DIST servant-0.20.tar.gz 56212 BLAKE2B d2c9c2fe9b9dd0e6c6d5b4f1ef4ad5b14b101723052a6a7b3f9fd3517a902f04b05686ed9851567a108ecd6e175fde703902b226bcddeed9eeb71e55d1b2857c SHA512 fd87b30fa3f212104d354fdd52eb5813c2bf79dc2d36917312604c56c4e8d4bc48e373cc2ad6d648225300ecd130dbc50caacfefb567226312f01dcbce4456b0 diff --git a/dev-haskell/servant/metadata.xml b/dev-haskell/servant/metadata.xml index 937381521944..f7c1681a8eea 100644 --- a/dev-haskell/servant/metadata.xml +++ b/dev-haskell/servant/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">servant</remote-id> + <remote-id type="github">haskell-servant/servant</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/servant/servant-0.20.ebuild b/dev-haskell/servant/servant-0.20.ebuild new file mode 100644 index 000000000000..6203cb5108cf --- /dev/null +++ b/dev-haskell/servant/servant-0.20.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_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A family of combinators for defining webservices APIs" +HOMEPAGE="https://docs.servant.dev/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.4.1.0:=[profile?] <dev-haskell/aeson-3:=[profile?] + >=dev-haskell/attoparsec-0.13.2.2:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base-compat-0.10.5:=[profile?] <dev-haskell/base-compat-0.14:=[profile?] + >=dev-haskell/bifunctors-5.5.3:=[profile?] <dev-haskell/bifunctors-5.7:=[profile?] + >=dev-haskell/case-insensitive-1.2.0.11:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/constraints-0.2:=[profile?] + >=dev-haskell/http-api-data-0.4.1:=[profile?] <dev-haskell/http-api-data-0.6:=[profile?] + >=dev-haskell/http-media-0.7.1.3:=[profile?] <dev-haskell/http-media-0.9:=[profile?] + >=dev-haskell/http-types-0.12.2:=[profile?] <dev-haskell/http-types-0.13:=[profile?] + >=dev-haskell/mmorph-1.1.2:=[profile?] <dev-haskell/mmorph-1.3:=[profile?] + >=dev-haskell/network-uri-2.6.1.0:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] + >=dev-haskell/quickcheck-2.12.6.1:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/singleton-bool-0.1.4:=[profile?] <dev-haskell/singleton-bool-0.2:=[profile?] + >=dev-haskell/sop-core-0.4.0.0:=[profile?] <dev-haskell/sop-core-0.6:=[profile?] + >=dev-haskell/string-conversions-0.4.0.1:=[profile?] <dev-haskell/string-conversions-0.5:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/vault-0.3.1.2:=[profile?] <dev-haskell/vault-0.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2.6.0 <dev-haskell/hspec-2.12 + >=dev-haskell/quickcheck-instances-0.3.19 <dev-haskell/quickcheck-instances-0.4 ) +" diff --git a/dev-haskell/setenv/setenv-0.1.1.3.ebuild b/dev-haskell/setenv/setenv-0.1.1.3.ebuild index 506b51fbabb1..5319dd520b4c 100644 --- a/dev-haskell/setenv/setenv-0.1.1.3.ebuild +++ b/dev-haskell/setenv/setenv-0.1.1.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/setlocale/Manifest b/dev-haskell/setlocale/Manifest index 1f1983adf7fd..69105c7a04fd 100644 --- a/dev-haskell/setlocale/Manifest +++ b/dev-haskell/setlocale/Manifest @@ -1 +1,3 @@ +DIST setlocale-1.0.0.10-rev3.cabal 869 BLAKE2B 41f9149bb87fa917abf4341a16d0b9682471324775b5a9effab759f50c1f807b62a8a390c23bad908695c1d55b4b6851b8bdee9c2803408e4b420950a2a8740e SHA512 6d75abe8592182b03479bcd035f91474baa377e2eef713312a6b7974e6452b5f589282615f1a91f41cbe7ed5bc2eefabef1527d9b86fa4866a3c62245ea5afcd +DIST setlocale-1.0.0.10.tar.gz 2096 BLAKE2B 37451ba55f20e558dcdc766fca9f52dae0cda40ae48636ba780c6850a66c98c553d1ce2fab79d8691e424864e479c40680fe626065b67db5e8c2de02b5e2cf64 SHA512 ef05da7ed2acfa6f4b7acd988282d545897428272e5d5a9818563afc5138df32268f705946093ba33628ad42de2c19ed9cce139f0e1fa15e4a87c6cd18da02ef DIST setlocale-1.0.0.9.tar.gz 2098 BLAKE2B b12b847957807038da6fb7bb31a8a9dbeb55ce17062a3060ab66aae75d840f9fb44cfe51b3b2644361e457d21cca3f325e0bc09c6d453c5d28074efed56bd6c6 SHA512 32a0722c46b6db15b4566b78f418efe3c8a5d6e25181ebf275a47a68b12e4740479df6ef38070ec978eb109f5b1e2956262dcf4367869bec78dc41d6890632cd diff --git a/dev-haskell/setlocale/metadata.xml b/dev-haskell/setlocale/metadata.xml index fc72bbb2e26a..130b364c7328 100644 --- a/dev-haskell/setlocale/metadata.xml +++ b/dev-haskell/setlocale/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="bitbucket">IchUndNichtDu/haskell-setlocale</remote-id> + <remote-id type="hackage">setlocale</remote-id> + <remote-id type="gitlab">Kritzefitz/haskell-setlocale</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/setlocale/setlocale-1.0.0.10.ebuild b/dev-haskell/setlocale/setlocale-1.0.0.10.ebuild new file mode 100644 index 000000000000..4e056d4686db --- /dev/null +++ b/dev-haskell/setlocale/setlocale-1.0.0.10.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=3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Haskell bindings to setlocale" +HOMEPAGE="https://gitlab.com/Kritzefitz/haskell-setlocale/" + +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 +" diff --git a/dev-haskell/setlocale/setlocale-1.0.0.9.ebuild b/dev-haskell/setlocale/setlocale-1.0.0.9.ebuild index ce47d5bda171..a5c23639b2f2 100644 --- a/dev-haskell/setlocale/setlocale-1.0.0.9.ebuild +++ b/dev-haskell/setlocale/setlocale-1.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.9999 @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.16.0 " -src_prepare() { - default - - cabal_chdeps \ - 'base >=4.6 && <4.14' 'base >=4.6' -} +CABAL_CHDEPS=( + 'base >=4.6 && <4.14' 'base >=4.6' +) diff --git a/dev-haskell/shelly/Manifest b/dev-haskell/shelly/Manifest index 4f1c8ddb5d8b..4a9ca3c40042 100644 --- a/dev-haskell/shelly/Manifest +++ b/dev-haskell/shelly/Manifest @@ -1 +1,2 @@ +DIST shelly-1.12.1.tar.gz 75543 BLAKE2B db34e1a5e708192458e5d228b4758aa26812a3f547e39981754f8e3bb7af521c3887fde8e1b859a69b82edafc70be9979af30c918232a15e842f4e9894ed54ee SHA512 3917a03a23e61d5618f897f0ee90a4823980239252f260312ca86c7b364459c58749400e50a0f2ab78822c2eb6283891f993d2f31f0048a3cece19d5c565f05f DIST shelly-1.9.0.tar.gz 73344 BLAKE2B f12e8835be5dd648427ff92b73bc9a37215a47067e65456c4c3dc8e9c2e5bb610da171648aadf9759e9a91eb075fa74d06241f83977a5380f49bc861643707cc SHA512 7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254 diff --git a/dev-haskell/shelly/metadata.xml b/dev-haskell/shelly/metadata.xml index 42a79a9eb443..4894a131f231 100644 --- a/dev-haskell/shelly/metadata.xml +++ b/dev-haskell/shelly/metadata.xml @@ -5,29 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Shelly provides convenient systems programming in Haskell, - similar in spirit to POSIX shells. Shelly: - - * is aimed at convenience and getting things done rather than - being a demonstration of elegance. - - * has detailed and useful error messages - - * maintains its own environment, making it thread-safe. - - * is modern, using Text and system-filepath/system-fileio - - Shelly is originally forked from the Shellish package. - - See the shelly-extra package for additional functionality. - - An overview is available in the README: <https://github.com/yesodweb/Shelly.hs/blob/master/README.md> - </longdescription> - <upstream> - <remote-id type="github">gregwebs/Shelly.hs</remote-id> - </upstream> <use> <flag name="lifted">run the tests against Shelly.Lifted</flag> </use> + <upstream> + <remote-id type="hackage">shelly</remote-id> + <remote-id type="github">gregwebs/Shelly.hs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/shelly/shelly-1.12.1.ebuild b/dev-haskell/shelly/shelly-1.12.1.ebuild new file mode 100644 index 000000000000..b1b5c5236491 --- /dev/null +++ b/dev-haskell/shelly/shelly-1.12.1.ebuild @@ -0,0 +1,78 @@ +# 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: build-examples:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="shell-like (systems) programming in Haskell" +HOMEPAGE="https://github.com/gregwebs/Shelly.hs" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples lifted" + +RDEPEND=" + >=dev-haskell/async-2.2.3:=[profile?] + >=dev-haskell/enclosed-exceptions-1.0.1:=[profile?] + >=dev-haskell/lifted-async-0.10.2:=[profile?] + >=dev-haskell/lifted-base-0.2.3.2:=[profile?] + >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] + >=dev-haskell/text-1.2.3.1:=[profile?] + >=dev-haskell/transformers-base-0.4.5:=[profile?] + >=dev-haskell/unix-compat-0.4.1.1:=[profile?] <dev-haskell/unix-compat-0.8:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/hspec-2.2.2 + dev-haskell/hspec-contrib + >=dev-haskell/hunit-1.2.5.2 + ) +" + +example_exes=( + "drain" + "run-handles" + "Color" +) + +src_prepare() { + for e in "${example_exes[@]}"; do + export CABAL_CHDEPS=( + "${CABAL_CHDEPS[@]}" + "Executable ${e}" + "executable ${PN}-examples-${e}" + ) + done + + haskell-cabal_src_prepare +} + +src_configure() { + config_flags=( + $(cabal_flag examples build-examples) + $(cabal_flag lifted lifted) + ) + + haskell-cabal_src_configure "${config_flags[@]}" +} + +pkg_postinst() { + ghc-package_pkg_postinst + + elog "The following example executables installed with this package have been" + elog "renamed to help prevent name collisions:" + elog "" + + for e in "${example_exes[@]}"; do + elog "${e} -> ${PN}-examples-${e}" + done +} diff --git a/dev-haskell/shelly/shelly-1.9.0.ebuild b/dev-haskell/shelly/shelly-1.9.0.ebuild index 5b0950201489..03d0f05b45c7 100644 --- a/dev-haskell/shelly/shelly-1.9.0.ebuild +++ b/dev-haskell/shelly/shelly-1.9.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.9999 #hackport: flags: build-examples:examples diff --git a/dev-haskell/silently/Manifest b/dev-haskell/silently/Manifest index d8bd261ae1cc..0927f9627cf3 100644 --- a/dev-haskell/silently/Manifest +++ b/dev-haskell/silently/Manifest @@ -1 +1,2 @@ DIST silently-1.2.5.1.tar.gz 3358 BLAKE2B 2e7927bf663b015a52ef62266c07b30ad66e0bee2122b1a75faf9e13756e3e15bb2a15d16189d75fd9b46749ce0b1ffc66a76cb8e395e5639627356f9dab405c SHA512 1347a1da5082ca015ca609ef313ad04c253d12ab7b08f8f714b4c70282d3c01ba753f278bef4111fd8a0cc25bd3be37908b7e565d99d4b7c2a2fcc019febb8d6 +DIST silently-1.2.5.3.tar.gz 4430 BLAKE2B 1c3ee240e99684b1a83306885e8d567ad75e35158c2c41b0d4c897093e0d2344ec3367b84f2a3ed60efa6ff303d7b030d299acaa472c8811f3a016e65427eef7 SHA512 1b05420e363ec763c08fb3767cde9b8c701a418ccdfba9b19731d87650f180955ae8affb0298d923a24b7354340945f973fdebdba7d91ac7aeb2cd904820afdb diff --git a/dev-haskell/silently/metadata.xml b/dev-haskell/silently/metadata.xml index 3f11654fc374..1f043a22f0ca 100644 --- a/dev-haskell/silently/metadata.xml +++ b/dev-haskell/silently/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">trystan/silently</remote-id> + <remote-id type="hackage">silently</remote-id> + <remote-id type="github">hspec/silently</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/silently/silently-1.2.5.1.ebuild b/dev-haskell/silently/silently-1.2.5.1.ebuild index 98ff71631e70..aada80e79137 100644 --- a/dev-haskell/silently/silently-1.2.5.1.ebuild +++ b/dev-haskell/silently/silently-1.2.5.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 diff --git a/dev-haskell/silently/silently-1.2.5.3.ebuild b/dev-haskell/silently/silently-1.2.5.3.ebuild new file mode 100644 index 000000000000..e4021c430b0e --- /dev/null +++ b/dev-haskell/silently/silently-1.2.5.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Prevent or capture writing to stdout and other handles" +HOMEPAGE="https://github.com/hspec/silently" + +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/nanospec + dev-haskell/temporary + ) +" diff --git a/dev-haskell/simple-sendfile/Manifest b/dev-haskell/simple-sendfile/Manifest index 66dada28c6ec..51b46f059757 100644 --- a/dev-haskell/simple-sendfile/Manifest +++ b/dev-haskell/simple-sendfile/Manifest @@ -1 +1,2 @@ DIST simple-sendfile-0.2.28.tar.gz 343120 BLAKE2B fd6a5e083707e113fe4637ee8242b6036f813deec2ad2adf7d9e91338b4d15ef950d35e6cfc69be569601272f8beb12b823e4528d6a9933f3bc04533835f9240 SHA512 9a08d4ba26cd05b1fff3e72bd0846260d4c04921a5ca1f86258c61e51ee5ccf8e14dd2aea0bee44590572feba1832b2562b75b5f71f004c705f02cd0a0f000d1 +DIST simple-sendfile-0.2.30.tar.gz 343470 BLAKE2B ed9ef76782ed310207aa3a04c78b92c11eb3d25e2df934216feeedde29a5963d04b38832b5604e987dc4ca8b83ec653000cb7298761e13e96f477e7fb5767e7d SHA512 ae624939d54bf5ed8aa2c0727a29696730ba6b1d520f28bdc5b42a8e4c4bc03980821639fb8e16702a360dbd0396aea8a997055d22812bef3d22ffaaac53f759 diff --git a/dev-haskell/simple-sendfile/files/simple-sendfile-0.2.30-musl-1.2.4.patch b/dev-haskell/simple-sendfile/files/simple-sendfile-0.2.30-musl-1.2.4.patch new file mode 100644 index 000000000000..0dc669f7e697 --- /dev/null +++ b/dev-haskell/simple-sendfile/files/simple-sendfile-0.2.30-musl-1.2.4.patch @@ -0,0 +1,56 @@ +From c16550e29f6c6cbe35e133c347a82821fa67f284 Mon Sep 17 00:00:00 2001 +From: Violet Purcell <vimproved@inventati.org> +Date: Sun, 18 Jun 2023 21:52:42 +0000 +Subject: [PATCH] Fix build on musl 1.2.4 + +Remove references to the deprecated LFS64 compatibility symbols, and +replace them with the normal interfaces. All calls are automatically 64 +bit on musl, and define _FILE_OFFSET_BITS=64 to make sure calls on glibc +are 64 bits. +--- + Network/Sendfile/Linux.hsc | 15 +++------------ + 1 file changed, 3 insertions(+), 12 deletions(-) + +diff --git a/Network/Sendfile/Linux.hsc b/Network/Sendfile/Linux.hsc +index 4f7adab..96bfb04 100644 +--- a/Network/Sendfile/Linux.hsc ++++ b/Network/Sendfile/Linux.hsc +@@ -1,6 +1,8 @@ + {-# LANGUAGE ForeignFunctionInterface #-} + {-# LANGUAGE CPP #-} + ++#define _FILE_OFFSET_BITS 64 ++ + module Network.Sendfile.Linux ( + sendfile + , sendfile' +@@ -34,9 +36,6 @@ import System.Posix.Types + #include <sys/sendfile.h> + #include <sys/socket.h> + +-isLargeOffset :: Bool +-isLargeOffset = sizeOf (0 :: COff) == 8 +- + isLargeSize :: Bool + isLargeSize = sizeOf (0 :: CSize) == 8 + +@@ -142,15 +141,7 @@ sendfileloop dst src offp len hook = do + + -- Dst Src in order. take care + foreign import ccall unsafe "sendfile" +- c_sendfile32 :: Fd -> Fd -> Ptr COff -> CSize -> IO CSsize +- +-foreign import ccall unsafe "sendfile64" +- c_sendfile64 :: Fd -> Fd -> Ptr COff -> CSize -> IO CSsize +- +-c_sendfile :: Fd -> Fd -> Ptr COff -> CSize -> IO CSsize +-c_sendfile +- | isLargeOffset = c_sendfile64 +- | otherwise = c_sendfile32 ++ c_sendfile :: Fd -> Fd -> Ptr COff -> CSize -> IO CSsize + + ---------------------------------------------------------------- + +-- +2.41.0 + diff --git a/dev-haskell/simple-sendfile/metadata.xml b/dev-haskell/simple-sendfile/metadata.xml index 615151a0ab7e..382a399478bc 100644 --- a/dev-haskell/simple-sendfile/metadata.xml +++ b/dev-haskell/simple-sendfile/metadata.xml @@ -5,11 +5,6 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Cross platform library for the sendfile system call. - This library tries to call minimum system calls which - are the bottleneck of web servers. - </longdescription> <use> <flag name="allow-bsd">Allow use of BSD sendfile (disable on GNU/kFreeBSD)</flag> diff --git a/dev-haskell/simple-sendfile/simple-sendfile-0.2.28.ebuild b/dev-haskell/simple-sendfile/simple-sendfile-0.2.28.ebuild index 52fd65a4bbff..cb3de660fcc8 100644 --- a/dev-haskell/simple-sendfile/simple-sendfile-0.2.28.ebuild +++ b/dev-haskell/simple-sendfile/simple-sendfile-0.2.28.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/simple-sendfile/simple-sendfile-0.2.30-r1.ebuild b/dev-haskell/simple-sendfile/simple-sendfile-0.2.30-r1.ebuild new file mode 100644 index 000000000000..2e20703f9fe4 --- /dev/null +++ b/dev-haskell/simple-sendfile/simple-sendfile-0.2.30-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.6.3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Cross platform library for the sendfile system call" +HOMEPAGE="https://hackage.haskell.org/package/simple-sendfile" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+allow-bsd" + +RDEPEND="dev-haskell/network:=[profile?] + >=dev-lang/ghc-7.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.22.2.0 + test? ( dev-haskell/conduit + dev-haskell/conduit-extra + >=dev-haskell/hspec-1.3 + dev-haskell/hunit + dev-haskell/resourcet ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.30-musl-1.2.4.patch" +) + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag allow-bsd allow-bsd) +} diff --git a/dev-haskell/singleton-bool/Manifest b/dev-haskell/singleton-bool/Manifest index 29aa5b9a31e8..65e9ad557f19 100644 --- a/dev-haskell/singleton-bool/Manifest +++ b/dev-haskell/singleton-bool/Manifest @@ -1 +1,2 @@ DIST singleton-bool-0.1.5.tar.gz 3598 BLAKE2B 3825990751089e403b8056e6f8d39714b19a06dd895e422bc04c7539131d63435ac351971a400310c2ee63ae745203f64d8edbe93487557108d0e9a9ed158c80 SHA512 a2b70137f598026d0b330a5ee8265f07056e2073544f62b60cba7fec2345796f5b0d295536a536877bcb01439401047a026d8234531e27431e38701711d5df1a +DIST singleton-bool-0.1.7.tar.gz 3974 BLAKE2B 3552910a9a65bd00983e6b21265a03f3683f905dbe3d146df515ece7344ec8b36851bb06f0e5bc96fda74cde8ebdcaef6e01ef571645ecaa522f05debe1088c8 SHA512 b926b35fb82bf3d2f1bc216ce2e15e3a9908b4a39458c39f4b171282498fd6f645c3ef0c5b10c67f2ac93cab76d45be30a8ec2dfa36d52cdb263b25229d89d58 diff --git a/dev-haskell/singleton-bool/metadata.xml b/dev-haskell/singleton-bool/metadata.xml index 937381521944..f42b2a304541 100644 --- a/dev-haskell/singleton-bool/metadata.xml +++ b/dev-haskell/singleton-bool/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">singleton-bool</remote-id> + <remote-id type="github">phadej/singleton-bool</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/singleton-bool/singleton-bool-0.1.5-r1.ebuild b/dev-haskell/singleton-bool/singleton-bool-0.1.5-r1.ebuild index ee5df4b0fa05..898653281d56 100644 --- a/dev-haskell/singleton-bool/singleton-bool-0.1.5-r1.ebuild +++ b/dev-haskell/singleton-bool/singleton-bool-0.1.5-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.9999 @@ -25,8 +25,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.16.0 " -src_prepare() { - default - cabal_chdeps \ - 'base >=4.6 && <4.13' 'base >=4.6' -} +CABAL_CHDEPS=( + 'base >=4.6 && <4.13' 'base >=4.6' +) diff --git a/dev-haskell/singleton-bool/singleton-bool-0.1.7.ebuild b/dev-haskell/singleton-bool/singleton-bool-0.1.7.ebuild new file mode 100644 index 000000000000..804009abfd9b --- /dev/null +++ b/dev-haskell/singleton-bool/singleton-bool-0.1.7.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Type level booleans" +HOMEPAGE="https://github.com/phadej/singleton-bool#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/boring-0.2.1:=[profile?] <dev-haskell/boring-0.3:=[profile?] + >=dev-haskell/dec-0.0.5:=[profile?] <dev-haskell/dec-0.1:=[profile?] + >=dev-haskell/some-1.0.4:=[profile?] <dev-haskell/some-1.1:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/skein/skein-1.0.9.4.ebuild b/dev-haskell/skein/skein-1.0.9.4.ebuild index 932935ba7556..a3f1621a6ea0 100644 --- a/dev-haskell/skein/skein-1.0.9.4.ebuild +++ b/dev-haskell/skein/skein-1.0.9.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/skylighting-core/Manifest b/dev-haskell/skylighting-core/Manifest index 73d91b093d83..7e9136ec80c8 100644 --- a/dev-haskell/skylighting-core/Manifest +++ b/dev-haskell/skylighting-core/Manifest @@ -1 +1,2 @@ DIST skylighting-core-0.12.3.1.tar.gz 782536 BLAKE2B 21d908bd6f3584f7b4de91f5b61f06e9e0dffdeeb4f725f73520ae6bdfbdb482995a3453ba44db212e95585f8268aeb8535fb896f78707ab49c362675e605046 SHA512 85d005dc4fa6bf968f29a1721d669a310261052c68dbe889dc053400de751a8cda3a99a9aa7d19b3921fb81ea482637fd650140776d90207b876e639a736ef19 +DIST skylighting-core-0.14.tar.gz 864021 BLAKE2B 324b5f7e429c3f7c9ec01722c3243e811311b4d25fd3360252f84d391e981d31c5b9bfb20d1c26176a37aac0c4e6b345257e6d3135124f49f40ad38c5784e4a0 SHA512 7b1ae0160c656eb38b765b9d545b065aaa07bf02acddbf74bdff42914d74b07e556df7f33e67557870d4582a0f9e871b6f4ffad4cb17082ad91bb64e89569753 diff --git a/dev-haskell/skylighting-core/metadata.xml b/dev-haskell/skylighting-core/metadata.xml index 4bf934c17d91..0482b5459a92 100644 --- a/dev-haskell/skylighting-core/metadata.xml +++ b/dev-haskell/skylighting-core/metadata.xml @@ -6,20 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="executable">Build the skylighting executable.</flag> + <flag name="executable">Build skylighting-extract tool</flag> </use> - <longdescription> - Skylighting is a syntax highlighting library. - It derives its tokenizers from XML syntax - definitions used by KDE's KSyntaxHighlighting - framework, so any syntax supported by that - framework can be added. An optional command-line - program is provided. - Skylighting is intended to be the successor to - highlighting-kate. - This package provides the core highlighting - functionality under a permissive license. It also - bundles XML parser definitions licensed under the - GPL. - </longdescription> + <upstream> + <remote-id type="hackage">skylighting-core</remote-id> + <remote-id type="github">jgm/skylighting</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/skylighting-core/skylighting-core-0.14.ebuild b/dev-haskell/skylighting-core/skylighting-core-0.14.ebuild new file mode 100644 index 000000000000..b0dddfad41b1 --- /dev/null +++ b/dev-haskell/skylighting-core/skylighting-core-0.14.ebuild @@ -0,0 +1,46 @@ +# 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: +system-pcre + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RDEPEND=">=dev-haskell/aeson-1.0:=[profile?] + dev-haskell/attoparsec:=[profile?] + dev-haskell/base64-bytestring:=[profile?] + dev-haskell/case-insensitive:=[profile?] + >=dev-haskell/colour-2.0:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-haskell/xml-conduit-1.9.1.3:=[profile?] <dev-haskell/xml-conduit-1.10:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/diff + dev-haskell/pretty-show + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-golden + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) \ + --flag=system-pcre +} diff --git a/dev-haskell/skylighting-format-ansi/Manifest b/dev-haskell/skylighting-format-ansi/Manifest new file mode 100644 index 000000000000..0089f06b478c --- /dev/null +++ b/dev-haskell/skylighting-format-ansi/Manifest @@ -0,0 +1 @@ +DIST skylighting-format-ansi-0.1.tar.gz 5350 BLAKE2B fa766e78e71880b13bbd81727a1f96f0d9e027c1615a3e5a3868c5a2df1349e4d2e10bb8a5f07740fba7b25b59be7381035cdbefddb9c7a8157c421b9d986c95 SHA512 387af200df34dbd83854ee268a5fa4c157d803b8f766a6da4491b8f19faef88e226027d3906a8c72cab764e53cac12637b1c7ba11b6bbb318aa0ae4dd4910d37 diff --git a/dev-haskell/skylighting-format-ansi/metadata.xml b/dev-haskell/skylighting-format-ansi/metadata.xml new file mode 100644 index 000000000000..74050c5c598a --- /dev/null +++ b/dev-haskell/skylighting-format-ansi/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">skylighting-format-ansi</remote-id> + <remote-id type="github">jgm/skylighting</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/skylighting-format-ansi/skylighting-format-ansi-0.1.ebuild b/dev-haskell/skylighting-format-ansi/skylighting-format-ansi-0.1.ebuild new file mode 100644 index 000000000000..2b886fa847c6 --- /dev/null +++ b/dev-haskell/skylighting-format-ansi/skylighting-format-ansi-0.1.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" +inherit haskell-cabal + +DESCRIPTION="ANSI formatter for skylighting syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/ansi-terminal-0.7:=[profile?] + >=dev-haskell/colour-2.0:=[profile?] + dev-haskell/skylighting-core:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/skylighting-format-blaze-html/Manifest b/dev-haskell/skylighting-format-blaze-html/Manifest new file mode 100644 index 000000000000..811a745d658a --- /dev/null +++ b/dev-haskell/skylighting-format-blaze-html/Manifest @@ -0,0 +1 @@ +DIST skylighting-format-blaze-html-0.1.1.1.tar.gz 4853 BLAKE2B 686b68bb04bcc923e66a075fbcdb33ab746846c9e330f349cf550405f61f9808177facb25f5c96c4d79b300f18cba99245462b15663513d5cbf518f03de0e9b1 SHA512 0401468113e144890b28c214d28a1bee8bb3f74c67503add09539759f7bdd5860a07d1544965391c5dd68ef1f7e30bcf7880133859a7f6f92792fa0d3ea7c55a diff --git a/dev-haskell/skylighting-format-blaze-html/metadata.xml b/dev-haskell/skylighting-format-blaze-html/metadata.xml new file mode 100644 index 000000000000..eada8b70077b --- /dev/null +++ b/dev-haskell/skylighting-format-blaze-html/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">skylighting-format-blaze-html</remote-id> + <remote-id type="github">jgm/skylighting</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/skylighting-format-blaze-html/skylighting-format-blaze-html-0.1.1.1.ebuild b/dev-haskell/skylighting-format-blaze-html/skylighting-format-blaze-html-0.1.1.1.ebuild new file mode 100644 index 000000000000..0b60e2137a1b --- /dev/null +++ b/dev-haskell/skylighting-format-blaze-html/skylighting-format-blaze-html-0.1.1.1.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="HTML formatter for skylighting syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/blaze-html-0.5:=[profile?] + dev-haskell/skylighting-core:=[profile?] + dev-haskell/text:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-haskell/skylighting-format-context/Manifest b/dev-haskell/skylighting-format-context/Manifest new file mode 100644 index 000000000000..1d7ef1411467 --- /dev/null +++ b/dev-haskell/skylighting-format-context/Manifest @@ -0,0 +1 @@ +DIST skylighting-format-context-0.1.0.1.tar.gz 3154 BLAKE2B 6606345118dd3daf1deed31e5dc1bd8ea15c579d9a09c73b34e0e527bf0e00455b9fadd1a0dc92def840983300131b7a0bb2c1807fdf3c325a783cdeab33d37c SHA512 b582277924a32af40a96db0f561566b8766ffc622156823567fbec7a0515e33392afef26b8316359edf45beee5bf0da1884ae380a6a9eeb3a8ad0bec3379f3a6 diff --git a/dev-haskell/skylighting-format-context/metadata.xml b/dev-haskell/skylighting-format-context/metadata.xml new file mode 100644 index 000000000000..118ba6eb46bb --- /dev/null +++ b/dev-haskell/skylighting-format-context/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">skylighting-format-context</remote-id> + <remote-id type="github">jgm/skylighting</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/skylighting-format-context/skylighting-format-context-0.1.0.1.ebuild b/dev-haskell/skylighting-format-context/skylighting-format-context-0.1.0.1.ebuild new file mode 100644 index 000000000000..2df578868ddf --- /dev/null +++ b/dev-haskell/skylighting-format-context/skylighting-format-context-0.1.0.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.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="ConTeXt formatter for skylighting syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/skylighting-core:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/skylighting-format-latex/Manifest b/dev-haskell/skylighting-format-latex/Manifest new file mode 100644 index 000000000000..ef68f8a59a3e --- /dev/null +++ b/dev-haskell/skylighting-format-latex/Manifest @@ -0,0 +1 @@ +DIST skylighting-format-latex-0.1.tar.gz 3777 BLAKE2B f8e0b8deaa2652ee6423002148ee4c8153d119dec603c71f7217329d27d32c006a0504474ce55ce5e7caf3753091f63d92feac6ac55579cb4d0f1b5f7a3d2a92 SHA512 e73d7ea817e16af8c234c5260bce898ba22932641c7faa5891f902bde39be8f3faa02d2e5185b5f833747bfc57ad70aa9158b3b0c3231e10d795ff6e2be520a7 diff --git a/dev-haskell/skylighting-format-latex/metadata.xml b/dev-haskell/skylighting-format-latex/metadata.xml new file mode 100644 index 000000000000..bf343dc90530 --- /dev/null +++ b/dev-haskell/skylighting-format-latex/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">skylighting-format-latex</remote-id> + <remote-id type="github">jgm/skylighting</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/skylighting-format-latex/skylighting-format-latex-0.1.ebuild b/dev-haskell/skylighting-format-latex/skylighting-format-latex-0.1.ebuild new file mode 100644 index 000000000000..d76e9b6d6e10 --- /dev/null +++ b/dev-haskell/skylighting-format-latex/skylighting-format-latex-0.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="LaTeX formatter for skylighting syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/skylighting-core:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/skylighting/Manifest b/dev-haskell/skylighting/Manifest index 5cc5a60adb30..feed0d11c934 100644 --- a/dev-haskell/skylighting/Manifest +++ b/dev-haskell/skylighting/Manifest @@ -1 +1,2 @@ DIST skylighting-0.12.3.1.tar.gz 1218260 BLAKE2B 78f26d3477a6327a8e3c99f31ffe3c1d1b57c86730c06f715d8b2db9d267526bf3d0605639679fc38e4faff06e81edc3d2c9d85e7ce3c557b73f47ae8e81b999 SHA512 3eb93400612992d5aed828ebe0c1b76dbfbd7ec9cd0d0d667b524df51968997ffd429bfdbecbaa32a6108903872e119614b16f8aedf00eaf6d9a7b79ccb06c58 +DIST skylighting-0.14.tar.gz 1393626 BLAKE2B 884f990b77d38c71287486ec0c2d652bf408a21878b11cac071053616b78ea759e83cd8f4c54befdffb2d4b32dbd352e2adc5db20bfacb1209866e1992c645b1 SHA512 33d36f7181c0a6b94d3319707d6ea68199239a7699c18c6392e8ae49d97d7249f57f4d42a9fb09fa9df643268aa57b8e42e2204a6a002f8222ef00284dfd25d4 diff --git a/dev-haskell/skylighting/metadata.xml b/dev-haskell/skylighting/metadata.xml index 05c0818ed2d1..bd25baabc366 100644 --- a/dev-haskell/skylighting/metadata.xml +++ b/dev-haskell/skylighting/metadata.xml @@ -6,19 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="executable">Build the skylighting executable.</flag> + <flag name="executable">Whether to build the skylighting program</flag> </use> - <longdescription> - Skylighting is a syntax highlighting library with - support for over one hundred languages. It derives - its tokenizers from XML syntax definitions used - by KDE's KSyntaxHighlighting framework, so any - syntax supported by that framework can be added. - An optional command-line program is provided. - Skylighting is intended to be the successor to - highlighting-kate. - </longdescription> <upstream> + <remote-id type="hackage">skylighting</remote-id> <remote-id type="github">jgm/skylighting</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/skylighting/skylighting-0.14.ebuild b/dev-haskell/skylighting/skylighting-0.14.ebuild new file mode 100644 index 000000000000..a7b302f95c3b --- /dev/null +++ b/dev-haskell/skylighting/skylighting-0.14.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.4.0.9999 +#hackport: flags: -bootstrap,+system-pcre + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="syntax highlighting library" +HOMEPAGE="https://github.com/jgm/skylighting" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RDEPEND="~dev-haskell/skylighting-core-0.14:=[profile?] + >=dev-haskell/skylighting-format-ansi-0.1:=[profile?] <dev-haskell/skylighting-format-ansi-0.2:=[profile?] + >=dev-haskell/skylighting-format-blaze-html-0.1:=[profile?] <dev-haskell/skylighting-format-blaze-html-0.2:=[profile?] + >=dev-haskell/skylighting-format-context-0.1:=[profile?] <dev-haskell/skylighting-format-context-0.2:=[profile?] + >=dev-haskell/skylighting-format-latex-0.1:=[profile?] <dev-haskell/skylighting-format-latex-0.2:=[profile?] + >=dev-lang/ghc-8.10.6:= + executable? ( >=dev-haskell/blaze-html-0.5:=[profile?] + dev-haskell/pretty-show:=[profile?] + dev-haskell/text:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-bootstrap \ + $(cabal_flag executable executable) \ + --flag=system-pcre +} diff --git a/dev-haskell/smallcheck/Manifest b/dev-haskell/smallcheck/Manifest index 651cb217516b..542c73011ebd 100644 --- a/dev-haskell/smallcheck/Manifest +++ b/dev-haskell/smallcheck/Manifest @@ -1 +1,2 @@ DIST smallcheck-1.2.0.tar.gz 19047 BLAKE2B 4ecd56b2e0680b4d4e7f80c1c13b9a3a621cae32ec4a8d0605c57fb2bc4882df5f3df05068caf76644286ccd4345fd49f26a73b81f399ca19d1e2200acf0912f SHA512 97c021f3efd6541de99854cb2e8511d4af17225cbcbe17ddfb2efd011d75bd10114b7c8312532bd1c5516e2980b7ad03feb571ec26b91f7258f43460c7bc39a8 +DIST smallcheck-1.2.1.tar.gz 18932 BLAKE2B df248fb94e06eccc1d95ca168a47ecc7ac2853b889b3e778ee36843e5f76caa14dc90182b228610c7a3a24993bb8464ad2ff80f33aa95725b125d54d7b59f6f2 SHA512 42706fb769423bd7f8c2fe7a52d23b8cb4a22bfaabf43b8c29db2923c6413191158801e43d5597258f42ce2430ec81546d172d90246c9d3cf0f9343694eb5eeb diff --git a/dev-haskell/smallcheck/metadata.xml b/dev-haskell/smallcheck/metadata.xml index a79f1b7f78af..937381521944 100644 --- a/dev-haskell/smallcheck/metadata.xml +++ b/dev-haskell/smallcheck/metadata.xml @@ -5,13 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - SmallCheck is similar to QuickCheck (Claessen and Hughes 2000-) but - instead of testing for a sample of randomly generated values, SmallCheck - tests properties for all the finitely many values up to some depth, - progressively increasing the depth used. - </longdescription> - <upstream> - <remote-id type="github">feuerbach/smallcheck</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/smallcheck/smallcheck-1.2.0.ebuild b/dev-haskell/smallcheck/smallcheck-1.2.0.ebuild index a144b8349f6c..af2f2cb6e783 100644 --- a/dev-haskell/smallcheck/smallcheck-1.2.0.ebuild +++ b/dev-haskell/smallcheck/smallcheck-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.5.9999 diff --git a/dev-haskell/smallcheck/smallcheck-1.2.1.ebuild b/dev-haskell/smallcheck/smallcheck-1.2.1.ebuild new file mode 100644 index 000000000000..439d74f19d08 --- /dev/null +++ b/dev-haskell/smallcheck/smallcheck-1.2.1.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A property-based testing library" +HOMEPAGE="https://github.com/Bodigrim/smallcheck" +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/logict:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/nats:=[profile?] + dev-haskell/semigroups:=[profile?] + dev-haskell/void:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/socks/socks-0.6.1.ebuild b/dev-haskell/socks/socks-0.6.1.ebuild index 7ac34010c291..0b1614ba5f7d 100644 --- a/dev-haskell/socks/socks-0.6.1.ebuild +++ b/dev-haskell/socks/socks-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.1.9999 diff --git a/dev-haskell/some/Manifest b/dev-haskell/some/Manifest new file mode 100644 index 000000000000..1a6a770766d0 --- /dev/null +++ b/dev-haskell/some/Manifest @@ -0,0 +1 @@ +DIST some-1.0.5.tar.gz 10917 BLAKE2B 3acf2a7fc75466a343f0d6030b7d5357de0a351b64f50556dab65ac618d1c3eaac6f5f2128f1c1a4becf11d45f70bee00f0214f79aa0495f2c309d13381b0bef SHA512 17b316d074c1afb755440c0284bb40e0f2ad9229ff10f991c28259786f97d214d271a05d1b603ccccbaab1e9fe6523091293773d14529bd5622c2f71e30d8763 diff --git a/dev-haskell/some/metadata.xml b/dev-haskell/some/metadata.xml new file mode 100644 index 000000000000..e9b6d1f84d77 --- /dev/null +++ b/dev-haskell/some/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="newtype-unsafe">Use implementation using @newtype@ and unsafe @Any@, instead of GADT</flag> + </use> + <upstream> + <remote-id type="hackage">some</remote-id> + <remote-id type="github">haskellari/some</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/some/some-1.0.5.ebuild b/dev-haskell/some/some-1.0.5.ebuild new file mode 100644 index 000000000000..e5083536c7cc --- /dev/null +++ b/dev-haskell/some/some-1.0.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="Existential type: Some" +HOMEPAGE="https://github.com/haskellari/some" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+newtype-unsafe" + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag newtype-unsafe newtype-unsafe) +} diff --git a/dev-haskell/sop-core/sop-core-0.5.0.2.ebuild b/dev-haskell/sop-core/sop-core-0.5.0.2.ebuild index f75f79c6f412..62b32628feaa 100644 --- a/dev-haskell/sop-core/sop-core-0.5.0.2.ebuild +++ b/dev-haskell/sop-core/sop-core-0.5.0.2.ebuild @@ -22,8 +22,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 " -src_prepare() { - default - cabal_chdeps \ - 'base >= 4.9 && < 4.17' 'base >= 4.9' -} +CABAL_CHDEPS=( + 'base >= 4.9 && < 4.17' 'base >= 4.9' +) diff --git a/dev-haskell/split/Manifest b/dev-haskell/split/Manifest index dbb1d74cc5e1..0a9da7763ad1 100644 --- a/dev-haskell/split/Manifest +++ b/dev-haskell/split/Manifest @@ -1 +1,2 @@ DIST split-0.2.3.4.tar.gz 15942 BLAKE2B a4133badeadcf172901756f23e73490dfc4dce5ac7dda348fc38e4d33c43edb0509262e16b88d5d81e192a5c3d842e3fd3e2c8c135607b2a19efd9d48715d45f SHA512 a60566106a5f285224b0d555d30b2af3315c707012f5c8e9384d4b8216894e6a6263e838b0e367418c4f8bfb5f4f2cc056ca14acb6b27a5ca3446576b057ca15 +DIST split-0.2.3.5.tar.gz 15746 BLAKE2B 2b96d16dd6128447d2f082930973e17d105515610e66ff2f8afbd0e92aa60b9836520240f0ba1d7b030a2e544ef0eba6ace6d87f430601dee270da0a1799082a SHA512 a88ff185d0e3ae4908911b70475831baa01ba6cce74fe187ed47dccb28a06b83ca9ec03fa980b77aced75c38fa1dede5166c839c3bfd7f30585ae9b45157a8b9 diff --git a/dev-haskell/split/metadata.xml b/dev-haskell/split/metadata.xml index 937381521944..0844e8f6396e 100644 --- a/dev-haskell/split/metadata.xml +++ b/dev-haskell/split/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">split</remote-id> + <remote-id type="github">byorgey/split</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/split/split-0.2.3.4.ebuild b/dev-haskell/split/split-0.2.3.4.ebuild index 6c4a8a088cdd..d220535d29ce 100644 --- a/dev-haskell/split/split-0.2.3.4.ebuild +++ b/dev-haskell/split/split-0.2.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.4 @@ -24,9 +24,6 @@ DEPEND="${RDEPEND} test? ( >=dev-haskell/quickcheck-2.4 ) " -src_prepare() { - default - - cabal_chdeps \ - 'base < 4.15' 'base < 5' -} +CABAL_CHDEPS=( + 'base < 4.15' 'base < 5' +) diff --git a/dev-haskell/split/split-0.2.3.5.ebuild b/dev-haskell/split/split-0.2.3.5.ebuild new file mode 100644 index 000000000000..53a618932e4d --- /dev/null +++ b/dev-haskell/split/split-0.2.3.5.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="Combinator library for splitting lists" +HOMEPAGE="https://hackage.haskell.org/package/split" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~ppc-macos" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/quickcheck-2.4 ) +" diff --git a/dev-haskell/splitmix/Manifest b/dev-haskell/splitmix/Manifest index b67e7c5f0d28..fa1b5e7322e8 100644 --- a/dev-haskell/splitmix/Manifest +++ b/dev-haskell/splitmix/Manifest @@ -1 +1,3 @@ DIST splitmix-0.1.0.3.tar.gz 20754 BLAKE2B b9eecbdc2f05361aaa852afd8f6b0c6ca220b2d09e0a0d598796636ace0f995c39defb6d84c6c3ed1bba2e3822ef1bf48f2f34d5ac4406031c4ae5b6cf6d0824 SHA512 22a3f0759e1c1150aabde01a77b48087509dfc7ff9614e97e5e06af73f533170993ff2e18101d940e7ddba81b8d6e496795be3851fccfa07b75e9d922f325064 +DIST splitmix-0.1.0.4-rev2.cabal 6537 BLAKE2B ca7d01b9fd1f16d89699e6cd024096bccd39b0ef370726c37b016ce3c3da7db9231e6cea2313d9fc2e91b046e9dd65d24c85139ce598495d055a2e90d98c6dff SHA512 7c23b28ed7af57c7c08c286da9a8de7cb2d4e24f9bea0b36a5c0235e2f8e2e9a25fd23af1792b726780822ae27cc89c0143158693acc5f916106a6ceb40cd2ed +DIST splitmix-0.1.0.4.tar.gz 22382 BLAKE2B 1a6636790bae725410cb3b7c75cf0b24f1e0669b399248d9236d7f7d22547229f3cb05d61d1b6f66bb4cb9ca15a1c11f1143797b5de5c88e81315aff9309dc55 SHA512 9a5cbe8100d44fadeb8bf009b03b1770d6b86ef0f71d625e3fb909881d599f4122833647c13a78152369e2744327d5c3f8b552fdc6a47d2705891ca6331c268e diff --git a/dev-haskell/splitmix/metadata.xml b/dev-haskell/splitmix/metadata.xml index 80f38d62e4f5..5dfa6c440d86 100644 --- a/dev-haskell/splitmix/metadata.xml +++ b/dev-haskell/splitmix/metadata.xml @@ -8,28 +8,8 @@ <use> <flag name="optimised-mixer">Use JavaScript for mix32</flag> </use> - <longdescription> - Pure Haskell implementation of SplitMix described in - - Guy L. Steele, Jr., Doug Lea, and Christine H. Flood. 2014. - Fast splittable pseudorandom number generators. In Proceedings - of the 2014 ACM International Conference on Object Oriented - Programming Systems Languages & Applications (OOPSLA '14). ACM, - New York, NY, USA, 453-472. DOI: - <https://doi.org/10.1145/2660193.2660195> - - The paper describes a new algorithm /SplitMix/ for /splittable/ - pseudorandom number generator that is quite fast: 9 64 bit arithmetic/logical - operations per 64 bits generated. - - /SplitMix/ is tested with two standard statistical test suites (DieHarder and - TestU01, this implementation only using the former) and it appears to be - adequate for "everyday" use, such as Monte Carlo algorithms and randomized - data structures where speed is important. - - In particular, it __should not be used for cryptographic or security applications__, - because generated sequences of pseudorandom values are too predictable - (the mixing functions are easily inverted, and two successive outputs - suffice to reconstruct the internal state). - </longdescription> + <upstream> + <remote-id type="hackage">splitmix</remote-id> + <remote-id type="github">haskellari/splitmix</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/splitmix/splitmix-0.1.0.3.ebuild b/dev-haskell/splitmix/splitmix-0.1.0.3.ebuild index 8ed8dbdc5d1a..f1ab5b1ff80f 100644 --- a/dev-haskell/splitmix/splitmix-0.1.0.3.ebuild +++ b/dev-haskell/splitmix/splitmix-0.1.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/splitmix/splitmix-0.1.0.4.ebuild b/dev-haskell/splitmix/splitmix-0.1.0.4.ebuild new file mode 100644 index 000000000000..48d360d55c5c --- /dev/null +++ b/dev-haskell/splitmix/splitmix-0.1.0.4.ebuild @@ -0,0 +1,52 @@ +# 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_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Fast Splittable PRNG" +HOMEPAGE="https://hackage.haskell.org/package/splitmix" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="optimised-mixer" + +RDEPEND=" + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + >=dev-haskell/async-2.2.1 <dev-haskell/async-2.3 + >=dev-haskell/base-compat-0.11.1 <dev-haskell/base-compat-0.13 + >=dev-haskell/base-compat-batteries-0.10.5 <dev-haskell/base-compat-batteries-0.13 + >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 + >=dev-haskell/math-functions-0.3.3.0 <dev-haskell/math-functions-0.4 + || ( dev-lang/ghc ( >=dev-haskell/process-1.0.1.5 <dev-haskell/process-1.7 ) ) + dev-haskell/random + >=dev-haskell/test-framework-0.8.2.0 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.3.0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/tf-random-0.5 <dev-haskell/tf-random-0.6 + >=dev-haskell/vector-0.11.0.0 <dev-haskell/vector-0.13 + ) +" + +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 \ + $(cabal_flag optimised-mixer optimised-mixer) +} diff --git a/dev-haskell/statevar/Manifest b/dev-haskell/statevar/Manifest index 2d30ef76a040..072a384fd59e 100644 --- a/dev-haskell/statevar/Manifest +++ b/dev-haskell/statevar/Manifest @@ -1 +1,2 @@ DIST StateVar-1.2.1.tar.gz 5055 BLAKE2B 45a9e509deec9988debdf906bfcb3f3fcd04fbd42326ea5eb74b697fa761d2d4a696c84deb0d5634aac0a4d57af3ef56cf612b343afb53f00c2eec4b96d53801 SHA512 867e38b309a0cbb5a3aac1183b6388aab6e546cda799b0668f3e9534556df4b73558295a706b2859c1edb20e89dac7bf8c4f04f839d40ede2c36a2ae7eab6259 +DIST statevar-1.2.2.tar.gz 5048 BLAKE2B 937617e283038101ef8dea2ec62ba77af2f34868b99bbb41241fd07a897d51d31238eaae688239cc0b560d39f34873eeed9226e96b09d659350337e8dfd2ce02 SHA512 d4330b43471ed73e2c70e0686575f7987f617ae1c03d9d5b0ea89d5ec55be2470b6d917e4ecc6d52c4d46fc8afbeea16194667815ce0bbecb1f637d7277f86e6 diff --git a/dev-haskell/statevar/metadata.xml b/dev-haskell/statevar/metadata.xml index 55a9b1c8d820..a03fe8b48850 100644 --- a/dev-haskell/statevar/metadata.xml +++ b/dev-haskell/statevar/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package contains state variables, which are references in the IO monad, - like IORefs or parts of the OpenGL state. - </longdescription> <upstream> + <remote-id type="hackage">StateVar</remote-id> <remote-id type="github">haskell-opengl/StateVar</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/statevar/statevar-1.2.1.ebuild b/dev-haskell/statevar/statevar-1.2.1.ebuild index 391dc622e757..6bbe236e9dd6 100644 --- a/dev-haskell/statevar/statevar-1.2.1.ebuild +++ b/dev-haskell/statevar/statevar-1.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 diff --git a/dev-haskell/statevar/statevar-1.2.2.ebuild b/dev-haskell/statevar/statevar-1.2.2.ebuild new file mode 100644 index 000000000000..be0ecb11ce35 --- /dev/null +++ b/dev-haskell/statevar/statevar-1.2.2.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_PN="StateVar" + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="State variables" +HOMEPAGE="https://github.com/haskell-opengl/StateVar" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/stm-2.3.0.1:=[profile?] <dev-haskell/stm-2.6:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/statistics/Manifest b/dev-haskell/statistics/Manifest index 09182e1159e1..4c1216e28321 100644 --- a/dev-haskell/statistics/Manifest +++ b/dev-haskell/statistics/Manifest @@ -1 +1,2 @@ DIST statistics-0.15.2.0.tar.gz 98424 BLAKE2B 36a1b59e7db9e20ee9960f89794c2222ac8db7fa40f44b166e2d92a501b44d8d5ec06bab96b9e89bb7417852a98890bdf140f3b1a7fb27f0e034490615d84131 SHA512 7afa3e3edb15e02ff59c72601175d25f1a8baeaa1dd8561322e8e26781dbfbfcc03b2ade773269bab027d7399375f01595145fd2e2f252f3e73abc87f9baed41 +DIST statistics-0.16.2.0.tar.gz 107609 BLAKE2B c5a5fe29ec68600ecf5d15855537672432ba09edff26a36387224d1e295cbd6a57a6025b2774f47fd56c9809f4b8b1889bf7aa1240d83eecb4a4d82933ca6223 SHA512 934928e5f8f4f38fe1755a5d16d9a4653401a983d86b2f0fc7f9d4ba90b0b05cf19caec2f4e48874fc7995450a016fa9b45dadc0d6316807fbf19ed75d14c38b diff --git a/dev-haskell/statistics/metadata.xml b/dev-haskell/statistics/metadata.xml index 8085f8ca3142..e25f1d14aa33 100644 --- a/dev-haskell/statistics/metadata.xml +++ b/dev-haskell/statistics/metadata.xml @@ -5,101 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library provides a number of common functions and types useful - in statistics. We focus on high performance, numerical robustness, - and use of good algorithms. Where possible, we provide - references to the statistical literature. - - The library's facilities can be divided into four broad categories: - - * Working with widely used discrete and continuous probability - distributions. (There are dozens of exotic distributions in use; - we focus on the most common.) - - * Computing with sample data: quantile estimation, kernel density - estimation, histograms, bootstrap methods, significance testing, - and autocorrelation analysis. - - * Random variate generation under several different distributions. - - * Common statistical tests for significant differences between - samples. - - Changes in 0.10.0.0: - - * The type classes @Mean@ and @Variance@ are split in two. This is - required for distributions which do not have finite variance or - mean. - - * The @S.Sample.KernelDensity@ module has been renamed, and - completely rewritten to be much more robust. The older module - oversmoothed multi-modal data. (The older module is still - available under the name @S.Sample.KernelDensity.Simple@). - - * Histogram computation is added, in @S.Sample.Histogram@. - - * Forward and inverse discrete Fourier and cosine transforms are - added, in @S.Transform@. - - * Root finding is added, in @S.Math.RootFinding@. - - * The @complCumulative@ function is added to the @Distribution@ - class in order to accurately assess probalities P(X>x) which are - used in one-tailed tests. - - * A @stdDev@ function is added to the @Variance@ class for - distributions. - - * The constructor @S.Distribution.normalDistr@ now takes standard - deviation instead of variance as its parameter. - - * A bug in @S.Quantile.weightedAvg@ is fixed. It produced a wrong - answer if a sample contained only one element. - - * Bugs in quantile estimations for chi-square and gamma distribution - are fixed. - - * Integer overlow in @mannWhitneyUCriticalValue@ is fixed. It - produced incorrect critical values for moderately large - samples. Something around 20 for 32-bit machines and 40 for 64-bit - ones. - - * A bug in @mannWhitneyUSignificant@ is fixed. If either sample was - larger than 20, it produced a completely incorrect answer. - - * One- and two-tailed tests in @S.Tests.NonParametric@ are selected - with sum types instead of @Bool@. - - * Test results returned as enumeration instead of @Bool@. - - * Performance improvements for Mann-Whitney U and Wilcoxon tests. - - * Module @S.Tests.NonParamtric@ is split into @S.Tests.MannWhitneyU@ - and @S.Tests.WilcoxonT@ - - * @sortBy@ is added to @S.Function@. - - * Mean and variance for gamma distribution are fixed. - - * Much faster cumulative probablity functions for Poisson and - hypergeometric distributions. - - * Better density functions for gamma and Poisson distributions. - - * Student-T, Fisher-Snedecor F-distributions and Cauchy-Lorentz - distrbution are added. - - * The function @S.Function.create@ is removed. Use @generateM@ from - the @vector@ package instead. - - * Function to perform approximate comparion of doubles is added to - @S.Function.Comparison@ - - * Regularized incomplete beta function and its inverse are added to - @S.Function@. - </longdescription> <upstream> - <remote-id type="github">bos/statistics</remote-id> + <remote-id type="hackage">statistics</remote-id> + <remote-id type="github">haskell/statistics</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/statistics/statistics-0.15.2.0.ebuild b/dev-haskell/statistics/statistics-0.15.2.0.ebuild index fea6d4f6ea69..5c22ef2c859e 100644 --- a/dev-haskell/statistics/statistics-0.15.2.0.ebuild +++ b/dev-haskell/statistics/statistics-0.15.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.3 diff --git a/dev-haskell/statistics/statistics-0.16.2.0.ebuild b/dev-haskell/statistics/statistics-0.16.2.0.ebuild new file mode 100644 index 000000000000..d9f0ecac3978 --- /dev/null +++ b/dev-haskell/statistics/statistics-0.16.2.0.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="A library of statistical types, data, and functions" +HOMEPAGE="https://github.com/haskell/statistics" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # likes to fail under a load + +RDEPEND=">=dev-haskell/aeson-0.6.0.0:=[profile?] + >=dev-haskell/async-2.2.2:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/data-default-class-0.1.2:=[profile?] + >=dev-haskell/dense-linear-algebra-0.1:=[profile?] <dev-haskell/dense-linear-algebra-0.2:=[profile?] + >=dev-haskell/math-functions-0.3.4.1:=[profile?] + >=dev-haskell/mwc-random-0.15.0.0:=[profile?] + >=dev-haskell/parallel-3.2.2.0:=[profile?] <dev-haskell/parallel-3.3:=[profile?] + >=dev-haskell/primitive-0.3:=[profile?] + >=dev-haskell/random-1.2:=[profile?] + >=dev-haskell/vector-0.10:=[profile?] + >=dev-haskell/vector-algorithms-0.4:=[profile?] + >=dev-haskell/vector-binary-instances-0.2.1:=[profile?] + dev-haskell/vector-th-unbox:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/erf + >=dev-haskell/ieee754-0.7.3 + >=dev-haskell/quickcheck-2.7.5 + dev-haskell/tasty + dev-haskell/tasty-expected-failure + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/stm-chans/stm-chans-3.0.0.4.ebuild b/dev-haskell/stm-chans/stm-chans-3.0.0.4.ebuild index db36c372bf4f..7bf5b2d8bfbe 100644 --- a/dev-haskell/stm-chans/stm-chans-3.0.0.4.ebuild +++ b/dev-haskell/stm-chans/stm-chans-3.0.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/stm/Manifest b/dev-haskell/stm/Manifest index d50f85b5ee94..23f180d2f8eb 100644 --- a/dev-haskell/stm/Manifest +++ b/dev-haskell/stm/Manifest @@ -1 +1,3 @@ DIST stm-2.5.0.1.tar.gz 15393 BLAKE2B 3992741861945f22fcfa21333f24dc187b099963eb9a9776451d24ebe85ca65b2c141da8dbfc784342c0c3c2b4c2ffac7affc847ce14fa73519bbdad5c8924b7 SHA512 631de1102c405af879ecf7b2fe1affbac80158f04e1d16b9e83ebbdccb915e9472ddb654048bad2bfbd9831e7ab76b6e7e295743abe2a32bf1e5459703b8cc0b +DIST stm-2.5.0.2-rev1.cabal 2314 BLAKE2B 2d8f9ef6a3cd81d3e993cbddfb17bbcd53704697aea82ff91c1dd70984435b5e7f99c1c9118f295b1f3111eacd34d44085fe26396b297c3d38ad9c6a683458b0 SHA512 f0f64d4476c7cfe5c4893f5b396f2f7e4884f2a7bccd6116868af6ee55591c78ea99ffcdb2b7a3c31bd2ab5d36bc59dfe6fc8e35ea053c4952033446dbe07aaf +DIST stm-2.5.0.2.tar.gz 15638 BLAKE2B 3a4167ae2a879128446e1e070341090dbe57f25956be587be5d56f51940c497cb6f12001dbe3a40b453e3fe4ccb1f520029efb53d04f46ab1eda93aab443c2fd SHA512 7fb91df2ab931437ad05956f7a06f8032c3f930f00325b6ecac4363da9334008424cd63fb14e8bc2cb6cf9ed3c2da240afef8c2d6e7faa1e3d314a3145092c4e diff --git a/dev-haskell/stm/metadata.xml b/dev-haskell/stm/metadata.xml index c7bb0e775ab0..ff92e67e5ed6 100644 --- a/dev-haskell/stm/metadata.xml +++ b/dev-haskell/stm/metadata.xml @@ -1,7 +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> -</maintainer> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">stm</remote-id> + <remote-id type="github">haskell/stm</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/stm/stm-2.5.0.1.ebuild b/dev-haskell/stm/stm-2.5.0.1-r1.ebuild index 3de39ce0d6b0..338682e39688 100644 --- a/dev-haskell/stm/stm-2.5.0.1.ebuild +++ b/dev-haskell/stm/stm-2.5.0.1-r1.ebuild @@ -3,21 +3,21 @@ EAPI=8 -# ebuild generated by hackport 0.6.7.9999 +# ebuild generated by hackport 0.8.0.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Software Transactional Memory" HOMEPAGE="https://wiki.haskell.org/Software_transactional_memory" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -# keep in sync with ghc-8.10.5 +# 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-8.4.3:= +RDEPEND=" + >=dev-lang/ghc-8.10.6:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 diff --git a/dev-haskell/stm/stm-2.5.0.2-r1.ebuild b/dev-haskell/stm/stm-2.5.0.2-r1.ebuild new file mode 100644 index 000000000000..a92a400afac7 --- /dev/null +++ b/dev-haskell/stm/stm-2.5.0.2-r1.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.8.0.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Software Transactional Memory" +HOMEPAGE="https://wiki.haskell.org/Software_transactional_memory" + +LICENSE="BSD" +SLOT="0/${PV}" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-lang/ghc-9.2.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +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/streaming-commons/Manifest b/dev-haskell/streaming-commons/Manifest index 9775c25112b7..f4f4a82f11ae 100644 --- a/dev-haskell/streaming-commons/Manifest +++ b/dev-haskell/streaming-commons/Manifest @@ -1 +1,2 @@ DIST streaming-commons-0.2.2.4.tar.gz 84330 BLAKE2B 08b729471b3fdc9c5508ffca0e9ce52f38a33b25855f027ae5924e28387e80b369e8c41a33fae49bbb6d5845985954377c2067d56b26995336faa51cb792f83d SHA512 e552bba766e5b816cbd448d1cec86c5c7593f3f13c6da42c74ebf2c9698be3a3174dd922cf70de1b4940b53e580f396a51cebff6b62db305fb0fb48a5c7658bb +DIST streaming-commons-0.2.2.5.tar.gz 84415 BLAKE2B 0dfe677b3d07e1d125d6b7cd0d55f4e916323b9f9e86a167eb57cd1d149d33b7a860e315ae271efb8a1ba432b9d7c48434151e9cb806f1f77eb286b81e99a115 SHA512 e2e5f401af9c8eefe37596015f8af42225daaf7f0134add1a375b54e30e5b87212943bfa5da3e2f46953eb6942f3efe753e4565e52eb5ba45fef90743708c89d diff --git a/dev-haskell/streaming-commons/metadata.xml b/dev-haskell/streaming-commons/metadata.xml index 2d85b0b0ac8c..93054479d7ec 100644 --- a/dev-haskell/streaming-commons/metadata.xml +++ b/dev-haskell/streaming-commons/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides low-dependency functionality commonly needed by various streaming data libraries, such as conduit and pipes. - </longdescription> <upstream> + <remote-id type="hackage">streaming-commons</remote-id> <remote-id type="github">fpco/streaming-commons</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/streaming-commons/streaming-commons-0.2.2.5.ebuild b/dev-haskell/streaming-commons/streaming-commons-0.2.2.5.ebuild new file mode 100644 index 000000000000..a923bb975e81 --- /dev/null +++ b/dev-haskell/streaming-commons/streaming-commons-0.2.2.5.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.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Common lower-level functions needed by various streaming data libraries" +HOMEPAGE="https://github.com/fpco/streaming-commons" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-haskell/async:=[profile?] + >=dev-haskell/network-2.4.0.0:=[profile?] + || ( dev-lang/ghc dev-haskell/process[profile?] ) + dev-haskell/random:=[profile?] + dev-haskell/stm:=[profile?] + dev-haskell/zlib:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( + >=dev-haskell/hspec-1.8 + dev-haskell/quickcheck + ) +" diff --git a/dev-haskell/strict/Manifest b/dev-haskell/strict/Manifest index 44eea7fb4677..f016b51ca97d 100644 --- a/dev-haskell/strict/Manifest +++ b/dev-haskell/strict/Manifest @@ -1,2 +1,3 @@ DIST strict-0.4.0.1.cabal 4187 BLAKE2B 23e7e19b4688a29ee88ee126b7b8d6a7b0176e49bb1ede058690c5ede987f414461a9335a6d5f2f82fc3db46e7c2a62c1773fa6933edd52ed5f09352a2744357 SHA512 f9c98f54d281905ba6f35df31344a4d210a091def005f076f8f613397dc2fb662199f85159a8b513ff1cb28fcc2ccce31449cb51c3cff476232bb43642587621 DIST strict-0.4.0.1.tar.gz 12488 BLAKE2B f652ffa4778d2ed50917730848d469f4a6a3ed2ba0973ccc929891c59b7edecf6492cce807eb5bbc3188f4d21799193e43f3fb34b6230f4da1860d31315b153f SHA512 e0c37396fa507ad4d03e46ce4a02ec5bacbd7add75ca551433671871d3e7dde0eb0c620182904d1bdeb7b80e1b311a70f36030cbeae63d8776059150fef30235 +DIST strict-0.5.tar.gz 12564 BLAKE2B 66cca7f7abaa8262602b602e11ebbeb3b14bd4b2608596c9a01a47a1bf2b6dd7d6bb99f4d1b7892f24db6c4407137b3f1aa0825a5bd1b1e6180ede0090dfe212 SHA512 dba8bb370aaea6107d9ea5ff8bd69a84212eaf0f6440189906bf6d3581282b88ae56142958ab041d9ecd06efee7c51dde9d6bafa89b95e666bf1d48d1249c3ed diff --git a/dev-haskell/strict/metadata.xml b/dev-haskell/strict/metadata.xml index b94985c6c9d9..3227376340a4 100644 --- a/dev-haskell/strict/metadata.xml +++ b/dev-haskell/strict/metadata.xml @@ -5,9 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides strict versions of some standard Haskell data - types (pairs, Maybe and Either). It also contains strict IO - operations. - </longdescription> + <upstream> + <remote-id type="hackage">strict</remote-id> + <remote-id type="github">haskell-strict/strict</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/strict/strict-0.5.ebuild b/dev-haskell/strict/strict-0.5.ebuild new file mode 100644 index 000000000000..eebc629b95ad --- /dev/null +++ b/dev-haskell/strict/strict-0.5.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.1.9999 +#hackport: flags: +assoc + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Strict data types and String IO" +HOMEPAGE="https://github.com/haskell-strict/strict" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/assoc-1.1:=[profile?] <dev-haskell/assoc-1.2:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/these-1.2:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-lang/ghc-8.8.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?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=assoc +} diff --git a/dev-haskell/string-qq/metadata.xml b/dev-haskell/string-qq/metadata.xml index 937381521944..9a37700a12e3 100644 --- a/dev-haskell/string-qq/metadata.xml +++ b/dev-haskell/string-qq/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">string-qq</remote-id> + <remote-id type="github">audreyt/string-qq</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/string-qq/string-qq-0.0.4.ebuild b/dev-haskell/string-qq/string-qq-0.0.4-r1.ebuild index 7bea336c92ed..e91d09d195dc 100644 --- a/dev-haskell/string-qq/string-qq-0.0.4.ebuild +++ b/dev-haskell/string-qq/string-qq-0.0.4-r1.ebuild @@ -1,26 +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.8.2.1.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="QuasiQuoter for non-interpolated strings, texts and bytestrings" HOMEPAGE="https://hackage.haskell.org/package/string-qq" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="public-domain" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" -RDEPEND=">=dev-lang/ghc-7.4.1:= +CABAL_CHDEPS=( + 'text >=1.2 && <1.3' 'text >=1.2' +) + +RDEPEND=" + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.8 - test? ( >=dev-haskell/hunit-1.6 <dev-haskell/hunit-1.7 - >=dev-haskell/text-1.2 <dev-haskell/text-1.3 ) + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hunit-1.6 <dev-haskell/hunit-1.7 + >=dev-haskell/text-1.2 + ) " diff --git a/dev-haskell/stringbuilder/stringbuilder-0.5.1.ebuild b/dev-haskell/stringbuilder/stringbuilder-0.5.1.ebuild index f4a0bccdbedd..9e8de09b67c1 100644 --- a/dev-haskell/stringbuilder/stringbuilder-0.5.1.ebuild +++ b/dev-haskell/stringbuilder/stringbuilder-0.5.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.5.6.9999 diff --git a/dev-haskell/syb/Manifest b/dev-haskell/syb/Manifest index 3030675a15d3..bb13dfcba431 100644 --- a/dev-haskell/syb/Manifest +++ b/dev-haskell/syb/Manifest @@ -1 +1,2 @@ DIST syb-0.7.2.1.tar.gz 39768 BLAKE2B 347070741b2ad623fb4e1bfa349ddea475c2c846119d5418ad67dc2d8441a7cfdb4d4557efa2fa9ffa229ae83a1e6a8175423259695417a238c34a128b6fcf71 SHA512 6c356af3cc72f29c362b2859292a96b8107dd3241cff79d717f361e517edf478295f477c0f426fb8d0ae0952cd5c7521114cf1cac1f3faf2b0c96d3b8a335e69 +DIST syb-0.7.2.4.tar.gz 41809 BLAKE2B fe495ebd3b7297c4e3b207cca6d8823b0b264d4310e19d661dc5dc537322721e7d57021e3c3207c5a93b9bc74d4c9cb561e1222e1f487faaf816a1fbecf8a02e SHA512 7a29ee78fe23e4f6eac6b85326b0ffaa62337703ed4ebbd464598bace1fac5c7ad180e1ed95561be957bba41adcd2bb8fd36a88e482b789290a171d2b7a59f85 diff --git a/dev-haskell/syb/metadata.xml b/dev-haskell/syb/metadata.xml index be738f8fa844..303b3bd841dc 100644 --- a/dev-haskell/syb/metadata.xml +++ b/dev-haskell/syb/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package contains the generics system described in the - "Scrap Your Boilerplate" papers (see http://www.cs.uu.nl/wiki/GenericProgramming/SYB). - It defines the 'Data' class of types permitting folding and unfolding - of constructor applications, instances of this class for primitive - types, and a variety of traversals. - </longdescription> + <upstream> + <remote-id type="hackage">syb</remote-id> + <remote-id type="github">dreixel/syb</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/syb/syb-0.7.2.1.ebuild b/dev-haskell/syb/syb-0.7.2.1.ebuild index db052b3a20a3..03f6081203ea 100644 --- a/dev-haskell/syb/syb-0.7.2.1.ebuild +++ b/dev-haskell/syb/syb-0.7.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 diff --git a/dev-haskell/syb/syb-0.7.2.4.ebuild b/dev-haskell/syb/syb-0.7.2.4.ebuild new file mode 100644 index 000000000000..4908a67d58a4 --- /dev/null +++ b/dev-haskell/syb/syb-0.7.2.4.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Scrap Your Boilerplate" +HOMEPAGE="https://github.com/dreixel/syb" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" + +RDEPEND=">=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/tagged/Manifest b/dev-haskell/tagged/Manifest index f5280b8256ba..5691fac5bd86 100644 --- a/dev-haskell/tagged/Manifest +++ b/dev-haskell/tagged/Manifest @@ -1 +1,2 @@ DIST tagged-0.8.6.1.tar.gz 9842 BLAKE2B 6069ea3705dadfec7bc59d81cd9c425e01ad02131e9b6ce4657ad2b59d61a8dc8a420e518ed083a0d8d6b7171e5c233f3a9d96b15045b738c97d4f86fa3887b3 SHA512 289be845821aada538caf3fd0fc85b8ed115c657dc5beb0408816e43cf72153881ad305a982effa572a46e5b1842d2772af44313674cb0a252db8aeb6953f345 +DIST tagged-0.8.7.tar.gz 10082 BLAKE2B f52314aab17206fdf5bad6f334424dde0317f96483509c2da03ee6e823182914be2824350f43e4dd6a7d3e09c34c9d22f00dacba5b2d0f6e2b5a78f204e446fd SHA512 75e8a65a7ebf267a508660e91cb7e265aca3c7b417b4441a01024419f27c0b9614c94a45f0ee58c454492f6e623ccde2d8b9f06cc0100c2f2927efe119fa57ea diff --git a/dev-haskell/tagged/metadata.xml b/dev-haskell/tagged/metadata.xml index b1170db29515..af4a3d0086cc 100644 --- a/dev-haskell/tagged/metadata.xml +++ b/dev-haskell/tagged/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">tagged</remote-id> <remote-id type="github">ekmett/tagged</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/tagged/tagged-0.8.7.ebuild b/dev-haskell/tagged/tagged-0.8.7.ebuild new file mode 100644 index 000000000000..790521347b67 --- /dev/null +++ b/dev-haskell/tagged/tagged-0.8.7.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.4.0.9999 +#hackport: flags: +deepseq,+transformers + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +# break circular dependencies: +# https://github.com/gentoo-haskell/gentoo-haskell/issues/810 +CABAL_FEATURES+=" nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Haskell 98 phantom types to avoid unsafely passing dummy arguments" +HOMEPAGE="https://github.com/ekmett/tagged" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=deepseq \ + --flag=transformers +} diff --git a/dev-haskell/tagsoup/tagsoup-0.14.8.ebuild b/dev-haskell/tagsoup/tagsoup-0.14.8.ebuild index 71d35cf2a267..86194d738e59 100644 --- a/dev-haskell/tagsoup/tagsoup-0.14.8.ebuild +++ b/dev-haskell/tagsoup/tagsoup-0.14.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.9999 diff --git a/dev-haskell/tar/Manifest b/dev-haskell/tar/Manifest index 3d6a1a40e251..0ef9757a471c 100644 --- a/dev-haskell/tar/Manifest +++ b/dev-haskell/tar/Manifest @@ -1,2 +1,2 @@ -DIST tar-0.5.1.1-rev4.cabal 5459 BLAKE2B 6feab7587be8c2533c200cc9f57411f3cb4f5a31dbff09502c983c181b6dc0c8521e8db02fd0a3f14c3237dce4872d0adfe739452ed38252f7696dd80de80297 SHA512 aa1c41951d93ce368cffeb6a5ea43b70cca042557e0509c7901901710b2c01b715c37923e9325fb438ad83c2a50c8f227777641e9931700ba0bce6ae6d974200 +DIST tar-0.5.1.1-rev6.cabal 5459 BLAKE2B 5d5d32a2273b470406f0c373114108587657d560d1f75b30419af15a32bc2e6af5d210bd478ca2625f75027f0fdab824f9d4436a4815588eb94183d637b4a601 SHA512 53bacac3b92d359faab5b9a2124c6d95e03493063065a44dd4609267e27c055231fdd35ef48e4b0b494ea9bc973132b15c76f78bf86cf1ce189d7755e45d8d3e DIST tar-0.5.1.1.tar.gz 39155 BLAKE2B 8e85489e3b43044dab8ec4405413873c2be4d50cfd4a5adc80e3ec231428a120db1faa033d2e57643dad40f18a934a381f3d5657838aad42d2aa7eea951c1faf SHA512 8d0a8d3ae178570e0842a2321a7fc86a6bba28c471ec27bafbc07fc4ac0e4183f8113c99ebc7126dc71759c33083791122be32563fb0d5a2b2d39cb3b36171f2 diff --git a/dev-haskell/tar/metadata.xml b/dev-haskell/tar/metadata.xml index 937381521944..dde923e3418a 100644 --- a/dev-haskell/tar/metadata.xml +++ b/dev-haskell/tar/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">tar</remote-id> + <remote-id type="github">haskell/tar</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tar/tar-0.5.1.1-r2.ebuild b/dev-haskell/tar/tar-0.5.1.1-r2.ebuild deleted file mode 100644 index 50ba67936c3c..000000000000 --- a/dev-haskell/tar/tar-0.5.1.1-r2.ebuild +++ /dev/null @@ -1,46 +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 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite -CABAL_HACKAGE_REVISION="4" -inherit haskell-cabal -RESTRICT="test" # Test deps need porting - -CABAL_FILE="${S}/${PN}.cabal" -CABAL_DISTFILE="${P}-rev${CABAL_HACKAGE_REVISION}.cabal" - -DESCRIPTION="Reading, writing and manipulating \".tar\" archive files" -HOMEPAGE="https://hackage.haskell.org/package/tar" -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-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1" -# test? ( dev-haskell/bytestring-handle -# >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 -# >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.5 -# >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) - -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/tar/tar-0.5.1.1-r3.ebuild b/dev-haskell/tar/tar-0.5.1.1-r3.ebuild new file mode 100644 index 000000000000..d4debed42063 --- /dev/null +++ b/dev-haskell/tar/tar-0.5.1.1-r3.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=6 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal +RESTRICT="test" # Test deps need porting + +DESCRIPTION="Reading, writing and manipulating \".tar\" archive files" +HOMEPAGE="https://hackage.haskell.org/package/tar" + +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/bytestring-handle +# >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 +# >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.5 +# >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 +# ) diff --git a/dev-haskell/tasty-expected-failure/Manifest b/dev-haskell/tasty-expected-failure/Manifest index 68cb8ad5cc9f..e2030edfda58 100644 --- a/dev-haskell/tasty-expected-failure/Manifest +++ b/dev-haskell/tasty-expected-failure/Manifest @@ -1 +1,2 @@ DIST tasty-expected-failure-0.11.1.2.tar.gz 3781 BLAKE2B 04101b477457747abbf1a90fed80ab8692e3f771f27fae8310c0451839b38efadf1751ae302a1bac0f020e01533030563c45a2c0d75b03f9cda88ee23d1d8e12 SHA512 31f89d64a1f700a2563b291d287f559e023b0b1059cf5ad35eb9a8b2d4a7d90b2ffced828017b3e86d7ece0b125787f7512e9f4745c75d38bbc688e09031aae5 +DIST tasty-expected-failure-0.12.3.tar.gz 6016 BLAKE2B 2e3b61686aa45c0bdcc593e77a6fed358f526aac5e0abd93b6894a6ab64637ec7ed0e0b94cd979ba8cbe4aaa3d41b80eb748c0cb3eccdd5f8e096055acac9c20 SHA512 38a38a6b918355b341ac52fbbd63312fbc44f2071785401dc667bb50b030e8c1963c5eb8f890c36daa0987d2fb4748effa543076429e0c8dea58f2fb0bf29f0c diff --git a/dev-haskell/tasty-expected-failure/metadata.xml b/dev-haskell/tasty-expected-failure/metadata.xml index 3a4f55351f26..ba8a08351743 100644 --- a/dev-haskell/tasty-expected-failure/metadata.xml +++ b/dev-haskell/tasty-expected-failure/metadata.xml @@ -5,21 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - With the function 'Test.Tasty.ExpectedFailure.expectFail' in the provided module - "Test.Tasty.ExpectedFailure", you can mark that you expect test cases to fail, - and not to pass. - - This can for example be used for test-driven development: Create the tests, - mark them with 'Test.Tasty.ExpectedFailure.expectFail', and you can still push - to the main branch, without your continuous integration branch failing. - - Once someone implements the feature or fixes the bug (maybe unknowingly), the - test suite will tell him so, due to the now unexpectedly passing test, and he - can remove the 'Test.Tasty.ExpectedFailure.expectFail' marker. - - The module also provides 'Test.Tasty.ExpectedFailure.ignoreTest' to avoid - running a test. Both funtions are implemented via the more general - 'Test.Tasty.ExpectedFailure.warpTest', which is also provided. - </longdescription> + <upstream> + <remote-id type="hackage">tasty-expected-failure</remote-id> + <remote-id type="github">nomeata/tasty-expected-failure</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild index 0133de4a47c7..d630f6b17fe1 100644 --- a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.2.ebuild +++ b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.11.1.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.1.9999 @@ -26,8 +26,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - cabal_chdeps \ - 'base >= 4.5 && <4.14' 'base >= 4.5' - default -} +CABAL_CHDEPS=( + 'base >= 4.5 && <4.14' 'base >= 4.5' +) diff --git a/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.ebuild new file mode 100644 index 000000000000..fb62f9a5e2d8 --- /dev/null +++ b/dev-haskell/tasty-expected-failure/tasty-expected-failure-0.12.3.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.8.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Mark tasty tests as failure expected" +HOMEPAGE="https://github.com/nomeata/tasty-expected-failure" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/tasty-0.11:=[profile?] + <dev-haskell/unbounded-delays-0.2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hedgehog + dev-haskell/tasty-golden + dev-haskell/tasty-hedgehog + dev-haskell/tasty-hunit + ) +" + +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/tasty-golden/Manifest b/dev-haskell/tasty-golden/Manifest index 3fc798d232db..c17d8d304d02 100644 --- a/dev-haskell/tasty-golden/Manifest +++ b/dev-haskell/tasty-golden/Manifest @@ -1 +1,2 @@ DIST tasty-golden-2.3.1.1.tar.gz 7219 BLAKE2B c6160ece4ce5a35d7acc6f390a15fd83c8a13951d5bf243576aca5c65b05b8de9f57ea6227745da57c4527bcbef093dc53c955c547bb5a1c909b195a9ee9ca77 SHA512 b7871d2ddcf7f45e0f1df52982b6370308dd0c48588318985977cb88f93f4b759b1f2bdff44e31ec86f230f04304bcee14286f62c2d2ae01a6105b8a3250e5fb +DIST tasty-golden-2.3.5.tar.gz 15179 BLAKE2B 43d4749bca69b7be0b6cfa3f0c5e3fcbe503b6cd39912306656ccd80c71c2fd2fccbd0d4c56414a07717781e3a885856211c8b283ef51449286924cdd36d945b SHA512 e98935654b0df84a5bbfe36d772c0895b4bb50a6fcc30d305261c3845f7c8a5ab0c0d2297157809cb61fd230d567dadcd763b953d79d9fadeb8e6edb9af5980f diff --git a/dev-haskell/tasty-golden/files/tasty-golden-2.3.5-fix-tests.patch b/dev-haskell/tasty-golden/files/tasty-golden-2.3.5-fix-tests.patch new file mode 100644 index 000000000000..bfdb79277ae9 --- /dev/null +++ b/dev-haskell/tasty-golden/files/tasty-golden-2.3.5-fix-tests.patch @@ -0,0 +1,76 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> + +* There was a slight discrepency between the expected and actual results + of the "before-golden" test, likely due to a change in tasty's output. + +* The example executable is renamed to tasty-golden-example in the ebuild + to prevent possible name collisions. + +diff -urN tasty-golden-2.3.5/tests/golden/before-accept.golden tasty-golden-2.3.5-r1/tests/golden/before-accept.golden +--- tasty-golden-2.3.5/tests/golden/before-accept.golden 2020-02-21 05:21:09.000000000 -0700 ++++ tasty-golden-2.3.5-r1/tests/golden/before-accept.golden 2022-11-04 13:15:02.987564783 -0600 +@@ -7,6 +7,7 @@ + Failing tests + goldenVsFile: FAIL + Files 'example/golden/fail/goldenVsFile.golden' and 'example/golden/fail/goldenVsFile.actual' differ ++ Use -p '$0=="Tests.Failing tests.goldenVsFile"' to rerun this test only. + goldenVsFileDiff: FAIL + 1d0 + < 1 +@@ -35,6 +36,7 @@ + 169d156 + <<truncated> + Use --accept or increase --size-cutoff to see full output. ++ Use -p '/Failing tests.goldenVsFileDiff/' to rerun this test only. + goldenVsString: FAIL + Test output was different from 'example/golden/fail/goldenVsString.golden'. It was: + 2 +@@ -87,8 +89,9 @@ + 55 + 56<truncated> + Use --accept or increase --size-cutoff to see full output. ++ Use -p '$0=="Tests.Failing tests.goldenVsString"' to rerun this test only. + goldenVsStringDiff: FAIL +- Test output was different from 'example/golden/fail/goldenVsStringDiff.golden'. Output of ["diff","example/golden/fail/goldenVsStringDiff.golden","/tmp/goldenVsStringDiff.actual"]: ++ Test output was different from 'example/golden/fail/goldenVsStringDiff.golden'. Output of ["diff","example/golden/fail/goldenVsStringDiff.golden","/var/tmp/portage/dev-haskell/tasty-golden-2.3.5/temp/goldenVsStringDiff.actual"]: + 1d0 + < 1 + 4d2 +@@ -116,5 +119,6 @@ + 169d156 + <<truncated> + Use --accept or increase --size-cutoff to see full output. ++ Use -p '/Failing tests.goldenVsStringDiff/' to rerun this test only. + + 4 out of 8 tests failed +diff -urN tasty-golden-2.3.5/tests/test.hs tasty-golden-2.3.5-r1/tests/test.hs +--- tasty-golden-2.3.5/tests/test.hs 2021-02-24 06:27:55.000000000 -0700 ++++ tasty-golden-2.3.5-r1/tests/test.hs 2022-11-04 13:04:13.007572500 -0600 +@@ -89,7 +89,7 @@ + -- timings. + -- + -- NB: cannot use multiline literals because of CPP. +- let cmd = shell ("cd " ++ tmp ++ " && example | " ++ ++ let cmd = shell ("cd " ++ tmp ++ " && tasty-golden-example | " ++ + "sed -Ee 's/[[:digit:]-]+\\.actual/.actual/g; s/ \\([[:digit:].]+s\\)//' > " ++ + our</>"tests/golden/before-accept.actual || true") + runProcess_ cmd +@@ -102,7 +102,7 @@ + (do + tmp <- tmpIO + our <- getCurrentDirectory +- let cmd = shell ("cd " ++ tmp ++ " && example --accept | sed -Ee 's/ \\([[:digit:].]+s\\)//' > " ++ ++ let cmd = shell ("cd " ++ tmp ++ " && tasty-golden-example --accept | sed -Ee 's/ \\([[:digit:].]+s\\)//' > " ++ + our </>"tests/golden/with-accept.actual") + runProcess_ cmd + ) +@@ -114,7 +114,7 @@ + (do + tmp <- tmpIO + our <- getCurrentDirectory +- let cmd = shell ("cd " ++ tmp ++ " && example | sed -Ee 's/ \\([[:digit:].]+s\\)//' > " ++ ++ let cmd = shell ("cd " ++ tmp ++ " && tasty-golden-example | sed -Ee 's/ \\([[:digit:].]+s\\)//' > " ++ + our</>"tests/golden/after-accept.actual") + runProcess_ cmd + ) diff --git a/dev-haskell/tasty-golden/metadata.xml b/dev-haskell/tasty-golden/metadata.xml index 113e8620095b..eeae1e3d3b3f 100644 --- a/dev-haskell/tasty-golden/metadata.xml +++ b/dev-haskell/tasty-golden/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides support for «golden testing». - A golden test is an IO action that writes its result to a file. - To pass the test, this output file should be identical to the corresponding - 'golden' file, which contains the correct result for the test. - </longdescription> <upstream> + <remote-id type="hackage">tasty-golden</remote-id> <remote-id type="github">UnkindPartition/tasty-golden</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-golden/tasty-golden-2.3.5.ebuild b/dev-haskell/tasty-golden/tasty-golden-2.3.5.ebuild new file mode 100644 index 000000000000..95bcf980ebb6 --- /dev/null +++ b/dev-haskell/tasty-golden/tasty-golden-2.3.5.ebuild @@ -0,0 +1,80 @@ +# 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: build-example:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Golden tests support for tasty" +HOMEPAGE="https://github.com/UnkindPartition/tasty-golden" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.5-fix-tests.patch" +) + +CABAL_CHDEPS=( + 'executable example' "executable ${PN}-example" +) + +CABAL_TEST_REQUIRED_BINS=( + "${PN}-example" +) + +RDEPEND=" + dev-haskell/async:=[profile?] + >=dev-haskell/optparse-applicative-0.3.1:=[profile?] + dev-haskell/tagged:=[profile?] + >=dev-haskell/tasty-1.3:=[profile?] + dev-haskell/temporary:=[profile?] + dev-haskell/typed-process:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/tasty-hunit + ) +" + +src_configure() { + if use examples || use test; then + local example_flag=build-example + else + local example_flag=-build-example + fi + + haskell-cabal_src_configure \ + --flag="${example_flag}" +} + +src_install() { + local components=( + "lib:${PN}" + ) + + if use examples; then + components+=( + "exe:${PN}-example" + ) + fi + + haskell-cabal_src_install "${components[@]}" +} + +pkg_postinst() { + if use examples; then + elog "The example executable installed with this package (normally named 'example')" + elog "has been renamed to '${PN}-example' to help prevent name collisions." + fi + + haskell-cabal_pkg_postinst +} diff --git a/dev-haskell/tasty-hedgehog/Manifest b/dev-haskell/tasty-hedgehog/Manifest index 97fb1caab136..7d4ce814ef8f 100644 --- a/dev-haskell/tasty-hedgehog/Manifest +++ b/dev-haskell/tasty-hedgehog/Manifest @@ -1 +1,2 @@ DIST tasty-hedgehog-1.1.0.0.tar.gz 4610 BLAKE2B c0cd4e99531d8425381e2aebb62a407674226bfe205874a0a512bc65383e237a4bbfdf6be4d65b30893212e09dcf68d42f11e89b349c6db535a359fa845e18aa SHA512 48dda3dda14241f8d8dc77acf61a0fe77887c835ae9de6182c9fe580bb79e98f2480a14c282ff49b1438ffab197812262529e90dcec2af3785713f218490bce2 +DIST tasty-hedgehog-1.4.0.2.tar.gz 5505 BLAKE2B c11950686d4a16825f8773f4f045c6327758c9c04b50889cd423bae88c99cadd9153b07df4e8d0c65ee4e086e1bd0338e79b4604c3a10c789a28cc70476701b4 SHA512 ea995eff179fcecd40c1b346a5c8405090f7a7542848f3d4d591e83bb8d1f9bce51e6fc2f8fd1182b7b5eade0a64e6605ff88b878acf5f79dde2838b0781b760 diff --git a/dev-haskell/tasty-hedgehog/metadata.xml b/dev-haskell/tasty-hedgehog/metadata.xml index 937381521944..cc1800d54bd1 100644 --- a/dev-haskell/tasty-hedgehog/metadata.xml +++ b/dev-haskell/tasty-hedgehog/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">tasty-hedgehog</remote-id> + <remote-id type="github">qfpl/tasty-hedgehog</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.1.0.0.ebuild b/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.1.0.0.ebuild index 52ebab5e3538..7910a47136e5 100644 --- a/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.1.0.0.ebuild +++ b/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.1.0.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 @@ -26,10 +26,7 @@ DEPEND="${RDEPEND} test? ( >=dev-haskell/tasty-expected-failure-0.11 <dev-haskell/tasty-expected-failure-0.13 ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.8 && <4.16' 'base >= 4.8' \ - 'hedgehog >= 1.0.2 && < 1.0.6' 'hedgehog >= 1.0.2' -} +CABAL_CHDEPS=( + 'base >= 4.8 && <4.16' 'base >= 4.8' + 'hedgehog >= 1.0.2 && < 1.0.6' 'hedgehog >= 1.0.2' +) diff --git a/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.4.0.2.ebuild b/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.4.0.2.ebuild new file mode 100644 index 000000000000..0c15aa0aa45d --- /dev/null +++ b/dev-haskell/tasty-hedgehog/tasty-hedgehog-1.4.0.2.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="Integration for tasty and hedgehog" +HOMEPAGE="https://github.com/qfpl/tasty-hedgehog" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/hedgehog-1.4:=[profile?] <dev-haskell/hedgehog-1.5:=[profile?] + >=dev-haskell/tagged-0.8:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/tasty-0.11:=[profile?] <dev-haskell/tasty-1.5:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( + >=dev-haskell/tasty-expected-failure-0.11 <dev-haskell/tasty-expected-failure-0.13 + ) +" diff --git a/dev-haskell/tasty-hslua/Manifest b/dev-haskell/tasty-hslua/Manifest index 377de4b26fc0..a134aebad824 100644 --- a/dev-haskell/tasty-hslua/Manifest +++ b/dev-haskell/tasty-hslua/Manifest @@ -1 +1,2 @@ DIST tasty-hslua-1.0.2.tar.gz 3099 BLAKE2B 712c04ffa8bfb309473c01ea7d01a1dd3483649520c38b78f180792fdedadf6953394dea37e7dcf2468f3e0a0e8ad9bdc16912dec70f765d4fa0a0745e5eac01 SHA512 397a8dce3eef50cac8a770c4b0471f454f62ead5fc8a5a08b9b01d97465016815d8e04730df5e79977393815dfa09bda6e0a6f334d479c17fb93940c0d5f27de +DIST tasty-hslua-1.1.0.tar.gz 3090 BLAKE2B b5f64c46f78bc8ed7aaf6c080db547f28dd4764360017331e6885648070acd25eec431287ef3c8ba0f462572a6def3dbb00ef33351d43501fe61435d989e72bd SHA512 367a991ae317ba664e27a0685dc576bc555c627dc0ccac43ca52c25c51cb27777ba3230924cbc39edbc18587fbf9ab3f7019bdf9e2dfbbcb9513730523417cb8 diff --git a/dev-haskell/tasty-hslua/metadata.xml b/dev-haskell/tasty-hslua/metadata.xml index 937381521944..61739e68e885 100644 --- a/dev-haskell/tasty-hslua/metadata.xml +++ b/dev-haskell/tasty-hslua/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">tasty-hslua</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-hslua/tasty-hslua-1.1.0.ebuild b/dev-haskell/tasty-hslua/tasty-hslua-1.1.0.ebuild new file mode 100644 index 000000000000..c32fc6b2b2c1 --- /dev/null +++ b/dev-haskell/tasty-hslua/tasty-hslua-1.1.0.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_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Tasty helpers to test HsLua" +HOMEPAGE="https://hslua.org/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/tasty-0.11:=[profile?] + >=dev-haskell/tasty-hunit-0.9:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/tasty-hunit/tasty-hunit-0.10.0.3.ebuild b/dev-haskell/tasty-hunit/tasty-hunit-0.10.0.3.ebuild index a1c290905685..7cc0177c5470 100644 --- a/dev-haskell/tasty-hunit/tasty-hunit-0.10.0.3.ebuild +++ b/dev-haskell/tasty-hunit/tasty-hunit-0.10.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.7.9999 diff --git a/dev-haskell/tasty-kat/tasty-kat-0.0.3.ebuild b/dev-haskell/tasty-kat/tasty-kat-0.0.3.ebuild index 13e4461de9bd..e1120434146a 100644 --- a/dev-haskell/tasty-kat/tasty-kat-0.0.3.ebuild +++ b/dev-haskell/tasty-kat/tasty-kat-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.6.9999 diff --git a/dev-haskell/tasty-lua/Manifest b/dev-haskell/tasty-lua/Manifest index 0586dfcaf616..47e2ad2ef58d 100644 --- a/dev-haskell/tasty-lua/Manifest +++ b/dev-haskell/tasty-lua/Manifest @@ -1 +1,2 @@ DIST tasty-lua-1.0.2.tar.gz 10413 BLAKE2B 78d09b1c70b53b23264ee5d2b76d32be43e55e3df551792a51626201e405cd25be267cbe2c55dee2c16851877b90c30cbd8bd8b34fd341ce9024ae75e423e5f9 SHA512 0b572e4dbb793c573d28a9e3516926e7f7cba7e962e48de29c24b4da9c2656407cf3a2db21b2db56fa149ef13a70e318f44b3b5de2041863510d31e1bd621857 +DIST tasty-lua-1.1.0.tar.gz 10420 BLAKE2B d771834f6386a93767193998a0136b16cdf84dc07e273265942e3af160560e24d8b1077958c909fa7a9162323f9fb4c42ad52802292b6d8ab17128f060591f01 SHA512 22f002ef8cda5069947f144aaa03d0f17c9edfc3358238de29980244c18cc61058d799d3e156cd40c90e20569c3cae279a3fe264b766e1d179576886404e90fb diff --git a/dev-haskell/tasty-lua/metadata.xml b/dev-haskell/tasty-lua/metadata.xml index 937381521944..01584748d5c0 100644 --- a/dev-haskell/tasty-lua/metadata.xml +++ b/dev-haskell/tasty-lua/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">tasty-lua</remote-id> + <remote-id type="github">hslua/hslua</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-lua/tasty-lua-1.1.0.ebuild b/dev-haskell/tasty-lua/tasty-lua-1.1.0.ebuild new file mode 100644 index 000000000000..16250ccc7505 --- /dev/null +++ b/dev-haskell/tasty-lua/tasty-lua-1.1.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.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Write tests in Lua, integrate into tasty" +HOMEPAGE="https://github.com/hslua/hslua" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/file-embed-0.0:=[profile?] <dev-haskell/file-embed-0.1:=[profile?] + >=dev-haskell/hslua-core-2.3:=[profile?] <dev-haskell/hslua-core-2.4:=[profile?] + >=dev-haskell/hslua-marshalling-2.0:=[profile?] <dev-haskell/hslua-marshalling-2.4:=[profile?] + >=dev-haskell/lua-arbitrary-1.0:=[profile?] <dev-haskell/lua-arbitrary-1.1:=[profile?] + >=dev-haskell/quickcheck-2.9:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/tasty-1.2:=[profile?] <dev-haskell/tasty-1.5:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/tasty-hunit ) +" diff --git a/dev-haskell/tasty-quickcheck/Manifest b/dev-haskell/tasty-quickcheck/Manifest index 88ace228fe3e..233c20edb3c6 100644 --- a/dev-haskell/tasty-quickcheck/Manifest +++ b/dev-haskell/tasty-quickcheck/Manifest @@ -1 +1,2 @@ DIST tasty-quickcheck-0.10.1.1.tar.gz 5539 BLAKE2B 688675aa15f2790d147d34dbeca8d42e556b8a2d3fe52c7687e149f271a0ddcbb6fb21ac6be4065fdf1b8dcb82aa10a8f533e77da0111c140bb9ef807e48c222 SHA512 13cfcc99eb9988d4842327d96f0e58f5ba6c653d3027a4adb307d4101bc2f7deee0033197b4358a837ace0d03423bdafe2197b029da6a64d8b650ee2f5bd958d +DIST tasty-quickcheck-0.10.2.tar.gz 5868 BLAKE2B 74a4870c547f716378fee7aae7e628ca69d3364f22cd62710ed0321abcbc2a94f48fe8a0c89e0aab62bf380247422ee5f0cb5fa122ab3e33219981a6e8ce4142 SHA512 78b223fc54428e71b1a8b3afba1128764e61703be4dea95541e0661d2fbe3006b77ef15200577e40bf3bf78a557f66f13a77288c8fe87dc19eb343c9fdff9d89 diff --git a/dev-haskell/tasty-quickcheck/metadata.xml b/dev-haskell/tasty-quickcheck/metadata.xml index 937381521944..e9cd653d1c03 100644 --- a/dev-haskell/tasty-quickcheck/metadata.xml +++ b/dev-haskell/tasty-quickcheck/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">tasty-quickcheck</remote-id> + <remote-id type="github">UnkindPartition/tasty</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.1.1.ebuild b/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.1.1.ebuild index 32cede0163de..fa7412f3b4bc 100644 --- a/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.1.1.ebuild +++ b/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.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.9999 diff --git a/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.2.ebuild b/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.2.ebuild new file mode 100644 index 000000000000..7cef49a8629d --- /dev/null +++ b/dev-haskell/tasty-quickcheck/tasty-quickcheck-0.10.2.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="QuickCheck support for the Tasty test framework" +HOMEPAGE="https://github.com/UnkindPartition/tasty" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/optparse-applicative:=[profile?] + >=dev-haskell/quickcheck-2.10:2=[profile?] + dev-haskell/random:=[profile?] + dev-haskell/tagged:=[profile?] + >=dev-haskell/tasty-1.0.1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/pcre-light + dev-haskell/tasty-hunit ) +" diff --git a/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild b/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild index 226827488204..6396f90026b0 100644 --- a/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.ebuild +++ b/dev-haskell/tasty-rerun/tasty-rerun-1.1.18.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 @@ -29,8 +29,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - default - cabal_chdeps \ - 'base >=4.6 && <4.15' 'base >=4.6' -} +CABAL_CHDEPS=( + 'base >=4.6 && <4.15' 'base >=4.6' +) diff --git a/dev-haskell/tasty-smallcheck/Manifest b/dev-haskell/tasty-smallcheck/Manifest index c16334bd0682..82d3fb672238 100644 --- a/dev-haskell/tasty-smallcheck/Manifest +++ b/dev-haskell/tasty-smallcheck/Manifest @@ -1 +1,2 @@ DIST tasty-smallcheck-0.8.1.tar.gz 2690 BLAKE2B e6ccfca50577edc27da4d8f77041e5eeb80c28574a5d0d9cfa20154e557a9893242456a4875e72d616e70f477bf1b7c6a1911c7d3a863b71e8481ff387815a00 SHA512 26ed0d75559c2da2f4296af6e9b02f8d0a19043b0ef154674eb782703fcd3ad7f4863b7b07dbaae27440078b4b00a9272cd9d5da23089993018e933577be5893 +DIST tasty-smallcheck-0.8.2.tar.gz 3041 BLAKE2B bb13e2253699f1f064276788254671f74b9e193a35ded683ba6cdd2f3f2e4770a8d78825991ad1d20426adb2437f7c120208aed1c77726d7e1c0969748b98c4c SHA512 ff816280315e26d20210f0dcbf55e32780aa9ef455d8d00b146d9daeed6afec5b6593cd8a8dc0b7c0bc7ff77da75f065f9c7253494f2c47150e2b7a6aa29fc6a diff --git a/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.1.ebuild b/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.1.ebuild index 9a8c67c7f593..17b99b75f742 100644 --- a/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.1.ebuild +++ b/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.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.6.9999 diff --git a/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.2.ebuild b/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.2.ebuild new file mode 100644 index 000000000000..6d00a7e0f504 --- /dev/null +++ b/dev-haskell/tasty-smallcheck/tasty-smallcheck-0.8.2.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.6.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="SmallCheck support for the Tasty test framework" +HOMEPAGE="https://github.com/feuerbach/tasty" +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/optparse-applicative:=[profile?] + >=dev-haskell/smallcheck-1.0:=[profile?] + dev-haskell/tagged:=[profile?] + >=dev-haskell/tasty-0.8:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 +" diff --git a/dev-haskell/tasty/metadata.xml b/dev-haskell/tasty/metadata.xml index 937381521944..aa6c85f01596 100644 --- a/dev-haskell/tasty/metadata.xml +++ b/dev-haskell/tasty/metadata.xml @@ -5,4 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <use> + <flag name="clock">Depend on the clock package for more accurate time measurement</flag> + </use> + <upstream> + <remote-id type="hackage">tasty</remote-id> + <remote-id type="github">UnkindPartition/tasty</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/tasty/tasty-1.4.2.3.ebuild b/dev-haskell/tasty/tasty-1.4.2.3.ebuild index fda420b3c6c9..b53097c063f3 100644 --- a/dev-haskell/tasty/tasty-1.4.2.3.ebuild +++ b/dev-haskell/tasty/tasty-1.4.2.3.ebuild @@ -3,28 +3,31 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.1.9999 -#hackport: flags: +clock,+unix +# ebuild generated by hackport 0.7.3.0 +#hackport: flags: +unix CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Modern and extensible testing framework" HOMEPAGE="https://github.com/UnkindPartition/tasty" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+clock" -RDEPEND=">=dev-haskell/ansi-terminal-0.9:=[profile?] - >=dev-haskell/clock-0.4.4.0:=[profile?] +RDEPEND=" + >=dev-haskell/ansi-terminal-0.9:=[profile?] >=dev-haskell/optparse-applicative-0.14:=[profile?] >=dev-haskell/stm-2.3:=[profile?] >=dev-haskell/tagged-0.5:=[profile?] >=dev-haskell/unbounded-delays-0.1:=[profile?] dev-haskell/wcwidth:=[profile?] >=dev-lang/ghc-8.4.3:= + clock? ( + >=dev-haskell/clock-0.4.4.0:=[profile?] + ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 @@ -32,6 +35,6 @@ DEPEND="${RDEPEND} src_configure() { haskell-cabal_src_configure \ - --flag=clock \ + $(cabal_flag clock clock) \ --flag=unix } diff --git a/dev-haskell/temporary-rc/temporary-rc-1.2.0.3.ebuild b/dev-haskell/temporary-rc/temporary-rc-1.2.0.3.ebuild index 19fec9fff5f5..6c43ae9c9c59 100644 --- a/dev-haskell/temporary-rc/temporary-rc-1.2.0.3.ebuild +++ b/dev-haskell/temporary-rc/temporary-rc-1.2.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/temporary/files/temporary-1.3-smp-flag.patch b/dev-haskell/temporary/files/temporary-1.3-smp-flag.patch new file mode 100644 index 000000000000..22832a87777a --- /dev/null +++ b/dev-haskell/temporary/files/temporary-1.3-smp-flag.patch @@ -0,0 +1,46 @@ +From 7f448b41589fccd3ac883c6fb3865f8dbedcb14d Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Sun, 30 Oct 2022 12:45:29 -0600 +Bug: https://github.com/UnkindPartition/temporary/pull/15 +Subject: [PATCH] Add smp flag + +This flag will toggle the use of some `ghc-options` in the test suite. +It is set to `default: True`. + +This is needed for tests to run on some GHC builds which do not support +a threaded runtime. + +Reported-by: matoro <https://github.com/matoro> +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + temporary.cabal | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/temporary.cabal b/temporary.cabal +index 67163d1..ca54604 100644 +--- a/temporary.cabal ++++ b/temporary.cabal +@@ -15,6 +15,11 @@ source-repository head + type: git + location: git://github.com/feuerbach/temporary.git + ++flag smp ++ description: Use flags that depend on GHC supporting a multicore runtime (tests only) ++ manual: True ++ default: True ++ + Library + default-language: + Haskell2010 +@@ -37,7 +42,10 @@ test-suite test + tests + main-is: + test.hs +- ghc-options: -threaded -with-rtsopts=-N2 ++ if flag(smp) ++ ghc-options: -threaded -with-rtsopts=-N2 ++ else ++ ghc-options: -threaded + build-depends: + base >= 4.3 && < 5 + , directory diff --git a/dev-haskell/temporary/metadata.xml b/dev-haskell/temporary/metadata.xml index f0239d9fd1c2..5a2f1de5b5d4 100644 --- a/dev-haskell/temporary/metadata.xml +++ b/dev-haskell/temporary/metadata.xml @@ -5,13 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The functions for creating temporary files and directories in the base library are quite limited. The unixutils - package contains some good ones, but they aren't portable to Windows. - This library just repackages the Cabal implementations of its own temporary file and folder functions so that - you can use them without linking against Cabal or depending on it being installed. - </longdescription> <upstream> - <remote-id type="github">batterseapower/temporary</remote-id> + <remote-id type="hackage">temporary</remote-id> + <remote-id type="github">feuerbach/temporary</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/temporary/temporary-1.3-r1.ebuild b/dev-haskell/temporary/temporary-1.3-r1.ebuild new file mode 100644 index 000000000000..604644669b27 --- /dev/null +++ b/dev-haskell/temporary/temporary-1.3-r1.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.7.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit ghc-package haskell-cabal + +DESCRIPTION="Portable temporary file and directory support" +HOMEPAGE="https://github.com/feuerbach/temporary" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-1.3-smp-flag.patch" +) + +RDEPEND=" + >=dev-haskell/random-1.1:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( + dev-haskell/base-compat + dev-haskell/tasty + dev-haskell/tasty-hunit + ) +" + +src_configure() { + if ghc-supports-smp; then + local smp_flag=smp + else + local smp_flag=-smp + fi + + haskell-cabal_src_configure \ + --flag="${smp_flag}" +} diff --git a/dev-haskell/temporary/temporary-1.3.ebuild b/dev-haskell/temporary/temporary-1.3.ebuild index 1bd336437008..3bbb3ee7db6b 100644 --- a/dev-haskell/temporary/temporary-1.3.ebuild +++ b/dev-haskell/temporary/temporary-1.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/terminal-size/Manifest b/dev-haskell/terminal-size/Manifest index d3a1b1e53b97..5d153d90f850 100644 --- a/dev-haskell/terminal-size/Manifest +++ b/dev-haskell/terminal-size/Manifest @@ -1 +1,2 @@ DIST terminal-size-0.3.2.1.tar.gz 4175 BLAKE2B d6a2b54298217dfae26e3fccb5aca6813c23b1bdef5c2e22236b6285222ade53842acd0283e862c86f25f94c1b5ce9f990ad583e0f498b57795d6d59bafdd920 SHA512 1e04705dda8ade9a06f8b369f1033a93ffb94a1b959a556e11f2373b25924adbbab4be0f3e077394e1023e0054044739df13406b69153c1542f4083be82a1584 +DIST terminal-size-0.3.3.tar.gz 4291 BLAKE2B 71c378683772654a6e598a6ff3fcafdc3e8737044c8cb4afa0dd4093e9978854d24bf97fae28d3fc8e585daa5a999a268b428d0e8698ee25fbe87d57224fb8ea SHA512 eff444205905337503e208ae2ce925713c4ebdf1a92bdd915feef2f85a8d936d74c727b01e570aed64c151797b23800220460d520a0df0830b5419ad51d7f310 diff --git a/dev-haskell/terminal-size/metadata.xml b/dev-haskell/terminal-size/metadata.xml index 937381521944..c97bfab3cc30 100644 --- a/dev-haskell/terminal-size/metadata.xml +++ b/dev-haskell/terminal-size/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">terminal-size</remote-id> + <remote-id type="github">biegunka/terminal-size</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/terminal-size/terminal-size-0.3.2.1.ebuild b/dev-haskell/terminal-size/terminal-size-0.3.2.1.ebuild index c51a2ed38f62..6bf55f9285ca 100644 --- a/dev-haskell/terminal-size/terminal-size-0.3.2.1.ebuild +++ b/dev-haskell/terminal-size/terminal-size-0.3.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.6.9999 diff --git a/dev-haskell/terminal-size/terminal-size-0.3.3.ebuild b/dev-haskell/terminal-size/terminal-size-0.3.3.ebuild new file mode 100644 index 000000000000..f4e514a61744 --- /dev/null +++ b/dev-haskell/terminal-size/terminal-size-0.3.3.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.3.0 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Get terminal window height and width" +HOMEPAGE="https://hackage.haskell.org/package/terminal-size" + +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/terminfo/Manifest b/dev-haskell/terminfo/Manifest index 2c54f3ab5f41..e9f5ff44ec6d 100644 --- a/dev-haskell/terminfo/Manifest +++ b/dev-haskell/terminfo/Manifest @@ -1,2 +1,4 @@ +DIST terminfo-0.4.1.4-rev1.cabal 1713 BLAKE2B 01ba0752284de317c02b1f198f451ef0571dc5b98425a5b88cd96c2b08c9ba7971308ad9924f9ef0cbd89473a1ce87046bab1da23b1b1e75f5e718448520f335 SHA512 a008174448cb973e4f5c138cf213d2f8b7233eda81cfd890c82e7bf7fe7f4acae60ef7a8e4b2b12fce5ec09728501e6f042073402bf0d8c6dae9316222c4b47a DIST terminfo-0.4.1.4.tar.gz 42234 BLAKE2B d20920290bb865982d3dac1647a7bad8d75dc7782db249286fa0fcd70ba1bf532da174bc0925f13c6870a2949c7d3b033656c13f5906f09000ba7d89ace4102e SHA512 3006b7c4a0628cb0f28cfb9af8172410a194ee9dc24e1bd121a94d5c5bfbba09ea0b232412eacc7f6705495511077a427ef2aeb7fff2af7cb80e25823aa1667c +DIST terminfo-0.4.1.5-rev1.cabal 1713 BLAKE2B 1f065369dda9b27ff1959ed7071cf71f3f756efa37e1e82c24230e61f88ec0d8392a70211071ca7057bf12011113f28f49aa9dee3f0837eaf21118e3b4d1e149 SHA512 68686c54a1400dcbd76fefd95d564939ccb34f53f5c880103e359c46cd1fbd81480582e271ba9a2c58a0bc6cc6b073609340e301df6824ae61c7a0a5ba2b063b DIST terminfo-0.4.1.5.tar.gz 42371 BLAKE2B f7ada992d945ee882f405925134fc0e396d3f5dd79387ea4c1cd0aaaa0e8b2c447b71a4ad6a9e407cfd43b3f4e3bfead2b04fe92ae34fea62185ae7e836980a3 SHA512 1aa802ded4efa2903b21e31cbb3dafc8e712ba3c58388a5c369224644c80f4886b4fa28671a4fdcdee621cabc80edc131a16e5fe0e7302c8398572676060c091 diff --git a/dev-haskell/terminfo/metadata.xml b/dev-haskell/terminfo/metadata.xml index 5e3928e8e528..f970206e77ac 100644 --- a/dev-haskell/terminfo/metadata.xml +++ b/dev-haskell/terminfo/metadata.xml @@ -1,10 +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> - </maintainer> - <upstream> - <remote-id type="github">judah/terminfo</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">terminfo</remote-id> + <remote-id type="github">judah/terminfo</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/terminfo/terminfo-0.4.1.4.ebuild b/dev-haskell/terminfo/terminfo-0.4.1.4-r1.ebuild index 007ff1d92031..8a294c24d0c3 100644 --- a/dev-haskell/terminfo/terminfo-0.4.1.4.ebuild +++ b/dev-haskell/terminfo/terminfo-0.4.1.4-r1.ebuild @@ -1,27 +1,28 @@ -# Copyright 1999-2022 Gentoo Authors +# 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.8.0.0.9999 + +CABAL_HACKAGE_REVISION=1 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Haskell bindings to the terminfo library" HOMEPAGE="https://github.com/judah/terminfo" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -# keep in sync with ghc-8.8 and ghc 8.10 +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND=">=dev-lang/ghc-8.0.1:= +RDEPEND=" + >=dev-lang/ghc-8.10.6:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.24.0.0 + >=dev-haskell/cabal-2.2.0.1 " -CABAL_CORE_LIB_GHC_PV="8.10.6" +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7" diff --git a/dev-haskell/terminfo/terminfo-0.4.1.5.ebuild b/dev-haskell/terminfo/terminfo-0.4.1.5-r1.ebuild index 92b2fcea233e..dbd28620814c 100644 --- a/dev-haskell/terminfo/terminfo-0.4.1.5.ebuild +++ b/dev-haskell/terminfo/terminfo-0.4.1.5-r1.ebuild @@ -3,24 +3,26 @@ EAPI=8 -# ebuild generated by hackport 0.7.9999 +# ebuild generated by hackport 0.8.0.0.9999 + +CABAL_HACKAGE_REVISION=1 CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal DESCRIPTION="Haskell bindings to the terminfo library" HOMEPAGE="https://github.com/judah/terminfo" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -#keep in sync with ghc-9.0.2 +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-lang/ghc-8.4.3:= +RDEPEND=" + >=dev-lang/ghc-9.0.2:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 " -CABAL_CORE_LIB_GHC_PV="9.0.2" +CABAL_CORE_LIB_GHC_PV="9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5" diff --git a/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild b/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild index 536c4120ee1b..ce749f2dee58 100644 --- a/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild +++ b/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-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.4.6.9999 #hackport: flags: +base4 @@ -27,12 +27,9 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.6 " -src_prepare() { - default - - cabal_chdeps \ - 'HUnit >= 1.2 && < 1.4' 'HUnit >= 1.2' -} +CABAL_CHDEPS=( + 'HUnit >= 1.2 && < 1.4' 'HUnit >= 1.2' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/test-framework-leancheck/test-framework-leancheck-0.0.1.ebuild b/dev-haskell/test-framework-leancheck/test-framework-leancheck-0.0.1.ebuild index 6ee2b5915bea..dbbe77a31e06 100644 --- a/dev-haskell/test-framework-leancheck/test-framework-leancheck-0.0.1.ebuild +++ b/dev-haskell/test-framework-leancheck/test-framework-leancheck-0.0.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/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild b/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild index 900e677dbb0c..77325980858f 100644 --- a/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild +++ b/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-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.5.6.9999 #hackport: flags: +base4 @@ -28,13 +28,10 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - default - - cabal_chdeps \ - 'QuickCheck >= 2.4 && < 2.13' 'QuickCheck >= 2.4' \ - 'random >= 1 && < 1.2' 'random >= 1' -} +CABAL_CHDEPS=( + 'QuickCheck >= 2.4 && < 2.13' 'QuickCheck >= 2.4' \ + 'random >= 1 && < 1.2' 'random >= 1' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/test-framework-th/test-framework-th-0.2.4.ebuild b/dev-haskell/test-framework-th/test-framework-th-0.2.4.ebuild index cdda2659f7f5..98606fff1283 100644 --- a/dev-haskell/test-framework-th/test-framework-th-0.2.4.ebuild +++ b/dev-haskell/test-framework-th/test-framework-th-0.2.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/test-framework/Manifest b/dev-haskell/test-framework/Manifest index 988cc0f0708a..f8cca506a6ce 100644 --- a/dev-haskell/test-framework/Manifest +++ b/dev-haskell/test-framework/Manifest @@ -1 +1,2 @@ +DIST test-framework-0.8.2.0-rev10.cabal 6551 BLAKE2B ce6ea4314af3636960aa38714641cb79f83ccb3da89e2f95921c7f2e05da1ef3085d5cdeba3eb92c1a57245f38660994ec19478f0ce11489e952a55197debf9d SHA512 bf7a78811a6f7d25df23e79577b58c7af693f9615f631e69524d2bee144d8288f68d89416fc5ad4ae4c576093ea12ed7c8706dc096e6f758ce039f6c103fa184 DIST test-framework-0.8.2.0.tar.gz 21317 BLAKE2B 80065ad3d87188a8310e93b9caaaca73c3176e150b254fe29dd3e08d38f7a7066119b132f6c747a35a87a13764d115fe83b131a023667a3919c0f1c0963c770a SHA512 d8e7ea274819a1b49b9f938df527d22c808f456d25b84f03173ed57dddd39c230fb037a57ce90c38f571801ee38e86bed6826df1c93f184e4a803c72ce5f41e4 diff --git a/dev-haskell/test-framework/metadata.xml b/dev-haskell/test-framework/metadata.xml index 6d7c2fd39257..f9659d324248 100644 --- a/dev-haskell/test-framework/metadata.xml +++ b/dev-haskell/test-framework/metadata.xml @@ -5,9 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Allows tests such as QuickCheck properties and HUnit test cases to be assembled into test groups, run in - parallel (but reported in deterministic order, to aid diff interpretation) and filtered and controlled by - command line options. All of this comes with colored test output, progress reporting and test statistics output. - </longdescription> + <upstream> + <remote-id type="hackage">test-framework</remote-id> + <remote-id type="github">haskell/test-framework</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/test-framework/test-framework-0.8.2.0-r3.ebuild b/dev-haskell/test-framework/test-framework-0.8.2.0-r3.ebuild deleted file mode 100644 index 9c49faec9480..000000000000 --- a/dev-haskell/test-framework/test-framework-0.8.2.0-r3.ebuild +++ /dev/null @@ -1,49 +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.5.5.9999 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: missing modules -inherit haskell-cabal - -DESCRIPTION="Framework for running and organising tests, with HUnit and QuickCheck support" -HOMEPAGE="http://haskell.github.io/test-framework/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" - -RESTRICT="test" # tests are missing - -RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?] - >=dev-haskell/ansi-wl-pprint-0.5.1:=[profile?] <dev-haskell/ansi-wl-pprint-0.7:=[profile?] - >=dev-haskell/base-orphans-0.1:=[profile?] - >=dev-haskell/hostname-1.0:=[profile?] <dev-haskell/hostname-1.1:=[profile?] - >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] - >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.3:=[profile?] - >=dev-haskell/regex-posix-0.72:=[profile?] - >=dev-haskell/semigroups-0.18:=[profile?] - >=dev-haskell/xml-1.3.5:=[profile?] <dev-haskell/xml-1.4:=[profile?] - >=dev-lang/ghc-7.4.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.10 -" - -src_prepare() { - default - - cabal_chdeps \ - 'ansi-terminal >= 0.4.0 && < 0.9' 'ansi-terminal >= 0.4.0' \ - 'base-orphans >= 0.1 && < 0.5' 'base-orphans >= 0.1' \ - 'containers >= 0.1 && < 0.6' 'containers >= 0.1' \ - 'semigroups >= 0.18 && < 0.19' 'semigroups >= 0.18' \ - 'QuickCheck >= 2.3 && < 2.10' 'QuickCheck >= 2.3' \ - 'regex-posix >= 0.72 && < 0.96' 'regex-posix >= 0.72' \ - 'time >= 1.1.2 && < 1.9' 'time >= 1.1.2' \ - 'random >= 1.0 && < 1.2' 'random >= 1.0' -} diff --git a/dev-haskell/test-framework/test-framework-0.8.2.0-r4.ebuild b/dev-haskell/test-framework/test-framework-0.8.2.0-r4.ebuild new file mode 100644 index 000000000000..d209613f3de7 --- /dev/null +++ b/dev-haskell/test-framework/test-framework-0.8.2.0-r4.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.4.0.9999 + +CABAL_HACKAGE_REVISION=10 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal +RESTRICT="test" # tests are missing + +DESCRIPTION="Framework for running and organising tests, with HUnit and QuickCheck support" +HOMEPAGE="https://haskell.github.io/test-framework/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/ansi-terminal-0.4.0:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + >=dev-haskell/ansi-wl-pprint-0.5.1:=[profile?] <dev-haskell/ansi-wl-pprint-1.1:=[profile?] + >=dev-haskell/hostname-1.0:=[profile?] <dev-haskell/hostname-1.1:=[profile?] + >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?] + >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/regex-posix-0.72:=[profile?] <dev-haskell/regex-posix-0.97:=[profile?] + >=dev-haskell/xml-1.3.5:=[profile?] <dev-haskell/xml-1.4:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" +# test? ( +# >=dev-haskell/hunit-1.2 +# >=dev-haskell/libxml-0.1.1 +# >=dev-haskell/quickcheck-2.3 <dev-haskell/quickcheck-2.15 +# >=dev-haskell/semigroups-0.18 +# ) diff --git a/dev-haskell/texmath/Manifest b/dev-haskell/texmath/Manifest index 6cf32390f95c..111adeb33102 100644 --- a/dev-haskell/texmath/Manifest +++ b/dev-haskell/texmath/Manifest @@ -1 +1,2 @@ DIST texmath-0.12.5.1.tar.gz 1606982 BLAKE2B a58e033176a6a9ba136590b8403d577c24c84cab983a6ee53ba2ae4564c05b681a31859aa066a3cb5aa3b18b07eaee9266964018abc8c30cc9288df15160d8f4 SHA512 77f3b008b82a8a1946108f8bb948d5d43121bffe2b2e22220cc8eb404884fa4c960bff07d7c8a5c75d5cce53d4039a8e6edd190fc69f5ad4da5b41212751f897 +DIST texmath-0.12.8.3.tar.gz 1480545 BLAKE2B 2a33a82f70b73aebae27c694b9d8e942f3c8ff8a5e0f2ad03ca8d71d2b346ae302c628441174922fca092ebadce8963a4dfdb35b2369fa168ca9eb13e34774bf SHA512 f90639a65a768245323a5b98e8ab3408f7d00bddfc3a1a66ce4cbedd25a7f8cf3555cae6912d60d00784887839f61562072912e3e2143553d377bee09176dace diff --git a/dev-haskell/texmath/metadata.xml b/dev-haskell/texmath/metadata.xml index 77811c73b748..5b65dbf8acd8 100644 --- a/dev-haskell/texmath/metadata.xml +++ b/dev-haskell/texmath/metadata.xml @@ -10,6 +10,7 @@ <flag name="server">Compile webserver.</flag> </use> <upstream> + <remote-id type="hackage">texmath</remote-id> <remote-id type="github">jgm/texmath</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/texmath/texmath-0.12.8.3.ebuild b/dev-haskell/texmath/texmath-0.12.8.3.ebuild new file mode 100644 index 000000000000..1a760eec83bc --- /dev/null +++ b/dev-haskell/texmath/texmath-0.12.8.3.ebuild @@ -0,0 +1,52 @@ +# 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: +network-uri + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Conversion between math formats" +HOMEPAGE="https://github.com/jgm/texmath" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable server" + +RDEPEND=">=dev-haskell/pandoc-types-1.20:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + >=dev-haskell/parsec-3:=[profile?] + dev-haskell/split:=[profile?] + >=dev-haskell/syb-0.4.2:=[profile?] <dev-haskell/syb-0.8:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/typst-symbols-0.1.4:=[profile?] <dev-haskell/typst-symbols-0.1.5:=[profile?] + dev-haskell/xml:=[profile?] + >=dev-lang/ghc-8.10.6:= + executable? ( dev-haskell/aeson:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] + dev-haskell/pretty-show:=[profile?] ) + !executable? ( server? ( dev-haskell/aeson:=[profile?] ) ) + server? ( dev-haskell/optparse-applicative:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/servant-server:=[profile?] + dev-haskell/wai:=[profile?] + dev-haskell/wai-logger:=[profile?] + dev-haskell/warp:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/tagged + dev-haskell/tasty + dev-haskell/tasty-golden + !executable? ( dev-haskell/pretty-show ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) \ + --flag=network-uri \ + $(cabal_flag server server) +} diff --git a/dev-haskell/text-conversions/Manifest b/dev-haskell/text-conversions/Manifest index 65e85e1b130c..5260b1f058b2 100644 --- a/dev-haskell/text-conversions/Manifest +++ b/dev-haskell/text-conversions/Manifest @@ -1 +1,2 @@ +DIST text-conversions-0.3.1.1.tar.gz 5258 BLAKE2B 6003575dad1a5b743fad46a1434f83eed22a4d9f2bb99bdf65cc84b7e9929324c7227eb3a9887ac07716da24b1144e65dda01f7c2b5eb1b939f052c5d6b99867 SHA512 b04fff74f2541120718c377ff820a9e882c3e49e3423f581113ebcf02b13c58b3360be82fdd5e7a039da0077219d9ff64d02ef523b1a16fae89cfab0ac86a4ac DIST text-conversions-0.3.1.tar.gz 5571 BLAKE2B bf98228ac5c308d306ed12b1ce3cb4c9a7e4bca218b249c8b0e996204d2431e081fa8917428c3ceffa897b9968f6fee3e8c3665b3a651746b339601fb1e06367 SHA512 4c0fe08024a56e326b632a67b945fa869a798b00fa45b56f4f181a0075ed5cd6802edec0f0e38c0f4b5cc4b81c6f6bd98e3382b968cec6ad884d24ee31dbf600 diff --git a/dev-haskell/text-conversions/metadata.xml b/dev-haskell/text-conversions/metadata.xml index 937381521944..cc111d378977 100644 --- a/dev-haskell/text-conversions/metadata.xml +++ b/dev-haskell/text-conversions/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">text-conversions</remote-id> + <remote-id type="github">cjdev/text-conversions</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/text-conversions/text-conversions-0.3.1.1.ebuild b/dev-haskell/text-conversions/text-conversions-0.3.1.1.ebuild new file mode 100644 index 000000000000..7ff675e86cf2 --- /dev/null +++ b/dev-haskell/text-conversions/text-conversions-0.3.1.1.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.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Safe conversions between textual types" +HOMEPAGE="https://github.com/cjdev/text-conversions" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="<dev-haskell/base16-bytestring-2:=[profile?] + <dev-haskell/base64-bytestring-2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4 + test? ( dev-haskell/hspec ) +" diff --git a/dev-haskell/text-conversions/text-conversions-0.3.1.ebuild b/dev-haskell/text-conversions/text-conversions-0.3.1.ebuild index 82bbdf761fc9..22d22e0701a6 100644 --- a/dev-haskell/text-conversions/text-conversions-0.3.1.ebuild +++ b/dev-haskell/text-conversions/text-conversions-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.7.9999 diff --git a/dev-haskell/text-icu/Manifest b/dev-haskell/text-icu/Manifest index 8f7010cfbe64..20e70edf5b7f 100644 --- a/dev-haskell/text-icu/Manifest +++ b/dev-haskell/text-icu/Manifest @@ -1 +1,2 @@ DIST text-icu-0.7.1.0.tar.gz 52490 BLAKE2B fb66502b0a18d8d2a0f1dcb2240e9c939b04b157acac31b62fbe65a6d5edd6244a4713d712e6b78dc54451b52d3e78d9cd8bc803e7bddb319fa8ed016c162123 SHA512 807a1385b7601edcfa6142a8e107df1b3c2820974218e2bafadb8a42eda3b68a0a16d222d75120b422e5ca9f4cd4f52f39d2b7938a541692ed4d633d5750089a +DIST text-icu-0.8.0.2.tar.gz 85213 BLAKE2B 68fe194da996b33de5c8ea3b3bb3daec1181a35a1f528328fdcfd38ca89857df2966b38d05b8c0aaf070e081040678a521a6f591c0af36a78b716cb19f4a08f7 SHA512 c70b014200678b19d763347dce021970062cdbee024c93bfd09b084615f1734283d0d6eb17db64901a83e9a293c79ff8fbf7d45e8a67eb812ce5bcc85b72b9e6 diff --git a/dev-haskell/text-icu/metadata.xml b/dev-haskell/text-icu/metadata.xml index cf90d36efbec..33f4332f7eab 100644 --- a/dev-haskell/text-icu/metadata.xml +++ b/dev-haskell/text-icu/metadata.xml @@ -5,35 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Haskell bindings to the International Components for Unicode (ICU) - libraries. These libraries provide robust and full-featured Unicode - services on a wide variety of platforms. - - Features include: - - * Both pure and impure bindings, to allow for fine control over efficiency - and ease of use. - - * Breaking of strings on character, word, sentence, and line boundaries. - - * Access to the Unicode Character Database (UCD) of character metadata. - - * String collation functions, for locales where the conventions for - lexicographic ordering differ from the simple numeric ordering of - character codes. - - * Character set conversion functions, allowing conversion between - Unicode and over 220 character encodings. - - * Unicode normalization. (When implementations keep strings in a - normalized form, they can be assured that equivalent strings have a - unique binary representation.) - - * Regular expression search and replace. - </longdescription> <upstream> - <remote-id type="github">bos/text-icu</remote-id> - <remote-id type="bitbucket">bos/text-icu</remote-id> + <remote-id type="hackage">text-icu</remote-id> + <remote-id type="github">haskell/text-icu</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/text-icu/text-icu-0.8.0.2.ebuild b/dev-haskell/text-icu/text-icu-0.8.0.2.ebuild new file mode 100644 index 000000000000..502b75b161bb --- /dev/null +++ b/dev-haskell/text-icu/text-icu-0.8.0.2.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite" +inherit haskell-cabal + +DESCRIPTION="Bindings to the ICU library" +HOMEPAGE="https://github.com/haskell/text-icu" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # QuickCheck occasionally finds counterexamples +# and fails to build: Duplicate instance declarations: instance NFData Ordering + +RDEPEND=">=dev-haskell/text-0.9.1.0:=[profile?] + >=dev-lang/ghc-8.8.1:= + dev-libs/icu +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +# test? ( >=dev-haskell/hunit-1.2 +# >=dev-haskell/quickcheck-2.4 +# dev-haskell/random +# >=dev-haskell/test-framework-0.4 +# >=dev-haskell/test-framework-hunit-0.2 +# >=dev-haskell/test-framework-quickcheck2-0.2 +# dev-haskell/text ) +# " diff --git a/dev-haskell/text-short/Manifest b/dev-haskell/text-short/Manifest index 39edddd750b0..ccc44f1f626d 100644 --- a/dev-haskell/text-short/Manifest +++ b/dev-haskell/text-short/Manifest @@ -1 +1,2 @@ +DIST text-short-0.1.5-rev2.cabal 3202 BLAKE2B 92985f445d522e0e26e85d86d4bf4ab1d517ea066f062097cc58b276a5d845fbb53e86ae7c97c33de16b0a9f061f9ba4485a151f41f7351771dff044cd761190 SHA512 337e7e557691aaed379658069a1dc50116a247c86133e219a1f4ec0f468f1f6cdde9461365424dfc1900f6676bc15c75c46a241148414512d7da81e766b11662 DIST text-short-0.1.5.tar.gz 25113 BLAKE2B a3ed468d60d4a351ad86600f5d6e7241ae88b987746fabc8ff79f6e0f0c687a9d5d5e0f4fcabb2fbf7c48ce2e3a37b798e478d6c8239760974e7a55835cab1aa SHA512 32f09a1abc37ddb3f85921d80629355f68b2e68531f14318907e792a8eeb7d4a258bfcf7d45710dcb67f85fadfbad2bb9ffdac27a912aefc4296dc1818585125 diff --git a/dev-haskell/text-short/metadata.xml b/dev-haskell/text-short/metadata.xml index d3f5190bed94..0573ab12c9a2 100644 --- a/dev-haskell/text-short/metadata.xml +++ b/dev-haskell/text-short/metadata.xml @@ -6,11 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="asserts">Enable runtime-checks via 'assert'</flag> + <flag name="debug">Enable runtime-checks via 'assert'</flag> </use> - <longdescription> - This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'. - - The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload. - </longdescription> + <upstream> + <remote-id type="hackage">text-short</remote-id> + <remote-id type="github">hvr/text-short</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/text-short/text-short-0.1.5.ebuild b/dev-haskell/text-short/text-short-0.1.5-r1.ebuild index ede4252283a0..a91116ad98e5 100644 --- a/dev-haskell/text-short/text-short-0.1.5.ebuild +++ b/dev-haskell/text-short/text-short-0.1.5-r1.ebuild @@ -3,31 +3,41 @@ EAPI=8 -# ebuild generated by hackport 0.7.9999 +# ebuild generated by hackport 0.8.2.1.9999 +#hackport: flags: asserts:debug + +CABAL_HACKAGE_REVISION=2 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Memory-efficient representation of Unicode text strings" HOMEPAGE="https://hackage.haskell.org/package/text-short" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="asserts" +IUSE="debug" -RDEPEND=">=dev-haskell/hashable-1.2.6:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-lang/ghc-8.4.3:= +RDEPEND=" + >=dev-haskell/hashable-1.2.6:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= + || ( + ( >=dev-haskell/text-1.0 <dev-haskell/text-1.3 ) + ( >=dev-haskell/text-2.0 <dev-haskell/text-2.1 ) + ) + dev-haskell/text:=[profile?] " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/tasty-1.4 <dev-haskell/tasty-1.5 >=dev-haskell/tasty-hunit-0.10.0 <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 + ) " src_configure() { haskell-cabal_src_configure \ - $(cabal_flag asserts asserts) + $(cabal_flag debug asserts) } diff --git a/dev-haskell/text-show/Manifest b/dev-haskell/text-show/Manifest index e89c93f604ac..5e88ab12a7fa 100644 --- a/dev-haskell/text-show/Manifest +++ b/dev-haskell/text-show/Manifest @@ -1 +1,2 @@ +DIST text-show-3.10.4.tar.gz 101876 BLAKE2B a51a0a536dab520c924516171703ebe6a71cfdb22a46b4f4aaccab7f69b78aa3d07c14a2b7226f14ffa89ffff84adcc7abcb1646d3add7f2ff0fa7a494175ea3 SHA512 f74eec545cd2994b3ebde9552e15e8b26c60ff00f6438f0c7bc2d92148a34fa85d41b8c04de0a960d468bc928346a5a8cd676a604f9dd81fc14d2ad5667a9d7f DIST text-show-3.9.7.tar.gz 96683 BLAKE2B 402b41fe0ea539fb2bc98f5271dda37605e86751622dda6136bca8b8ec92917b15ab69e606c4b8fbb6e055f1ee14aed2cd5d446be4c6f494662a0ce153075328 SHA512 d32c2c5c9ea833ac2b996ef299bc7fa2736dfb0ccd86117cd964512ccc25af5eda126fc6dee0537d4740bd38fa9a73ea899e1dd73a30bec775f9966f2121a748 diff --git a/dev-haskell/text-show/metadata.xml b/dev-haskell/text-show/metadata.xml index eca7e7acbe42..4f3fc546038a 100644 --- a/dev-haskell/text-show/metadata.xml +++ b/dev-haskell/text-show/metadata.xml @@ -5,43 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - @text-show@ offers a replacement for the @Show@ typeclass intended - for use with @Text@ instead of @String@s. This package was created - in the spirit of - @<http://hackage.haskell.org/package/bytestring-show bytestring-show>@. - - At the moment, @text-show@ provides instances for most data - types in the @<http://hackage.haskell.org/package/array array>@, - @<http://hackage.haskell.org/package/base base>@, - @<http://hackage.haskell.org/package/bytestring bytestring>@, and - @<http://hackage.haskell.org/package/text text>@ packages. - Therefore, much of the source code for @text-show@ consists of - borrowed code from those packages in order to ensure that the - behaviors of @Show@ and @TextShow@ coincide. - - For most uses, simply importing "TextShow" - will suffice: - - @ - module Main where - - import TextShow - - main :: IO () - main = printT (Just \"Hello, World!\") - @ - - If you desire it, there are also monomorphic versions of the @showb@ - function available in the submodules of "TextShow". See the - <https://github.com/RyanGlScott/text-show/wiki/Naming-conventions naming conventions> - page for more information. - - Support for automatically deriving @TextShow@ instances can be found - in the "TextShow.TH" and "TextShow.Generic" modules. If you don't - know which one to use, use "TextShow.TH". - </longdescription> <upstream> + <remote-id type="hackage">text-show</remote-id> <remote-id type="github">RyanGlScott/text-show</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/text-show/text-show-3.10.4.ebuild b/dev-haskell/text-show/text-show-3.10.4.ebuild new file mode 100644 index 000000000000..c40812157058 --- /dev/null +++ b/dev-haskell/text-show/text-show-3.10.4.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: -developer,-integer-gmp + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient conversion of values into Text" +HOMEPAGE="https://github.com/RyanGlScott/text-show" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/base-compat-batteries-0.11:=[profile?] <dev-haskell/base-compat-batteries-0.14:=[profile?] + >=dev-haskell/bifunctors-5.1:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + dev-haskell/bytestring-builder:=[profile?] + >=dev-haskell/generic-deriving-1.14.1:=[profile?] <dev-haskell/generic-deriving-2:=[profile?] + >=dev-haskell/text-0.11.1:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/th-abstraction-0.4:=[profile?] <dev-haskell/th-abstraction-0.7:=[profile?] + >=dev-haskell/th-lift-0.7.6:=[profile?] <dev-haskell/th-lift-1:=[profile?] + >=dev-haskell/transformers-compat-0.5:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/base-orphans-0.8.5 <dev-haskell/base-orphans-0.10 + >=dev-haskell/deriving-compat-0.6.5 <dev-haskell/deriving-compat-1 + >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + >=dev-haskell/quickcheck-2.14.3 <dev-haskell/quickcheck-2.15 + >=dev-haskell/quickcheck-instances-0.3.28 <dev-haskell/quickcheck-instances-0.4 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-developer \ + --flag=-integer-gmp +} diff --git a/dev-haskell/text/metadata.xml b/dev-haskell/text/metadata.xml index b6cbf085cb4f..31b80dba2fcc 100644 --- a/dev-haskell/text/metadata.xml +++ b/dev-haskell/text/metadata.xml @@ -5,36 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - - An efficient packed, immutable Unicode text type (both strict and - lazy), with a powerful loop fusion optimization framework. - - The 'Text' type represents Unicode character strings, in a time and - space-efficient manner. This package provides text processing - capabilities that are optimized for performance critical use, both - in terms of large data quantities and high speed. - - The 'Text' type provides character-encoding, type-safe case - conversion via whole-string case conversion functions. It also - provides a range of functions for converting 'Text' values to and from - 'ByteStrings', using several standard encodings. - - Efficient locale-sensitive support for text IO is also supported. - - These modules are intended to be imported qualified, to avoid name - clashes with Prelude functions, e.g. - - > import qualified Data.Text as T - - To use an extended and very rich family of functions for working - with Unicode text (including normalization, regular expressions, - non-standard encodings, text breaking, and locales), see - the @text-icu@ package: - <http://hackage.haskell.org/package/text-icu> - - </longdescription> <upstream> - <remote-id type="github">bos/text</remote-id> + <remote-id type="hackage">text</remote-id> + <remote-id type="github">haskell/text</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/text/text-1.2.4.1.ebuild b/dev-haskell/text/text-1.2.4.1-r1.ebuild index d5c69728cb9b..853e1268efcb 100644 --- a/dev-haskell/text/text-1.2.4.1.ebuild +++ b/dev-haskell/text/text-1.2.4.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -# ebuild generated by hackport 0.6.7.9999 -#hackport: flags: -bytestring-builder,-developer +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -bytestring-builder,-developer,-integer-simple CABAL_FEATURES="lib profile haddock hoogle hscolour" # broken test-suite # break circular dependencies: @@ -14,24 +14,26 @@ inherit haskell-cabal DESCRIPTION="An efficient packed Unicode text type" HOMEPAGE="https://github.com/haskell/text" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0/${PV}" -# keep in sync with ghc-8.10.4 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) +KEYWORDS="~amd64 ~amd64-linux" + # break cyclic dependencies, test suite requires porting to >=QC-2.11 RESTRICT=test -RDEPEND=">=dev-lang/ghc-8.8:=" +RDEPEND=" + >=dev-lang/ghc-8.10.6:= +" DEPEND="${RDEPEND} " -CABAL_CORE_LIB_GHC_PV="8.10.6" - src_configure() { haskell-cabal_src_configure \ --flag=-bytestring-builder \ - --flag=-developer + --flag=-developer \ + --flag=-integer-simple } + +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7" diff --git a/dev-haskell/text/text-1.2.5.0.ebuild b/dev-haskell/text/text-1.2.5.0-r1.ebuild index 68c9189b4b5e..12b2e313de16 100644 --- a/dev-haskell/text/text-1.2.5.0.ebuild +++ b/dev-haskell/text/text-1.2.5.0-r1.ebuild @@ -3,8 +3,8 @@ EAPI=8 -# ebuild generated by hackport 0.7.9999 -#hackport: flags: -bytestring-builder,-developer +# ebuild generated by hackport 0.8.0.0.9999 +#hackport: flags: -bytestring-builder,-developer,-integer-simple CABAL_FEATURES="lib profile haddock hoogle hscolour" # circular deps in test-suite # break circular dependencies: @@ -14,23 +14,35 @@ inherit haskell-cabal DESCRIPTION="An efficient packed Unicode text type" HOMEPAGE="https://github.com/haskell/text" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0/${PV}" -#keep in sync with ghc-9.0.2 +# Keep in sync with relevant ghc versions (CABAL_CORE_LIB_GHC_PV) KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + # break cyclic dependencies: RESTRICT=test -RDEPEND=">=dev-lang/ghc-8.4.3:= +RDEPEND=" + >=dev-lang/ghc-9.0.2:= +" +DEPEND="${RDEPEND} " -DEPEND="${RDEPEND}" +# test? ( +# >=dev-haskell/quickcheck-2.14.1 <dev-haskell/quickcheck-2.15 +# >=dev-haskell/quickcheck-unicode-1.0.1.0 +# dev-haskell/random +# dev-haskell/tasty +# dev-haskell/tasty-hunit +# dev-haskell/tasty-inspection-testing +# dev-haskell/tasty-quickcheck +# ) src_configure() { haskell-cabal_src_configure \ --flag=-bytestring-builder \ - --flag=-developer + --flag=-developer \ + --flag=-integer-simple } -CABAL_CORE_LIB_GHC_PV="9.0.2" +CABAL_CORE_LIB_GHC_PV="9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8" diff --git a/dev-haskell/tf-random/tf-random-0.5.ebuild b/dev-haskell/tf-random/tf-random-0.5.ebuild index 2ce19ce67c44..69ad3707e39e 100644 --- a/dev-haskell/tf-random/tf-random-0.5.ebuild +++ b/dev-haskell/tf-random/tf-random-0.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.4.9999 diff --git a/dev-haskell/th-abstraction/Manifest b/dev-haskell/th-abstraction/Manifest index 8561d44ee118..c5ad98e57509 100644 --- a/dev-haskell/th-abstraction/Manifest +++ b/dev-haskell/th-abstraction/Manifest @@ -1 +1,3 @@ DIST th-abstraction-0.4.3.0.tar.gz 38595 BLAKE2B 62e3a3b34997ae5190fe534138c2632b9de104dbc33f38fca8a762e0a2b89bf359bcb0e4c5e711d5a703f7220b8cf362d11772ad31bb4a04cee3091134356367 SHA512 a474bd042721efb83db5f707537589faa320f0e4ccf6bc839c450ff8d0970d3835003c134fc59f88e692d47264b1717bbd053543623dd40aa591155531a31003 +DIST th-abstraction-0.4.5.0-rev1.cabal 2212 BLAKE2B 1cdb39cf49921404efb6ddda76549fa169a2cdc3b3120480fd61736e6b73284d293f831d661b904a6bafd6372ac65ea0c3fe0299f9f99778a25c689023daa665 SHA512 7aeb8b2fcf10fa7ec7d2073d0713ed428b2faa0593424d5ec2e806efc4a808b4d79a9296b26789a25a032d40b1dd4c0eed251703b8826eb4eff66e7c1d0203ad +DIST th-abstraction-0.4.5.0.tar.gz 39515 BLAKE2B ac66cb096dd55b1f4ec4b8cfacc4b920a00bef5490a88ddc5cda3c2ff3159ed82e5b5a04c5e13860ecacbc51ab40254832f62dbccd6f932cfbea8372ede3c8ae SHA512 eaea551b54d40bbd6056e6f7b14e662e7302cb016fe082b9715e248e05988197deebe6108e2adcb7709046a8a326e417fddd1899af3f810c2faa444da5cf4a41 diff --git a/dev-haskell/th-abstraction/metadata.xml b/dev-haskell/th-abstraction/metadata.xml index 89d46a711087..993ce3b7088f 100644 --- a/dev-haskell/th-abstraction/metadata.xml +++ b/dev-haskell/th-abstraction/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package normalizes variations in the interface for - inspecting datatype information via Template Haskell - so that packages and support a single, easier to use - informational datatype while supporting many versions - of Template Haskell. - </longdescription> + <upstream> + <remote-id type="hackage">th-abstraction</remote-id> + <remote-id type="github">glguy/th-abstraction</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/th-abstraction/th-abstraction-0.4.5.0.ebuild b/dev-haskell/th-abstraction/th-abstraction-0.4.5.0.ebuild new file mode 100644 index 000000000000..0fb793af0eb5 --- /dev/null +++ b/dev-haskell/th-abstraction/th-abstraction-0.4.5.0.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.7.3.0 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Nicer interface for reified information about data types" +HOMEPAGE="https://github.com/glguy/th-abstraction" + +LICENSE="ISC" +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/th-compat/Manifest b/dev-haskell/th-compat/Manifest index 6bf33d0d57c2..817ab6fe7663 100644 --- a/dev-haskell/th-compat/Manifest +++ b/dev-haskell/th-compat/Manifest @@ -1 +1,3 @@ DIST th-compat-0.1.3.tar.gz 13718 BLAKE2B ff925a0bd1f5a1de8008ce136cdd2c5e49aa6a58543df99d7179edaef65cea7d3ed3265ec5bdc31b5d5c01e65be25ddb1b393732d3b1f62a830a44f8c287554f SHA512 acb64eebf22093568fde29e7e5b78a8bce04d74b96a197a1c1f3383890b876c8d2e0a52206bbbc9708e3bf78a05f48e9bd3ea4929cbf6a7e712a4444917c1269 +DIST th-compat-0.1.4-rev2.cabal 3224 BLAKE2B 004c486fa4039444740af5ed883690ac754a5c9b06dbe54251d8e06990ca2e8e72184460d8a08cbf10140680c867e6b2a72a3bafa221616981e1671b85f7e9c3 SHA512 43540c5886eb07f32c8945d77c11af9132606b753640445ec264c1509339ebaaa958087ebfaa0b3dd1b46fca9f7b938b2846cd9df5ad1742e83dc4e377b469df +DIST th-compat-0.1.4.tar.gz 14838 BLAKE2B 1c6a18b9199596db0d837804fa0c5d02ce86c8c2b26ccf357a2d68594ebe7ba49fa3162b34c8d54efa6e0e9b5c8d7c26a31c001e634b0a778fb4d7bb7b3342ef SHA512 2c9999343f33b2a74ca2439fdd111d038ae760c427fe1cb2c5778c4debdc49436c259f512a37e2bf4d765b83e925757bb23a48449ba5899586d409d5e15603ed diff --git a/dev-haskell/th-compat/metadata.xml b/dev-haskell/th-compat/metadata.xml index 937381521944..d21f5e1a8260 100644 --- a/dev-haskell/th-compat/metadata.xml +++ b/dev-haskell/th-compat/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">th-compat</remote-id> + <remote-id type="github">haskell-compat/th-compat</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/th-compat/th-compat-0.1.4.ebuild b/dev-haskell/th-compat/th-compat-0.1.4.ebuild new file mode 100644 index 000000000000..306e0b5a0863 --- /dev/null +++ b/dev-haskell/th-compat/th-compat-0.1.4.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.2.1.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Backward- (and forward-)compatible Quote and Code types" +HOMEPAGE="https://github.com/haskell-compat/th-compat" + +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/base-compat-0.6 <dev-haskell/base-compat-0.14 + >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + ) +" diff --git a/dev-haskell/th-lift-instances/Manifest b/dev-haskell/th-lift-instances/Manifest index 44755e478e62..af5ed5344418 100644 --- a/dev-haskell/th-lift-instances/Manifest +++ b/dev-haskell/th-lift-instances/Manifest @@ -1 +1,2 @@ DIST th-lift-instances-0.1.19.tar.gz 6113 BLAKE2B 75cfd2a7f8c80fe3cd03e66c8c6fa104f79167de1ed75db9b46e94d27c93c5650be13068c3273fa7d9e401f6017306796acb8806a055a856176be0a88bb0d5ba SHA512 d8a38531a9a61dce426c43807e3764abbe22102e8886d9d23e76d27735bace672e10472b77b27dbe2fbb74bf6e32a5d528d690a608a81d8dce9963721fad6349 +DIST th-lift-instances-0.1.20.tar.gz 6721 BLAKE2B 178c00ffa942787aef063f87e1714f0625e68c9cdb6aad113da04db4113fd39813ed3082bbc6f5db774dd33833602464c73151bb1485d80593427d4347bb33eb SHA512 bb43b13df8fb939a79a3fc1099900fcaa8741eb61b8f5574b7d7b68c220acc0cbb9fa7517b22ad34f006da7a1c25c08d1237309f8f98d79ca4d00dad345b28cb diff --git a/dev-haskell/th-lift-instances/metadata.xml b/dev-haskell/th-lift-instances/metadata.xml index 929b58cd63b5..817b6339b275 100644 --- a/dev-haskell/th-lift-instances/metadata.xml +++ b/dev-haskell/th-lift-instances/metadata.xml @@ -5,8 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Most data types in haskell platform do not have Lift instances. This package provides orphan instances - for containers, text, bytestring and vector. - </longdescription> + <upstream> + <remote-id type="hackage">th-lift-instances</remote-id> + <remote-id type="github">bennofs/th-lift-instances</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/th-lift-instances/th-lift-instances-0.1.20.ebuild b/dev-haskell/th-lift-instances/th-lift-instances-0.1.20.ebuild new file mode 100644 index 000000000000..e42707a54751 --- /dev/null +++ b/dev-haskell/th-lift-instances/th-lift-instances-0.1.20.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="Lift instances for template-haskell for common data types" +HOMEPAGE="https://github.com/bennofs/th-lift-instances/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/th-lift-0.8:=[profile?] + >=dev-haskell/vector-0.7:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/quickcheck-2.6 ) +" diff --git a/dev-haskell/th-lift/Manifest b/dev-haskell/th-lift/Manifest index 47532c3dcbe5..78ca93dc765d 100644 --- a/dev-haskell/th-lift/Manifest +++ b/dev-haskell/th-lift/Manifest @@ -1 +1,2 @@ DIST th-lift-0.8.2.tar.gz 14385 BLAKE2B 31c02c810a3260450e2efd79e4271d326341cc8a8fae9dc3d0293b4b065978cf9d3e676fb54d003d385d21def498f03014c8065a14c9f90931a2843add8349c0 SHA512 bda1fd661274d911898eb163427a83db81bf5cc6d7cdd2936a84cb314268be2d38c5753727c1e87e83f8edb61e8bbbd0976001f680830b3bc2d4eb96178505ec +DIST th-lift-0.8.4.tar.gz 14711 BLAKE2B f045220e93221186c43fad301c1c97f16e35c3651f191f5bc710ca2660cd23dfff05f707c4ba0151cb17eb0ee5a39bf2f36d49511553e23f9d9d8915d47b322a SHA512 fe5d47cc5b9c4a6128761d044ad00262e316862888a218279b62b51b87f32398c534ca65407491d210e7d32bea53c77161333b98bcc969e077221f2d9e3c56f7 diff --git a/dev-haskell/th-lift/metadata.xml b/dev-haskell/th-lift/metadata.xml index 898132d50d59..f399f27a117a 100644 --- a/dev-haskell/th-lift/metadata.xml +++ b/dev-haskell/th-lift/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">th-lift</remote-id> <remote-id type="github">RyanGlScott/th-lift</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/th-lift/th-lift-0.8.2.ebuild b/dev-haskell/th-lift/th-lift-0.8.2.ebuild index dfe6c1dd9349..6f1b34d48543 100644 --- a/dev-haskell/th-lift/th-lift-0.8.2.ebuild +++ b/dev-haskell/th-lift/th-lift-0.8.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.7.9999 diff --git a/dev-haskell/th-lift/th-lift-0.8.4.ebuild b/dev-haskell/th-lift/th-lift-0.8.4.ebuild new file mode 100644 index 000000000000..37c03e9073f0 --- /dev/null +++ b/dev-haskell/th-lift/th-lift-0.8.4.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Derive Template Haskell's Lift class for datatypes" +HOMEPAGE="https://github.com/RyanGlScott/th-lift" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/th-abstraction-0.3:=[profile?] <dev-haskell/th-abstraction-0.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/these/Manifest b/dev-haskell/these/Manifest index 2f47e62515aa..3ba4cb56f142 100644 --- a/dev-haskell/these/Manifest +++ b/dev-haskell/these/Manifest @@ -1,2 +1,3 @@ DIST these-1.1.1.1.cabal 2748 BLAKE2B 2c35a4da7a8afc378d8eff519493a5fff85bfc780f699cca7441b8afcae9af47e08f2ab0b639f216cf9777ed2b84d87572329d171040b0bc231844ef6f53e6cd SHA512 bfe6df1cdbe0286731e28d0ab3cf354fb55a6be4aa799de6af6ee5a132c383fb889a5828aa2b3645e4f59a5690461c9abc83ccb277a51ef5c4f98b10e6270a53 DIST these-1.1.1.1.tar.gz 9804 BLAKE2B 1b42aeea439b31a07f9916771a496258c45d343dbebbce7b8d3d50f0b34075cc1b3dc8bfb24d71bda866f3e8ee1d4822b8a8509d84cb277a1c8d253341e5fe51 SHA512 23246164648bf4cb028719e7cb2e5f450ab55558af9e1dc7f0ddec323ca4ce124afbfd3bf367446c2d69ec91abe42daf77e11a26a13f2898275dafbc095637d5 +DIST these-1.2.tar.gz 10606 BLAKE2B 9ced606b96e2b42ed9122bf458f534e521173466b1779aad7392c61b1621ae599191fd6e00b34d622ab0ed313218113edfdc55d3e259d7f76447d549f89c8bd2 SHA512 f05210a9a4023638ed0eba7089466f9fb8475fb30bd61bfeb36ea2f7382ea27eb3103233473087a0384208b34903b04218e64d4482da8cb8010fb7342af53d1a diff --git a/dev-haskell/these/metadata.xml b/dev-haskell/these/metadata.xml index 937381521944..b8c9395b8440 100644 --- a/dev-haskell/these/metadata.xml +++ b/dev-haskell/these/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">these</remote-id> + <remote-id type="github">haskellari/these</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/these/these-1.2.ebuild b/dev-haskell/these/these-1.2.ebuild new file mode 100644 index 000000000000..e3a8caa81df4 --- /dev/null +++ b/dev-haskell/these/these-1.2.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 +#hackport: flags: aeson,assoc,quickcheck,semigroupoids,+assoc + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="An either-or-both data type" +HOMEPAGE="https://github.com/haskellari/these" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/assoc-1.1:=[profile?] <dev-haskell/assoc-1.2:=[profile?] + >=dev-haskell/foldable1-classes-compat-0.1:=[profile?] <dev-haskell/foldable1-classes-compat-0.2:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=assoc +} diff --git a/dev-haskell/time-compat/Manifest b/dev-haskell/time-compat/Manifest index e4c200eb3949..d51aa4809fb5 100644 --- a/dev-haskell/time-compat/Manifest +++ b/dev-haskell/time-compat/Manifest @@ -1,2 +1,2 @@ -DIST time-compat-1.9.6.1.cabal 5033 BLAKE2B bd54030fd2ea681d4b50eebbf05db7a8080c0023aaa845d285e4b9c15c86d9b578446c690d5053c00da27a28ee77be5ee4a728a9d120f98271f57128b4fada2a SHA512 9643dcfd5e6397b00b16547fc5eff687363d5921b44293d2e80e665392ee853315da84cfb3aa91ee8f225bee1966b281af80a5a549bdfa10b42444f27b097890 +DIST time-compat-1.9.6.1-rev5.cabal 5062 BLAKE2B be9fb65c60bc62b7b92ec552ef691121084b67d05f329f32a6cd9af8f57663e8be7b31510e5a5080db38d711a06a91a9de705fbd8e3ad6697b6451f95ddedb7b SHA512 6ab42c2ad2d53b4bb9e713886508691cfc0f13535524e2cf0311110b8bf991474b6efd030ec74dfda056d154cdbb409cc7caea087645e91d50a96e2a5c07a979 DIST time-compat-1.9.6.1.tar.gz 59964 BLAKE2B 0a19a9692100d47f14643613539061104fead78056d37ff3aededf3d15ef00e23aa6875b77b56a92138818511b7681197ff55fb8adb6a0d6075c7e02bf0fe397 SHA512 ca0b19aa5e7948fd7d9fbd8ff5e1b0f93a2d8d410d515e7078b40370e7d9fc363c111d53551d57a0320efb0894bcc2210afa8fc04da9f003ded626f53b7e58ea diff --git a/dev-haskell/time-compat/metadata.xml b/dev-haskell/time-compat/metadata.xml index 937381521944..9eefe1548660 100644 --- a/dev-haskell/time-compat/metadata.xml +++ b/dev-haskell/time-compat/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">time-compat</remote-id> + <remote-id type="github">haskellari/time-compat</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild b/dev-haskell/time-compat/time-compat-1.9.6.1-r1.ebuild new file mode 100644 index 000000000000..927540bc987f --- /dev/null +++ b/dev-haskell/time-compat/time-compat-1.9.6.1-r1.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.2.1.9999 + +CABAL_HACKAGE_REVISION=5 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compatibility package for time" +HOMEPAGE="https://github.com/haskellari/time-compat" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( "${FILESDIR}/fix-resolution-test.patch" ) + +RDEPEND=" + >=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] + >=dev-haskell/hashable-1.3.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/base-compat-0.10.5 <dev-haskell/base-compat-0.14 + >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.15 + >=dev-haskell/tagged-0.8.6 <dev-haskell/tagged-0.9 + >=dev-haskell/tasty-1.2.1 <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/hunit-1.3.1 <dev-haskell/hunit-1.3.2 ) + ( >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 ) + ) + ) +" diff --git a/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild b/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild deleted file mode 100644 index a40b9786b63b..000000000000 --- a/dev-haskell/time-compat/time-compat-1.9.6.1.ebuild +++ /dev/null @@ -1,49 +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 - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -CABAL_HACKAGE_REVISION="3" -inherit haskell-cabal - -DESCRIPTION="Compatibility package for time" -HOMEPAGE="https://github.com/haskellari/time-compat" -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/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.9:=[profile?] - >=dev-haskell/hashable-1.3.2.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] - >=dev-lang/ghc-8.4.3:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/base-compat-0.10.5 <dev-haskell/base-compat-0.13 - >=dev-haskell/quickcheck-2.13 <dev-haskell/quickcheck-2.15 - >=dev-haskell/tagged-0.8.6 <dev-haskell/tagged-0.9 - >=dev-haskell/tasty-1.2.1 <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/hunit-1.3.1 <dev-haskell/hunit-1.3.2 ) - ( >=dev-haskell/hunit-1.6.0.0 <dev-haskell/hunit-1.7 ) ) ) -" -BDEPEND="app-text/dos2unix" - -PATCHES=( "${FILESDIR}/fix-resolution-test.patch" ) - -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 -} diff --git a/dev-haskell/time-manager/time-manager-0.0.0.ebuild b/dev-haskell/time-manager/time-manager-0.0.0.ebuild index f391ff83efcb..7effa15e0aa6 100644 --- a/dev-haskell/time-manager/time-manager-0.0.0.ebuild +++ b/dev-haskell/time-manager/time-manager-0.0.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.9999 diff --git a/dev-haskell/timeit/timeit-2.0.ebuild b/dev-haskell/timeit/timeit-2.0.ebuild index 4b3155140f6f..92d1f1133f5f 100644 --- a/dev-haskell/timeit/timeit-2.0.ebuild +++ b/dev-haskell/timeit/timeit-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.1 diff --git a/dev-haskell/timezone-olson/Manifest b/dev-haskell/timezone-olson/Manifest index 662558a9f353..22bd93ad911f 100644 --- a/dev-haskell/timezone-olson/Manifest +++ b/dev-haskell/timezone-olson/Manifest @@ -1 +1,2 @@ DIST timezone-olson-0.2.0.tar.gz 11301 BLAKE2B 51782a94097516e40f7f71548bd1f52ed673836a5bd289634f60bc9293534980966680ca689f584d15eeb0acd8a186ce9c8effb39a6c718008b1690d9858681e SHA512 06c73b24b23caa41f3dce472bca384e3ee7ba02a3dd8bc4458bc758bc6aabdeca9be299f16419702e860f38ea213fd62d90e63fc4746dc2015c0e06b15aba6dd +DIST timezone-olson-0.2.1.tar.gz 11290 BLAKE2B cc352ea26a06b2405278e783a9c961f71418f59805985d976e531ed35f1ee8e72ad064352f5ced0d42b6c3c195adf20c5ff2a40839c83ec6aa1341c7b05f3dc1 SHA512 243ea612a4af206d629ba1f3b3b01b1470e849a5ce50c2c189da246eac6f043ac7fb4f039df94053c7a1da9d2aeb347e510560fd0fa590264a5e3897a8dd1300 diff --git a/dev-haskell/timezone-olson/metadata.xml b/dev-haskell/timezone-olson/metadata.xml index 937381521944..d43bcd578ae6 100644 --- a/dev-haskell/timezone-olson/metadata.xml +++ b/dev-haskell/timezone-olson/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">timezone-olson</remote-id> + <remote-id type="github">ygale/timezone-olson</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/timezone-olson/timezone-olson-0.2.0.ebuild b/dev-haskell/timezone-olson/timezone-olson-0.2.0.ebuild index 9b8d589f95c0..a0590ced9c25 100644 --- a/dev-haskell/timezone-olson/timezone-olson-0.2.0.ebuild +++ b/dev-haskell/timezone-olson/timezone-olson-0.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.7.9999 diff --git a/dev-haskell/timezone-olson/timezone-olson-0.2.1.ebuild b/dev-haskell/timezone-olson/timezone-olson-0.2.1.ebuild new file mode 100644 index 000000000000..8db772ad47f6 --- /dev/null +++ b/dev-haskell/timezone-olson/timezone-olson-0.2.1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A pure Haskell parser and renderer for binary Olson timezone files" +HOMEPAGE="https://projects.haskell.org/time-ng/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/extensible-exceptions-0.1.0:=[profile?] <dev-haskell/extensible-exceptions-0.2:=[profile?] + >=dev-haskell/timezone-series-0.1.0:=[profile?] <dev-haskell/timezone-series-0.2:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/timezone-series/Manifest b/dev-haskell/timezone-series/Manifest index b617a547f1f3..0c0476aca0e1 100644 --- a/dev-haskell/timezone-series/Manifest +++ b/dev-haskell/timezone-series/Manifest @@ -1 +1,3 @@ +DIST timezone-series-0.1.13-rev1.cabal 1528 BLAKE2B 75c04c5c149cd7fcbc4670ab1f2fadc4091661642c7a411688528da5059df2ef2f3b44450bcb5f3774c8c04bd0522ed37c1c49bff35b66a5ef00c59b8a206b13 SHA512 11a8bd7b3cdd06622118d78767e5df7d4645a201e8b2c0fa7a3d3923852bd1d26c79b685e4e2bf9eb3a2eeadb6b6acde0dc0c8d2124903b52a50a15b33573d7e +DIST timezone-series-0.1.13.tar.gz 5682 BLAKE2B 284ba6c0c4b17bd2d2d6074afdfef6139b487ed2e9799a40c1f7389c30410f87f0d84f3dee163377ce378dedbb1a91f68416ed1830685e7854126927ba578d90 SHA512 7e98bf1030f9df88d031f8fe28e56f50bd8e5da7615165324b5132a77aecc70da5906e2068afa43a819d711725c4c6cae8f6d17e7803f50b31038eb1634d4992 DIST timezone-series-0.1.9.tar.gz 5812 BLAKE2B d45a62af6ac050406cded2740acb9988a25e38f80637e8dc8d7856786985ffe22a287873f878312faeddb524189a169af5ea6c1109613106dfc70cbba80b8b7a SHA512 9a716223270dfcb0ed39e2dcfb460e3540c0f2444f703c466cbd48ad5664e689aa3f6595f32e59b96fef7891aafabc03c9925367a26c2c043cb6adca2dad7a88 diff --git a/dev-haskell/timezone-series/metadata.xml b/dev-haskell/timezone-series/metadata.xml index d179825cb7d9..d4b89ac92552 100644 --- a/dev-haskell/timezone-series/metadata.xml +++ b/dev-haskell/timezone-series/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package endows Data.Time, from the time - package, with several data types and functions - for enhanced processing of timezones. For one way - to create timezone series, see the timezone-olson - package. - </longdescription> + <upstream> + <remote-id type="hackage">timezone-series</remote-id> + <remote-id type="github">ygale/timezone-series</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/timezone-series/timezone-series-0.1.13.ebuild b/dev-haskell/timezone-series/timezone-series-0.1.13.ebuild new file mode 100644 index 000000000000..a4ddec0c2066 --- /dev/null +++ b/dev-haskell/timezone-series/timezone-series-0.1.13.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.8.2.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Enhanced timezone handling for Data.Time" +HOMEPAGE="https://projects.haskell.org/time-ng/" + +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 +" diff --git a/dev-haskell/tls-session-manager/tls-session-manager-0.0.4.ebuild b/dev-haskell/tls-session-manager/tls-session-manager-0.0.4.ebuild index 59442f08118b..e021ab37a3f3 100644 --- a/dev-haskell/tls-session-manager/tls-session-manager-0.0.4.ebuild +++ b/dev-haskell/tls-session-manager/tls-session-manager-0.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.2 diff --git a/dev-haskell/tls/Manifest b/dev-haskell/tls/Manifest index 9bbb248882ae..801ee54266fb 100644 --- a/dev-haskell/tls/Manifest +++ b/dev-haskell/tls/Manifest @@ -1 +1,2 @@ DIST tls-1.5.8.tar.gz 157923 BLAKE2B b6b1259f6950e15fcba584690f59fd66a1a597490cbcb76e7199c48677f0df00e86f27f12e0c02210ba83cac110346aec6e7afb460f7e9721f275d146040cac5 SHA512 81d0046aeb6342c5dcd3827d9315793b68436a4eec7c9bcae50f4b5b5365248c7c874addca77a50a19689f535386330435b5914386306a3f12d699a5fad1107a +DIST tls-1.8.0.tar.gz 159360 BLAKE2B 7d8a022e0a7f8953e47bf81eb923ad278f0b4350d537d35c2948532f082fe52d299076208083224252a0270698b2e76bc48e8c638edb5d2fe2a49f224e876c86 SHA512 23463ebbe331e02ed3b8d9c5a4e7dccc0b921898709c600e4a0a7b50575029c00ddbdbe6e3a44ffb094059cae377cb388b55be53ab847a1843989359200894b3 diff --git a/dev-haskell/tls/metadata.xml b/dev-haskell/tls/metadata.xml index 6d71914e07ff..bfcf2e4b1016 100644 --- a/dev-haskell/tls/metadata.xml +++ b/dev-haskell/tls/metadata.xml @@ -5,25 +5,12 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Native Haskell TLS and SSL protocol implementation for server and client. - - This provides a high-level implementation of a sensitive security protocol, - eliminating a common set of security issues through the use of the advanced - type system, high level constructions and common Haskell features. - - Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, - with only RSA supported for Key Exchange. - - Only core protocol available here, have a look at the - <http://hackage.haskell.org/package/tls-extra/> package for default - ciphers, compressions and certificates functions. - </longdescription> <use> - <flag name="compat">Accept SSLv2 compatible handshake.</flag> - <flag name="network">Use the base network library.</flag> + <flag name="compat">Accept SSLv2 client hello for beginning SSLv3 / TLS handshake</flag> + <flag name="network">Use the base network library</flag> </use> <upstream> - <remote-id type="github">vincenthz/hs-tls</remote-id> + <remote-id type="hackage">tls</remote-id> + <remote-id type="github">haskell-tls/hs-tls</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/tls/tls-1.8.0.ebuild b/dev-haskell/tls/tls-1.8.0.ebuild new file mode 100644 index 000000000000..51e08cb1b176 --- /dev/null +++ b/dev-haskell/tls/tls-1.8.0.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.4.0.9999 +#hackport: flags: -hans + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="TLS/SSL protocol native implementation (Server and Client)" +HOMEPAGE="https://github.com/haskell-tls/hs-tls" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+compat +network" + +RDEPEND="dev-haskell/asn1-encoding:=[profile?] + >=dev-haskell/asn1-types-0.2.0:=[profile?] + >=dev-haskell/async-2.0:=[profile?] + >=dev-haskell/cereal-0.5.3:=[profile?] + dev-haskell/crypton:=[profile?] + >=dev-haskell/crypton-x509-1.7.5:=[profile?] + >=dev-haskell/crypton-x509-store-1.6:=[profile?] + >=dev-haskell/crypton-x509-validation-1.6.5:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/memory-0.14.6:=[profile?] + dev-haskell/unix-time:=[profile?] + >=dev-lang/ghc-8.8.1:= + network? ( >=dev-haskell/network-2.4.0.0:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/hourglass + dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag compat compat) \ + --flag=-hans \ + $(cabal_flag network network) +} diff --git a/dev-haskell/toml-parser/Manifest b/dev-haskell/toml-parser/Manifest new file mode 100644 index 000000000000..12ea09ab750d --- /dev/null +++ b/dev-haskell/toml-parser/Manifest @@ -0,0 +1 @@ +DIST toml-parser-1.3.0.0.tar.gz 39211 BLAKE2B cb5a1504ddd9ec96039b00da5424b8cd2467336f7d9d9c1874633a8b3bf2a0c87d919d5ab7d6f45284dc4dce3ce98bc1e8b202ae1f8a7afc3df1e54ef2aff398 SHA512 95bed0702a8d00289063782a4387e43a1bbc4096a89311281451a4d88813040869740e8d57fb7de3c317256a7cdd7a53cd75b11dc96d599a7242ab0d14cecce8 diff --git a/dev-haskell/toml-parser/metadata.xml b/dev-haskell/toml-parser/metadata.xml new file mode 100644 index 000000000000..a6bfd3e5edcf --- /dev/null +++ b/dev-haskell/toml-parser/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">toml-parser</remote-id> + <remote-id type="github">glguy/toml-parser</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/toml-parser/toml-parser-1.3.0.0.ebuild b/dev-haskell/toml-parser/toml-parser-1.3.0.0.ebuild new file mode 100644 index 000000000000..f267f824e12f --- /dev/null +++ b/dev-haskell/toml-parser/toml-parser-1.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite +inherit haskell-cabal + +DESCRIPTION="TOML 1.0.0 parser" +HOMEPAGE="https://hackage.haskell.org/package/toml-parser" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # build log: 'ghc: could not execute: markdown-unlit' + +RDEPEND=">=dev-haskell/prettyprinter-1.7:=[profile?] <dev-haskell/prettyprinter-1.8:=[profile?] + >=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-3:=[profile?] + >=dev-lang/ghc-8.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/alex-3.2 + >=dev-haskell/cabal-3.2.0.0 + >=dev-haskell/happy-1.19 +" +# test? ( || ( ( >=dev-haskell/hspec-2.10 <dev-haskell/hspec-2.11 ) +# ( >=dev-haskell/hspec-2.11 <dev-haskell/hspec-2.12 ) ) ) +#" diff --git a/dev-haskell/transformers-base/Manifest b/dev-haskell/transformers-base/Manifest index 3ea580c6b734..13068fdfbb39 100644 --- a/dev-haskell/transformers-base/Manifest +++ b/dev-haskell/transformers-base/Manifest @@ -1 +1,2 @@ DIST transformers-base-0.4.5.2.tar.gz 2849 BLAKE2B 9e1f1aeb3ced732c4406e4636ded466bd2f26c253d80caf321441505d6ad24912f108d464b6d27b211a6ffc128ff6d85003162a9c4709574645754e97db94461 SHA512 5953d99fee3a02f825c096cf035a5ee825da17e154ca9847ddb215dee54a96a8b28af2b4adb639ef3548ea9aa8a2cb781563c7ffbb399bed5a35c056d03bcbd4 +DIST transformers-base-0.4.6.tar.gz 2902 BLAKE2B b03e7c4b4eaf41f07d2946324f2b062663b22f1ebdd65e9ff21b05d407b6958282ce02e5064e14fe7c53c3896355d8af1f17d5c845bf2bf2f1e0da139953feee SHA512 b056b01bd5b3d882cf08bc9977c518ed6231d7da529cee61f2f52de886da4b8ee57e4505c767f59205a75be755870254f7351358bfc2142170fb3f31f25d66b5 diff --git a/dev-haskell/transformers-base/metadata.xml b/dev-haskell/transformers-base/metadata.xml index c6b531991d6a..c15107acbaa4 100644 --- a/dev-haskell/transformers-base/metadata.xml +++ b/dev-haskell/transformers-base/metadata.xml @@ -9,6 +9,7 @@ <flag name="orphaninstances">Build instances for orphan datatypes.</flag> </use> <upstream> + <remote-id type="hackage">transformers-base</remote-id> <remote-id type="github">mvv/transformers-base</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/transformers-base/transformers-base-0.4.6.ebuild b/dev-haskell/transformers-base/transformers-base-0.4.6.ebuild new file mode 100644 index 000000000000..da39d1d66a8b --- /dev/null +++ b/dev-haskell/transformers-base/transformers-base-0.4.6.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="Lift computations from the bottom of a transformer stack" +HOMEPAGE="https://github.com/mvv/transformers-base" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="+orphaninstances" + +RDEPEND=">=dev-haskell/stm-2.3:=[profile?] + >=dev-haskell/transformers-compat-0.6.1:=[profile?] + >=dev-lang/ghc-8.4.3:= + orphaninstances? ( >=dev-haskell/base-orphans-0.3:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag orphaninstances orphaninstances) +} diff --git a/dev-haskell/transformers-compat/Manifest b/dev-haskell/transformers-compat/Manifest index 381d35948b36..60185e23f03c 100644 --- a/dev-haskell/transformers-compat/Manifest +++ b/dev-haskell/transformers-compat/Manifest @@ -1 +1,2 @@ DIST transformers-compat-0.6.6.tar.gz 41347 BLAKE2B e0d49ac7fdb035e6255f8124cf7a2e734bc9d36bcadded33e79e237603a5f9d1e4609fd50b673fc1f3353e20816a7c94a784bb0aa0feb3243c70151f8023d5b7 SHA512 1f34e40e17e7c19c889e58101f5ed6a019b5bb08be4c798a1f233158b27b6a2cd05b9260d2cf7065cd2bdfb4df4cbbda463abee69c4ba00b6f445392659e920d +DIST transformers-compat-0.7.2.tar.gz 46485 BLAKE2B a0a26a91219e098f04fff32f2dfb5e860c4e62fc6d5111c9baaf7203ee19a19809a1b812721fcd110edf680be7665112a8e5e11e798f40e1912418f6a52c0b29 SHA512 9bcc4b5aebbc6ec0b05ac8499ec79102e766ae8c2c919343f7d20ebb451fedb3a00647dc0baff5e998dd0b67f1ffbe725a14e0abf299a6b2656c219f8330856e diff --git a/dev-haskell/transformers-compat/metadata.xml b/dev-haskell/transformers-compat/metadata.xml index d076eadf9168..c0d56bdf262d 100644 --- a/dev-haskell/transformers-compat/metadata.xml +++ b/dev-haskell/transformers-compat/metadata.xml @@ -5,19 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package includes backported versions of types that were added - to transformers in transformers 0.3 for users who need strict - transformers 0.2 compatibility to run on old versions of the - platform, but also need those types. - - Those users should be able to just depend on @transformers >= 0.2@ - and @transformers-compat@. - - Note: missing methods are not supplied - but this at least permits the types to be used. - </longdescription> <upstream> + <remote-id type="hackage">transformers-compat</remote-id> <remote-id type="github">ekmett/transformers-compat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/transformers-compat/transformers-compat-0.6.6.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.6.6.ebuild index 2a74e2ee956a..00d7d6e66cbe 100644 --- a/dev-haskell/transformers-compat/transformers-compat-0.6.6.ebuild +++ b/dev-haskell/transformers-compat/transformers-compat-0.6.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.6.9999 #hackport: flags: -two,+mtl,-generic-deriving diff --git a/dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild b/dev-haskell/transformers-compat/transformers-compat-0.7.2.ebuild new file mode 100644 index 000000000000..36e1b3237168 --- /dev/null +++ b/dev-haskell/transformers-compat/transformers-compat-0.7.2.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 +#hackport: flags: -two,+mtl,-generic-deriving + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A small compatibility shim for the transformers library" +HOMEPAGE="https://github.com/ekmett/transformers-compat/" + +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 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-generic-deriving \ + --flag=mtl \ + --flag=-two +} diff --git a/dev-haskell/transformers/metadata.xml b/dev-haskell/transformers/metadata.xml index a85059913550..3b8937c54cfa 100644 --- a/dev-haskell/transformers/metadata.xml +++ b/dev-haskell/transformers/metadata.xml @@ -4,16 +4,4 @@ <maintainer type="project"> <email>haskell@gentoo.org</email> </maintainer> - <longdescription> - Haskell 98 part of a monad transformer library, inspired by the paper - \"Functional Programming with Overloading and Higher-Order Polymorphism\", - by Mark P Jones, in /Advanced School of Functional Programming/, 1995 - (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>). - - This part contains the monad transformer class, the concrete monad - transformers, operations and liftings. It can be used on its own - in Haskell 98 code, or with the monad classes in the @monads-fd@ or - @monads-tf@ packages, which automatically lift operations introduced - by monad transformers through other transformers. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/transformers/transformers-0.5.6.2.ebuild b/dev-haskell/transformers/transformers-0.5.6.2-r1.ebuild index 10aab1a53d1e..c8cfad0471af 100644 --- a/dev-haskell/transformers/transformers-0.5.6.2.ebuild +++ b/dev-haskell/transformers/transformers-0.5.6.2-r1.ebuild @@ -1,9 +1,9 @@ # 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.8.0.0.9999 CABAL_FEATURES="lib profile haddock hoogle hscolour" # break circular dependencies: @@ -13,15 +13,15 @@ inherit haskell-cabal DESCRIPTION="Concrete functor and monad transformers" HOMEPAGE="https://hackage.haskell.org/package/transformers" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" 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" -IUSE="" -RDEPEND=">=dev-lang/ghc-7.4.1:= +RDEPEND=" + >=dev-lang/ghc-8.10.6:= " DEPEND="${RDEPEND} " -CABAL_CORE_LIB_GHC_PV="8.10.6 9.0.2" +CABAL_CORE_LIB_GHC_PV="8.10.6 8.10.7 9.0.2 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.4.4 9.4.5" diff --git a/dev-haskell/tree-diff/Manifest b/dev-haskell/tree-diff/Manifest index 18bdd40cea41..002d9d174793 100644 --- a/dev-haskell/tree-diff/Manifest +++ b/dev-haskell/tree-diff/Manifest @@ -1 +1,3 @@ DIST tree-diff-0.2.1.1.tar.gz 26042 BLAKE2B c136094949b96069996ae2a68c49ca3476f75909138135a138b1c1f07b833413472d2c497418a8bb6c0c17164e78cf180b548c0d4ab5806269e7348aa86467ba SHA512 07bd947b145ebf894a5f830601529517d003bf4b0ffc9581c8204d710ed8d3941f764376add84ab1757c7d3544e984166115f37c1348a32123d99aea816a0686 +DIST tree-diff-0.3.0.1-rev3.cabal 5422 BLAKE2B 1e0edff3db263a9b1929cc8e9115a8cd226a40327a61c1d1e2f49500da72292d324bc232aa6a2b0499f2c4f995ae02d20e86d2d21d38ae358f53e0fa2a4c3a66 SHA512 a33fcfc3a3a312ac3a3d11c4280e01ccc3664da52fd8f11ef51ae2c5fab86500557d890d7ef0cbd654af30552fa88e3b15d78d7310a18c8c32c9bcacea324187 +DIST tree-diff-0.3.0.1.tar.gz 26603 BLAKE2B 2456836d111e689c5101703a617a384b31eb46f12d9a6ef54e863d9e537345729432f2784f2f33be681e413fd400979cbe81d3fb50e49b0627d2a7edefa7eed3 SHA512 69244dcf5bca996e6c08500cf1841e68fda2a304fb811d788d2dd03e79076496bc12bfb1d3ac3f30c01929bbd617f009e2a78c1a7b23284cd41d1f78d8e6d20e diff --git a/dev-haskell/tree-diff/metadata.xml b/dev-haskell/tree-diff/metadata.xml index c50ae4cdef70..98aeb21bca73 100644 --- a/dev-haskell/tree-diff/metadata.xml +++ b/dev-haskell/tree-diff/metadata.xml @@ -6,34 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">haskellari/tree-diff</remote-id> + <remote-id type="hackage">tree-diff</remote-id> + <remote-id type="github">phadej/tree-diff</remote-id> </upstream> - <longdescription> - Common diff algorithm works on list structures: - - @ - diff :: Eq a => [a] -> [a] -> [Edit a] - @ - - This package works on trees. - - @ - treeDiff :: Eq a => Tree a -> Tree a -> Edit (EditTree a) - @ - - This package also provides a way to diff arbitrary ADTs, - using @Generics@-derivable helpers. - - This package differs from <http://hackage.haskell.org/package/gdiff gdiff>, - in a two ways: @tree-diff@ doesn't have patch function, - and the "edit-script" is a tree itself, which is useful for pretty-printing. - - @ - >>> prettyEditExpr $ ediff (Foo 42 [True, False] "old") (Foo 42 [False, False, True] "new") - Foo - {fooBool = [-True, +False, False, +True], - fooInt = 42, - fooString = -"old" +"new"} - @ - </longdescription> </pkgmetadata> diff --git a/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild b/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild new file mode 100644 index 000000000000..eb98d9423a66 --- /dev/null +++ b/dev-haskell/tree-diff/tree-diff-0.3.0.1-r1.ebuild @@ -0,0 +1,54 @@ +# 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="Diffing of (expression) trees" +HOMEPAGE="https://github.com/phadej/tree-diff" + +LICENSE="GPL-2+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/bytestring-builder-0.10.8.2.0:=[profile?] <dev-haskell/bytestring-builder-0.11:=[profile?] + >=dev-haskell/data-array-byte-0.1.0.1:=[profile?] <dev-haskell/data-array-byte-0.2:=[profile?] + >=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/parsers-0.12.10:=[profile?] <dev-haskell/parsers-0.13:=[profile?] + >=dev-haskell/quickcheck-2.14.2:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/scientific-0.3.6.2:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?] + >=dev-haskell/unordered-containers-0.2.8.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/uuid-types-1.0.3:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= + >=dev-haskell/aeson-1.4.6.0:=[profile?] <dev-haskell/aeson-2.3:=[profile?] + >=dev-haskell/ansi-terminal-0.10:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + >=dev-haskell/ansi-wl-pprint-0.6.8.2:=[profile?] <dev-haskell/ansi-wl-pprint-1.1:=[profile?] + <dev-haskell/base-compat-0.14:=[profile?] + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-haskell/semialign-1.2.0.1:=[profile?] <dev-haskell/semialign-1.4:=[profile?] + >=dev-haskell/strict-0.4.0.1:=[profile?] <dev-haskell/strict-0.6:=[profile?] + >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/these-1.1.1.1:=[profile?] <dev-haskell/these-1.3:=[profile?] + >=dev-haskell/vector-0.12.0.0:=[profile?] <dev-haskell/vector-0.14:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/ansi-terminal + dev-haskell/ansi-wl-pprint + dev-haskell/base-compat + dev-haskell/primitive + >=dev-haskell/tasty-golden-2.3.1.1 <dev-haskell/tasty-golden-2.4 + >=dev-haskell/tasty-quickcheck-0.10.1 <dev-haskell/tasty-quickcheck-0.11 + >=dev-haskell/trifecta-2 <dev-haskell/trifecta-2.2 + || ( ( >=dev-haskell/tasty-1.2 <dev-haskell/tasty-1.3 ) + || ( ( >=dev-haskell/tasty-1.3.1 <dev-haskell/tasty-1.4 ) + ( >=dev-haskell/tasty-1.4.2 <dev-haskell/tasty-1.5 ) ) ) ) +" diff --git a/dev-haskell/trifecta/Manifest b/dev-haskell/trifecta/Manifest index c5a519d29a66..44f0dc641c54 100644 --- a/dev-haskell/trifecta/Manifest +++ b/dev-haskell/trifecta/Manifest @@ -1 +1,2 @@ DIST trifecta-2.1.2.tar.gz 60393 BLAKE2B eeaa0fdb855b09f8aaea5ef9b1f4c2b465d8f07bc05ced926bfbbd43c256611336e7153edf7ad57853796d436930cf317fc9433462477ce37f5cc417b45f777d SHA512 33ee39932235d1963b44ce54a59c1b5f193db9f590f30ba272f4e10965582c3602f822328b7e6e98f09ff4d3e14a8e324375353246f3ff0815070a7d94916c2e +DIST trifecta-2.1.3.tar.gz 60434 BLAKE2B 8b643e167e5e66ece6d38e5966a0d5494075ad6fd6a08d12c31009a2b6a9e62472b26ae9f2ac0190ba8035a9cc3a6992e847816f2c9c1c0e29a4c9cdb11116f7 SHA512 3794d521e3fc384b3e1cf1d2082270722271c1b6e8ed4802e834170c3e5df8236faf7b5eaf211c0b1215860b98fb0407563aeb77e5f052ad74f521f43a767e44 diff --git a/dev-haskell/trifecta/metadata.xml b/dev-haskell/trifecta/metadata.xml index 937381521944..027d5925d891 100644 --- a/dev-haskell/trifecta/metadata.xml +++ b/dev-haskell/trifecta/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">trifecta</remote-id> + <remote-id type="github">ekmett/trifecta</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/trifecta/trifecta-2.1.3.ebuild b/dev-haskell/trifecta/trifecta-2.1.3.ebuild new file mode 100644 index 000000000000..49804c89384d --- /dev/null +++ b/dev-haskell/trifecta/trifecta-2.1.3.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.8.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A modern parser combinator library with convenient diagnostics" +HOMEPAGE="https://github.com/ekmett/trifecta/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/ansi-terminal-0.6:=[profile?] <dev-haskell/ansi-terminal-1.1:=[profile?] + >=dev-haskell/blaze-builder-0.3.0.1:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?] + >=dev-haskell/blaze-html-0.9:=[profile?] <dev-haskell/blaze-html-0.10:=[profile?] + >=dev-haskell/blaze-markup-0.8:=[profile?] <dev-haskell/blaze-markup-0.9:=[profile?] + >=dev-haskell/charset-0.3.5.1:=[profile?] <dev-haskell/charset-1:=[profile?] + >=dev-haskell/comonad-5:=[profile?] <dev-haskell/comonad-6:=[profile?] + >=dev-haskell/fingertree-0.1:=[profile?] <dev-haskell/fingertree-0.2:=[profile?] + >=dev-haskell/hashable-1.2.4:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] + >=dev-haskell/lens-4.14:=[profile?] <dev-haskell/lens-6:=[profile?] + >=dev-haskell/parsers-0.12.1:=[profile?] <dev-haskell/parsers-1:=[profile?] + >=dev-haskell/prettyprinter-1.7:=[profile?] <dev-haskell/prettyprinter-2:=[profile?] + >=dev-haskell/prettyprinter-ansi-terminal-1.1.2:=[profile?] <dev-haskell/prettyprinter-ansi-terminal-2:=[profile?] + >=dev-haskell/profunctors-5.2:=[profile?] <dev-haskell/profunctors-6:=[profile?] + >=dev-haskell/reducers-3.12.1:=[profile?] <dev-haskell/reducers-4:=[profile?] + >=dev-haskell/unordered-containers-0.2.1:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/utf8-string-0.3.6:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/quickcheck ) +" diff --git a/dev-haskell/type-equality/type-equality-1.ebuild b/dev-haskell/type-equality/type-equality-1.ebuild index 8f5aa9337c0c..b74e820629bd 100644 --- a/dev-haskell/type-equality/type-equality-1.ebuild +++ b/dev-haskell/type-equality/type-equality-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 @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " -src_prepare() { - default - - cabal_chdeps \ - 'base >=4.3 && <4.14' 'base >=4.3' -} +CABAL_CHDEPS=( + 'base >=4.3 && <4.14' 'base >=4.3' +) diff --git a/dev-haskell/typed-process/Manifest b/dev-haskell/typed-process/Manifest index cd4d0143b3a0..2a158b0c3a82 100644 --- a/dev-haskell/typed-process/Manifest +++ b/dev-haskell/typed-process/Manifest @@ -1 +1,2 @@ +DIST typed-process-0.2.10.1.tar.gz 18264 BLAKE2B eef9769f018bd8702656b6d151fa1148b1991ca9d877b507542327881576dd5297ebac0d8b86d9f305d734e3f07413a7a23f8160752b34d896e2386026347aad SHA512 07ab11cc1554aeaf8980df5fbe105de71282424365be9e26e94b7cbad344d3d0d9d54fc492615e32ec0e6d3064a72c7996be03e7fbb81136df366511d7bd606d DIST typed-process-0.2.6.0.tar.gz 17363 BLAKE2B 033c1da191fcf10ca36b1215303793d26b3435e7241ee07e4c3389a9892be496779f70ae62b6bbad7f07704866473e16d4f15bfb6f22efa41243cba6ad72e941 SHA512 a40b8db4ef2179273943a3aab0200891bd3dffe584bcd51037ddf9cebae88d4d95292883a745a0c31900c7bf2eebe2c71175fbb86dc470b60660b443f8b1e3e0 diff --git a/dev-haskell/typed-process/files/typed-process-0.2.10.1-smp-flag.patch b/dev-haskell/typed-process/files/typed-process-0.2.10.1-smp-flag.patch new file mode 100644 index 000000000000..fca0ea238d4c --- /dev/null +++ b/dev-haskell/typed-process/files/typed-process-0.2.10.1-smp-flag.patch @@ -0,0 +1,62 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> +Bug: https://github.com/fpco/typed-process/pull/60 + +This flag will toggle the use of some ghc-options in the typed-process-test +test suite. It is set to default: True. + +This is needed for tests to run on some GHC builds which do not support SMP. + +diff -urN typed-process-0.2.10.1/typed-process.cabal typed-process-0.2.10.1-r1/typed-process.cabal +--- typed-process-0.2.10.1/typed-process.cabal 2022-10-28 09:12:23.834918081 -0600 ++++ typed-process-0.2.10.1-r1/typed-process.cabal 2022-10-28 09:12:42.724917857 -0600 +@@ -1,6 +1,6 @@ + cabal-version: 1.12 + +--- This file has been generated from package.yaml by hpack version 0.34.4. ++-- This file has been generated from package.yaml by hpack version 0.35.0. + -- + -- see: https://github.com/sol/hpack + +@@ -24,6 +24,11 @@ + type: git + location: https://github.com/fpco/typed-process + ++flag smp ++ description: Use flags that depend on GHC supporting a multicore runtime (tests only) ++ manual: True ++ default: True ++ + library + exposed-modules: + System.Process.Typed +@@ -40,9 +45,9 @@ + , stm + , transformers + , unliftio-core ++ default-language: Haskell2010 + if os(windows) + cpp-options: -DWINDOWS +- default-language: Haskell2010 + + test-suite typed-process-test + type: exitcode-stdio-1.0 +@@ -52,7 +57,6 @@ + Paths_typed_process + hs-source-dirs: + test +- ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + async >=2.0 + , base >=4.12 && <5 +@@ -66,6 +70,10 @@ + , typed-process + , unliftio-core + default-language: Haskell2010 ++ if flag(smp) ++ ghc-options: -threaded -rtsopts -with-rtsopts=-N ++ else ++ ghc-options: -threaded + + test-suite typed-process-test-single-threaded + type: exitcode-stdio-1.0 diff --git a/dev-haskell/typed-process/metadata.xml b/dev-haskell/typed-process/metadata.xml index 937381521944..c387243a2d03 100644 --- a/dev-haskell/typed-process/metadata.xml +++ b/dev-haskell/typed-process/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">typed-process</remote-id> + <remote-id type="github">fpco/typed-process</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/typed-process/typed-process-0.2.10.1-r1.ebuild b/dev-haskell/typed-process/typed-process-0.2.10.1-r1.ebuild new file mode 100644 index 000000000000..3f70890a31fa --- /dev/null +++ b/dev-haskell/typed-process/typed-process-0.2.10.1-r1.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.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit ghc-package haskell-cabal + +DESCRIPTION="Run external processes, with strong typing of streams" +HOMEPAGE="https://github.com/fpco/typed-process" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.10.1-smp-flag.patch" +) + +RDEPEND=" + >=dev-haskell/async-2.0:=[profile?] + dev-haskell/stm:=[profile?] + dev-haskell/unliftio-core:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( dev-haskell/base64-bytestring + dev-haskell/hspec + dev-haskell/temporary ) +" + +src_configure() { + if ghc-supports-smp; then + local smp_flag=smp + else + local smp_flag=-smp + fi + + haskell-cabal_src_configure \ + --flag="${smp_flag}" +} diff --git a/dev-haskell/typed-process/typed-process-0.2.6.0.ebuild b/dev-haskell/typed-process/typed-process-0.2.6.0.ebuild index 9db68ee966be..0a8ace7c48a5 100644 --- a/dev-haskell/typed-process/typed-process-0.2.6.0.ebuild +++ b/dev-haskell/typed-process/typed-process-0.2.6.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/typst-symbols/Manifest b/dev-haskell/typst-symbols/Manifest new file mode 100644 index 000000000000..5c88f7f1c628 --- /dev/null +++ b/dev-haskell/typst-symbols/Manifest @@ -0,0 +1 @@ +DIST typst-symbols-0.1.4.tar.gz 18688 BLAKE2B ffe4ed61ea5e71747f874622605011fd9d53d3bb4c04de8efb86cfdee970fb88f65e9c03775c49a340d0b146195913219c306b8d958356640692eb63b016fb5f SHA512 917e10b768751b50253f693726b49a27ee2cd8879f654aaac461df9a894d25ecd132a73cc6289a8684cd5dca982b65033757c1538e144413f2ddd3135f90db3e diff --git a/dev-haskell/typst-symbols/metadata.xml b/dev-haskell/typst-symbols/metadata.xml new file mode 100644 index 000000000000..f7247eb2f66d --- /dev/null +++ b/dev-haskell/typst-symbols/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">typst-symbols</remote-id> + <remote-id type="github">jgm/typst-symbols</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/typst-symbols/typst-symbols-0.1.4.ebuild b/dev-haskell/typst-symbols/typst-symbols-0.1.4.ebuild new file mode 100644 index 000000000000..94f3ac9714ab --- /dev/null +++ b/dev-haskell/typst-symbols/typst-symbols-0.1.4.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="Symbol and emoji lookup for typst language" +HOMEPAGE="https://github.com/jgm/typst-symbols" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/typst/Manifest b/dev-haskell/typst/Manifest new file mode 100644 index 000000000000..1f2ef09a5710 --- /dev/null +++ b/dev-haskell/typst/Manifest @@ -0,0 +1 @@ +DIST typst-0.3.2.0.tar.gz 6421514 BLAKE2B 622f49edd8fb362a07c2a81a59f227c82228bbf09b4708d2dc119deda66cb028838546f826e9729f350cb1ae20399e319b71fcdbd5707951e821b60c76e11a3b SHA512 1bb5dd8158c528d52c2411c3acb2ada2061ce5ef27eb387135e61140232815b15f5d3aaee3264ef3a11a09d8f4d10dfd3d246836f77d018ee0fcce8d37d3ccd5 diff --git a/dev-haskell/typst/metadata.xml b/dev-haskell/typst/metadata.xml new file mode 100644 index 000000000000..faf481d753d0 --- /dev/null +++ b/dev-haskell/typst/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="executable">Compile executable to be used in testing and development.</flag> + </use> + <upstream> + <remote-id type="hackage">typst</remote-id> + <remote-id type="github">jgm/typst-hs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/typst/typst-0.3.2.0.ebuild b/dev-haskell/typst/typst-0.3.2.0.ebuild new file mode 100644 index 000000000000..8ac27b1ee400 --- /dev/null +++ b/dev-haskell/typst/typst-0.3.2.0.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Parsing and evaluating typst syntax" +HOMEPAGE="https://hackage.haskell.org/package/typst" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RESTRICT=test # one test case fails + +RDEPEND="dev-haskell/aeson:=[profile?] + dev-haskell/cassava:=[profile?] + dev-haskell/digits:=[profile?] + dev-haskell/ordered-containers:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/regex-tdfa:=[profile?] + dev-haskell/scientific:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/toml-parser-1.3.0.0:=[profile?] <dev-haskell/toml-parser-1.4:=[profile?] + >=dev-haskell/typst-symbols-0.1.4:=[profile?] <dev-haskell/typst-symbols-0.1.5:=[profile?] + dev-haskell/vector:=[profile?] + dev-haskell/xml-conduit:=[profile?] + dev-haskell/yaml:=[profile?] + >=dev-lang/ghc-8.10.1:= + executable? ( dev-haskell/pretty-show:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-golden + !executable? ( dev-haskell/pretty-show ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/unbounded-delays/Manifest b/dev-haskell/unbounded-delays/Manifest index 5215d47c606c..c5907e424d62 100644 --- a/dev-haskell/unbounded-delays/Manifest +++ b/dev-haskell/unbounded-delays/Manifest @@ -1 +1,2 @@ DIST unbounded-delays-0.1.1.0.tar.gz 4166 BLAKE2B 158b05e35afd4c2b8f33caeea748466ee8cb6348f4505649c442f76777b41326128b84b8b7559e06d031c1486886e99e95bf69ac7e80eb16ec1c17cc5b5354e3 SHA512 70e26055abe40b38e20bc5dadc3ae32b699613698d0fc36bbd519fe011128fbdda7e963a69f25375b4e8a26b2ebfa2cdd4496d9d045e9f19672224654e5e7948 +DIST unbounded-delays-0.1.1.1.tar.gz 4114 BLAKE2B 97ffa71675906f9eef6ae297369f9668273ffcb4cc8d9d7efb43b152b5abbeae888ca67e1f77568636feeb3eb4d1bd8549a1446a4f56c7db5ef5570a43da7c57 SHA512 7439c8976498bd84e966b7e08e8d868d65debe3ffc7fd77dc6de345258b4532f2203415abf9530fdaa5feba0bfdc1031303b343502d1f3dc401058125babd41b diff --git a/dev-haskell/unbounded-delays/metadata.xml b/dev-haskell/unbounded-delays/metadata.xml index cb2204836918..937381521944 100644 --- a/dev-haskell/unbounded-delays/metadata.xml +++ b/dev-haskell/unbounded-delays/metadata.xml @@ -5,13 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The @threadDelay@ and @timeout@ functions from the @base@ library - use the bounded @Int@ type for specifying the delay or timeout - period. This packages provides alternatives which use the - unbounded @Integer@ type. - </longdescription> - <upstream> - <remote-id type="github">basvandijk/unbounded-delays</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/unbounded-delays/unbounded-delays-0.1.1.1.ebuild b/dev-haskell/unbounded-delays/unbounded-delays-0.1.1.1.ebuild new file mode 100644 index 000000000000..5a8fc9f85dd2 --- /dev/null +++ b/dev-haskell/unbounded-delays/unbounded-delays-0.1.1.1.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.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Unbounded thread delays and timeouts" +HOMEPAGE="https://github.com/basvandijk/unbounded-delays" +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:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 +" diff --git a/dev-haskell/unicode-collation/Manifest b/dev-haskell/unicode-collation/Manifest index 0614efd7a2ba..e5b667df1be1 100644 --- a/dev-haskell/unicode-collation/Manifest +++ b/dev-haskell/unicode-collation/Manifest @@ -1 +1,2 @@ DIST unicode-collation-0.1.3.3.tar.gz 2056081 BLAKE2B 1b5d58b852ff457b4c794d6e8c87c0539a5987240c2cdb8329fbb00b792be1105c194b55a10b5abd9c59eac7262194065d460a18e994edd2d7f71f535acb4f41 SHA512 bbb8fb3d52fa4906ddb92fb605f49b4c726cfcffd1f950c8a78bc495594a2e7d85fa78e2009da850f0218fce09a57f829ce0f3d6a6000b9b6484754f8c8260e8 +DIST unicode-collation-0.1.3.4.tar.gz 2056084 BLAKE2B e960e740aacd61dfde76fd1ea6da0e50319f91a5b9ea97d3ab95514bf13fd35957ed1b9d3883b980e488d1ef19fce2efda83aad68bc9cd83c5de9d6f3c23519f SHA512 88017dd6d8a96b4248fe993385bad8a5fbe134bdaab05b1f8956bc53c8abba927e22233eed6e3a1760c5cee928a9b2fc74bdb5c0c2c7be7e98bda0049852aec0 diff --git a/dev-haskell/unicode-collation/metadata.xml b/dev-haskell/unicode-collation/metadata.xml index 88c9a1589f64..dc3a9336a589 100644 --- a/dev-haskell/unicode-collation/metadata.xml +++ b/dev-haskell/unicode-collation/metadata.xml @@ -10,4 +10,8 @@ Use with: @--write-ghc-environment-files=always@.</flag> <flag name="executable">Build the unicode-collate executable.</flag> </use> + <upstream> + <remote-id type="hackage">unicode-collation</remote-id> + <remote-id type="github">jgm/unicode-collation</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/unicode-collation/unicode-collation-0.1.3.4.ebuild b/dev-haskell/unicode-collation/unicode-collation-0.1.3.4.ebuild new file mode 100644 index 000000000000..de116d72f284 --- /dev/null +++ b/dev-haskell/unicode-collation/unicode-collation-0.1.3.4.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Haskell implementation of the Unicode Collation Algorithm" +HOMEPAGE="https://github.com/jgm/unicode-collation" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doctests executable" + +RDEPEND="dev-haskell/parsec:=[profile?] + >=dev-haskell/text-1.2:=[profile?] <dev-haskell/text-2.1:=[profile?] + dev-haskell/th-lift-instances:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + >=dev-haskell/unicode-transforms-0.3.7.1 + doctests? ( >=dev-haskell/doctest-0.8 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag doctests doctests) \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/unicode-data/Manifest b/dev-haskell/unicode-data/Manifest index d94ef547e72e..05be6db93b57 100644 --- a/dev-haskell/unicode-data/Manifest +++ b/dev-haskell/unicode-data/Manifest @@ -1,2 +1,4 @@ DIST unicode-data-0.3.0.cabal 5123 BLAKE2B 9166d0496d890a880d364aae56d48a0d1b6c474a708a8c59754f196f75d07278e8b27d8d0f1f68a6fdab475f039c4b7fa7ca35434efdeb891b016003ef4abb17 SHA512 45ca93bef8197394f5a04528169f269417a915ae550fd8c531826ae85707939666689a2fc33b954ce4cc053330f062fc123ffeae408790f9613181c14db1da05 DIST unicode-data-0.3.0.tar.gz 142487 BLAKE2B 0e1dbe384957adb0ff53482fe65578a10d6753c3ab14e6e5aa5da60f5891fbe10ce4bd024f76ae5f213b53baef24c1ccf97a4a2cbd79de1595336db23fda64fc SHA512 6e96f9b93f8a37c8e17f6b20fbe5339fdfeeb75a9d0c6311b03e0bdc9a4a6aa87db6adbe2c3d7d4e7671635df1b32c5325d37815f48ae03ab3b27190a293896b +DIST unicode-data-0.4.0.1-rev1.cabal 5624 BLAKE2B 3a094a77e3f60442b2cf0f3bb7945faee8b8115fa45dc313761b73e1700d3e55449f461efeddf41d7525d15432c496005c36091da6e7ba0e9340cca1558433cd SHA512 8c287812edbfa470fc610b765dba5e7600f6f3b0c0b5f748271226b946c25a9fb2e2a5564a55a126268fdaf447460334f0265987ea42b41dec348862c311659e +DIST unicode-data-0.4.0.1.tar.gz 187381 BLAKE2B f59193571e7c6b0243c8df468f13f501a1114318af8cb7816b10aacbb4a1b0dc736c1ac763156c0c833eb17b85272bb15f147d4cd97254cfee3e16889743c9fb SHA512 ddbe70ccdb628673aa9276af3a59aa02c8038b3655fcf0bbf3b4d3db4bb92629d256512bb1ede2486f77138cda0a6595bbcd8e82f1dc57385c6a7b5e0edfae48 diff --git a/dev-haskell/unicode-data/metadata.xml b/dev-haskell/unicode-data/metadata.xml index 937381521944..59edf12d1b34 100644 --- a/dev-haskell/unicode-data/metadata.xml +++ b/dev-haskell/unicode-data/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">unicode-data</remote-id> + <remote-id type="github">composewell/unicode-data</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/unicode-data/unicode-data-0.4.0.1.ebuild b/dev-haskell/unicode-data/unicode-data-0.4.0.1.ebuild new file mode 100644 index 000000000000..c88802e6efc9 --- /dev/null +++ b/dev-haskell/unicode-data/unicode-data-0.4.0.1.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.4.0.9999 + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Access Unicode Character Database (UCD)" +HOMEPAGE="https://github.com/composewell/unicode-data" + +LICENSE="Apache-2.0" +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/hspec-2.0 <dev-haskell/hspec-2.11 ) +" diff --git a/dev-haskell/unicode-transforms/Manifest b/dev-haskell/unicode-transforms/Manifest index 8cbf1ddcbe1f..b4f9361f82a0 100644 --- a/dev-haskell/unicode-transforms/Manifest +++ b/dev-haskell/unicode-transforms/Manifest @@ -1 +1,3 @@ DIST unicode-transforms-0.3.7.1.tar.gz 717790 BLAKE2B aabdd2496ad686d203aa0d8f9c4d043e35c448b1cb83546858e487a6f0e6f05f2cd6467be8c0bedf1bac7fc0d45a711b7faa438c433b5a144ad2e7c3dc20df97 SHA512 a4e39b943bcea6c86ebb8df7253a39ecf2a7bf5a083d0cf2ee1e5720af4afe47111330a787353a5728793d02739448debae2fd73fe6ba2d0eb94cbbb4bfef30f +DIST unicode-transforms-0.4.0.1-rev3.cabal 5923 BLAKE2B 40f63c4dbaa5f1b8a46b12ec4b07e766d394bc9b0b05ea441e8bd4d22c925e0299bed922f635a01b194d7f4b750ca0059dfca55c196655869a2ae8c025c76a70 SHA512 8f9b8cf6fe3a76a1940174cbb443e15bc63cf26cdce6e6eb0ef6d523d2dc99a65c708a48c7a90feac2b529c17c7a5ab2e2813f9fe603ab52581c5f8b353fb701 +DIST unicode-transforms-0.4.0.1.tar.gz 648836 BLAKE2B 46193776ed2e2f4cc20fe6304a4cf837b47d847d86869437efb4ffbbc06bec5d5b376ef4080676afdbb06c09b6d49dee10fc95f0597545ae4b531d56c42abacd SHA512 3d1347209d2b50fefac1b8bef3a4a82ab8e5f2addc361a338399225e37c933c1e5495f7a7c658c052d818dcc4bee20b48aa37c351fbfdaa926d98ae80f9dab14 diff --git a/dev-haskell/unicode-transforms/unicode-transforms-0.3.7.1-r1.ebuild b/dev-haskell/unicode-transforms/unicode-transforms-0.3.7.1-r1.ebuild index c228945dbdf9..9da59741991d 100644 --- a/dev-haskell/unicode-transforms/unicode-transforms-0.3.7.1-r1.ebuild +++ b/dev-haskell/unicode-transforms/unicode-transforms-0.3.7.1-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.7.9999 #hackport: flags: -dev,-has-icu,-has-llvm @@ -29,12 +29,9 @@ DEPEND="${RDEPEND} >=dev-haskell/split-0.1 <dev-haskell/split-0.3 ) " -src_prepare() { - default - - cabal_chdeps \ - 'ghc-prim >= 0.2 && < 0.7' 'ghc-prim >= 0.2' -} +CABAL_CHDEPS=( + 'ghc-prim >= 0.2 && < 0.7' 'ghc-prim >= 0.2' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/unicode-transforms/unicode-transforms-0.4.0.1.ebuild b/dev-haskell/unicode-transforms/unicode-transforms-0.4.0.1.ebuild new file mode 100644 index 000000000000..03b1d914b2d3 --- /dev/null +++ b/dev-haskell/unicode-transforms/unicode-transforms-0.4.0.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.2.2 +#hackport: flags: -dev,-has-icu,-has-llvm,-bench-show,-gauge + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_HACKAGE_REVISION="3" +inherit haskell-cabal + +DESCRIPTION="Unicode normalization" +HOMEPAGE="https://github.com/composewell/unicode-transforms" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/unicode-data-0.2:=[profile?] <dev-haskell/unicode-data-0.5:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3 + >=dev-haskell/quickcheck-2.1 <dev-haskell/quickcheck-2.15 + >=dev-haskell/split-0.2 <dev-haskell/split-0.3 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev \ + --flag=-has-icu \ + --flag=-has-llvm \ + --flag=-bench-show \ + --flag=-gauge +} diff --git a/dev-haskell/uniplate/uniplate-1.6.13.ebuild b/dev-haskell/uniplate/uniplate-1.6.13.ebuild index 085e193d9d18..dadfbb044a10 100644 --- a/dev-haskell/uniplate/uniplate-1.6.13.ebuild +++ b/dev-haskell/uniplate/uniplate-1.6.13.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.7.9999 #hackport: flags: +separate_syb,+typeable_fingerprint diff --git a/dev-haskell/unix-compat/Manifest b/dev-haskell/unix-compat/Manifest index a9ae93104360..a8d26b41146f 100644 --- a/dev-haskell/unix-compat/Manifest +++ b/dev-haskell/unix-compat/Manifest @@ -1 +1,2 @@ DIST unix-compat-0.5.2.tar.gz 13281 BLAKE2B 617e916badf79b76959ffcd542ad6fa1f1ea04c0bc741faace7614bc9e0fcae0cc34dabb06197fa8686dee26b0d890ee95d3f6e5f6258e543424a9d99498a0cf SHA512 0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be +DIST unix-compat-0.7.tar.gz 15210 BLAKE2B ccf771b729d98f29900dc79bd2e832c44ae06e3153eafadcd6aaff9fcb46cd74d78bc414988ef355e16d0d20ed11d5b82a3828c9c295b4d004b56ae4fefb3804 SHA512 2cac851106148a61c6c94742f6bf4862ce3409defd6b5478791ebabe538b53b4da35bdf552eed685117f72adcff2f16a920791705c734a7149d13184cf2ff549 diff --git a/dev-haskell/unix-compat/metadata.xml b/dev-haskell/unix-compat/metadata.xml index ee9c185ae638..312d969e96a6 100644 --- a/dev-haskell/unix-compat/metadata.xml +++ b/dev-haskell/unix-compat/metadata.xml @@ -5,16 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides portable implementations of parts - of the unix package. This package re-exports the unix - package when available. When it isn't available, - portable implementations are used. - </longdescription> <use> <flag name="old-time">build against old-time package</flag> </use> <upstream> - <remote-id type="github">jystic/unix-compat</remote-id> + <remote-id type="hackage">unix-compat</remote-id> + <remote-id type="github">haskell-pkg-janitors/unix-compat</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/unix-compat/unix-compat-0.5.2.ebuild b/dev-haskell/unix-compat/unix-compat-0.5.2.ebuild index 0feef40868dc..18822313fae8 100644 --- a/dev-haskell/unix-compat/unix-compat-0.5.2.ebuild +++ b/dev-haskell/unix-compat/unix-compat-0.5.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.1 diff --git a/dev-haskell/unix-compat/unix-compat-0.7.ebuild b/dev-haskell/unix-compat/unix-compat-0.7.ebuild new file mode 100644 index 000000000000..ce0ef908850d --- /dev/null +++ b/dev-haskell/unix-compat/unix-compat-0.7.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Portable POSIX-compatibility layer" +HOMEPAGE="https://github.com/haskell-pkg-janitors/unix-compat" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="old-time" + +RDEPEND=">=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/extra + dev-haskell/hspec + dev-haskell/hunit + dev-haskell/monad-parallel + dev-haskell/temporary ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag old-time old-time) +} diff --git a/dev-haskell/unix-time/Manifest b/dev-haskell/unix-time/Manifest index 8fd76ae6ef16..242d20534710 100644 --- a/dev-haskell/unix-time/Manifest +++ b/dev-haskell/unix-time/Manifest @@ -1 +1,2 @@ +DIST unix-time-0.4.10.tar.gz 52393 BLAKE2B 61966c1008006e64d7959d8c4ffbd99f482910c6276347d835ba24e6b28e4486d88f6af71f1fcdc33d0b6670814cc2e6f0860872a0613deb2c723aa0c9df318c SHA512 3f3a155cb17cafab450f5e2c31bddf328367c9e882174492c6d5b3db84a742fc3b1ed613e92f825df284ce9b6fa62fb2f2f506ef864280b80eb4dfd035f8c6ca DIST unix-time-0.4.7.tar.gz 52235 BLAKE2B ec885f79c7f2be3766528dca640e59709aa984f70523714614414f921a7c7808feed274b44bc33cf23d4acee49dc0d8e4e30e9016a372850dfa1695abf81f7d2 SHA512 a9e5b77cb9c93b9a20687406aaeeaff5277d05b95ee9d874f3e0292eca83574b2e842785e0a88f71be3e91610db228c68b5cec885c4b3ea15fc6ec1bb861c072 diff --git a/dev-haskell/unix-time/metadata.xml b/dev-haskell/unix-time/metadata.xml index 937381521944..73c121fe55bd 100644 --- a/dev-haskell/unix-time/metadata.xml +++ b/dev-haskell/unix-time/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">unix-time</remote-id> + <remote-id type="github">kazu-yamamoto/unix-time</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/unix-time/unix-time-0.4.10.ebuild b/dev-haskell/unix-time/unix-time-0.4.10.ebuild new file mode 100644 index 000000000000..23dc8a11e0a8 --- /dev/null +++ b/dev-haskell/unix-time/unix-time-0.4.10.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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Unix time parser/formatter and utilities" +HOMEPAGE="https://hackage.haskell.org/package/unix-time" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/old-time:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-2.6 + dev-haskell/old-locale + dev-haskell/quickcheck ) +" diff --git a/dev-haskell/unix-time/unix-time-0.4.7.ebuild b/dev-haskell/unix-time/unix-time-0.4.7.ebuild index f2e422a2547a..92ec06076d90 100644 --- a/dev-haskell/unix-time/unix-time-0.4.7.ebuild +++ b/dev-haskell/unix-time/unix-time-0.4.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.1 diff --git a/dev-haskell/unliftio-core/Manifest b/dev-haskell/unliftio-core/Manifest index dafac5b5da19..e5ef2b39bdb4 100644 --- a/dev-haskell/unliftio-core/Manifest +++ b/dev-haskell/unliftio-core/Manifest @@ -1 +1,3 @@ DIST unliftio-core-0.1.2.0.tar.gz 3631 BLAKE2B 26829fb8d218fd1b73f1bc86b1d673cedef8894345a37c428d73875c0e1c4a47a7107c0a7d9818ee03e6abd75c7da5cd7afdf4c2be02845ff78527c80eb86351 SHA512 5bd46d40be031b398b3238a5170f45641861a30c8cf20ca5a202b47367f00bb52e7391a53301edd47f8d688c713c06ebfdc51b1528518e28f8e8d6ad619e10eb +DIST unliftio-core-0.2.1.0-rev2.cabal 1004 BLAKE2B 9c71dbc173591ce86f6d09febec1f6d0ccc7d9cdb41b75ff969e5d28b52f880f2cdd10aea8c65ee79cfc92927e7876cfad5611d23af90aefb028f8255c0fa85e SHA512 e4ff0617b6f113b2281d689a2dab9cba67e8cba18c4fdecb3e881db5a52cdcdd939b715017cd440535408f9ae56e00c9230aa067bbbc4fe200382ebf6ef80295 +DIST unliftio-core-0.2.1.0.tar.gz 3865 BLAKE2B 8ee7595c0fe23dd287e4b75eb29909f777ea5798db777d574b928cc34227e1f8bc63f92c9404956d81afef9336c7d555dee4f18a785058b06ba195815a47c284 SHA512 dfc32895bc4410f017d86570c574fc9fbcf68434e4dc240904034c6e932051ee8015fba6a972ea8f0dc47ea5afb0d234208d5c66c21d40710b8bc469578cf976 diff --git a/dev-haskell/unliftio-core/metadata.xml b/dev-haskell/unliftio-core/metadata.xml index 937381521944..8392ff4eed81 100644 --- a/dev-haskell/unliftio-core/metadata.xml +++ b/dev-haskell/unliftio-core/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">unliftio-core</remote-id> + <remote-id type="github">fpco/unliftio</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/unliftio-core/unliftio-core-0.1.2.0.ebuild b/dev-haskell/unliftio-core/unliftio-core-0.1.2.0.ebuild index 8a2200b358ea..6ae836ac1998 100644 --- a/dev-haskell/unliftio-core/unliftio-core-0.1.2.0.ebuild +++ b/dev-haskell/unliftio-core/unliftio-core-0.1.2.0.ebuild @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.18.1.3 " -src_prepare() { - default - - cabal_chdeps \ - 'base >=4.5 && <4.12' 'base >=4.5' -} +CABAL_CHDEPS=( + 'base >=4.5 && <4.12' 'base >=4.5' +) diff --git a/dev-haskell/unliftio-core/unliftio-core-0.2.1.0.ebuild b/dev-haskell/unliftio-core/unliftio-core-0.2.1.0.ebuild new file mode 100644 index 000000000000..7e12209996d8 --- /dev/null +++ b/dev-haskell/unliftio-core/unliftio-core-0.2.1.0.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.8.4.0.9999 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="The MonadUnliftIO typeclass for unlifting monads to IO" +HOMEPAGE="https://github.com/fpco/unliftio/tree/master/unliftio-core#readme" + +LICENSE="MIT" +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 +" diff --git a/dev-haskell/unliftio/Manifest b/dev-haskell/unliftio/Manifest index 9b05a0fe2f7c..f138ee3ddeb0 100644 --- a/dev-haskell/unliftio/Manifest +++ b/dev-haskell/unliftio/Manifest @@ -1 +1,2 @@ DIST unliftio-0.2.18.tar.gz 56344 BLAKE2B 7e1ae3356ceef94bd50f9dc14c30ee980834cfecfb17ac36233a2e8da7d8564f8671c77b848726ebae5cfc5d81c9c65d6847015956298e2d9bb1aad9479303bd SHA512 baa90de754474bcd7e2116f4f2a5c98192f2cc62368895eda5995b528c193d07225f1f1409b0f24ce24f7ea396237563b2ff8182636b53618d4048d558d1a8fd +DIST unliftio-0.2.23.0.tar.gz 57461 BLAKE2B 1dc1094e78a25940e0d978dcd723752e00d8f8bb5e8a3c0710fb5d59814c1cf67350f20b6e682644113ba993d9782eff63bfab507830adcebabfc707c8006dfc SHA512 24c06ab66c88a4f6d23376178d484da4a815f77f81b47ec4120b32a45f9d09ca1f4ee89c9ad35a538482aaf68a64155c129f4aef985960869b2dd7387693c449 diff --git a/dev-haskell/unliftio/metadata.xml b/dev-haskell/unliftio/metadata.xml index 937381521944..1f69a776f334 100644 --- a/dev-haskell/unliftio/metadata.xml +++ b/dev-haskell/unliftio/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">unliftio</remote-id> + <remote-id type="github">fpco/unliftio</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/unliftio/unliftio-0.2.18.ebuild b/dev-haskell/unliftio/unliftio-0.2.18.ebuild index fc9540d66b07..3ec95dacdb6a 100644 --- a/dev-haskell/unliftio/unliftio-0.2.18.ebuild +++ b/dev-haskell/unliftio/unliftio-0.2.18.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/unliftio/unliftio-0.2.23.0-r1.ebuild b/dev-haskell/unliftio/unliftio-0.2.23.0-r1.ebuild new file mode 100644 index 000000000000..2adc79694a80 --- /dev/null +++ b/dev-haskell/unliftio/unliftio-0.2.23.0-r1.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.0.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)" +HOMEPAGE="https://github.com/fpco/unliftio/tree/master/unliftio#readme" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >dev-haskell/async-2.1.1:=[profile?] + dev-haskell/safe-exceptions:=[profile?] + >=dev-haskell/stm-2.5:=[profile?] + >=dev-haskell/unliftio-core-0.1.1.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/hspec + dev-haskell/quickcheck + ) +" diff --git a/dev-haskell/unordered-containers/Manifest b/dev-haskell/unordered-containers/Manifest index 590039b933e3..268e704aecbf 100644 --- a/dev-haskell/unordered-containers/Manifest +++ b/dev-haskell/unordered-containers/Manifest @@ -1 +1,3 @@ DIST unordered-containers-0.2.17.0.tar.gz 54110 BLAKE2B 089317f81ce422b1ad54b20bf6c4724a13db855b34e6b4c634e36ed7e897927d2390559f32e8b1f1c38b206c0e8802e066d1f20b3b0a9c3c69a23a01ca993a1b SHA512 e0705e0ad9ec03ad192a8e4047aa5c8a1da6268075be28f423d3f3e7d330084ec02d8499b9f5ee8686c4dd36c67758822d58484155f3ce2cfd210e5bb1a3bb8b +DIST unordered-containers-0.2.19.1-rev2.cabal 3822 BLAKE2B 57d1cd8fb19b60fc65ec2d89dae387fb9f3475f381507f78142724db810fdb72c706a41740f1e6ce2354dc7536d2dd020d65ef617765f87a9c4e10d9f4ae0ffd SHA512 83afdd11895a1bda7403efae0ff812befe88e26ee90b7098442946d257307bf6fd1eb977dc9b95fa69e24497318ceeb2afd3dfec8d3c0ce87e03a8ad2d5a2a25 +DIST unordered-containers-0.2.19.1.tar.gz 58030 BLAKE2B 52164edda0a384ec9286a5e931f0abb563fe10afc80dff604497d9f78f08ba334243fd0d4603c346d3d1af251e7a74c3962d2cd2592134544ecf79d856bf2236 SHA512 2ea49766210fcec1f8f8bd99c2bb296c4ffcb7ab00317b7663436b6ab0037f9b78cfa22631a1e2bc1f34b6c9b08614aa0ca98c5256ab18258645bfd72351b712 diff --git a/dev-haskell/unordered-containers/metadata.xml b/dev-haskell/unordered-containers/metadata.xml index a84ebc1e2a38..8bc8285ce7a3 100644 --- a/dev-haskell/unordered-containers/metadata.xml +++ b/dev-haskell/unordered-containers/metadata.xml @@ -5,15 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Efficient hashing-based container types. The containers have been - optimized for performance critical use, both in terms of large data - quantities and high speed. - - The declared cost of each operation is either worst-case or - amortized, but remains valid even if structures are shared. - </longdescription> <upstream> - <remote-id type="github">tibbe/unordered-containers</remote-id> + <remote-id type="hackage">unordered-containers</remote-id> + <remote-id type="github">haskell-unordered-containers/unordered-containers</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/unordered-containers/unordered-containers-0.2.19.1.ebuild b/dev-haskell/unordered-containers/unordered-containers-0.2.19.1.ebuild new file mode 100644 index 000000000000..c750b2627d64 --- /dev/null +++ b/dev-haskell/unordered-containers/unordered-containers-0.2.19.1.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.7.3.0 +#hackport: flags: -debug + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient hashing-based container types" +HOMEPAGE="https://github.com/haskell-unordered-containers/unordered-containers" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/hashable-1.2.5:=[profile?] <dev-haskell/hashable-1.5:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( + dev-haskell/chasingbottoms + dev-haskell/hunit + >=dev-haskell/nothunks-0.1.3 + >=dev-haskell/quickcheck-2.4.0.1 + dev-haskell/random + >=dev-haskell/tasty-1.4.0.3 + >=dev-haskell/tasty-hunit-0.10.0.3 + >=dev-haskell/tasty-quickcheck-0.10.1.2 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-debug +} diff --git a/dev-haskell/utf8-light/Manifest b/dev-haskell/utf8-light/Manifest index 2fff44a6a992..673638967f46 100644 --- a/dev-haskell/utf8-light/Manifest +++ b/dev-haskell/utf8-light/Manifest @@ -1 +1,2 @@ DIST utf8-light-0.4.2.tar.gz 5821 BLAKE2B 50f9ed9201458c90306200538e583f9a696f99aac394851da430dd69263789dccf9c4b188319bdbfeaec3542eccbbe7f4b336028953d513973b98718a4a22c18 SHA512 83777117a24a4c456134c0591e59ec010cbb938a5ddac8fc68b8204c7999aa2a36ab158b14e5b7bded1ca9cc4596f448b0e7aa5d194081130d7aef623d7c6bc0 +DIST utf8-light-0.4.4.0.tar.gz 7398 BLAKE2B 0aad5a2cc1e01fed73c6511dcde0f9d2cf25f229060cbddf7743d9d27d85d32a4028ef794e967d76f44d7df62acd618d9935ccb1f6cf9c7d8b98ed2166a1c6e7 SHA512 750ffdc68d7545ade1718361a693438cc3368003eeafb325912a48183e64b8131c219edb9cc56f5f582bd1f745152ff7d409bf0ade4fd7e542669c2d24977976 diff --git a/dev-haskell/utf8-light/metadata.xml b/dev-haskell/utf8-light/metadata.xml index 937381521944..71e7df66a6ab 100644 --- a/dev-haskell/utf8-light/metadata.xml +++ b/dev-haskell/utf8-light/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">utf8-light</remote-id> + <remote-id type="gitlab">fffaaa/utf8-light</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/utf8-light/utf8-light-0.4.2.ebuild b/dev-haskell/utf8-light/utf8-light-0.4.2.ebuild index 0ed8fc2be109..3af13fa76b84 100644 --- a/dev-haskell/utf8-light/utf8-light-0.4.2.ebuild +++ b/dev-haskell/utf8-light/utf8-light-0.4.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 diff --git a/dev-haskell/utf8-light/utf8-light-0.4.4.0.ebuild b/dev-haskell/utf8-light/utf8-light-0.4.4.0.ebuild new file mode 100644 index 000000000000..cc2b9d05c9f9 --- /dev/null +++ b/dev-haskell/utf8-light/utf8-light-0.4.4.0.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.1.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Lightweight UTF8 handling" +HOMEPAGE="https://hackage.haskell.org/package/utf8-light" + +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/hspec-2.3 <dev-haskell/hspec-2.11 + ) +" diff --git a/dev-haskell/utf8-string/Manifest b/dev-haskell/utf8-string/Manifest index 75c25b57229d..485b24aab2a8 100644 --- a/dev-haskell/utf8-string/Manifest +++ b/dev-haskell/utf8-string/Manifest @@ -1 +1,2 @@ DIST utf8-string-1.0.1.1.tar.gz 8667 BLAKE2B db2f899e0f78e44700cec859fd71982024e05f971ab5fef36071410c207a23dce1fa7430ce6cdeefdb5b2c28509eb5848946e2207e046ab7a4105c56e25fce16 SHA512 2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965 +DIST utf8-string-1.0.2.tar.gz 10726 BLAKE2B 7790f2c3023944399d1110c90bf4b6ba5bf82db17f02d4b622343f559f2a88e96e590f306cfcb64baa27f5c63b86effbbb87b85ffc28b8d577355ac14b4fae37 SHA512 b20b61e942a77848d12f9105f88790b3f02e3e2835b87e0ce1900b5ea1e97c4b055003603e435415e7fbbc9586f9c6ca2402f86cf5d2b7b6ced2ddcae3968d24 diff --git a/dev-haskell/utf8-string/metadata.xml b/dev-haskell/utf8-string/metadata.xml index 09deccffd296..937381521944 100644 --- a/dev-haskell/utf8-string/metadata.xml +++ b/dev-haskell/utf8-string/metadata.xml @@ -1,10 +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> - </maintainer> - <upstream> - <remote-id type="github">glguy/utf8-string</remote-id> - </upstream> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> </pkgmetadata> diff --git a/dev-haskell/utf8-string/utf8-string-1.0.1.1.ebuild b/dev-haskell/utf8-string/utf8-string-1.0.1.1.ebuild index 0ae670b3f414..e0339d789d6d 100644 --- a/dev-haskell/utf8-string/utf8-string-1.0.1.1.ebuild +++ b/dev-haskell/utf8-string/utf8-string-1.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.4.6.9999 @@ -23,9 +23,6 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.2 " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.3 && < 4.9' 'base >= 4.3' -} +CABAL_CHDEPS=( + 'base >= 4.3 && < 4.9' 'base >= 4.3' +) diff --git a/dev-haskell/utf8-string/utf8-string-1.0.2.ebuild b/dev-haskell/utf8-string/utf8-string-1.0.2.ebuild new file mode 100644 index 000000000000..41aad999e11e --- /dev/null +++ b/dev-haskell/utf8-string/utf8-string-1.0.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.7.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Support for reading and writing UTF8 Strings" +HOMEPAGE="https://github.com/glguy/utf8-string/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~ppc-macos" + +RDEPEND=">=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hunit-1.3 <dev-haskell/hunit-1.7 ) +" diff --git a/dev-haskell/uuid-types/Manifest b/dev-haskell/uuid-types/Manifest index 7838a2665dbe..b20cc31e995e 100644 --- a/dev-haskell/uuid-types/Manifest +++ b/dev-haskell/uuid-types/Manifest @@ -1,2 +1,2 @@ -DIST uuid-types-1.0.5.cabal 2608 BLAKE2B 93d8b89dd8f369032ef0035db3edc07eb21e0985d59c43f17976e1b9f6136ea75e059e5fb1930f9d0ab450846a160b9a5eda4691b13e6aa3bc00de6bd3008d31 SHA512 e2bc98a0f1ddcec5b5f3d26d6f5ec9a7ba5d9c51be9dc56166d975d28753380024623daf694088030fd8b24f9653ff798ce326931a1e7887adca27c15dbe8649 +DIST uuid-types-1.0.5-rev4.cabal 2636 BLAKE2B f435203ae4c48a0f9cabae2df90a8624fbaa8ef0d382dee1be8f2dcd226732053c16f8214ac3337922eb25133ae30e69e7f6ecd57994d225ea17c5269d7d3efb SHA512 1a612a9304d8d206ce79f1db86bb492914562f6d0464668599a4bc66ccf07eb66984fcd6518afd5b0bf0685904db04f587e40a75b610901799b316370db3a6d9 DIST uuid-types-1.0.5.tar.gz 11922 BLAKE2B 82da240f63c255be7c64ddaa6b6f49e022446afbf814b6cd3f9607fd43c0bf33e5d92b0586477384d46b4906f15b17f72564227ad090da54c03b1c21608f5fcc SHA512 0e0821a426120ab63d991a6cd39ded65a89472751ada4d5fb5e4f12177d8e797ede3b6b74d6817ce260d6334adeb42de31b0073389f58a27a06ec8ea4a574ef6 diff --git a/dev-haskell/uuid-types/metadata.xml b/dev-haskell/uuid-types/metadata.xml index 2723af291b6f..d9d345a26409 100644 --- a/dev-haskell/uuid-types/metadata.xml +++ b/dev-haskell/uuid-types/metadata.xml @@ -5,12 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library contains type definitions for Universally Unique Identifiers - and basic conversion functions. - See <https://en.wikipedia.org/wiki/UUID> for the general idea. - </longdescription> <upstream> - <remote-id type="github">aslatter/uuid</remote-id> + <remote-id type="hackage">uuid-types</remote-id> + <remote-id type="github">haskell-hvr/uuid</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/uuid-types/uuid-types-1.0.5.ebuild b/dev-haskell/uuid-types/uuid-types-1.0.5-r1.ebuild index f21f821575bb..5f189b66a425 100644 --- a/dev-haskell/uuid-types/uuid-types-1.0.5.ebuild +++ b/dev-haskell/uuid-types/uuid-types-1.0.5-r1.ebuild @@ -3,42 +3,37 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.1.9999 +# ebuild generated by hackport 0.8.2.1.9999 + +CABAL_HACKAGE_REVISION=4 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -CABAL_HACKAGE_REVISION="2" inherit haskell-cabal DESCRIPTION="Type definitions for Universally Unique Identifiers" HOMEPAGE="https://github.com/haskell-hvr/uuid" -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.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] +RDEPEND=" + >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] >=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.3:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-lang/ghc-8.8.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?] " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1 - test? ( >=dev-haskell/ghc-byteorder-4.11 <dev-haskell/ghc-byteorder-4.12 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/ghc-byteorder-4.11 <dev-haskell/ghc-byteorder-4.12 >=dev-haskell/quickcheck-2.14.2 <dev-haskell/quickcheck-2.15 >=dev-haskell/tasty-1.4.0.1 <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 + ) " -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 -} diff --git a/dev-haskell/uuid/Manifest b/dev-haskell/uuid/Manifest index 6f51a6b5747e..df4bff53385b 100644 --- a/dev-haskell/uuid/Manifest +++ b/dev-haskell/uuid/Manifest @@ -1 +1,2 @@ +DIST uuid-1.3.15-rev2.cabal 2642 BLAKE2B db44dabaa7962207d089fb79db6781e4387fb1958366e938125ec95d79125fc277fe1167a0aab2d133441c95a70953cee5ab30b4a1811bfd5c6733f178239ed5 SHA512 cb8a0aa11945375d175de2c48c710ef0f423d38fa4960ef91050e04038a402b38f532e25d5f56ecd715513dbb05da25922744ffde51edd8bb99b55985c9342be DIST uuid-1.3.15.tar.gz 8815 BLAKE2B fec665690dc6fe05e9b7083700ca5ba2723d9bbd7cdc7f8770359d26b9b4b32572e15b686bc4589a3bed2cd25caa02cbea96270ea2e373941451aa6f315df401 SHA512 acb5c17b809bee5ce2f1591f3382a7c3a57e9d20a47d8f47be717b0e7fbfd803603810ebaaf88597bcf98dff698f4807dc7d8122a0d7d36785a47e0e065fb59e diff --git a/dev-haskell/uuid/metadata.xml b/dev-haskell/uuid/metadata.xml index 8bd9ed7a20bf..5626c2e65497 100644 --- a/dev-haskell/uuid/metadata.xml +++ b/dev-haskell/uuid/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> - <remote-id type="github">aslatter/uuid</remote-id> + <remote-id type="hackage">uuid</remote-id> + <remote-id type="github">haskell-hvr/uuid</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/uuid/uuid-1.3.15-r1.ebuild b/dev-haskell/uuid/uuid-1.3.15-r1.ebuild new file mode 100644 index 000000000000..679ee0de762c --- /dev/null +++ b/dev-haskell/uuid/uuid-1.3.15-r1.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 + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="For creating, comparing, parsing and printing Universally Unique Identifiers" +HOMEPAGE="https://github.com/haskell-hvr/uuid" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/cryptohash-md5-0.11.100:=[profile?] <dev-haskell/cryptohash-md5-0.12 + >=dev-haskell/cryptohash-sha1-0.11.100:=[profile?] <dev-haskell/cryptohash-sha1-0.12 + >=dev-haskell/entropy-0.3.7:=[profile?] <dev-haskell/entropy-0.5 + =dev-haskell/network-info-0.2*:=[profile?] + >=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.3 + =dev-haskell/uuid-types-1.0.5*:=[profile?] + >=dev-lang/ghc-8.8.1:= + || ( + ( >=dev-haskell/text-1.2.3.0 <dev-haskell/text-1.3 ) + =dev-haskell/text-2.0* + ) + dev-haskell/text:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.14.2 <dev-haskell/quickcheck-2.15 + >=dev-haskell/tasty-1.4.0.1 <dev-haskell/tasty-1.5 + =dev-haskell/tasty-hunit-0.10* + =dev-haskell/tasty-quickcheck-0.10* + ) +" diff --git a/dev-haskell/uuid/uuid-1.3.15.ebuild b/dev-haskell/uuid/uuid-1.3.15.ebuild deleted file mode 100644 index 86d31756c2da..000000000000 --- a/dev-haskell/uuid/uuid-1.3.15.ebuild +++ /dev/null @@ -1,36 +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 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite has too new tasty -inherit haskell-cabal - -DESCRIPTION="For creating, comparing, parsing and printing Universally Unique Identifiers" -HOMEPAGE="https://github.com/haskell-hvr/uuid" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" - -RESTRICT=test - -RDEPEND=">=dev-haskell/cryptohash-md5-0.11.100:=[profile?] <dev-haskell/cryptohash-md5-0.12:=[profile?] - >=dev-haskell/cryptohash-sha1-0.11.100:=[profile?] <dev-haskell/cryptohash-sha1-0.12:=[profile?] - >=dev-haskell/entropy-0.3.7:=[profile?] <dev-haskell/entropy-0.5:=[profile?] - >=dev-haskell/network-info-0.2:=[profile?] <dev-haskell/network-info-0.3:=[profile?] - >=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.3:=[profile?] - >=dev-haskell/uuid-types-1.0.5:=[profile?] <dev-haskell/uuid-types-1.0.6:=[profile?] - >=dev-lang/ghc-8.4.3:= - >=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-2.1:=[profile?] -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.2.0.1" -# test? ( >=dev-haskell/quickcheck-2.14.2 <dev-haskell/quickcheck-2.15 -# >=dev-haskell/tasty-1.4.0.1 <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/vault/Manifest b/dev-haskell/vault/Manifest index 854e253b8afa..b94e26dcb4b4 100644 --- a/dev-haskell/vault/Manifest +++ b/dev-haskell/vault/Manifest @@ -1,2 +1,2 @@ -DIST vault-0.3.1.5.cabal 2366 BLAKE2B 2ed90b48841bc52df3f6d269b8f30a5b224db2074646e5a446ed8d8f0d2ac15e4bda8839b142e072987dacb1b829ed4bc97f1b9f56e901dd5fb159f3126dee40 SHA512 cca747e73489e7c87c2e794f05d32dac93b935c6dca3ddf58f35d05afd960f1e2279a739ebd7f7995262a7f8d7c2e85b9453da67a5337e029bd03dbf00c5889b +DIST vault-0.3.1.5-rev3.cabal 2366 BLAKE2B 2492299c833115d75b4b9f9285ad371bc9c46616fa08189dcbea40bf0dbc3f397c9e402c97469d45d0d792a860cb7174649d8a188aa0e398cb5fc8d5718e2d7c SHA512 d572fadb89ee20a6740d3a2773f27153b45a11931e0f6335ebc29f47799decd52f0486dca20216d6856bd9d4baf682260fa3f9614209fe3d39facae32e1d820b DIST vault-0.3.1.5.tar.gz 5431 BLAKE2B e102b85b99e6c28e0df1ff535c0bc9c61b01ec8c616107fa6298247f4d7f54e82e26eee7614b616d66cdefb21141a67cfcdf8d15743a59abf94ece0ac692f143 SHA512 f268d192f53594d5be39db807982073591e9bb830411813d6904e5ad1bf10d16eb5f89d9a39b764f92e6e196aeaabeac1b75cd07a70c59a42ce842835758e409 diff --git a/dev-haskell/vault/metadata.xml b/dev-haskell/vault/metadata.xml index 77c6a81afe29..afac3eaf0d55 100644 --- a/dev-haskell/vault/metadata.xml +++ b/dev-haskell/vault/metadata.xml @@ -5,15 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A /vault/ is a typed, persistent store for values of arbitrary types. - It's like having first-class access to the storage space behind IORefs. - - The data structure is analogous to a bank vault, - where you can access different bank boxes with different keys; - hence the name. - </longdescription> <upstream> + <remote-id type="hackage">vault</remote-id> <remote-id type="github">HeinrichApfelmus/vault</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/vault/vault-0.3.1.5.ebuild b/dev-haskell/vault/vault-0.3.1.5-r2.ebuild index 13554f873c08..819d85b66e1e 100644 --- a/dev-haskell/vault/vault-0.3.1.5.ebuild +++ b/dev-haskell/vault/vault-0.3.1.5-r2.ebuild @@ -7,37 +7,24 @@ EAPI=8 #hackport: flags: +useghc CABAL_FEATURES="lib profile haddock hoogle hscolour" -CABAL_HACKAGE_REVISION="1" +CABAL_HACKAGE_REVISION=3 inherit haskell-cabal DESCRIPTION="a persistent store for values of arbitrary types" HOMEPAGE="https://github.com/HeinrichApfelmus/vault" -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.5:=[profile?] <dev-haskell/hashable-1.5:=[profile?] +RDEPEND=" + >=dev-haskell/hashable-1.1.2.5:=[profile?] <dev-haskell/hashable-1.5:=[profile?] >=dev-haskell/unordered-containers-0.2.3.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] >=dev-lang/ghc-8.4.3:= " DEPEND="${RDEPEND} >=dev-haskell/cabal-2.2.0.1 " -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 \ diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest index 5da079923901..a0704f6820b1 100644 --- a/dev-haskell/vector-algorithms/Manifest +++ b/dev-haskell/vector-algorithms/Manifest @@ -1 +1,3 @@ DIST vector-algorithms-0.8.0.4.tar.gz 26681 BLAKE2B fde5a8a9663e5e94e340f4edb1c1d17a47e7b561013982b5bf7711fe595913280476de629470ec9a049a6bd277587b1dc5390ec9e6dd0d7da87eb7f48ab891c8 SHA512 da5f52493c7f68df0a2c718724dcac9be758b09b14c8fa913aa328ee4c1286893fb239882018202d0fcd56709364ccddf3d620ff3b886d830102ef52a0868d42 +DIST vector-algorithms-0.9.0.1-rev1.cabal 3670 BLAKE2B ebb640235c30c3689dc4abe7e5978b435f6f3adb481b595f6ea8d3e702902fc815a07a7cf3569e1a7f82e25a9553bc0432a9897e39626a0813987bbc6947bffb SHA512 1cd195b4ea8c8245d832107c8fb3a58998b461a3973affce983ba802e300d05e8b45c58836d5623073cd4395c196a0d43f1c9648e834cb0d7c4aebf9e97409fd +DIST vector-algorithms-0.9.0.1.tar.gz 29149 BLAKE2B 4d1e713845c311ca6eea96ad6f42ee53e4fc115b5abe77fd582c5904e3fe8c6c6006a5f4adb0353919931b8f9c99aed812128bca36362e9571d4848ac00a7af6 SHA512 007a0aeac87ca6596cae0f67e8ab5cd3ac4120df940dd221745d86c6500fa1e732d6096248ba613472c57825283cae6a2d67d2d2a5a652496f9ad17c91f9b620 diff --git a/dev-haskell/vector-algorithms/metadata.xml b/dev-haskell/vector-algorithms/metadata.xml index 440975499a71..7d5210abf463 100644 --- a/dev-haskell/vector-algorithms/metadata.xml +++ b/dev-haskell/vector-algorithms/metadata.xml @@ -6,10 +6,14 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="bench">Build a benchmarking program.</flag> - <flag name="boundschecks">Enable bounds checking.</flag> + <flag name="bench">Build a benchmarking program to test vector-algorithms performance</flag> + <flag name="boundschecks">Enable bounds checking</flag> <flag name="internalchecks">Enable internal consistency checks at the cost of a significant performance penalty.</flag> - <flag name="properties">Enable quickcheck tests.</flag> + <flag name="properties">Enable the quickcheck tests</flag> <flag name="unsafechecks">Enable bounds checking in unsafe operations at the cost of a significant performance penalty.</flag> </use> + <upstream> + <remote-id type="hackage">vector-algorithms</remote-id> + <remote-id type="github">erikd/vector-algorithms</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.8.0.4.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.8.0.4.ebuild index 9146d9f4e651..511e4de77a01 100644 --- a/dev-haskell/vector-algorithms/vector-algorithms-0.8.0.4.ebuild +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.8.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.7.9999 #hackport: flags: -llvm diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild new file mode 100644 index 000000000000..46514559ce74 --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.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 +#hackport: flags: -llvm + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="https://github.com/erikd/vector-algorithms/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+bench +boundschecks internalchecks +properties unsafechecks" + +RDEPEND=">=dev-haskell/bitvec-1.0:=[profile?] <dev-haskell/bitvec-1.2:=[profile?] + >=dev-haskell/primitive-0.6.2.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( properties? ( >dev-haskell/quickcheck-2.9 <dev-haskell/quickcheck-2.15 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + --flag=-llvm \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} diff --git a/dev-haskell/vector-binary-instances/Manifest b/dev-haskell/vector-binary-instances/Manifest index 268c649131e3..e69c08aae130 100644 --- a/dev-haskell/vector-binary-instances/Manifest +++ b/dev-haskell/vector-binary-instances/Manifest @@ -1 +1,3 @@ DIST vector-binary-instances-0.2.5.1.tar.gz 4067 BLAKE2B 4c4bc50e10be05d0a063cd417198c52e5f79e94547b69eac5d87d26762e62e92dbcb9dfc3209a4d105ca6e3ae772a918de1b983856beeb9117c5c9fdae467b21 SHA512 a16202b8ca3f88df82c27b37511087008579296363c73fe09ab19b00dee0fbaf98699b79b08d7e7410fcd062c03f2c5d1560f6b1c9ebf1ab8290596a35758be0 +DIST vector-binary-instances-0.2.5.2-rev5.cabal 2728 BLAKE2B 33fa3b860a5f5ff2e9a6b2cfa9a3d58fe9715a7973c95ac745ac2e33993d3d7555f77a16a924e201b8214edab5d060348bbf4acbe19341f4466512dba788cd0e SHA512 28f94e3192c498d24a91ebcdc8e8e54fdbfa6d0b0d7d39a325874c986b311939a7f4f888796fd669acab758f64e7742073518cf66a89b5714822bee1d372dc91 +DIST vector-binary-instances-0.2.5.2.tar.gz 4028 BLAKE2B 45e222d9ef3be00af5e40062092ff78526ce7837125880f18ba3359cbba2d5046d13ac81ef3409d4d81a990df60013d732b6f4f85ea2e65e1c806035899e8033 SHA512 885dff7f6508113c355bb125c3949fd722ea5c6e834beb3083e1e6cc16f84bba1b8fd44cd41990af79f095a18fd282dd1ccd94ccf586c5ca08e54b0454575d03 diff --git a/dev-haskell/vector-binary-instances/metadata.xml b/dev-haskell/vector-binary-instances/metadata.xml index e795bb3ebf6a..58610ac88ae7 100644 --- a/dev-haskell/vector-binary-instances/metadata.xml +++ b/dev-haskell/vector-binary-instances/metadata.xml @@ -5,27 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Instances for Binary for the types defined in the vector package, - making it easy to serialize vectors to and from disk. We use the - generic interface to vectors, so all vector types are supported. - Specific instances are provided for unboxed, boxed and storable - vectors. - - To serialize a vector: - - > *Data.Vector.Binary> let v = Data.Vector.fromList [1..10] - > *Data.Vector.Binary> v - > fromList [1,2,3,4,5,6,7,8,9,10] :: Data.Vector.Vector - > *Data.Vector.Binary> encode v - > Chunk "\NUL\NUL\NUL\NUL\NUL...\NUL\NUL\NUL\t\NUL\NUL\NUL\NUL\n" Empty - - Which you can in turn compress before writing to disk: - - > compress . encode $ v - > Chunk "\US\139\b\NUL\NUL\N...\229\240,\254:\NUL\NUL\NUL" Empty - </longdescription> <upstream> - <remote-id type="github">bos/vector-binary-instances</remote-id> + <remote-id type="hackage">vector-binary-instances</remote-id> + <remote-id type="github">haskell/vector-binary-instances</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.1.ebuild b/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.1.ebuild index 1fd4832ce175..9c187d288c83 100644 --- a/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.1.ebuild +++ b/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.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.5.6.9999 @@ -26,9 +26,6 @@ DEPEND="${RDEPEND} dev-haskell/tasty-quickcheck ) " -src_prepare() { - default - - cabal_chdeps \ +CABAL_CHDEPS=( 'base > 3 && < 4.13' 'base > 3' -} +) diff --git a/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.2.ebuild b/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.2.ebuild new file mode 100644 index 000000000000..9bf1ecccbee9 --- /dev/null +++ b/dev-haskell/vector-binary-instances/vector-binary-instances-0.2.5.2.ebuild @@ -0,0 +1,27 @@ +# 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=5 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Instances of Data.Binary for vector" +HOMEPAGE="https://github.com/haskell/vector-binary-instances" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/vector-th-unbox/Manifest b/dev-haskell/vector-th-unbox/Manifest index b44ba5a7bb6f..2a47db129c81 100644 --- a/dev-haskell/vector-th-unbox/Manifest +++ b/dev-haskell/vector-th-unbox/Manifest @@ -1 +1,3 @@ DIST vector-th-unbox-0.2.1.7.tar.gz 4771 BLAKE2B 72d25981c2dd42bce7028d94a1805ad9a836cfbdce9dfb8bdbfe2f1aa26f4180ea8fc02b3323eccaa11c53065659ddc25063460b737831cc565ae08cecc914d4 SHA512 fa65c32eace3ad93f0df69830eca0334519bbdbb2bbdc511db6e6abffe48c78870fef131dc34451873775a037634a87f0cd0d06dc1c4bc9404af2a86d7593ae1 +DIST vector-th-unbox-0.2.2-rev4.cabal 1565 BLAKE2B cd49e8c28667981719bb811a0367e47c1a8953be340abc5e9ebb608520e09c292d3e4bffa5059a22d0362778b63d7a77bc78d552f22571ae27c24f726bd095e4 SHA512 c6bf6404e44d0c128a36106916810eb5f21c93cd40593fa3717028c4f36165a3ff33320d853759ad35e3f7665dba57458dc7004d14cce30cd129ef1ee7fc9414 +DIST vector-th-unbox-0.2.2.tar.gz 4864 BLAKE2B 6c7cabc49af5f06332802c41f37ca92a7fc8df48c288cceaee786aaf38b8f19f5576ccac3e86dd04a62431d42c5d1e0bd2269a5b5bf4e6558a2a76810dcba7f1 SHA512 55af4bcced3a39464aca6dca95a8148498a698d9402a583b916aa178d58d3895cc609525416de53c0a39566b892c7b09296fc442db7851a19d071142cce72a46 diff --git a/dev-haskell/vector-th-unbox/metadata.xml b/dev-haskell/vector-th-unbox/metadata.xml index d3891236a6d7..e088f89cce76 100644 --- a/dev-haskell/vector-th-unbox/metadata.xml +++ b/dev-haskell/vector-th-unbox/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A Template Haskell deriver for unboxed vectors, given a pair of coercion - functions to and from some existing type with an Unbox instance. - - Refer to "Data.Vector.Unboxed.Deriving" for documentation and examples. - </longdescription> + <upstream> + <remote-id type="hackage">vector-th-unbox</remote-id> + <remote-id type="github">tsurucapital/vector-th-unbox</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.1.7.ebuild b/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.1.7.ebuild index 1f77320ed770..4b2513b3ad77 100644 --- a/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.1.7.ebuild +++ b/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.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.1.9999 @@ -25,10 +25,7 @@ DEPEND="${RDEPEND} test? ( dev-haskell/data-default ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.5 && < 4.14' 'base >= 4.5' \ - 'template-haskell >= 2.5 && <2.16' 'template-haskell >= 2.5' -} +CABAL_CHDEPS=( + 'base >= 4.5 && < 4.14' 'base >= 4.5' + 'template-haskell >= 2.5 && <2.16' 'template-haskell >= 2.5' +) diff --git a/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.2.ebuild b/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.2.ebuild new file mode 100644 index 000000000000..130f998cd233 --- /dev/null +++ b/dev-haskell/vector-th-unbox/vector-th-unbox-0.2.2.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_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Deriver for Data.Vector.Unboxed using Template Haskell" +HOMEPAGE="https://github.com/tsurucapital/vector-th-unbox" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/vector-0.7.1:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/data-default ) +" diff --git a/dev-haskell/vector/Manifest b/dev-haskell/vector/Manifest index 6f3189e366f0..6cc95a4e6de1 100644 --- a/dev-haskell/vector/Manifest +++ b/dev-haskell/vector/Manifest @@ -1,2 +1,3 @@ DIST vector-0.12.3.1-rev1.cabal 7946 BLAKE2B f1545c06c3a2ce405c9bc498e471b640fa415acd3413fbb3514fd0ea9422f4c7d51ee9ff8b6041da842c45a156132f6eebf89ea11b843835fd360b7c1dafa8f3 SHA512 292df3231e4f34bc038efa769928813808e562553188547420a83a5d068e5d591a169957ef50da42da66b5ba9eea12408b3e739f0f9edb76f06977d6b75a4843 +DIST vector-0.12.3.1-rev4.cabal 8218 BLAKE2B df9e13b1d98377d6506225e3da5a1834c51d3e5244945a6d02a9267b077a5b1d276410130d7c2860b8d49b23f4d6d63dfbd168b497d9ad439240aed19dd8213f SHA512 86088ff4f20b2cc214a703b7ea665baf6d1e9b218f931c6880d6d1291f0dd8e2804863a251a8bf11e82d2f0026d55dcba06f937f8c8909dc8988bc60874374aa DIST vector-0.12.3.1.tar.gz 151420 BLAKE2B 1d3bb37f1c2b7f3c74e8a934d855b0f1742df03f8526a8b7632d1f940abeeef5a03e476340a96840c9486aeafc404463bff078eb28db9176bc8989b554e87ac4 SHA512 bf117d53c7844c010dc1cee8b778851bd714155fd34e671ae2eb7bd324427de972389eb9f3f315832f20e7bbbecc93ec0f6296ab10e4935957d2a4e14c6cfd98 diff --git a/dev-haskell/vector/files/vector-0.12.3.1-disable-doctests.patch b/dev-haskell/vector/files/vector-0.12.3.1-disable-doctests.patch new file mode 100644 index 000000000000..1a04dd89c7f0 --- /dev/null +++ b/dev-haskell/vector/files/vector-0.12.3.1-disable-doctests.patch @@ -0,0 +1,27 @@ +From eb479f24b766425dd522ba01e0c298fc814c788d Mon Sep 17 00:00:00 2001 +From: hololeap <hololeap@users.noreply.github.com> +Date: Sat, 4 Mar 2023 14:46:07 -0700 +Subject: [PATCH] Disable doctests + +Doctests are not working on ghc-9.2 + +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + vector.cabal | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/vector.cabal b/vector.cabal +index cea122a..c738a35 100644 +--- a/vector.cabal ++++ b/vector.cabal +@@ -274,6 +274,7 @@ test-suite vector-tests-O2 + Ghc-Options: -Wno-redundant-constraints + + test-suite vector-doctest ++ buildable: False + type: exitcode-stdio-1.0 + main-is: doctests.hs + hs-source-dirs: tests +-- +2.39.2 + diff --git a/dev-haskell/vector/files/vector-0.12.3.1-fix-testdata-float.patch b/dev-haskell/vector/files/vector-0.12.3.1-fix-testdata-float.patch new file mode 100644 index 000000000000..8a8db580f225 --- /dev/null +++ b/dev-haskell/vector/files/vector-0.12.3.1-fix-testdata-float.patch @@ -0,0 +1,42 @@ +From df8dd8e8e84005aa6b187b03cd502f3c6e18cf3c Mon Sep 17 00:00:00 2001 +From: Bodigrim <andrew.lelechenko@gmail.com> +Date: Sun, 4 Jun 2023 17:55:28 +0100 +Bug: https://github.com/haskell/vector/pull/461 +Signed-off-by: hololeap <hololeap@protonmail.com> +Subject: [PATCH] Fix instance TestData Float/Double + +--- + vector/tests/Utilities.hs | 18 ++++++++++++++++-- + 1 file changed, 16 insertions(+), 2 deletions(-) + +diff --git a/vector/tests/Utilities.hs b/vector/tests/Utilities.hs +index 24799554..ae19d425 100644 +--- a/tests/Utilities.hs ++++ b/tests/Utilities.hs +@@ -121,10 +121,24 @@ instance TestData ty where { \ + id_TestData(()) + id_TestData(Bool) + id_TestData(Int) +-id_TestData(Float) +-id_TestData(Double) + id_TestData(Ordering) + ++instance TestData Float where ++ type Model Float = Float ++ model = id ++ unmodel = id ++ ++ type EqTest Float = Property ++ equal x y = property (x == y || (isNaN x && isNaN y)) ++ ++instance TestData Double where ++ type Model Double = Double ++ model = id ++ unmodel = id ++ ++ type EqTest Double = Property ++ equal x y = property (x == y || (isNaN x && isNaN y)) ++ + bimapEither :: (a -> b) -> (c -> d) -> Either a c -> Either b d + bimapEither f _ (Left a) = Left (f a) + bimapEither _ g (Right c) = Right (g c) diff --git a/dev-haskell/vector/metadata.xml b/dev-haskell/vector/metadata.xml index f17879fb0804..d7ad3155bea8 100644 --- a/dev-haskell/vector/metadata.xml +++ b/dev-haskell/vector/metadata.xml @@ -5,71 +5,15 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - An efficient implementation of Int-indexed arrays (both mutable - and immutable), with a powerful loop optimisation framework . - - It is structured as follows: - - ["Data.Vector"] Boxed vectors of arbitrary types. - - ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive - representation based on data type families. - - ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. - - ["Data.Vector.Primitive"] Unboxed vectors of primitive types as - defined by the @primitive@ package. "Data.Vector.Unboxed" is more - flexible at no performance cost. - - ["Data.Vector.Generic"] Generic interface to the vector types. - - Each module has a @Safe@ version with is marked as @Trustworthy@ - (see <http://hackage.haskell.org/trac/ghc/wiki/SafeHaskell>). - - There is also a (draft) tutorial on common uses of vector. - - * <http://haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial> - - Please use the project trac to submit bug reports and feature - requests. - - * <http://trac.haskell.org/vector> - - Changes in version 0.9 - - * 'MonadPlus' instance for boxed vectors - - * Export more @construct@ and @constructN@ from @Safe@ modules - - * Require @primitive-0.4.0.1@ - - Changes in version 0.8 - - * New functions: @constructN@, @constructrN@ - - * Support for GHC 7.2 array copying primitives - - * New fixity for @(!)@ - - * Safe Haskell support (contributed by David Terei) - - * 'Functor', 'Monad', 'Applicative', 'Alternative', 'Foldable' and - 'Traversable' instances for boxed vectors - (/WARNING: they tend to be slow and are only provided for completeness/) - - * 'Show' instances for immutable vectors follow containers conventions - - * 'Read' instances for all immutable vector types - - * Performance improvements - </longdescription> <use> <flag name="boundschecks">Enable bounds checking</flag> - <flag name="internalchecks">Enable internal consistency checks at the cost of a significant performance penalty</flag> - <flag name="unsafechecks">Enable bounds checking in unsafe operations at the cost of a significant performance penalty</flag> + <flag name="internalchecks">Enable internal consistency checks at the cost of a +significant performance penalty</flag> + <flag name="unsafechecks">Enable bounds checking in unsafe operations at the cost of a +significant performance penalty</flag> </use> <upstream> + <remote-id type="hackage">vector</remote-id> <remote-id type="github">haskell/vector</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/vector/vector-0.12.3.1-r1.ebuild b/dev-haskell/vector/vector-0.12.3.1-r1.ebuild new file mode 100644 index 000000000000..23f7fd1c6530 --- /dev/null +++ b/dev-haskell/vector/vector-0.12.3.1-r1.ebuild @@ -0,0 +1,50 @@ +# 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: -wall + +CABAL_HACKAGE_REVISION=4 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient Arrays" +HOMEPAGE="https://github.com/haskell/vector" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+boundschecks internalchecks unsafechecks" + +PATCHES=( + "${FILESDIR}/${PN}-0.12.3.1-disable-doctests.patch" + "${FILESDIR}/${PN}-0.12.3.1-fix-testdata-float.patch" +) + +RDEPEND=" + >=dev-haskell/primitive-0.6.4.0:=[profile?] <dev-haskell/primitive-0.9:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/base-orphans-0.6 + dev-haskell/hunit + >=dev-haskell/quickcheck-2.9 <dev-haskell/quickcheck-2.15 + dev-haskell/random + dev-haskell/tasty + dev-haskell/tasty-hunit + dev-haskell/tasty-quickcheck + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag unsafechecks unsafechecks) \ + --flag=-wall +} diff --git a/dev-haskell/vector/vector-0.12.3.1.ebuild b/dev-haskell/vector/vector-0.12.3.1.ebuild index f480821d608f..5608e0226ed9 100644 --- a/dev-haskell/vector/vector-0.12.3.1.ebuild +++ b/dev-haskell/vector/vector-0.12.3.1.ebuild @@ -24,7 +24,11 @@ SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="+boundschecks internalchecks unsafechecks" -PATCHES=( "${FILESDIR}/${PN}-0.12.3.1-cabal-doctest.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-0.12.3.1-cabal-doctest.patch" + "${FILESDIR}/${PN}-0.12.3.1-fix-testdata-float.patch" + +) RDEPEND=">=dev-haskell/primitive-0.6.4.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] >=dev-lang/ghc-8.4.3:= @@ -42,21 +46,9 @@ DEPEND="${RDEPEND} dev-haskell/tasty-hunit dev-haskell/tasty-quickcheck ) " -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 - - cabal_chdeps \ - 'doctest >=0.15 && <0.19' 'doctest >=0.15' -} +CABAL_CHDEPS=( + 'doctest >=0.15 && <0.19' 'doctest >=0.15' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/void/void-0.7.3.ebuild b/dev-haskell/void/void-0.7.3.ebuild index 6749c411edfe..f7b4e5f0b776 100644 --- a/dev-haskell/void/void-0.7.3.ebuild +++ b/dev-haskell/void/void-0.7.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/wai-app-static/wai-app-static-3.1.7.2-r1.ebuild b/dev-haskell/wai-app-static/wai-app-static-3.1.7.2-r1.ebuild index e49a127c1932..d0cd4c75f305 100644 --- a/dev-haskell/wai-app-static/wai-app-static-3.1.7.2-r1.ebuild +++ b/dev-haskell/wai-app-static/wai-app-static-3.1.7.2-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 @@ -44,12 +44,9 @@ DEPEND="${RDEPEND} dev-haskell/temporary ) " -src_prepare() { - default - - cabal_chdeps \ - 'wai-extra >= 3.0 && < 3.1' 'wai-extra >= 3.0' -} +CABAL_CHDEPS=( + 'wai-extra >= 3.0 && < 3.1' 'wai-extra >= 3.0' +) src_configure() { haskell-cabal_src_configure \ diff --git a/dev-haskell/wai-cors/Manifest b/dev-haskell/wai-cors/Manifest new file mode 100644 index 000000000000..f352da37f051 --- /dev/null +++ b/dev-haskell/wai-cors/Manifest @@ -0,0 +1 @@ +DIST wai-cors-0.2.7.tar.gz 16248 BLAKE2B 636eb9bb17224608924f8f9d33db7f74b62e243b7d591d81a1c93e63e30173408fcf8fa3828bb8919446e818815d8172a51ddf370375710364f3a478c2c85e20 SHA512 77a9e3cb457136a05c2b104ac331af17d70edf8d985689c962d3e6cc0981c6752eff59ef18301c0ba98c6d4256909c44afe50bedb0f3dd741b6879564516cea7 diff --git a/dev-haskell/wai-cors/metadata.xml b/dev-haskell/wai-cors/metadata.xml new file mode 100644 index 000000000000..044b4adb95d8 --- /dev/null +++ b/dev-haskell/wai-cors/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">wai-cors</remote-id> + <remote-id type="github">larskuhtz/wai-cors</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/wai-cors/wai-cors-0.2.7.ebuild b/dev-haskell/wai-cors/wai-cors-0.2.7.ebuild new file mode 100644 index 000000000000..9b040f1530e2 --- /dev/null +++ b/dev-haskell/wai-cors/wai-cors-0.2.7.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="CORS for WAI" +HOMEPAGE="https://github.com/larskuhtz/wai-cors" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # one test fails + +RDEPEND=">=dev-haskell/attoparsec-0.10.4.0:=[profile?] + >=dev-haskell/base-unicode-symbols-0.2.2.3:=[profile?] + >=dev-haskell/case-insensitive-1.0.0.1:=[profile?] + >=dev-haskell/http-types-0.8.0:=[profile?] + >=dev-haskell/wai-3.0:=[profile?] + >=dev-lang/ghc-8.10.6:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( >=dev-haskell/network-2.6 + >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 + >=dev-haskell/text-1.2 + >=dev-haskell/wai-extra-3.0 + >=dev-haskell/wai-websockets-3.0.1 + >=dev-haskell/warp-3.0 + >=dev-haskell/websockets-0.10 ) +" diff --git a/dev-haskell/wai-extra/Manifest b/dev-haskell/wai-extra/Manifest index 83fc723e2f31..79eb4a7df3e5 100644 --- a/dev-haskell/wai-extra/Manifest +++ b/dev-haskell/wai-extra/Manifest @@ -1 +1,3 @@ +DIST wai-extra-3.1.13.0-rev1.cabal 8287 BLAKE2B 71844b39699651c434a2566f1231d99142639aaf9cb12b02ac2e854c4bcb0098d08d3c8bbd03bf6658fc03b0cef6a21f702921bf05950f481acccb96eff2220d SHA512 57e9d7ccfc243651a91ba4d8254384bd9108132b255b8676c1eb1cf8e0a0eebda6a66bbc0393bbd85ecdf5e5a2e17f39106fb7067fc5be8e8b4e73409fdf106e +DIST wai-extra-3.1.13.0.tar.gz 82251 BLAKE2B 30919e421f1e0f0e827bd73b50e11c9aee9714d7c582faa70b69f160c278552b19a7024aaf97f80ffa7bf442118b7a31cb46d92fa2ecef356b66bc399ecf2191 SHA512 ec94ad7fe318543c83dc20586bab04e9cb5cc9a3a96c4392acb1abd22f7a232a703f05051c9580836ad3758875751f02ef53bdc3c450e7d262ba8575761380b8 DIST wai-extra-3.1.4.1.tar.gz 67063 BLAKE2B d75f1425cf4c75596adb65c152c954a6005b085f3a290d7dea279a4417d85e359f6948fc8282cee63f2057b4dfe3e33b7a364667544c925582024e4255e71462 SHA512 c33b513bd6e627361007f285167235535ac4065e7198749c14d05cfcd89c5017b54896064c64ffdda9875d6363b684b9beed4098fdbefaba1058045ba3245af5 diff --git a/dev-haskell/wai-extra/metadata.xml b/dev-haskell/wai-extra/metadata.xml index 6b5972c48ca4..b23b10b74f9b 100644 --- a/dev-haskell/wai-extra/metadata.xml +++ b/dev-haskell/wai-extra/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">wai-extra</remote-id> <remote-id type="github">yesodweb/wai</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/wai-extra/wai-extra-3.1.13.0.ebuild b/dev-haskell/wai-extra/wai-extra-3.1.13.0.ebuild new file mode 100644 index 000000000000..82a7ff2c92f9 --- /dev/null +++ b/dev-haskell/wai-extra/wai-extra-3.1.13.0.ebuild @@ -0,0 +1,75 @@ +# 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: build-example:examples + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Provides some basic WAI handlers and middleware" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +CABAL_CHDEPS=( + 'executable example' "executable ${PN}-example" +) + +RDEPEND=" + dev-haskell/aeson:=[profile?] + >=dev-haskell/ansi-terminal-0.4:=[profile?] + dev-haskell/base64-bytestring:=[profile?] + dev-haskell/call-stack:=[profile?] + >=dev-haskell/case-insensitive-0.2:=[profile?] + dev-haskell/cookie:=[profile?] + dev-haskell/data-default-class:=[profile?] + >=dev-haskell/fast-logger-2.4.5:=[profile?] + >=dev-haskell/http-types-0.7:=[profile?] + dev-haskell/hunit:=[profile?] + >=dev-haskell/iproute-1.7.8:=[profile?] + >=dev-haskell/network-2.6.1.0:=[profile?] + >=dev-haskell/resourcet-0.4.6:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + >=dev-haskell/streaming-commons-0.2:=[profile?] + dev-haskell/vault:=[profile?] + >=dev-haskell/wai-3.2.2.1:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/wai-logger-2.3.7:=[profile?] + >=dev-haskell/warp-3.3.22:=[profile?] + dev-haskell/word8:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( + >=dev-haskell/hspec-1.3 + dev-haskell/temporary + dev-haskell/zlib + ) +" +BDEPEND=" + test? ( + dev-haskell/hspec-discover + ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples build-example) +} + +pkg_postinst() { + if use examples; then + elog "The example executable installed with this package (normally named" + elog "'example') has been renamed to '${PN}-example' to help prevent name" + elog "collisions." + fi + + haskell-cabal_pkg_postinst +} diff --git a/dev-haskell/wai-extra/wai-extra-3.1.4.1.ebuild b/dev-haskell/wai-extra/wai-extra-3.1.4.1.ebuild index 562e67cafccc..385804a5b649 100644 --- a/dev-haskell/wai-extra/wai-extra-3.1.4.1.ebuild +++ b/dev-haskell/wai-extra/wai-extra-3.1.4.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 #hackport: flags: build-example:examples diff --git a/dev-haskell/wai-logger/Manifest b/dev-haskell/wai-logger/Manifest index 1f4f5b2e475e..17690723ee3c 100644 --- a/dev-haskell/wai-logger/Manifest +++ b/dev-haskell/wai-logger/Manifest @@ -1 +1,2 @@ DIST wai-logger-2.3.6.tar.gz 5823 BLAKE2B a08fde37085151e267b8abb21653021e4de773f5e85606b98900ea5fa33eca680f37dffebe7b416d95abc8ee925110274809de6dabc1be169226835256dcb091 SHA512 0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e +DIST wai-logger-2.4.0.tar.gz 5925 BLAKE2B e9446ab7cf81d5ce24b33922bb32e2fdf1c43ebc4cd8ff6bf8acb853060d98a2e2afc1d1b465dc120eb9ed59d7bee94ded657a57ce0ea6e820018fa79dccef22 SHA512 8d09b7fa7688601396f994513772884ac7f73a0b934f73420e3d200ae4e906450bbef14746d43dc484ce8d9181f8171dfb8d3496d17c0d81ba7c27eee39a90d4 diff --git a/dev-haskell/wai-logger/wai-logger-2.3.6.ebuild b/dev-haskell/wai-logger/wai-logger-2.3.6.ebuild index 62ba7b5d442f..9d031ad12216 100644 --- a/dev-haskell/wai-logger/wai-logger-2.3.6.ebuild +++ b/dev-haskell/wai-logger/wai-logger-2.3.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/wai-logger/wai-logger-2.4.0.ebuild b/dev-haskell/wai-logger/wai-logger-2.4.0.ebuild new file mode 100644 index 000000000000..be8556efbdf3 --- /dev/null +++ b/dev-haskell/wai-logger/wai-logger-2.4.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.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite" +inherit haskell-cabal + +DESCRIPTION="A logging system for WAI" +HOMEPAGE="https://hackage.haskell.org/package/wai-logger" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RESTRICT=test # does not specify full dependencies + +RDEPEND="dev-haskell/byteorder:=[profile?] + >=dev-haskell/fast-logger-3:=[profile?] + dev-haskell/http-types:=[profile?] + dev-haskell/network:=[profile?] + >=dev-haskell/wai-2.0.0:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + >=dev-haskell/cabal-doctest-1.0.6 <dev-haskell/cabal-doctest-1.1" +# test? ( >=dev-haskell/doctest-0.10.1 ) +#" diff --git a/dev-haskell/wai-websockets/Manifest b/dev-haskell/wai-websockets/Manifest new file mode 100644 index 000000000000..7977d725540e --- /dev/null +++ b/dev-haskell/wai-websockets/Manifest @@ -0,0 +1 @@ +DIST wai-websockets-3.0.1.2.tar.gz 7051 BLAKE2B 0c39cd9917e1c340413e48737e4fd5ada23056189a6aad9de1aaf551f12b45b9544b99b54bbf078ccf88aea816f025c3508e07212ca05a2e9a2d779fd1edeee9 SHA512 c3415d1a36ca2f063fb1ae0ff7d3d9d271d8ff2c6099a754baed45f1c36f24cf1fa346e8e6403499cbeb329bcdf89326a9ed95f8e60111b4a879f5e51967ecc0 diff --git a/dev-haskell/wai-websockets/metadata.xml b/dev-haskell/wai-websockets/metadata.xml new file mode 100644 index 000000000000..3d76fcca496a --- /dev/null +++ b/dev-haskell/wai-websockets/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">wai-websockets</remote-id> + <remote-id type="github">yesodweb/wai</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/wai-websockets/wai-websockets-3.0.1.2.ebuild b/dev-haskell/wai-websockets/wai-websockets-3.0.1.2.ebuild new file mode 100644 index 000000000000..5c63f00f4c2f --- /dev/null +++ b/dev-haskell/wai-websockets/wai-websockets-3.0.1.2.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.4.0.9999 +#hackport: flags: example:examples + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Provide a bridge between WAI and the websockets package" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+examples" + +RDEPEND=">=dev-haskell/case-insensitive-0.2:=[profile?] + dev-haskell/http-types:=[profile?] + >=dev-haskell/network-2.2.1.5:=[profile?] + >=dev-haskell/wai-3.0:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/websockets-0.9:=[profile?] + >=dev-lang/ghc-8.10.6:= + examples? ( dev-haskell/file-embed:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/wai-app-static:=[profile?] + dev-haskell/warp:=[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/wai/wai-3.2.3.ebuild b/dev-haskell/wai/wai-3.2.3.ebuild index 8b41cb3469cd..f1d85bd25006 100644 --- a/dev-haskell/wai/wai-3.2.3.ebuild +++ b/dev-haskell/wai/wai-3.2.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.7.9999 diff --git a/dev-haskell/warp-tls/Manifest b/dev-haskell/warp-tls/Manifest index 25024dbb9396..e8d9ec5a6c8d 100644 --- a/dev-haskell/warp-tls/Manifest +++ b/dev-haskell/warp-tls/Manifest @@ -1 +1,2 @@ DIST warp-tls-3.2.12.tar.gz 8200 BLAKE2B 71380d62ef1ec401140d308499dc7aad8e6fae1d3e51cc64285f5e740c1ed9fc30f9f096f1a40977e5f5252da49646632c9dfb21090f8d7924b6ab29e619082e SHA512 c1fa08c710bbbb88e914bcb7e978fa0fedcff9900351cf8f2b59bbba8b35e56b605ba3bd36d6162459397f38a0cdcedd5e48472f3d7d1b1357d0b0c3c2fa75ba +DIST warp-tls-3.4.1.tar.gz 8941 BLAKE2B 0aa9548001acb32845af0d18c127fddb27f63d5324092b8aac4bff1a9eb52c48adb9163530d64a5982f7ea0b8941612b3942b0e98cdfdfa24e9fdea757b6b5bd SHA512 433dfd946a50bb56f6d0a7cd0bb6b95c1745f7ba8c58c9d766064f9c7d81b8f6aad25dc5dd25b75b45b0e97716ed546b3a46d5d21052415f126de034fe48404e diff --git a/dev-haskell/warp-tls/metadata.xml b/dev-haskell/warp-tls/metadata.xml index 6b5972c48ca4..4c8395816b5c 100644 --- a/dev-haskell/warp-tls/metadata.xml +++ b/dev-haskell/warp-tls/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">warp-tls</remote-id> <remote-id type="github">yesodweb/wai</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/warp-tls/warp-tls-3.2.12.ebuild b/dev-haskell/warp-tls/warp-tls-3.2.12.ebuild index bd528405ad58..85c88e83d767 100644 --- a/dev-haskell/warp-tls/warp-tls-3.2.12.ebuild +++ b/dev-haskell/warp-tls/warp-tls-3.2.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.4.9999 #hackport: flags: +tls_1_1_3 diff --git a/dev-haskell/warp-tls/warp-tls-3.4.1.ebuild b/dev-haskell/warp-tls/warp-tls-3.4.1.ebuild new file mode 100644 index 000000000000..f3b41384b4b8 --- /dev/null +++ b/dev-haskell/warp-tls/warp-tls-3.4.1.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: +tls_1_1_3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="HTTP over TLS support for Warp via the TLS package" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/data-default-class-0.0.1:=[profile?] + >=dev-haskell/network-2.2.1:=[profile?] + >=dev-haskell/recv-0.1.0:=[profile?] <dev-haskell/recv-0.2.0:=[profile?] + dev-haskell/streaming-commons:=[profile?] + >=dev-haskell/tls-1.7:=[profile?] + >=dev-haskell/tls-session-manager-0.0.4:=[profile?] + dev-haskell/unliftio:=[profile?] + >=dev-haskell/wai-3.2:=[profile?] <dev-haskell/wai-3.3:=[profile?] + >=dev-haskell/warp-3.3.23:=[profile?] <dev-haskell/warp-3.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=tls_1_1_3 +} diff --git a/dev-haskell/warp/Manifest b/dev-haskell/warp/Manifest index a94001ab80a3..95d18997e935 100644 --- a/dev-haskell/warp/Manifest +++ b/dev-haskell/warp/Manifest @@ -1 +1,2 @@ DIST warp-3.3.21.tar.gz 66529 BLAKE2B e8de94a4695c42a7620c1afa1a38225f6c26fc454235e941e34b65929a733e160781d895335d0ab48c4d7db25aa650d50e1d84a3ef83daf62b22f409c2045d48 SHA512 7f181669d9f10f88d14f8f1dc3acb6c08f41c8f4565f371f7fe4b89b3fde411a0190e50f003b07a239ba25ea71dbafaa16cb9e77effbe574bec929ea29646f37 +DIST warp-3.3.28.tar.gz 65625 BLAKE2B b054d03b66cdcf67a990dd9c1f8ba822e416da3f7e5d6dfa9afbf9ecc8f154e5bba2013beadf616174a629c90c1203f3205d88763dfa6644f7085f1b3c48f587 SHA512 5f3a73f611342545d010ba770614b7012c31a335fe4d209a4f7f3d466b440901a58b0f3f477da10b95bb739dbd30afffa1ced66828039159844eb476c845648e diff --git a/dev-haskell/warp/metadata.xml b/dev-haskell/warp/metadata.xml index f9a038094525..153f3ad7acc9 100644 --- a/dev-haskell/warp/metadata.xml +++ b/dev-haskell/warp/metadata.xml @@ -10,6 +10,7 @@ <flag name="x509">Adds a dependency on the x509 library to enable getting TLS client certificates.</flag> </use> <upstream> + <remote-id type="hackage">warp</remote-id> <remote-id type="github">yesodweb/wai</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/warp/warp-3.3.28.ebuild b/dev-haskell/warp/warp-3.3.28.ebuild new file mode 100644 index 000000000000..4e2a9921d4e2 --- /dev/null +++ b/dev-haskell/warp/warp-3.3.28.ebuild @@ -0,0 +1,54 @@ +# 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: +allow-sendfilefd,-network-bytestring,warp-debug:debug + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A fast, light-weight web server for WAI applications" +HOMEPAGE="https://github.com/yesodweb/wai" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="debug +x509" + +RDEPEND=">=dev-haskell/auto-update-0.1.3:=[profile?] <dev-haskell/auto-update-0.2:=[profile?] + <dev-haskell/bsb-http-chunked-0.1:=[profile?] + >=dev-haskell/case-insensitive-0.2:=[profile?] + dev-haskell/hashable:=[profile?] + dev-haskell/http-date:=[profile?] + >=dev-haskell/http-types-0.12:=[profile?] + >=dev-haskell/http2-3.0:=[profile?] <dev-haskell/http2-5:=[profile?] + >=dev-haskell/iproute-1.3.1:=[profile?] + >=dev-haskell/network-2.3:=[profile?] + >=dev-haskell/recv-0.1.0:=[profile?] <dev-haskell/recv-0.2.0:=[profile?] + >=dev-haskell/simple-sendfile-0.2.7:=[profile?] <dev-haskell/simple-sendfile-0.3:=[profile?] + >=dev-haskell/streaming-commons-0.1.10:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/time-manager:=[profile?] + dev-haskell/unliftio:=[profile?] + >=dev-haskell/vault-0.3:=[profile?] + >=dev-haskell/wai-3.2:=[profile?] <dev-haskell/wai-3.3:=[profile?] + dev-haskell/word8:=[profile?] + >=dev-lang/ghc-8.8.1:= + x509? ( dev-haskell/crypton-x509:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/hspec-1.3 + dev-haskell/http-client + dev-haskell/quickcheck ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=allow-sendfilefd \ + --flag=-network-bytestring \ + $(cabal_flag debug warp-debug) \ + $(cabal_flag x509 x509) +} diff --git a/dev-haskell/websockets/Manifest b/dev-haskell/websockets/Manifest new file mode 100644 index 000000000000..09bcee8af898 --- /dev/null +++ b/dev-haskell/websockets/Manifest @@ -0,0 +1,2 @@ +DIST websockets-0.12.7.3-rev2.cabal 8237 BLAKE2B 2280cc2e730cb5ea9c0501740f6c7b80134bc51344a520ee1890e98482806eb231c3fd3b74b478b46214ed7437bcf29e4f9ee6068d4222dfdc02f15efa14dd13 SHA512 61c66dbade090e0b5da39a780d343213ae8f9a896b22b9d7d981805df736bd3545c0cc901fed29adb72facf22f383834795c9ba3ed02967a369b08a80a843abc +DIST websockets-0.12.7.3.tar.gz 40077 BLAKE2B cd80eecd52ae3aa8ab67be7eb87d297ecd7b286d893962dfa2b6a1e2f07ac2a1573549b18a3e9bce956e041bdcf4b0eae79d045f31ffe12e27c041748cf31c6f SHA512 9eb9147ff7b545c6e3e859055ff0ca51c16d7e2f0e8603279409b3e74db7ec858c33e586d8f40e3059ac8acf96d8c7502e1b5fe298d3d7fa4cad507e13a2b300 diff --git a/dev-haskell/websockets/metadata.xml b/dev-haskell/websockets/metadata.xml new file mode 100644 index 000000000000..937381521944 --- /dev/null +++ b/dev-haskell/websockets/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/websockets/websockets-0.12.7.3.ebuild b/dev-haskell/websockets/websockets-0.12.7.3.ebuild new file mode 100644 index 000000000000..d5f719c02f2d --- /dev/null +++ b/dev-haskell/websockets/websockets-0.12.7.3.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.7.1.1.9999 +#hackport: flags: example:examples + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A sensible and clean way to write WebSocket-capable servers in Haskell" +HOMEPAGE="https://jaspervdj.be/websockets" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=">=dev-haskell/async-2.2:=[profile?] <dev-haskell/async-2.3:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] <dev-haskell/attoparsec-0.15:=[profile?] + >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.3:=[profile?] + <dev-haskell/bytestring-builder-0.11:=[profile?] + >=dev-haskell/case-insensitive-0.3:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/clock-0.8:=[profile?] <dev-haskell/clock-0.9:=[profile?] + >=dev-haskell/entropy-0.2.1:=[profile?] <dev-haskell/entropy-0.5:=[profile?] + >=dev-haskell/network-2.3:=[profile?] <dev-haskell/network-3.2:=[profile?] + >=dev-haskell/random-1.0:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/sha-1.5:=[profile?] <dev-haskell/sha-1.7:=[profile?] + >=dev-haskell/streaming-commons-0.1:=[profile?] <dev-haskell/streaming-commons-0.3:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 + >=dev-haskell/quickcheck-2.7 <dev-haskell/quickcheck-2.15 + >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 + >=dev-haskell/test-framework-hunit-0.2 <dev-haskell/test-framework-hunit-0.4 + >=dev-haskell/test-framework-quickcheck2-0.2 <dev-haskell/test-framework-quickcheck2-0.4 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag examples example) +} diff --git a/dev-haskell/witherable/Manifest b/dev-haskell/witherable/Manifest index 747251cd7843..90832bc1f809 100644 --- a/dev-haskell/witherable/Manifest +++ b/dev-haskell/witherable/Manifest @@ -1,2 +1,2 @@ -DIST witherable-0.4.2-rev2.cabal 2285 BLAKE2B 973c4d8502b8f4441b6d0bc9d8684f9a5bb750b89868bf393c27c3eef0a36de548821891b0745df804efc6d7f0f75bf41e5a101cf5d461e52824e687b5261e60 SHA512 839310a6771e4a1de5241528c5ff78de78b0ddb22597c30059cae1cb79ec9d3779f90ef345eed96eab7907e41a83ca73a9a0ce25185e57a3bc282d8704827e3b +DIST witherable-0.4.2-rev4.cabal 2342 BLAKE2B c33bfbe39c7a7a17ebfd156a30155cadc50f8ae6c852caef3f8c3853fd75d0cef24c6cb86270f8b8860790bb17f0fad41d995786a44bbf9d34b35369f34d9027 SHA512 a2170aa691bb07dd39da3d09192836a30d4d2dbf3e499bf19112369deedc64b946baaa890d5cbd2aaa964cd40b3bc2f491a4b19404d2d592d883ec814d867927 DIST witherable-0.4.2.tar.gz 11876 BLAKE2B 58294fc66aa0e60cbb3a75b73ddc89ed3bb64ba62c2a462028afdfe0a86c219cb80db8a008c6abd9c5688fb684c05f2156dd51c796efd586a1a2f72a30ca7e7e SHA512 14ad590e24b93fc25f16fecaf71d6f9f891a903dd76e052d9f6c21b464f0d28df4f019d33ac36086341a6c5bd20833d7b0c2d19543460d1530899c0c25cea852 diff --git a/dev-haskell/witherable/metadata.xml b/dev-haskell/witherable/metadata.xml index 937381521944..1db55be5ffc8 100644 --- a/dev-haskell/witherable/metadata.xml +++ b/dev-haskell/witherable/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">witherable</remote-id> + <remote-id type="github">fumieval/witherable</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/witherable/witherable-0.4.2.ebuild b/dev-haskell/witherable/witherable-0.4.2-r1.ebuild index 2525331e904e..6fb6284e0924 100644 --- a/dev-haskell/witherable/witherable-0.4.2.ebuild +++ b/dev-haskell/witherable/witherable-0.4.2-r1.ebuild @@ -3,46 +3,35 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 + +CABAL_HACKAGE_REVISION=4 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -CABAL_HACKAGE_REVISION="2" inherit haskell-cabal DESCRIPTION="filterable traversable" HOMEPAGE="https://github.com/fumieval/witherable" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz - https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal - -> ${P}-rev${CABAL_HACKAGE_REVISION}.cabal" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -RDEPEND=">=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.9:=[profile?] +RDEPEND=" + >=dev-haskell/base-orphans-0.8.4:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?] >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?] >=dev-haskell/indexed-traversable-0.1.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] >=dev-haskell/indexed-traversable-instances-0.1:=[profile?] <dev-haskell/indexed-traversable-instances-0.2:=[profile?] >=dev-haskell/unordered-containers-0.2.12.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] - >=dev-haskell/vector-0.12.2.0:=[profile?] <dev-haskell/vector-0.13:=[profile?] - >=dev-lang/ghc-8.4.3:= + >=dev-haskell/vector-0.12.2.0:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.8.1:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.4 - test? ( >=dev-haskell/quickcheck-2.14.2 + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/quickcheck-2.14.2 dev-haskell/quickcheck-instances dev-haskell/tasty - dev-haskell/tasty-quickcheck ) + dev-haskell/tasty-quickcheck + ) " -BDEPEND="app-text/dos2unix" - -src_prepare() { - # pull revised cabal from upstream - cp "${DISTDIR}/${P}-rev${CABAL_HACKAGE_REVISION}.cabal" "${S}/${PN}.cabal" || die - - # Convert to unix line endings - dos2unix "${S}/${PN}.cabal" || die - - # Apply patches *after* pulling the revised cabal - default -} diff --git a/dev-haskell/wl-pprint-annotated/Manifest b/dev-haskell/wl-pprint-annotated/Manifest index edd0c46ff4ac..cdc3c9d43ff2 100644 --- a/dev-haskell/wl-pprint-annotated/Manifest +++ b/dev-haskell/wl-pprint-annotated/Manifest @@ -1 +1,2 @@ +DIST wl-pprint-annotated-0.1.0.1-rev1.cabal 2296 BLAKE2B 1b239089245dbc936763b0dcdc2f4afe1c90e7d8d3f80a823e1868ad6e4ea988395f20de015e55cc7db642f34f58ec4446bf4b8a697eeeb22c3a0efe8be2cf36 SHA512 0f79b2c436ddbf8deeb6aae9fe65d08b11030be1435df81cee292e1ec6cdda9d05461a9000984f1f7e89b9338aaa399e43687eeee8904602f4e4718013eb9a6e DIST wl-pprint-annotated-0.1.0.1.tar.gz 15458 BLAKE2B 8699ca505a0c72790d70890ec290bbb602d259015554a6260d52445574d8e0f86c9d4e4a05bba155f59730595073d0613cda00fcecbf142c97afc0375eaedcf2 SHA512 45f1881254f8b20d9992a477a36a7408d2df8d94f99c71d72d75cd04aee3831966886c94b6e6a68791acda24aec8c4a339d052b9a188af8c2ca24e74da1e9596 diff --git a/dev-haskell/wl-pprint-annotated/metadata.xml b/dev-haskell/wl-pprint-annotated/metadata.xml index 937381521944..85a1cbd157fb 100644 --- a/dev-haskell/wl-pprint-annotated/metadata.xml +++ b/dev-haskell/wl-pprint-annotated/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">wl-pprint-annotated</remote-id> + <remote-id type="github">minad/wl-pprint-annotated</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1-r2.ebuild b/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1-r2.ebuild new file mode 100644 index 000000000000..5e40ec179b12 --- /dev/null +++ b/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1-r2.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=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Pretty printer with annotation support" +HOMEPAGE="https://github.com/minad/wl-pprint-annotated#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-2.1 + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 + test? ( dev-haskell/tasty + dev-haskell/tasty-hunit ) +" diff --git a/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1.ebuild b/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1.ebuild deleted file mode 100644 index fb9afa92da79..000000000000 --- a/dev-haskell/wl-pprint-annotated/wl-pprint-annotated-0.1.0.1.ebuild +++ /dev/null @@ -1,28 +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.5.6.9999 - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Wadler/Leijen pretty printer with annotations and slightly modernized API" -HOMEPAGE="https://github.com/minad/wl-pprint-annotated#readme" -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/semigroups-0.9:=[profile?] <dev-haskell/semigroups-1:=[profile?] - >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-1.3:=[profile?] - >=dev-lang/ghc-7.10.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.22.2.0 - test? ( dev-haskell/tasty - dev-haskell/tasty-hunit ) -" diff --git a/dev-haskell/x509-store/Manifest b/dev-haskell/x509-store/Manifest index cdc76da92328..33e1adca7f37 100644 --- a/dev-haskell/x509-store/Manifest +++ b/dev-haskell/x509-store/Manifest @@ -1 +1,2 @@ DIST x509-store-1.6.7.tar.gz 12689 BLAKE2B 13e879b6a46e662de0660c5a2257881e50487d2667180030dca0dcf33a60718c75aa6413daa5b874622eaf9612e6cad7009ecd84d2d517bb5769beb4eafe4ec7 SHA512 7b0b792a988aed50995523c3f6a3bb0da08cb8963ad834afbeef8bc53e4bb3d7d11af757a999f7b5c81ef073bac10a4003fba7486abd9343a48770bfc954167e +DIST x509-store-1.6.9.tar.gz 12734 BLAKE2B f7b7ca1dcba3f2a08cc4f887da074604ac855f0a381a5e87a9283d864e18e7c9e436def2dff58c55d73eaf9e19e4d15a3e5f4d3980585b1cfbe2a992b1a8d688 SHA512 10d0f4a4cb88852d8fd79676908e712ecc19a1b54cae9245f976eea1382abc03392e7fa593973180e6cfd9eb3c1de7133cf738a7c8b3a86d02278d2777d3af96 diff --git a/dev-haskell/x509-store/metadata.xml b/dev-haskell/x509-store/metadata.xml index adbae2cc1fad..cfceea26acb5 100644 --- a/dev-haskell/x509-store/metadata.xml +++ b/dev-haskell/x509-store/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">x509-store</remote-id> <remote-id type="github">vincenthz/hs-certificate</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/x509-store/x509-store-1.6.7.ebuild b/dev-haskell/x509-store/x509-store-1.6.7.ebuild index dd04e0e15aba..475d7787ec32 100644 --- a/dev-haskell/x509-store/x509-store-1.6.7.ebuild +++ b/dev-haskell/x509-store/x509-store-1.6.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.1.9999 diff --git a/dev-haskell/x509-store/x509-store-1.6.9.ebuild b/dev-haskell/x509-store/x509-store-1.6.9.ebuild new file mode 100644 index 000000000000..a65b9e8098fb --- /dev/null +++ b/dev-haskell/x509-store/x509-store-1.6.9.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="X.509 collection accessing and storing methods" +HOMEPAGE="https://github.com/vincenthz/hs-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + dev-haskell/cryptonite:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] <dev-haskell/pem-0.3:=[profile?] + >=dev-haskell/x509-1.7.2:=[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/x509-system/Manifest b/dev-haskell/x509-system/Manifest index eb1c23dd93d1..7e306acd4515 100644 --- a/dev-haskell/x509-system/Manifest +++ b/dev-haskell/x509-system/Manifest @@ -1 +1,2 @@ DIST x509-system-1.6.6.tar.gz 3419 BLAKE2B 12de162cfc29ddc0f0e5649e0531609bda73f0b0cb305e03015e037f7cb5cef7e4c9a2fa202396673f81e28084e6c4c52cd588cc1050e7bbd4cbe1116b916722 SHA512 110f8e9566ab1cd9491f1bc9cb11ee950c34308af026e71b9f8e60beac09b0e062e1e3a0177d67b04aab824c54476b800b965bf616fe84ba0181991371c9c220 +DIST x509-system-1.6.7.tar.gz 3438 BLAKE2B 74ba3138c21ea81a03deeb2c3b691238704ad8c275eeefc792ba4a79f0953fcea3466861df7f90f03d5e3435fa7fd4da3c342c5a3fbfa73c946929ad71c755c8 SHA512 8414d8f6d0e704419ccdd6832522480022bb15ac225b6bd9cf5f2d8fffb7f979d414bcb5c465f4d73d9eef40210ef9aa5da51aea9eed2ce245d2b44daf2c415e diff --git a/dev-haskell/x509-system/metadata.xml b/dev-haskell/x509-system/metadata.xml index adbae2cc1fad..436de7f6d64b 100644 --- a/dev-haskell/x509-system/metadata.xml +++ b/dev-haskell/x509-system/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">x509-system</remote-id> <remote-id type="github">vincenthz/hs-certificate</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/x509-system/x509-system-1.6.7.ebuild b/dev-haskell/x509-system/x509-system-1.6.7.ebuild new file mode 100644 index 000000000000..20c0a3d95752 --- /dev/null +++ b/dev-haskell/x509-system/x509-system-1.6.7.ebuild @@ -0,0 +1,27 @@ +# 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" +inherit haskell-cabal + +DESCRIPTION="Handle per-operating-system X.509 accessors and storage" +HOMEPAGE="https://github.com/vincenthz/hs-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/pem-0.1:=[profile?] <dev-haskell/pem-0.3:=[profile?] + || ( dev-lang/ghc dev-haskell/process[profile?] ) + >=dev-haskell/x509-1.6:=[profile?] + >=dev-haskell/x509-store-1.6.2:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 +" diff --git a/dev-haskell/x509-validation/Manifest b/dev-haskell/x509-validation/Manifest index 460cb6197362..a9740d87824f 100644 --- a/dev-haskell/x509-validation/Manifest +++ b/dev-haskell/x509-validation/Manifest @@ -1 +1,2 @@ DIST x509-validation-1.6.11.tar.gz 19752 BLAKE2B bc9a113db4c7cc5bdcf161e39efc0858b3d08f08e8304c4f3eda5ae051d5670e1c681bf6cc9edc7244838a1fbda2f9217ffccc0cb2c00ab6732a0214932a3a74 SHA512 5c156b7018afabedac0c2ee6192c536cf09eacdaf9265490a7f4a7d336077dc198a07f16bf58f3fec04a1350f0a8b3c050380673612cf5695c9e7b5a73a4ebf4 +DIST x509-validation-1.6.12.tar.gz 19733 BLAKE2B 04e4a9e4030612410ffb756800a035b0f7907833bc76bad56cbeb7ee5cc829701af73e47a01c60230069b1f8d66681e70a2acb6c57822785f45ec73f65422c3e SHA512 0f9a18e422063bbd6d4db46380e8557efab8a2f5d64957325577ea9ca9ac9b1310e4bd7cba51e0d0902c094107ded6d33931ddd56c032b2203b5268bd848098e diff --git a/dev-haskell/x509-validation/metadata.xml b/dev-haskell/x509-validation/metadata.xml index adbae2cc1fad..bfdf7015dd36 100644 --- a/dev-haskell/x509-validation/metadata.xml +++ b/dev-haskell/x509-validation/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo Haskell</name> </maintainer> <upstream> + <remote-id type="hackage">x509-validation</remote-id> <remote-id type="github">vincenthz/hs-certificate</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/x509-validation/x509-validation-1.6.11.ebuild b/dev-haskell/x509-validation/x509-validation-1.6.11.ebuild index 24a7b57c9ec9..84d79a128fe6 100644 --- a/dev-haskell/x509-validation/x509-validation-1.6.11.ebuild +++ b/dev-haskell/x509-validation/x509-validation-1.6.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.9999 diff --git a/dev-haskell/x509-validation/x509-validation-1.6.12.ebuild b/dev-haskell/x509-validation/x509-validation-1.6.12.ebuild new file mode 100644 index 000000000000..439d4d8797db --- /dev/null +++ b/dev-haskell/x509-validation/x509-validation-1.6.12.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="X.509 Certificate and CRL validation" +HOMEPAGE="https://github.com/vincenthz/hs-certificate" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + >=dev-haskell/cryptonite-0.24:=[profile?] + dev-haskell/data-default-class:=[profile?] + dev-haskell/hourglass:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] + >=dev-haskell/x509-1.7.5:=[profile?] + >=dev-haskell/x509-store-1.6:=[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/x509/Manifest b/dev-haskell/x509/Manifest index 8a2ca3acc5fa..bf28bcfeb484 100644 --- a/dev-haskell/x509/Manifest +++ b/dev-haskell/x509/Manifest @@ -1 +1,2 @@ DIST x509-1.7.5.tar.gz 21457 BLAKE2B 4bc51e63826de27050e254d3f51b8f346a175bfe825c4555095fecb03c1f586827a0d64865ea78b9a579aec38f671f8adf56a2d432b16ff6be8f988544bd8cfc SHA512 e1caa84944294ca412b18269eef19f1b511f0e317b25431102b8b757ce266ab4ec48f805d4d251ff46a85f3b20ef368b176d8b93a92456fc9b8885a85695c537 +DIST x509-1.7.7.tar.gz 21707 BLAKE2B 01849ecc3c47e1dde4bd2950e7fc1ee3baa59e8472e3581de26cefd32b65acf6479d230fafa3613bd8a6370673974dbd5b6594fc804be60fabf87ce9d532ac3c SHA512 36f7f703e3bd2e0f2780091901f0558fd49c568c565cabb4a638a7428e212e882aaf8e1ec0de9b1cf97296858293418d7030a4d4fe9eddb5b07656d6ee84eea6 diff --git a/dev-haskell/x509/metadata.xml b/dev-haskell/x509/metadata.xml index adbae2cc1fad..937381521944 100644 --- a/dev-haskell/x509/metadata.xml +++ b/dev-haskell/x509/metadata.xml @@ -5,7 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <upstream> - <remote-id type="github">vincenthz/hs-certificate</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-haskell/x509/x509-1.7.5.ebuild b/dev-haskell/x509/x509-1.7.5.ebuild index 922612acbee1..ffd9271be036 100644 --- a/dev-haskell/x509/x509-1.7.5.ebuild +++ b/dev-haskell/x509/x509-1.7.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/x509/x509-1.7.7.ebuild b/dev-haskell/x509/x509-1.7.7.ebuild new file mode 100644 index 000000000000..5bca509cfeea --- /dev/null +++ b/dev-haskell/x509/x509-1.7.7.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.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="X509 reader and writer" +HOMEPAGE="https://github.com/vincenthz/hs-certificate" +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/asn1-encoding-0.9:=[profile?] <dev-haskell/asn1-encoding-0.10:=[profile?] + >=dev-haskell/asn1-parse-0.9.3:=[profile?] <dev-haskell/asn1-parse-0.10:=[profile?] + >=dev-haskell/asn1-types-0.3.1:=[profile?] <dev-haskell/asn1-types-0.4:=[profile?] + >=dev-haskell/cryptonite-0.24:=[profile?] + dev-haskell/hourglass:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/pem-0.1:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" diff --git a/dev-haskell/xml-conduit/Manifest b/dev-haskell/xml-conduit/Manifest index 63dda6f8ccdc..4a24062d5610 100644 --- a/dev-haskell/xml-conduit/Manifest +++ b/dev-haskell/xml-conduit/Manifest @@ -1 +1,2 @@ DIST xml-conduit-1.9.1.1.tar.gz 42901 BLAKE2B 2dacf27f6373827b779492130b837d3b5bc7adce599820b310cebedc8b1cf525ef300c5d6e65acafb5579a6f0922a47c749fbd8c49bbb623950d08dff63079c0 SHA512 4d75960eb400a4ac8cb13bb70f59b554659fa2a6165906f73097a2bc564505a1efa78e72b121d9ed0fd8b424ff25cd1d8368e6c1f2b6ffa4b0aa36f584727687 +DIST xml-conduit-1.9.1.3.tar.gz 44653 BLAKE2B 0796cd3b4c5daa7210027b0e17eb0870dbceeaa08d60672a5bd104a1e831c98f8fe5eba3f870f0d83ae508327daabe25fd6b87fcc644bcfdf1452af939d18687 SHA512 e864ce8c8785c11d81743b6cfaab91d863c728e7f3a955d9d5ce603bd36754dad2c7066fd60270ca2a39239cb314536b4bfc02f836d53a251c842741c4909324 diff --git a/dev-haskell/xml-conduit/metadata.xml b/dev-haskell/xml-conduit/metadata.xml index d838ed84f839..c8b5a6780961 100644 --- a/dev-haskell/xml-conduit/metadata.xml +++ b/dev-haskell/xml-conduit/metadata.xml @@ -5,22 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This package provides parsing and rendering functions for XML. It is based on the datatypes found in the xml-types package. This package is broken up into the following modules: - - * Text.XML: DOM-based parsing and rendering. This is the most commonly used module. - - * Text.XML.Cursor: A wrapper around "Text.XML" which allows bidirectional traversing of the DOM, similar to XPath. (Note: Text.XML.Cursor.Generic is the same concept, but will work with any node representation.) - - * Text.XML.Unresolved: A slight modification to "Text.XML" which does not require all entities to be resolved at parsing. The datatypes are slightly more complicated here, and therefore this module is only recommended when you need to deal directly with raw entities. - - * Text.XML.Stream.Parse: Streaming parser, including some streaming parser combinators. - - * Text.XML.Stream.Render: Streaming renderer. - - Additionally, the xml-hamlet package <http://hackage.haskell.org/package/xml-hamlet> provides a more convenient syntax for creating XML documents. For a more thorough tutorial on this library, please see <http://www.yesodweb.com/book/xml-enumerator>. - </longdescription> <upstream> + <remote-id type="hackage">xml-conduit</remote-id> <remote-id type="github">snoyberg/xml</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/xml-conduit/xml-conduit-1.9.1.1.ebuild b/dev-haskell/xml-conduit/xml-conduit-1.9.1.1.ebuild index 065773504261..d1f0621b99b4 100644 --- a/dev-haskell/xml-conduit/xml-conduit-1.9.1.1.ebuild +++ b/dev-haskell/xml-conduit/xml-conduit-1.9.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.7.9999 diff --git a/dev-haskell/xml-conduit/xml-conduit-1.9.1.3.ebuild b/dev-haskell/xml-conduit/xml-conduit-1.9.1.3.ebuild new file mode 100644 index 000000000000..78a0351adb9c --- /dev/null +++ b/dev-haskell/xml-conduit/xml-conduit-1.9.1.3.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.4.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +CABAL_FEATURES+=" rebuild-after-doc-workaround" +inherit haskell-cabal + +DESCRIPTION="Pure-Haskell utilities for dealing with XML with the conduit package" +HOMEPAGE="https://github.com/snoyberg/xml" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/attoparsec-0.10:=[profile?] + >=dev-haskell/blaze-html-0.5:=[profile?] + >=dev-haskell/blaze-markup-0.5:=[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/data-default-class:=[profile?] + >=dev-haskell/resourcet-1.2:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + >=dev-haskell/text-0.7:=[profile?] + >=dev-haskell/xml-types-0.3.4:=[profile?] <dev-haskell/xml-types-0.4:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 <dev-haskell/cabal-4 + >=dev-haskell/cabal-doctest-1.0.9 <dev-haskell/cabal-doctest-1.1 + test? ( >=dev-haskell/doctest-0.8 + >=dev-haskell/hspec-1.3 + dev-haskell/hunit ) +" + +GHC_BOOTSTRAP_PACKAGES=( cabal-doctest ) diff --git a/dev-haskell/xml-hamlet/Manifest b/dev-haskell/xml-hamlet/Manifest index f62e8331dfeb..b793a482818f 100644 --- a/dev-haskell/xml-hamlet/Manifest +++ b/dev-haskell/xml-hamlet/Manifest @@ -1 +1,2 @@ DIST xml-hamlet-0.5.0.1.tar.gz 9270 BLAKE2B 49b713f45d16451d40d7afa46d045eafc208a56b3299f778950c89daa68c2678a2fb01c9e18d9645e00f3e2173bd1bc62bdd03a9b91b15d2f2d627977cb501fa SHA512 273dbb637c6e37fcc3b180448ccee0dce8996319d653cc3833fef302a297e8fdc805958b4ebc6e015cbfb2ae8b60a8325108b9d6dcaab052b460ff27a404de39 +DIST xml-hamlet-0.5.0.2.tar.gz 9328 BLAKE2B 5a5e4c1a1bd59dbb13d2fa605777cf4b8d9e47b7cbeaa14e65a2e0c59994f083db45320d709556d006e43940d30373d1905bd5166656f0899acda112a6629828 SHA512 3a186ec01dbf5f84b294d5dcf01f595826bbf26d6eb84f41bfa8341a4756a6aeb48f7fd7d1bd4398b74c421ed18a0f5908a49864cca7348d54b50b92cbe93007 diff --git a/dev-haskell/xml-hamlet/metadata.xml b/dev-haskell/xml-hamlet/metadata.xml index 937381521944..3ddd5748f682 100644 --- a/dev-haskell/xml-hamlet/metadata.xml +++ b/dev-haskell/xml-hamlet/metadata.xml @@ -5,4 +5,7 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">xml-hamlet</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.1.ebuild b/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.1.ebuild index 148d6f03d599..a5d0cb7ab77d 100644 --- a/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.1.ebuild +++ b/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.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/xml-hamlet/xml-hamlet-0.5.0.2.ebuild b/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.2.ebuild new file mode 100644 index 000000000000..b6342e412fba --- /dev/null +++ b/dev-haskell/xml-hamlet/xml-hamlet-0.5.0.2.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.1.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Hamlet-style quasiquoter for XML content" +HOMEPAGE="https://www.yesodweb.com/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/shakespeare-1.0:=[profile?] <dev-haskell/shakespeare-2.2:=[profile?] + >=dev-haskell/text-0.10:=[profile?] + >=dev-haskell/xml-conduit-1.0:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hspec-1.3 + dev-haskell/hunit + ) +" diff --git a/dev-haskell/xml-types/xml-types-0.3.8.ebuild b/dev-haskell/xml-types/xml-types-0.3.8.ebuild index 4a9e6a01b6cb..1ee1851422d7 100644 --- a/dev-haskell/xml-types/xml-types-0.3.8.ebuild +++ b/dev-haskell/xml-types/xml-types-0.3.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.6.9999 diff --git a/dev-haskell/xml/xml-1.3.14.ebuild b/dev-haskell/xml/xml-1.3.14.ebuild index 9dea9b4b0b4d..cfa38045b2c4 100644 --- a/dev-haskell/xml/xml-1.3.14.ebuild +++ b/dev-haskell/xml/xml-1.3.14.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.4.4.9999 diff --git a/dev-haskell/xss-sanitize/Manifest b/dev-haskell/xss-sanitize/Manifest index da3250d11aa4..ca500737c927 100644 --- a/dev-haskell/xss-sanitize/Manifest +++ b/dev-haskell/xss-sanitize/Manifest @@ -1 +1,2 @@ DIST xss-sanitize-0.3.6.tar.gz 11655 BLAKE2B b1d438a6bfa587aa9eb62031fb2c1c53cc48bbadc26b6f64ce717d20d5ab9e282ed657ce5109e0501de393a8609ba99fb9e73966220dc358b222f69301ab5661 SHA512 8d038d807b7fa01a65f4b73d135c87ab75385f4c91ce174b332cd5fd1dc1ebdec26b0c5713cf3f68c27351e19e099815d1b530af3ecb7e4c45e71fec4ae12b4c +DIST xss-sanitize-0.3.7.2.tar.gz 12002 BLAKE2B 960c3bcbdb44eee95c02e9f52b416fa283712acd1d400f1add5d9649d445e1283cc8ab73ffd797b1a331db7bbc562dbc0443db7e930fd43ad2799899db464f67 SHA512 affd74f2df2e31eb12348fd51890028cce76c3c5f905e5d10979a98dd3a325f522758b3bd7cdcdc5ab08c212468eac3326c40f62ac71e92cf4029c9c94d6dd2a diff --git a/dev-haskell/xss-sanitize/metadata.xml b/dev-haskell/xss-sanitize/metadata.xml index 7adbbfcd9222..cd6528164118 100644 --- a/dev-haskell/xss-sanitize/metadata.xml +++ b/dev-haskell/xss-sanitize/metadata.xml @@ -5,10 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <https://github.com/yesodweb/haskell-xss-sanitize> for more details - </longdescription> <upstream> + <remote-id type="hackage">xss-sanitize</remote-id> <remote-id type="github">yesodweb/haskell-xss-sanitize</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/xss-sanitize/xss-sanitize-0.3.7.2.ebuild b/dev-haskell/xss-sanitize/xss-sanitize-0.3.7.2.ebuild new file mode 100644 index 000000000000..b099d090cb66 --- /dev/null +++ b/dev-haskell/xss-sanitize/xss-sanitize-0.3.7.2.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_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="sanitize untrusted HTML to prevent XSS attacks" +HOMEPAGE="https://github.com/yesodweb/haskell-xss-sanitize#readme" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-haskell/attoparsec-0.10.0.3:=[profile?] <dev-haskell/attoparsec-1:=[profile?] + >=dev-haskell/css-text-0.1.1:=[profile?] <dev-haskell/css-text-0.2:=[profile?] + >=dev-haskell/network-uri-2.6:=[profile?] + >=dev-haskell/tagsoup-0.12.2:=[profile?] <dev-haskell/tagsoup-1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] <dev-haskell/text-2.1:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( + >=dev-haskell/hspec-1.3 + >=dev-haskell/hunit-1.2 + ) +" diff --git a/dev-haskell/yaml/Manifest b/dev-haskell/yaml/Manifest index b578e00692e0..ab07d5605989 100644 --- a/dev-haskell/yaml/Manifest +++ b/dev-haskell/yaml/Manifest @@ -1 +1,2 @@ +DIST yaml-0.11.11.2.tar.gz 31926 BLAKE2B 3c8fb1973a8d8e03fa626122862c124fd6cf8b0f5ffbcc2c6d9566fcca84fb1428857c916b5f072de13dc9198fbfec8bf2c8b3b69836eb351c24fe42cb496420 SHA512 419b5fb86d96d2e7adda5b0091d9d32eb2a5c964d32ca9d72e83feb14aef738e5029f43d1760a91ae83c47aebd8d2211e255dfdf28e95c64be3fbb2380cfaf60 DIST yaml-0.11.8.0.tar.gz 31674 BLAKE2B a4c508eecb4e5b931e6832ceee0bd694fc6879cc6c3482a48e44c1b865207e3525c52cd51a9e2ec74a9ef98e1537f8d559151da80c0ef07351ace1665e5b5f09 SHA512 f47ae0a158bfd323e06ff31db348f916077882f4198b160c7f3f88e89ae0e62a9f17ff5ba29c15a1d74a52d040245613eced5267c38f9658d0a19007efb402f7 diff --git a/dev-haskell/yaml/metadata.xml b/dev-haskell/yaml/metadata.xml index 3d126b223c2e..71b8b45b1435 100644 --- a/dev-haskell/yaml/metadata.xml +++ b/dev-haskell/yaml/metadata.xml @@ -5,18 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Provides support for parsing and emitting Yaml documents. - - This package includes the full libyaml C library version 0.1.12 by Kirill - Simonov (<http://pyyaml.org/wiki/LibYAML>) in the package so you - don't need to worry about any non-Haskell dependencies. - </longdescription> <use> - <flag name="examples">Install the haskell-yaml-examples executable</flag> <flag name="executable">Install the yaml2json and json2yaml executables</flag> </use> <upstream> + <remote-id type="hackage">yaml</remote-id> <remote-id type="github">snoyberg/yaml</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/yaml/yaml-0.11.11.2.ebuild b/dev-haskell/yaml/yaml-0.11.11.2.ebuild new file mode 100644 index 000000000000..9eb42d269c67 --- /dev/null +++ b/dev-haskell/yaml/yaml-0.11.11.2.ebuild @@ -0,0 +1,65 @@ +# 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="Support for parsing and rendering YAML documents" +HOMEPAGE="https://github.com/snoyberg/yaml#readme" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="examples executable" + +CABAL_CHDEPS=( + 'executable examples' 'executable haskell-yaml-examples' +) + +RDEPEND=">=dev-haskell/aeson-0.11:=[profile?] + >=dev-haskell/attoparsec-0.11.3.0:=[profile?] + >=dev-haskell/conduit-1.2.8:=[profile?] <dev-haskell/conduit-1.4:=[profile?] + >=dev-haskell/libyaml-0.1:=[profile?] <dev-haskell/libyaml-0.2:=[profile?] + >=dev-haskell/resourcet-0.3:=[profile?] <dev-haskell/resourcet-1.4:=[profile?] + >=dev-haskell/scientific-0.3:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/unordered-containers:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-lang/ghc-8.8.1:= + examples? ( dev-haskell/raw-strings-qq:=[profile?] ) + executable? ( dev-haskell/optparse-applicative:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/base-compat + >=dev-haskell/hspec-1.3 + dev-haskell/hunit + dev-haskell/mockery + dev-haskell/temporary + !examples? ( dev-haskell/raw-strings-qq ) ) +" + +src_configure() { + local examples_flag="no-examples" + use examples && examples_flag="-no-examples" + + local exe_flag="no-exe" + use executable && exe_flag="-no-exe" + + haskell-cabal_src_configure \ + --flag="${examples_flag}" \ + --flag="${exe_flag}" +} + +pkg_postinst() { + if use examples; then + elog "The executable installed with this package (normally named 'examples')" + elog "has been renamed to 'haskell-yaml-examples' to help prevent name collisions." + fi + + haskell-cabal_pkg_postinst +} diff --git a/dev-haskell/yaml/yaml-0.11.8.0.ebuild b/dev-haskell/yaml/yaml-0.11.8.0.ebuild index 017f755f0637..a3f0fb87e619 100644 --- a/dev-haskell/yaml/yaml-0.11.8.0.ebuild +++ b/dev-haskell/yaml/yaml-0.11.8.0.ebuild @@ -39,12 +39,9 @@ DEPEND="${RDEPEND} !examples? ( dev-haskell/raw-strings-qq ) ) " -src_prepare() { - default - - cabal_chdeps \ - 'executable examples' 'executable haskell-yaml-examples' -} +CABAL_CHBINS=( + 'examples' 'haskell-yaml-examples' +) src_configure() { local examples_flag="no-examples" diff --git a/dev-haskell/yesod-core/Manifest b/dev-haskell/yesod-core/Manifest index 7d6e5af38e07..76f6b17bb8c3 100644 --- a/dev-haskell/yesod-core/Manifest +++ b/dev-haskell/yesod-core/Manifest @@ -1 +1,2 @@ DIST yesod-core-1.6.23.1.tar.gz 103119 BLAKE2B a15ee64ddc5da8f531690b8d6b661af618754a44e3e3511f15af69d82a53ce6d7886a4b55243d611727c2618446a145469db27b9ba122a32bd538d8cf6abdf80 SHA512 edbdf46c2a04a7286d46030212dcbb2c7f0e0e8b62e87682ae8ed4468796d15544990fb43d56a801fcfbf4dde740bc09cfa192ec21c3d5aeb72b92a5ed0cb173 +DIST yesod-core-1.6.24.2.tar.gz 104045 BLAKE2B fa18b345d97bf791275efca6a3e92f5c82fd1651391211669a2919d9a1b1ef896db5ca3fee80ae7d65a0f540a08e7eeca90ec25b524095fce5b480a02daf6bc7 SHA512 d75431871d3b38b78ca220a602ac44894c1142345588707591bacb9590ca98d4706285377d91e78e61e84050b55b2c96c0a308c4d84d2779d5fccb318f451ef3 diff --git a/dev-haskell/yesod-core/metadata.xml b/dev-haskell/yesod-core/metadata.xml index 3f36fda0e30c..9e6066177c58 100644 --- a/dev-haskell/yesod-core/metadata.xml +++ b/dev-haskell/yesod-core/metadata.xml @@ -5,9 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - Yesod is a framework designed to foster creation of RESTful web application that have strong compile-time guarantees of correctness. It also affords space efficient code and portability to many deployment backends, from CGI to stand-alone serving. - - The Yesod documentation site <http://www.yesodweb.com/> has much more information, tutorials and information on some of the supporting packages, like Hamlet and Persistent. - </longdescription> + <upstream> + <remote-id type="hackage">yesod-core</remote-id> + <remote-id type="github">yesodweb/yesod</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/yesod-core/yesod-core-1.6.24.2.ebuild b/dev-haskell/yesod-core/yesod-core-1.6.24.2.ebuild new file mode 100644 index 000000000000..4b9c5e3ecdc0 --- /dev/null +++ b/dev-haskell/yesod-core/yesod-core-1.6.24.2.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Creation of type-safe, RESTful web applications" +HOMEPAGE="https://www.yesodweb.com/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=">=dev-haskell/aeson-1.0:=[profile?] + dev-haskell/auto-update:=[profile?] + >=dev-haskell/blaze-html-0.5:=[profile?] + >=dev-haskell/blaze-markup-0.7.1:=[profile?] + >=dev-haskell/case-insensitive-0.2:=[profile?] + >=dev-haskell/cereal-0.3:=[profile?] + >=dev-haskell/clientsession-0.9.1:=[profile?] <dev-haskell/clientsession-0.10:=[profile?] + >=dev-haskell/conduit-1.3:=[profile?] + dev-haskell/conduit-extra:=[profile?] + >=dev-haskell/cookie-0.4.3:=[profile?] <dev-haskell/cookie-0.5:=[profile?] + dev-haskell/entropy:=[profile?] + >=dev-haskell/fast-logger-2.2:=[profile?] + >=dev-haskell/http-types-0.7:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/monad-logger-0.3.10:=[profile?] <dev-haskell/monad-logger-0.4:=[profile?] + >=dev-haskell/parsec-2:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/path-pieces-0.1.2:=[profile?] <dev-haskell/path-pieces-0.3:=[profile?] + >=dev-haskell/primitive-0.6:=[profile?] + >=dev-haskell/random-1.0.0.2:=[profile?] <dev-haskell/random-1.3:=[profile?] + >=dev-haskell/resourcet-1.2:=[profile?] + >=dev-haskell/shakespeare-2.0:=[profile?] + >=dev-haskell/text-0.7:=[profile?] + dev-haskell/unix-compat:=[profile?] + dev-haskell/unliftio:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-haskell/wai-3.2:=[profile?] + >=dev-haskell/wai-extra-3.0.7:=[profile?] + >=dev-haskell/wai-logger-0.2:=[profile?] + >=dev-haskell/warp-3.0.2:=[profile?] + dev-haskell/word8:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/async + >=dev-haskell/hspec-1.3 + dev-haskell/hspec-expectations + dev-haskell/hunit + dev-haskell/network + dev-haskell/streaming-commons ) +" diff --git a/dev-haskell/yesod-form/Manifest b/dev-haskell/yesod-form/Manifest index ac07f0fd23bf..813539bb2d01 100644 --- a/dev-haskell/yesod-form/Manifest +++ b/dev-haskell/yesod-form/Manifest @@ -1 +1,2 @@ DIST yesod-form-1.7.0.tar.gz 34435 BLAKE2B 86b299931316eaece475ee741357acf8e61797bd00cdbdaf9298a1ac6967b735915f0169eb12559ef7296466f61fd20a6624c62c08a5ef148566925659da1e05 SHA512 dc5373c62e78d79e570171c608fa2e9cfb2092a859b81a881ab69a406c357cc9eeff0ff04d0c08f8cc29cf66ef488ce6b96195d26b9c6dff879a1fea96eff013 +DIST yesod-form-1.7.4.tar.gz 35498 BLAKE2B 71812b32c44b21cd36045b821a6602551b09ec57be4c9e378c303b5e68fe7165950b623c013ee6ea3d35c0c33b8fd285fb138d480678245be1404921c753cb09 SHA512 8233cc85d7fd6f6e2d815fd38d3d0d2ebd1c7c11249ee3708dace0934e961319cf4d7063e8982b9f7bd329c3d110bade8013dfe987d6cbdecfc6c15e87abb982 diff --git a/dev-haskell/yesod-form/metadata.xml b/dev-haskell/yesod-form/metadata.xml index 062519021e82..a8a9666053c5 100644 --- a/dev-haskell/yesod-form/metadata.xml +++ b/dev-haskell/yesod-form/metadata.xml @@ -1,11 +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="network-uri">Get Network.URI from the network-uri package</flag> -</use> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="network-uri">Get Network.URI from the network-uri package</flag> + </use> + <upstream> + <remote-id type="hackage">yesod-form</remote-id> + <remote-id type="github">yesodweb/yesod</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/yesod-form/yesod-form-1.7.0.ebuild b/dev-haskell/yesod-form/yesod-form-1.7.0.ebuild index 22039fd7ad39..8b19fef258e0 100644 --- a/dev-haskell/yesod-form/yesod-form-1.7.0.ebuild +++ b/dev-haskell/yesod-form/yesod-form-1.7.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/yesod-form/yesod-form-1.7.4.ebuild b/dev-haskell/yesod-form/yesod-form-1.7.4.ebuild new file mode 100644 index 000000000000..f40f5131eed9 --- /dev/null +++ b/dev-haskell/yesod-form/yesod-form-1.7.4.ebuild @@ -0,0 +1,45 @@ +# 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="Form handling support for Yesod Web Framework" +HOMEPAGE="https://www.yesodweb.com/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+network-uri" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + >=dev-haskell/blaze-builder-0.2.1.4:=[profile?] + >=dev-haskell/blaze-html-0.5:=[profile?] + >=dev-haskell/blaze-markup-0.5.1:=[profile?] + dev-haskell/byteable:=[profile?] + dev-haskell/data-default:=[profile?] + >=dev-haskell/email-validate-1.0:=[profile?] + dev-haskell/persistent:=[profile?] + dev-haskell/resourcet:=[profile?] + >=dev-haskell/shakespeare-2.0:=[profile?] + >=dev-haskell/wai-1.3:=[profile?] + >=dev-haskell/xss-sanitize-0.3.0.1:=[profile?] + >=dev-haskell/yesod-core-1.6:=[profile?] <dev-haskell/yesod-core-1.7:=[profile?] + >=dev-haskell/yesod-persistent-1.6:=[profile?] <dev-haskell/yesod-persistent-1.7:=[profile?] + >=dev-lang/ghc-8.4.3:= + network-uri? ( >=dev-haskell/network-uri-2.6:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hspec ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag network-uri network-uri) +} diff --git a/dev-haskell/yesod-static/yesod-static-1.6.1.0.ebuild b/dev-haskell/yesod-static/yesod-static-1.6.1.0.ebuild index 0188c85c1866..c1fe349dc778 100644 --- a/dev-haskell/yesod-static/yesod-static-1.6.1.0.ebuild +++ b/dev-haskell/yesod-static/yesod-static-1.6.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 diff --git a/dev-haskell/yesod-test/Manifest b/dev-haskell/yesod-test/Manifest index fcd6d48b93f8..f6bd5a81d064 100644 --- a/dev-haskell/yesod-test/Manifest +++ b/dev-haskell/yesod-test/Manifest @@ -1 +1,2 @@ DIST yesod-test-1.6.12.tar.gz 27738 BLAKE2B 53cc4dc136b4d08c932812f2bd0b7f46ccc4acc3b0b0a2020386092006010859d3c0b14d9e4b36e91ae46617941d008d1795d652ccd1068437e537de83a4e4c3 SHA512 777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6 +DIST yesod-test-1.6.14.tar.gz 28627 BLAKE2B c27e2825f07be19be645d1d1085e89e89988b21bdb7f9ef90fcebaae82626dad410a96365435223ac2cd25d156f3cdbe1c35f61b378023aa4175152c68802a3e SHA512 63c3f168f70e8ef1a9ba409a3052bab6c21aed8cb38df3c3ae68d553f74f1ec213db2120d9f985363d167726c161a24bc4a4e4ebd21a5f00b11259e931c0321e diff --git a/dev-haskell/yesod-test/yesod-test-1.6.12.ebuild b/dev-haskell/yesod-test/yesod-test-1.6.12.ebuild index cd2e522586f9..d2e130181352 100644 --- a/dev-haskell/yesod-test/yesod-test-1.6.12.ebuild +++ b/dev-haskell/yesod-test/yesod-test-1.6.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.6.9999 diff --git a/dev-haskell/yesod-test/yesod-test-1.6.14.ebuild b/dev-haskell/yesod-test/yesod-test-1.6.14.ebuild new file mode 100644 index 000000000000..b7c7cb5f1ac7 --- /dev/null +++ b/dev-haskell/yesod-test/yesod-test-1.6.14.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.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="integration testing for WAI/Yesod Applications" +HOMEPAGE="https://www.yesodweb.com" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + dev-haskell/blaze-builder:=[profile?] + >=dev-haskell/blaze-html-0.5:=[profile?] + dev-haskell/blaze-markup:=[profile?] + >=dev-haskell/case-insensitive-0.2:=[profile?] + dev-haskell/conduit:=[profile?] + dev-haskell/cookie:=[profile?] + >=dev-haskell/hspec-core-2:=[profile?] <dev-haskell/hspec-core-3:=[profile?] + >=dev-haskell/html-conduit-0.1:=[profile?] + >=dev-haskell/http-types-0.7:=[profile?] + >=dev-haskell/hunit-1.2:=[profile?] + dev-haskell/memory:=[profile?] + >=dev-haskell/network-2.2:=[profile?] + >=dev-haskell/pretty-show-1.6:=[profile?] + >=dev-haskell/wai-3.0:=[profile?] + dev-haskell/wai-extra:=[profile?] + >=dev-haskell/xml-conduit-1.0:=[profile?] + >=dev-haskell/xml-types-0.3:=[profile?] + >=dev-haskell/yesod-core-1.6.17:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( dev-haskell/hspec + dev-haskell/unliftio + dev-haskell/unliftio-core + >=dev-haskell/yesod-form-1.6 ) +" diff --git a/dev-haskell/yesod/Manifest b/dev-haskell/yesod/Manifest index 6a80a7e27df1..9abeb00e8c87 100644 --- a/dev-haskell/yesod/Manifest +++ b/dev-haskell/yesod/Manifest @@ -1 +1,2 @@ +DIST yesod-1.6.2.1.tar.gz 9940 BLAKE2B 7234b550bc54dac8e46deac3d66b0ccb89af184520e9a25d218317dc4c735a7b4fde32ad1ce7325e3d222b551262ea57c36fb0af7cb478489afda499310b28f6 SHA512 ef61044b329b0c6e122bc5ca0203735264f6cb85a4fe728819146b390a8b813a56cad7bd2ef928eb3b3f1ed4618b7f41e856c0f97be1030e50510a14820fd866 DIST yesod-1.6.2.tar.gz 9927 BLAKE2B 551b6a659180536dae72cea4a342f7451eb005cb79bd06cb5af38e41052956c40b93e2368da307ccdcc8bb5e0ea718ae89e7fd858b3273d8823787a333f11da1 SHA512 7c7a3e191ce91ac4070179bdfdae89c60e91c702d9141bb90fcb7095d175727a3f0648221ea151b6e1f5c37a236f55c37aaf963c526e4ced572c19bd6fb0b3a8 diff --git a/dev-haskell/yesod/metadata.xml b/dev-haskell/yesod/metadata.xml index 7fbdc75a47c4..a9e13b5f8156 100644 --- a/dev-haskell/yesod/metadata.xml +++ b/dev-haskell/yesod/metadata.xml @@ -5,11 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - A RESTful web framework with strong compile-time guarantees of correctness. It also affords space efficient code, highly concurrent loads, and portability to many deployment backends (via the wai package), from CGI to stand-alone serving. - - Yesod also focuses on developer productivity. Yesod integrates well with tools for all your basic web development (wai, persistent, and shakespeare/hamlet) - - The Yesod documentation site <http://www.yesodweb.com/> has much more information, including on the supporting packages mentioned above. - </longdescription> + <upstream> + <remote-id type="hackage">yesod</remote-id> + <remote-id type="github">yesodweb/yesod</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/yesod/yesod-1.6.2.1.ebuild b/dev-haskell/yesod/yesod-1.6.2.1.ebuild new file mode 100644 index 000000000000..e0052e1cac93 --- /dev/null +++ b/dev-haskell/yesod/yesod-1.6.2.1.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.8.2.0.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Creation of type-safe, RESTful web applications" +HOMEPAGE="https://www.yesodweb.com/" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND="dev-haskell/aeson:=[profile?] + >=dev-haskell/conduit-1.3:=[profile?] + dev-haskell/data-default-class:=[profile?] + dev-haskell/fast-logger:=[profile?] + dev-haskell/file-embed:=[profile?] + dev-haskell/monad-logger:=[profile?] + dev-haskell/shakespeare:=[profile?] + dev-haskell/streaming-commons:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/unordered-containers:=[profile?] + >=dev-haskell/wai-1.3:=[profile?] + >=dev-haskell/wai-extra-1.3:=[profile?] + dev-haskell/wai-logger:=[profile?] + >=dev-haskell/warp-1.3:=[profile?] + >=dev-haskell/yaml-0.8.17:=[profile?] + >=dev-haskell/yesod-core-1.6:=[profile?] <dev-haskell/yesod-core-1.7:=[profile?] + >=dev-haskell/yesod-form-1.6:=[profile?] <dev-haskell/yesod-form-1.8:=[profile?] + >=dev-haskell/yesod-persistent-1.6:=[profile?] <dev-haskell/yesod-persistent-1.7:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 +" diff --git a/dev-haskell/zip-archive/Manifest b/dev-haskell/zip-archive/Manifest index 12632788186e..651235f2acbc 100644 --- a/dev-haskell/zip-archive/Manifest +++ b/dev-haskell/zip-archive/Manifest @@ -1 +1,2 @@ DIST zip-archive-0.4.1.tar.gz 20967 BLAKE2B 0e1276aa9dabf70a36041c5acb6d83a571d067bdb40a8be30b35a2943ec28da92225d8f586101bfa87602186025fd5c61347bf8855216ce2a0101e9ff70a81b4 SHA512 216555bd73a46da5061291c2c071e9c71239bd5ae253ac06ee80ade65bb1871366cc8e4dffbad983c5b6a7f4b0cb2a1439dfa5971db3e183124fa90442a73f0c +DIST zip-archive-0.4.3.tar.gz 22161 BLAKE2B 8d9a31e1eddb204250b168038809f3ab28af0df6071b67d2f4bec732512516b2aafc7a0e6b11fe886126dbeb5c925d4c3fcfaa649eb65fea4183707b32e02307 SHA512 b98791a22d0dc4b499653bbd88254cff86108bd3a13b59a107cc54e36dc0702c2934eb4b497cbc6239235a45b3486006e52d27faa5af589a124443f8938670ad diff --git a/dev-haskell/zip-archive/metadata.xml b/dev-haskell/zip-archive/metadata.xml index e40a68476ea6..ac3f59923966 100644 --- a/dev-haskell/zip-archive/metadata.xml +++ b/dev-haskell/zip-archive/metadata.xml @@ -5,14 +5,11 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - The zip-archive library provides functions for creating, modifying, - and extracting files from zip archives. - </longdescription> <use> <flag name="executable">Build the Zip executable.</flag> </use> <upstream> + <remote-id type="hackage">zip-archive</remote-id> <remote-id type="github">jgm/zip-archive</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/zip-archive/zip-archive-0.4.1.ebuild b/dev-haskell/zip-archive/zip-archive-0.4.1.ebuild index 174ed0025d3c..49838c4fe498 100644 --- a/dev-haskell/zip-archive/zip-archive-0.4.1.ebuild +++ b/dev-haskell/zip-archive/zip-archive-0.4.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.2 diff --git a/dev-haskell/zip-archive/zip-archive-0.4.3.ebuild b/dev-haskell/zip-archive/zip-archive-0.4.3.ebuild new file mode 100644 index 000000000000..7bca7c23d822 --- /dev/null +++ b/dev-haskell/zip-archive/zip-archive-0.4.3.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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Library for creating and modifying zip archives" +HOMEPAGE="https://github.com/jgm/zip-archive" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable" + +RDEPEND=">=dev-haskell/digest-0.0.0.1:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + dev-haskell/zlib:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( dev-haskell/hunit + dev-haskell/temporary ) +" +# non-haskell depend +DEPEND="${DEPEND} + test? ( app-arch/zip ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) +} diff --git a/dev-haskell/zlib/Manifest b/dev-haskell/zlib/Manifest index b2128f215356..e6b18aa36be8 100644 --- a/dev-haskell/zlib/Manifest +++ b/dev-haskell/zlib/Manifest @@ -1 +1,3 @@ DIST zlib-0.6.2.3.tar.gz 149186 BLAKE2B 5665c6a076c0efdb6074ca72e3723ddeb4a7d851abf06450ccb8a4ee6179c3e45be63c3c620d02787b088a6c18723ba2d5a77c525d59dc4ab9bbe1770e79517b SHA512 535fc711af639967c032791c6a0c09680ac186c706e02a28cfabd9b2dcddc84a6ee5f6007e2ed67c1dc19dd6d561cb821d8840dba7386b63cc002418c4d5040a +DIST zlib-0.6.3.0-rev2.cabal 5367 BLAKE2B 4fb30c7af39286710ee5925f6e211c69c90b75f17c99f527e62ca4f9b0271544e22cdb4973f35c45524f81ca4401623effcb85830ada0aa5d11880db6d4742d6 SHA512 9f2851974abc0da417afdb914f4ce3d72c5945d23a39685174f40f2224ba5001a94ae9761cf44b2961a8fa135f28c689bcf913267a2b086e73fa353e9dc22672 +DIST zlib-0.6.3.0.tar.gz 369595 BLAKE2B 3a3ecb4ef2cce3332be22a1137b89c3ff27a600326fbc4c53610a588bcfe79f2c3b6916ad68705b7d397c0cc53aaf958a19eccd39edfb66e07b3cfae701d8890 SHA512 95daae13c5d5458fd7c610ce4cc686dc7af477364c4dcf3d31abede84f6e4b4e70ea255f7ded586d46d9bb6298d19c93b8856eec16c6002265ed076e52bf9a21 diff --git a/dev-haskell/zlib/metadata.xml b/dev-haskell/zlib/metadata.xml index 7db31073ae41..4c34a34bede0 100644 --- a/dev-haskell/zlib/metadata.xml +++ b/dev-haskell/zlib/metadata.xml @@ -6,19 +6,10 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="bundled-c-zlib">Use the bundled zlib C sources. Requires pkg-config to be False. For windows, this is the default.</flag> - <flag name="non-blocking-ffi">The (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost.</flag> + <flag name="bundled-c-zlib">Use the bundled zlib C sources. Requires pkg-config to be False. +For windows, this is the default.</flag> + <flag name="non-blocking-ffi">The (de)compression calls can sometimes take a long time, which +prevents other Haskell threads running. Enabling this flag +avoids this unfairness, but with greater overall cost.</flag> </use> - <longdescription> - This package provides a pure interface for compressing and - decompressing streams of data represented as lazy - 'ByteString's. It uses the - <https://en.wikipedia.org/wiki/Zlib zlib C library> - so it has high performance. It supports the \"zlib\", - \"gzip\" and \"raw\" compression formats. - - It provides a convenient high level API suitable for most - tasks and for the few cases where more control is needed it - provides access to the full zlib feature set. - </longdescription> </pkgmetadata> diff --git a/dev-haskell/zlib/zlib-0.6.2.3.ebuild b/dev-haskell/zlib/zlib-0.6.2.3.ebuild index 529ba6325084..240d70743406 100644 --- a/dev-haskell/zlib/zlib-0.6.2.3.ebuild +++ b/dev-haskell/zlib/zlib-0.6.2.3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # ebuild generated by hackport 0.6.7.9999 #hackport: flags: +pkg-config diff --git a/dev-haskell/zlib/zlib-0.6.3.0.ebuild b/dev-haskell/zlib/zlib-0.6.3.0.ebuild new file mode 100644 index 000000000000..ecdefa14223d --- /dev/null +++ b/dev-haskell/zlib/zlib-0.6.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.2.2.9999 +#hackport: flags: +pkg-config + +CABAL_HACKAGE_REVISION=2 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Compression and decompression in the gzip and zlib formats" +HOMEPAGE="https://hackage.haskell.org/package/zlib" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~ppc-macos" +IUSE="bundled-c-zlib non-blocking-ffi" + +RDEPEND=">=dev-lang/ghc-8.4.3:= + sys-libs/zlib +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + virtual/pkgconfig + test? ( >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 + >=dev-haskell/tasty-0.8 <dev-haskell/tasty-1.5 + >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bundled-c-zlib bundled-c-zlib) \ + $(cabal_flag non-blocking-ffi non-blocking-ffi) \ + --flag=pkg-config +} diff --git a/dev-lang/ghc/Manifest b/dev-lang/ghc/Manifest index 014f94dcbd76..7762a4280397 100644 --- a/dev-lang/ghc/Manifest +++ b/dev-lang/ghc/Manifest @@ -1,10 +1,14 @@ DIST ghc-9.0.2-riscv64-llvm.patch.xz 7148 BLAKE2B 01a0d4036b649f663aebebab06990ac041533e7462d3ee9e143444f1119b736f2f8f2dfc293d61da1fac9f0d3ef12e98bab5b0c9fe8440ed1eab22a1d45fb9d7 SHA512 8afb62d5363d8a1a8f63e85335f3c8fa35b7d22899ebe334218a60ce9519852325c8ce93bb0be794c36cbc3c1cc031b7b1e2f4d7665d71f49e95f737bd91ba1a DIST ghc-9.0.2-src.tar.xz 27270396 BLAKE2B 0a73d910d3ef11161f895849025fe37ce231932f7cde441fdf620cf8c51678060a804467879eb0ee5c0a30413604c56e28e2aa1cde01e45c620b76987d9c0c0e SHA512 32994c7d2b8f47bae604cd825bfcf9c788d79ce26d1d5f58bd73a7093e11ae6c3c17b31dc0c9e454dbf67ca169b942f92213c388d615768cae86055bf6094dee DIST ghc-9.0.2-testsuite.tar.xz 2403564 BLAKE2B 0e7f6fefb9c972f94073aca8b15147913ffa8d3cd3ff7fc63ef7e20b4efd8b443cf21f12e1ab0f5044790f6d8af6cf7788bda85a21b2f356ddface86eb896670 SHA512 b2375500ae837d74af8085d099899b5a7a589c59bdcc033ca0bd6e00f33c4f8d90b481e0c7c3de113e607fcfafdfe8edde4713e6d242b2d4ee87df2eb960c9c7 +DIST ghc-9.2.8-src.tar.xz 24661260 BLAKE2B 5011eed2a86fea607d2f47d92c5884fcd0850037158659273af07ca1b65ad78d500f0cfbfff8f412d4e1f8f5de8e89e0b6146797a7ca0696cc42d71ddc75ef56 SHA512 c1159741725deaa00be7c230b38d43aed0fd456621fb4bc434434f13b03b74da1f91c09ce5dad553cf535f14038d8568fce7f21ea068680211b8bd35eafacf49 +DIST ghc-9.2.8-testsuite.tar.xz 3213812 BLAKE2B 2607ffa0f7b0bc3d0cbcba6726f016c43b79ac9c7479c71a94ae9f7adb3f1b913df30a35ff093777a52ba9213390bf4f9f40fc366f3be9acc48c4ef2b47ca172 SHA512 7ae455b009191167d73ca0990edd0b45d162de3c43d0e43cbb7008c673ddbfc1aa252ff8589af45026508941ea144138d3b2a0436e8bf64417e64b34fb272997 DIST ghc-bin-9.0.2-r4-aarch64-unknown-linux-gnu.tar.gz 221699967 BLAKE2B c6e34b23a9664b6dc7d13f939063c34665c558b2596e3446abd9a8f90e9ad586f515e1703c36d269f7fb4a36a85f497e9f4d356f01ede7a7a614b3cd4fbf0dbe SHA512 d9f381b417ee740c9bba9508d5ccca2a6bffdd32c6262d76f254a21cf7505d2aaa5695c0354ee9e8fb672b90ae67af6205cdd2fe6ad6aa5d610c760d59392b62 DIST ghc-bin-9.0.2-r4-i686-pc-linux-gnu.gpkg.tar 81059840 BLAKE2B 655405cd402cc7af424baf5b715f64af3ce97d474c883c618cd8e6fae40274dc6f584872c607cbe3553141a199729df98ddbdb5947a50520b67f53946f20d25a SHA512 401ab9ae646e18519ba1b06705944862d3f802068c4eae19fc019899eb14ceef95fa57e51b5527e5c5314c2433aff7e418e1d35c2de425c142c34e8fa21a5f46 DIST ghc-bin-9.0.2-r4-powerpc64-unknown-linux-gnu.tar.gz 233834058 BLAKE2B 32ee779c4567472799f985102cdf0a6a5dfb3984795b6efafe6a6326933e1d0128260012cbe5e0e20c71becd4d2e589e32f43882e66b479ef4c34358d7bd8e93 SHA512 be56a92c2f5f00f1f0b22f02745d836ac3706fc207932c71277c1076515ed4fd1875372844b4cbb0996afec5fc122255103ac03c65c99d087615005f1aa63732 DIST ghc-bin-9.0.2-r4-powerpc64le-unknown-linux-gnu.tar.gz 210668658 BLAKE2B fe33a43ea38e5fe17a003e60f29458f0dc5115f92db311dff11b2ce3fa1a9fc0304ad93c76535fb8e4ce44bb703f8a18638149f36b076c84f5c44385486722bd SHA512 12e04c29873ddd80ff259998121b3ce4b9dcdd1157cbb38ce8ac0234c6aaa0c156b0cc78f95af86288e6f595f9e010a1db88ba737e27773b404ed6129e58044f DIST ghc-bin-9.0.2-r4-riscv64-unknown-linux-gnu.tar.gz 315182159 BLAKE2B 95ee2f82eb706b42a0a3303038cf28166ac1e766a5f38402f833830c311f02773881b5341d6d7a1772fdc616522b1448a740caf34e4e534b5d00fedeb23604de SHA512 dd143f8b379e8ca04ab6254aa19978a3a8caf61322e2e3b2bae7488025949845aa5d5fc0e3124ff360172c2b47e4a33df4d1d55c8a976c96b552cd3c930b2fad DIST ghc-bin-9.0.2-r4-x86_64-pc-linux-gnu.gpkg.tar 123955200 BLAKE2B b1f45eea658f496997e63c21e3ef190749c122ee3a058d5f25fd90a2e2c33841817c540b9bf87e27e6981d9fb28d9201454217fa8ba9c1d9fc4ccf3d20652158 SHA512 06a240f7117f30179073e075634510d9ffe880010de16c93a001dce7b3020666b0b26d51c2c08cdaee7fc6513d9ffc7082f20b233d62b9149419abba2b4bd4ee +DIST ghc-bin-9.2.8-i686-pc-linux-gnu.gpkg.tar 105441280 BLAKE2B 76d5fdb846d91d37b0b5706f1efbdd2833aac2d926fb4036845e36470fcfc6ad0143c492908c6cc5190dc3951c647e0584956395fca51b8f357b365ad23b496a SHA512 c19819bc4d8f1208fa28acc054cbb2d490b2b1c55bf55f8d4069474b4d58c931ff1999b593000b7f0b5b7169e6b71ad26d5d0d3480d8ecdbcc5e2c58116ec3d5 +DIST ghc-bin-9.2.8-x86_64-pc-linux-gnu.gpkg.tar 85432320 BLAKE2B ab649a6da5120720fc388dc98685a796415f7e2d664de17887f5bdadf5c9fe6192c4a6ac1bdbbe6e635ebf77b56e1f195367444e6febe01db32e38897dad5cb9 SHA512 fb868c87714aae791b4c19eaf3780707000ff61b240daebbfe2331d5e992dd20376060239df9aaf3daa54266eb10ad7a365804a09a5f6e9b1f5ee80717a16a17 DIST process-1.6.16.0.tar.gz 87354 BLAKE2B 8c2977d6801faef8825ed35f058a6207a518f72eb87ac3144f630bc028f4753cefb9ed4d3fc29185438bcb4f38d33f5a45aebec6a8101e4cdc1b3570ada2e5dc SHA512 1663f2746a05a5a4c29d249db54eaa49edbbadfe8d189eab02276c3f6f3d6b84c81cc4333318c42c7a7265638402cb13276f08aeea134a7f5dd98da050a34341 diff --git a/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch b/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch new file mode 100644 index 000000000000..13d12efdc0ec --- /dev/null +++ b/dev-lang/ghc/files/ghc-9.0.2-verbose-modunusable.patch @@ -0,0 +1,12 @@ +diff -urN ghc-9.0.2/compiler/GHC/Unit/State.hs ghc-9.0.2-r1/compiler/GHC/Unit/State.hs +--- ghc-9.0.2/compiler/GHC/Unit/State.hs 2021-10-19 05:20:00.000000000 -0600 ++++ ghc-9.0.2-r1/compiler/GHC/Unit/State.hs 2022-02-17 01:04:05.117930250 -0700 +@@ -194,7 +194,7 @@ + + instance Outputable ModuleOrigin where + ppr ModHidden = text "hidden module" +- ppr (ModUnusable _) = text "unusable module" ++ ppr (ModUnusable reason) = text "unusable module" $$ ppr reason + ppr (ModOrigin e res rhs f) = sep (punctuate comma ( + (case e of + Nothing -> [] diff --git a/dev-lang/ghc/files/ghc-9.2.6-fix-alignment-of-capability.patch b/dev-lang/ghc/files/ghc-9.2.6-fix-alignment-of-capability.patch new file mode 100644 index 000000000000..88fdac8d7eb8 --- /dev/null +++ b/dev-lang/ghc/files/ghc-9.2.6-fix-alignment-of-capability.patch @@ -0,0 +1,249 @@ +From 406d485eb5b055ec428fc189a2724c010ff90a8c Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@well-typed.com> +Date: Tue, 17 Jan 2023 19:45:34 +0000 +Subject: [PATCH 1/5] rts: Use C11-compliant static assertion syntax + +Previously we used `static_assert` which is only available in C23. By +contrast, C11 only provides `_Static_assert`. + +Fixes #22777 +--- + includes/Rts.h | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/includes/Rts.h b/includes/Rts.h +index b2c74fcfc17..096da7e5139 100644 +--- a/includes/Rts.h ++++ b/includes/Rts.h +@@ -29,6 +29,9 @@ extern "C" { + #include <windows.h> + #endif + ++/* For _Static_assert */ ++#include <assert.h> ++ + #if !defined(IN_STG_CODE) + #define IN_STG_CODE 0 + #endif +@@ -147,9 +150,17 @@ void _warnFail(const char *filename, unsigned int linenum); + #define ASSERTM(predicate,msg,...) CHECKM(predicate,msg,##__VA_ARGS__) + #define WARN(predicate) CHECKWARN(predicate) + #undef ASSERTS_ENABLED +- + #endif /* DEBUG */ + ++#if __STDC_VERSION__ >= 201112L ++// `_Static_assert` is provided by C11 but is deprecated and replaced by ++// `static_assert` in C23. Perhaps some day we should instead use the latter. ++// See #22777. ++#define GHC_STATIC_ASSERT(x, msg) _Static_assert((x), msg) ++#else ++#define GHC_STATIC_ASSERT(x, msg) ++#endif ++ + /* + * Use this on the RHS of macros which expand to nothing + * to make sure that the macro can be used in a context which +-- +GitLab + + +From 489215f094ac077619bd13fb6e2a756c26648a34 Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@smart-cactus.org> +Date: Mon, 13 Feb 2023 13:13:05 -0500 +Subject: [PATCH 2/5] rts: Statically assert alignment of Capability + +In #22965 we noticed that changes in the size of `Capability` can result +in unsound behavior due to the `align` pragma claiming an alignment +which we don't in practice observe. Avoid this by statically asserting +that the size is a multiple of the alignment. + +(cherry picked from commit b585225be9670de1a83e0bb17034d2fb821cb8a3) +--- + rts/Capability.h | 24 ++++++++++++++++-------- + 1 file changed, 16 insertions(+), 8 deletions(-) + +diff --git a/rts/Capability.h b/rts/Capability.h +index d7c1916ad7d..34695b0b13e 100644 +--- a/rts/Capability.h ++++ b/rts/Capability.h +@@ -27,6 +27,16 @@ + + #include "BeginPrivate.h" + ++// We never want a Capability to overlap a cache line with ++// anything else, so round it up to a cache line size: ++#if defined(s390x_HOST_ARCH) ++#define CAPABILITY_ALIGNMENT 256 ++#elif !defined(mingw32_HOST_OS) ++#define CAPABILITY_ALIGNMENT 64 ++#else ++#define CAPABILITY_ALIGNMENT 1 ++#endif ++ + /* N.B. This must be consistent with CapabilityPublic in RtsAPI.h */ + struct Capability_ { + // State required by the STG virtual machine when running Haskell +@@ -172,14 +182,12 @@ struct Capability_ { + StgTRecHeader *free_trec_headers; + uint32_t transaction_tokens; + } // typedef Capability is defined in RtsAPI.h +- // We never want a Capability to overlap a cache line with anything +- // else, so round it up to a cache line size: +-#if defined(s390x_HOST_ARCH) +- ATTRIBUTE_ALIGNED(256) +-#elif !defined(mingw32_HOST_OS) +- ATTRIBUTE_ALIGNED(64) +-#endif +- ; ++ ATTRIBUTE_ALIGNED(CAPABILITY_ALIGNMENT) ++; ++ ++// We allocate arrays of Capabilities therefore we must ensure that the size is ++// a multiple of the claimed alignment ++GHC_STATIC_ASSERT(sizeof(struct Capability_) % CAPABILITY_ALIGNMENT == 0, "Capability size does not match cache size"); + + #if defined(THREADED_RTS) + #define ASSERT_TASK_ID(task) ASSERT(task->id == osThreadId()) +-- +GitLab + + +From 66f7ee57ce17d2fd96d74c6c4498d4f558815a0d Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@smart-cactus.org> +Date: Mon, 13 Feb 2023 13:21:11 -0500 +Subject: [PATCH 3/5] rts: Fix alignment of Capability + +--- + rts/Capability.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/rts/Capability.h b/rts/Capability.h +index 34695b0b13e..c0a058a3e71 100644 +--- a/rts/Capability.h ++++ b/rts/Capability.h +@@ -181,6 +181,9 @@ struct Capability_ { + StgTRecChunk *free_trec_chunks; + StgTRecHeader *free_trec_headers; + uint32_t transaction_tokens; ++ ++ // To ensure that size is multiple of CAPABILITY_ALIGNMENT. ++ StgWord _padding[0]; + } // typedef Capability is defined in RtsAPI.h + ATTRIBUTE_ALIGNED(CAPABILITY_ALIGNMENT) + ; +-- +GitLab + + +From 1332f1f428e71cec02feb39b714b37c3ad0aa857 Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@smart-cactus.org> +Date: Mon, 13 Feb 2023 14:46:24 -0500 +Subject: [PATCH 4/5] rts: Introduce stgMallocAlignedBytes + +(cherry picked from commit 04336d2f11e49f7d00392f05d4fd48abdd231fc0) +--- + rts/RtsUtils.c | 37 ++++++++++++++++++++++++++++++++++++- + rts/RtsUtils.h | 2 ++ + 2 files changed, 38 insertions(+), 1 deletion(-) + +diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c +index ca01bdb6e0c..439e54e2d7a 100644 +--- a/rts/RtsUtils.c ++++ b/rts/RtsUtils.c +@@ -58,10 +58,45 @@ extern char *ctime_r(const time_t *, char *); + + void * + stgMallocBytes (size_t n, char *msg) ++{ ++ void *space = malloc(n); ++ ++ if (space == NULL) { ++ /* Quoting POSIX.1-2008 (which says more or less the same as ISO C99): ++ * ++ * "Upon successful completion with size not equal to 0, malloc() shall ++ * return a pointer to the allocated space. If size is 0, either a null ++ * pointer or a unique pointer that can be successfully passed to free() ++ * shall be returned. Otherwise, it shall return a null pointer and set ++ * errno to indicate the error." ++ * ++ * Consequently, a NULL pointer being returned by `malloc()` for a 0-size ++ * allocation is *not* to be considered an error. ++ */ ++ if (n == 0) return NULL; ++ ++ /* don't fflush(stdout); WORKAROUND bug in Linux glibc */ ++ rtsConfig.mallocFailHook((W_) n, msg); ++ stg_exit(EXIT_INTERNAL_ERROR); ++ } ++ IF_DEBUG(zero_on_gc, memset(space, 0xbb, n)); ++ return space; ++} ++ ++void * ++stgMallocAlignedBytes (size_t n, size_t align, char *msg) + { + void *space; + +- if ((space = malloc(n)) == NULL) { ++#if defined(mingw32_HOST_OS) ++ space = _aligned_malloc(n, align); ++#else ++ if (posix_memalign(&space, align, n)) { ++ space = NULL; // Allocation failed ++ } ++#endif ++ ++ if (space == NULL) { + /* Quoting POSIX.1-2008 (which says more or less the same as ISO C99): + * + * "Upon successful completion with size not equal to 0, malloc() shall +diff --git a/rts/RtsUtils.h b/rts/RtsUtils.h +index c87aedb3a74..3f4b558651c 100644 +--- a/rts/RtsUtils.h ++++ b/rts/RtsUtils.h +@@ -20,6 +20,8 @@ void shutdownAllocator(void); + void *stgMallocBytes(size_t n, char *msg) + GNUC3_ATTRIBUTE(__malloc__); + ++void *stgMallocAlignedBytes(size_t n, size_t align, char *msg); ++ + void *stgReallocBytes(void *p, size_t n, char *msg); + + void *stgCallocBytes(size_t count, size_t size, char *msg) +-- +GitLab + + +From 1741fd255842706a9f15c95cd8c1c6b7784c50ce Mon Sep 17 00:00:00 2001 +From: Ben Gamari <ben@smart-cactus.org> +Date: Mon, 13 Feb 2023 14:49:52 -0500 +Subject: [PATCH 5/5] rts: Correctly align Capability allocations + +Previously we failed to tell the C allocator that `Capability`s needed +to be aligned, resulting in #22965. + +(cherry picked from commit 4af27feabf482cf6b611951443e05ee7e53acb39) +--- + rts/Capability.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/rts/Capability.c b/rts/Capability.c +index edf6a926902..971c1cef834 100644 +--- a/rts/Capability.c ++++ b/rts/Capability.c +@@ -439,8 +439,9 @@ moreCapabilities (uint32_t from USED_IF_THREADS, uint32_t to USED_IF_THREADS) + if (i < from) { + new_capabilities[i] = capabilities[i]; + } else { +- new_capabilities[i] = stgMallocBytes(sizeof(Capability), +- "moreCapabilities"); ++ new_capabilities[i] = stgMallocAlignedBytes(sizeof(Capability), ++ CAPABILITY_ALIGNMENT, ++ "moreCapabilities"); + initCapability(new_capabilities[i], i); + } + } +-- +GitLab + diff --git a/dev-lang/ghc/files/ghc-9.2.7-modorigin-semigroup.patch b/dev-lang/ghc/files/ghc-9.2.7-modorigin-semigroup.patch new file mode 100644 index 000000000000..8028ab39cc9c --- /dev/null +++ b/dev-lang/ghc/files/ghc-9.2.7-modorigin-semigroup.patch @@ -0,0 +1,33 @@ +From 46b7ac7b8aca68d143eec5837ef1ff24d3d1f422 Mon Sep 17 00:00:00 2001 +From: Sylvain Henry <sylvain@haskus.fr> +Date: Fri, 18 Feb 2022 11:01:04 +0100 +Subject: [PATCH] Quick and dirty fix for ModuleOrigin SemiGroup instance + +Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/1250#issuecomment-1044257595 +Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/21097 +Signed-off-by: hololeap <hololeap@users.noreply.github.com> +--- + compiler/GHC/Unit/State.hs | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs +index 9a95447e73..08ea0f3eb3 100644 +--- a/compiler/GHC/Unit/State.hs ++++ b/compiler/GHC/Unit/State.hs +@@ -235,6 +235,13 @@ instance Semigroup ModuleOrigin where + text "x: " <> ppr x $$ text "y: " <> ppr y + g Nothing x = x + g x Nothing = x ++ ModHidden <> ModHidden = ModHidden ++ ModUnusable x <> ModUnusable _y = ModUnusable x ++ ++ ModUnusable _ <> ModHidden = ModHidden ++ ModHidden <> ModUnusable _ = ModHidden ++ ModUnusable _x <> y@ModOrigin{} = y ++ x@ModOrigin{} <> ModUnusable _y = x + x <> y = pprPanic "ModOrigin: hidden module redefined" $ + text "x: " <> ppr x $$ text "y: " <> ppr y + +-- +2.39.2 + diff --git a/dev-lang/ghc/ghc-9.2.8.ebuild b/dev-lang/ghc/ghc-9.2.8.ebuild new file mode 100644 index 000000000000..8fffbe2cca4b --- /dev/null +++ b/dev-lang/ghc/ghc-9.2.8.ebuild @@ -0,0 +1,975 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# to make make a crosscompiler use crossdev and symlink ghc tree into +# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc' +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} = ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi + +PYTHON_COMPAT=( python3_{9..12} ) +inherit python-any-r1 +inherit autotools bash-completion-r1 flag-o-matic ghc-package +inherit multiprocessing pax-utils toolchain-funcs prefix +inherit check-reqs llvm unpacker +DESCRIPTION="The Glasgow Haskell Compiler" +HOMEPAGE="https://www.haskell.org/ghc/" + +BIN_PV=${PV} +[[ $PR != r0 ]] && BIN_REV=${PR} +BIN_PVR="${BIN_PV}${BIN_REV:+-${BIN_REV}}" + +# >=ghc-9.2 can only be built with <=ghc-9.0 until hadrian is supported +BUILD_BIN_PV=9.0.2 +BUILD_BIN_REV=r4 +BUILD_BIN_PVR="${BUILD_BIN_PV}${BUILD_BIN_REV:+-${BUILD_BIN_REV}}" + +DEFAULT_SRC_HOST="https://eidetic.codes" + +ghc_binaries() { + echo " + binary? ( ${DEFAULT_SRC_HOST}/${PN}-bin-${BIN_PVR}-${1}.gpkg.tar ) + !binary? ( ${DEFAULT_SRC_HOST}/${PN}-bin-${BUILD_BIN_PVR}-${1}.gpkg.tar ) + " +} + +# Differentiate glibc/musl + +#glibc_binaries="$glibc_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )" +glibc_binaries+=" amd64? ( $(ghc_binaries x86_64-pc-linux-gnu) )" +#glibc_binaries="$glibc_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-armv7a-hardfloat-linux-gnueabi.tbz2 )" +#glibc_binaries+=" arm64? ( $(ghc_binaries_gz_build_bin aarch64-unknown-linux-gnu) )" +#glibc_binaries="$glibc_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )" +#glibc_binaries="$glibc_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )" +#glibc_binaries+=" ppc64? ( +# big-endian? ( $(ghc_binaries_gz_build_bin powerpc64-unknown-linux-gnu) ) +# !big-endian? ( $(ghc_binaries_gz_build_bin powerpc64le-unknown-linux-gnu) ) +#)" +#glibc_binaries+=" riscv? ( $(ghc_binaries_gz_build_bin riscv64-unknown-linux-gnu) )" +#glibc_binaries="$glibc_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )" +glibc_binaries+=" x86? ( $(ghc_binaries i686-pc-linux-gnu) )" + +#musl_binaries="$musl_binaries alpha? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-alpha.tbz2 )" +#musl_binaries="$musl_binaries amd64? ( https://eidetic.codes/ghc-bin-${PV}-x86_64-pc-linux-musl.tbz2 )" +#musl_binaries="$musl_binaries arm? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-armv7a-hardfloat-linux-musl.tbz2 )" +#musl_binaries="$musl_binaries arm64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-aarch64-unknown-linux-musl.tbz2 )" +#musl_binaries="$musl_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )" +#musl_binaries="$musl_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )" +#musl_binaries="$musl_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )" +#musl_binaries="$musl_binaries ppc64? ( !big-endian? ( https://github.com/matoro/ghc/releases/download/${PV}/ghc-bin-${PV}-powerpc64le-unknown-linux-musl.tar.gz ) )" +#musl_binaries="$musl_binaries riscv? ( https://github.com/matoro/ghc/releases/download/${PV}/ghc-bin-${PV}-riscv64-unknown-linux-musl.tar.gz )" +#musl_binaries="$musl_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )" +#musl_binaries="$musl_binaries x86? ( https://eidetic.codes/ghc-bin-${PV}-i686-pc-linux-musl.tbz2 )" + +[[ -n $glibc_binaries ]] && arch_binaries+=" elibc_glibc? ( $glibc_binaries )" +[[ -n $musl_binaries ]] && arch_binaries+=" elibc_musl? ( $musl_binaries )" + +# various ports: +#arch_binaries="$arch_binaries x86-fbsd? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86-fbsd.tbz2 )" + +# 0 - yet +yet_binary() { + case "${ELIBC}" in + glibc) + case "${ARCH}" in + #alpha) return 0 ;; + #arm64) return 0 ;; + #arm) return 0 ;; + amd64) return 0 ;; + #ia64) return 0 ;; + #ppc) return 0 ;; + #ppc64) return 0 ;; + #riscv) return 0 ;; + #sparc) return 0 ;; + x86) return 0 ;; + *) return 1 ;; + esac + ;; + musl) + case "${ARCH}" in + #alpha) return 0 ;; + #arm64) return 0 ;; + #arm) return 0 ;; + #amd64) return 0 ;; + #ia64) return 0 ;; + #ppc) return 0 ;; + #ppc64) + # use big-endian || return 0 + # ;; + #riscv) return 0 ;; + #sparc) return 0 ;; + #x86) return 0 ;; + *) return 1 ;; + esac + ;; + *) return 1 ;; + esac +} + +GHC_PV=${PV} +#GHC_PV=8.10.0.20200123 # uncomment only for -alpha, -beta, -rc ebuilds +GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct + +SRC_URI="!binary? ( + https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-src.tar.xz + test? ( https://downloads.haskell.org/ghc/${PV/_/-}/${GHC_P}-testsuite.tar.xz ) +)" +S="${WORKDIR}"/${GHC_P} + +[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )" + +BUMP_LIBRARIES=( + # "hackage-name hackage-version" +) + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp llvm numa profile test unregisterised" +IUSE+=" binary" +RESTRICT="!test? ( test )" + +LLVM_MAX_SLOT="14" +RDEPEND=" + >=dev-lang/perl-5.6.1 + dev-libs/gmp:0= + sys-libs/ncurses:=[unicode(+)] + elfutils? ( dev-libs/elfutils ) + !ghcmakebinary? ( dev-libs/libffi:= ) + numa? ( sys-process/numactl ) + llvm? ( + <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= + || ( + sys-devel/llvm:14 + ) + ) +" + +# This set of dependencies is needed to run +# prebuilt ghc. We specifically avoid ncurses +# dependency with: +# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING +PREBUILT_BINARY_DEPENDS=" + !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) ) +" +# This set of dependencies is needed to install +# ghc[binary] in system. terminfo package is linked +# against ncurses. +PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS} + sys-libs/ncurses:0/6 +" + +RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )" + +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-python/sphinx + dev-python/sphinx-rtd-theme + >=dev-libs/libxslt-1.1.2 ) + !ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} ) + test? ( ${PYTHON_DEPS} ) +" + +needs_python() { + # test driver is written in python + use test && return 0 + return 1 +} + +# we build binaries without profiling support +REQUIRED_USE=" + ?? ( ghcbootstrap binary ) + ?? ( profile binary ) + ?? ( llvm unregisterised ) +" + +# haskell libraries built with cabal in configure mode, #515354 +QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc" + +is_crosscompile() { + [[ ${CHOST} != ${CTARGET} ]] +} + +is_native() { + [[ ${CHOST} == ${CBUILD} ]] && [[ ${CHOST} == ${CTARGET} ]] +} + +if ! is_crosscompile; then + PDEPEND="!ghcbootstrap? ( >=app-admin/haskell-updater-1.2 )" +fi + +# returns tool prefix for crosscompiler. +# Example: +# CTARGET=armv7a-unknown-linux-gnueabi +# CHOST=x86_64-pc-linux-gnu +# "armv7a-unknown-linux-gnueabi-" +# CTARGET=${CHOST} +# "" +# Used in tools and library prefix: +# "${ED}"/usr/bin/$(cross)haddock +# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d" + +cross() { + if is_crosscompile; then + echo "${CTARGET}-" + else + echo "" + fi +} + +append-ghc-cflags() { + local persistent compile assemble link + local flag ghcflag + + for flag in $*; do + case ${flag} in + persistent) persistent="yes";; + compile) compile="yes";; + assemble) assemble="yes";; + link) link="yes";; + *) + [[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" && + [[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}" + [[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" && + [[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}" + [[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" && + [[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}" + ;; + esac + done +} + +# $1 - lib name (under libraries/) +# $2 - lib version +# example: bump_lib "transformers" "0.4.2.0" +bump_lib() { + local pn=$1 pv=$2 + local p=${pn}-${pv} + local f + + einfo "Bumping ${pn} up to ${pv}" + + for f in ghc.mk GNUmakefile; do + mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die + done + mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die + mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die +} + +update_SRC_URI() { + local p pn pv + for p in "${BUMP_LIBRARIES[@]}"; do + set -- $p + pn=$1 pv=$2 + + SRC_URI+=" https://hackage.haskell.org/package/${pn}-${pv}/${pn}-${pv}.tar.gz" + done +} + +update_SRC_URI + +bump_libs() { + local p pn pv + for p in "${BUMP_LIBRARIES[@]}"; do + set -- $p + pn=$1 pv=$2 + + bump_lib "${pn}" "${pv}" + done +} + +ghc_setup_cflags() { + # TODO: plumb CFLAGS and BUILD_CFLAGS to respective CONF_CC_OPTS_STAGE<N> + if ! is_native; then + export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"} + export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"} + einfo "Crosscompiling mode:" + einfo " CHOST: ${CHOST}" + einfo " CTARGET: ${CTARGET}" + einfo " CFLAGS: ${CFLAGS}" + einfo " LDFLAGS: ${LDFLAGS}" + einfo " prefix: $(cross)" + return + fi + # We need to be very careful with the CFLAGS we ask ghc to pass through to + # gcc. There are plenty of flags which will make gcc produce output that + # breaks ghc in various ways. The main ones we want to pass through are + # -mcpu / -march flags. These are important for arches like alpha & sparc. + # We also use these CFLAGS for building the C parts of ghc, ie the rts. + strip-flags + strip-unsupported-flags + + # Cmm can't parse line numbers #482086 + replace-flags -ggdb[3-9] -ggdb2 + + GHC_FLAGS="" + GHC_PERSISTENT_FLAGS="" + for flag in ${CFLAGS}; do + case ${flag} in + + # Ignore extra optimisation (ghc passes -O to gcc anyway) + # -O2 and above break on too many systems + -O*) ;; + + # Arch and ABI flags are what we're really after + -m*) append-ghc-cflags compile assemble ${flag};; + + # Sometimes it's handy to see backtrace of RTS + # to get an idea what happens there + -g*) append-ghc-cflags compile ${flag};; + + # Ignore all other flags, including all -f* flags + esac + done + + for flag in ${LDFLAGS}; do + append-ghc-cflags link ${flag} + done +} + +# substitutes string $1 to $2 in files $3 $4 ... +relocate_path() { + local from=$1 + local to=$2 + shift 2 + local file= + for file in "$@" + do + sed -i -e "s|$from|$to|g" \ + "$file" || die "path relocation failed for '$file'" + done +} + +# changes hardcoded ghc paths and updates package index +# $1 - new absolute root path +# $2 - ghc version unpacked in ${WORKDIR} +relocate_ghc() { + local to=$1 ghc_v=$2 + + # libdir for prebuilt binary and for current system may mismatch + # It does for prefix installation for example: bug #476998 + local bin_ghc_prefix=${WORKDIR}/usr + local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*) + local bin_libdir=${bin_libpath#${bin_ghc_prefix}/} + + # backup original script to use it later after relocation + local gp_back="${T}/ghc-pkg-${ghc_v}-orig" + cp "${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" "$gp_back" || die "unable to backup ghc-pkg wrapper" + + if [[ ${bin_libdir} != $(get_libdir) ]]; then + einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)" + # moving the dir itself is not strictly needed + # but then USE=binary would result in installing + # in '${bin_libdir}' + mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die + + relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \ + "${WORKDIR}/usr/bin/ghc-${ghc_v}" \ + "${WORKDIR}/usr/bin/ghci-${ghc_v}" \ + "${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \ + "${WORKDIR}/usr/bin/hsc2hs" \ + "${WORKDIR}/usr/bin/runghc-${ghc_v}" \ + "$gp_back" \ + "${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"* + fi + + # Relocate from /usr to ${EPREFIX}/usr + relocate_path "/usr" "${to}/usr" \ + "${WORKDIR}/usr/bin/ghc-${ghc_v}" \ + "${WORKDIR}/usr/bin/ghci-${ghc_v}" \ + "${WORKDIR}/usr/bin/ghc-pkg-${ghc_v}" \ + "${WORKDIR}/usr/bin/haddock-ghc-${ghc_v}" \ + "${WORKDIR}/usr/bin/hp2ps" \ + "${WORKDIR}/usr/bin/hpc" \ + "${WORKDIR}/usr/bin/hsc2hs" \ + "${WORKDIR}/usr/bin/runghc-${ghc_v}" \ + "${WORKDIR}/usr/$(get_libdir)/${PN}-${ghc_v}/package.conf.d/"* + + # this one we will use to regenerate cache + # so it should point to current tree location + relocate_path "/usr" "${WORKDIR}/usr" "$gp_back" + + if use prefix; then + hprefixify "${bin_libpath}"/${PN}*/settings + fi + + # regenerate the binary package cache + "$gp_back" recache || die "failed to update cache after relocation" + rm "$gp_back" +} + +ghc-check-reqs() { + # These are pessimistic values (slightly bigger than worst-case) + # Worst case is UNREG USE=profile ia64. See bug #611866 for some + # numbers on various arches. + CHECKREQS_DISK_BUILD=8G + CHECKREQS_DISK_USR=2G + # USE=binary roughly takes + use binary && CHECKREQS_DISK_BUILD=4G + + "$@" +} + +llvmize() { + [[ -z "${1}" ]] && return + ( find "${1}" -type f \ + | file -if- \ + | grep "text/x-shellscript" \ + | awk -F: '{print $1}' \ + | xargs sed -i "s#^exec #PATH=\"$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin:\${PATH}\" exec #") || die +} + +ghc-check-bootstrap-version () { + local diemsg version python_output + ebegin "Checking for appropriate installed GHC version for bootstrapping" + if version=$(ghc-version); then + if ver_test "${version}" -lt "9.1.0"; then + eend 0 + return 0 + else + diemsg="Inappropriate GHC version for bootstrapping: ${version}" + fi + else + diemsg="Could not find installed GHC for bootstrapping" + fi + + eend 1 + eerror "USE=ghcbootstrap _requires_ an existing GHC already installed on the system." + eerror "Furthermore, current technical limitations require that ghc-9.2.* _must_ be" + eerror "bootstrapped by ghc-9.0.* or earlier. This may be changed in a later update." + die "$diemsg" +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use ghcbootstrap && ghc-check-bootstrap-version + ghc-check-reqs check-reqs_pkg_pretend +} + +pkg_setup() { + ghc-check-reqs check-reqs_pkg_setup + + # quiet portage about prebuilt binaries + use binary && QA_PREBUILT="*" + + [[ ${MERGE_TYPE} == binary ]] && return + + if use ghcbootstrap; then + ewarn "You requested ghc bootstrapping, this is usually only used" + ewarn "by Gentoo developers to make binary .tbz2 packages." + + [[ -z $(type -P ghc) ]] && \ + die "Could not find a ghc to bootstrap with." + else + if ! yet_binary; then + eerror "Please try emerging with USE=ghcbootstrap and report build" + eerror "success or failure to the haskell team (haskell@gentoo.org)" + die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap" + fi + fi + + if needs_python; then + python-any-r1_pkg_setup + fi + + use llvm && llvm_pkg_setup +} + +src_unpack() { + # Create the ${S} dir if we're using the binary version + use binary && mkdir "${S}" + + # the Solaris and Darwin binaries from ghc (maeder) need to be + # unpacked separately, so prevent them from being unpacked + local ONLYA=${A} + case ${CHOST} in + *-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;; + esac + unpacker ${ONLYA} +} + +src_prepare() { + # Force the use of C.utf8 locale + # <https://github.com/gentoo-haskell/gentoo-haskell/issues/1287> + # <https://github.com/gentoo-haskell/gentoo-haskell/issues/1289> + export LC_ALL=C.utf8 + + if use binary; then + local bin_pv="${BIN_PV}" + local bin_pvr="${BIN_PVR}" + else + local bin_pv="${BUILD_BIN_PV}" + local bin_pvr="${BUILD_BIN_PVR}" + fi + + ghc_setup_cflags + + if ! use ghcbootstrap; then + # The switch to gpkg binaries means that they are unpacked in the wrong + # location. They are now unnpacked in the $orig_bindir and need to be + # moved so that usr/ is in $WORKDIR. + local orig_bindir="${WORKDIR}/${PN}-${bin_pvr}" + mv -v "${orig_bindir}/image/usr" "${WORKDIR}" || die + + if [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then + # Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS. + # See bug #313635. + sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \ + "${WORKDIR}/usr/bin/ghc-${bin_pv}" + + # allow hardened users use vanilla binary to bootstrap ghc + # ghci uses mmap with rwx protection at it implements dynamic + # linking on it's own (bug #299709) + pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${PN}-${bin_pv}/bin/ghc" + fi + fi + + use llvm && ! use ghcbootstrap && llvmize "${WORKDIR}/usr/bin" + + # binpkg may have been built with FEATURES=splitdebug + if [[ -d "${WORKDIR}/usr/lib/debug" ]] ; then + rm -rf "${WORKDIR}/usr/lib/debug" || die + fi + find "${WORKDIR}/usr/lib" -type d -empty -delete 2>/dev/null # do not die on failure here + + # ffi headers don't get included in the binpkg for some reason + for f in "${WORKDIR}/usr/$(get_libdir)/${PN}-${bin_pv}/include/"{ffi.h,ffitarget.h} + do + mkdir -p "$(dirname "${f}")" + [[ -e "${f}" ]] || ln -sf "$($(tc-getPKG_CONFIG) --cflags-only-I libffi | sed "s/-I//g" | tr -d " ")/$(basename "${f}")" "${f}" || die + done + + if use binary; then + if use prefix; then + relocate_ghc "${EPREFIX}" "${bin_pv}" + fi + + # Move unpacked files to the expected place + mv "${WORKDIR}/usr" "${S}" + eapply_user + else + if ! use ghcbootstrap; then + case ${CHOST} in + *-darwin* | *-solaris*) + # UPDATE ME for ghc-7 + mkdir "${WORKDIR}"/ghc-bin-installer || die + pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die + use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2 + use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2 + use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2 + use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2 + popd > /dev/null + + pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die + # fix the binaries so they run, on Solaris we need an + # LD_LIBRARY_PATH which has our prefix libdirs, on + # Darwin we need to replace the frameworks with our libs + # from the prefix fix before installation, because some + # of the tools are actually used during configure/make + if [[ ${CHOST} == *-solaris* ]] ; then + export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + elif [[ ${CHOST} == *-darwin* ]] ; then + local readline_framework=GNUreadline.framework/GNUreadline + local gmp_framework=/opt/local/lib/libgmp.10.dylib + local ncurses_file=/opt/local/lib/libncurses.5.dylib + for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do + install_name_tool -change \ + ${readline_framework} \ + "${EPREFIX}"/lib/libreadline.dylib \ + ${binary} || die + install_name_tool -change \ + ${gmp_framework} \ + "${EPREFIX}"/usr/lib/libgmp.dylib \ + ${binary} || die + install_name_tool -change \ + ${ncurses_file} \ + "${EPREFIX}"/usr/lib/libncurses.dylib \ + ${binary} || die + done + # we don't do frameworks! + sed -i \ + -e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \ + -e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \ + rts/package.conf.in || die + fi + + # it is autoconf, but we really don't want to give it too + # many arguments, in fact we do the make in-place anyway + ./configure --prefix="${WORKDIR}"/usr || die + make install || die + popd > /dev/null + ;; + *) + relocate_ghc "${WORKDIR}" "${bin_pv}" + ;; + esac + fi + + sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \ + "${S}/ghc/ghc.wrapper" + + cd "${S}" # otherwise eapply will break + + #eapply "${FILESDIR}"/${PN}-9.0.2-CHOST-prefix.patch + #eapply "${FILESDIR}"/${PN}-9.0.2-darwin.patch + + # ModUnusable pretty-printing should include the reason + eapply "${FILESDIR}/${PN}-9.0.2-verbose-modunusable.patch" + + # Fixes panic when compiling some packages + # https://github.com/gentoo-haskell/gentoo-haskell/issues/1250#issuecomment-1044257595 + # https://gitlab.haskell.org/ghc/ghc/-/issues/21097 + eapply "${FILESDIR}/${PN}-9.2.7-modorigin-semigroup.patch" + + # Needed for testing with python-3.10 + #use test && eapply "${FILESDIR}/${PN}-9.0.2-fix-tests-python310.patch" + + #needs a port? + #eapply "${FILESDIR}"/${PN}-8.8.1-revert-CPP.patch + eapply "${FILESDIR}"/${PN}-8.10.1-allow-cross-bootstrap.patch + #eapply "${FILESDIR}"/${PN}-8.10.3-C99-typo-ac270.patch + eapply "${FILESDIR}"/${PN}-9.0.2-disable-unboxed-arrays.patch + eapply "${FILESDIR}"/${PN}-9.0.2-llvm-13.patch + eapply "${FILESDIR}"/${PN}-9.0.2-llvm-14.patch + + # a bunch of crosscompiler patches + # needs newer version: + #eapply "${FILESDIR}"/${PN}-8.2.1_rc1-hp2ps-cross.patch + + # https://gitlab.haskell.org/ghc/ghc/-/issues/22965 + #eapply "${FILESDIR}/${PN}-9.2.6-fix-alignment-of-capability.patch" + eapply "${FILESDIR}"/${PN}-9.0.2-sphinx-6.patch + + # FIXME: A hack that allows dev-python/sphinx-7 to build the docs + # + # GHC has updated the bundled version here: + # <https://gitlab.haskell.org/ghc/ghc/-/commit/70526f5bd8886126f49833ef20604a2c6477780a> + # However, the patch is difficult to apply and our versions of GHC don't + # have the update, so we symlink to the system version instead. + if use doc; then + local rtd_theme_dir="$(dirname $(python -c "import sphinx_rtd_theme; print(sphinx_rtd_theme.__file__)"))" + local orig_rtd_theme_dir="${S}/docs/users_guide/rtd-theme" + + ebegin "Replacing bundled rtd-theme with dev-python/sphinx-rtd-theme" + rm -r "${orig_rtd_theme_dir}" || die + ln -s "${rtd_theme_dir}" "${orig_rtd_theme_dir}" || die + eend 0 + fi + + # mingw32 target + pushd "${S}/libraries/Win32" + eapply "${FILESDIR}"/${PN}-8.2.1_rc1-win32-cross-2-hack.patch # bad workaround + popd + + bump_libs + + eapply_user + # as we have changed the build system + eautoreconf + fi +} + +src_configure() { + if ! use binary; then + # initialize build.mk + echo '# Gentoo changes' > mk/build.mk + + # Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV} + echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${PF}" >> mk/build.mk + echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${PF}" >> mk/build.mk + + # We also need to use the GHC_FLAGS flags when building ghc itself + echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk + echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk + echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk + # Speed up initial Cabal bootstrap + echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk + + # We can't depend on haddock except when bootstrapping when we + # must build docs and include them into the binary .tbz2 package + # app-text/dblatex is not in portage, can not build PDF or PS + echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk + echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk + echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk + + # this controls presence on 'xhtml' and 'haddock' in final install + echo "HADDOCK_DOCS = YES" >> mk/build.mk + + # not used outside of ghc's test + if [[ -n ${GHC_BUILD_DPH} ]]; then + echo "BUILD_DPH = YES" >> mk/build.mk + else + echo "BUILD_DPH = NO" >> mk/build.mk + fi + + # Any non-native build has to skip as it needs + # target haddock binary to be runnabine. + if ! is_native; then + # disable docs generation as it requires running stage2 + echo "HADDOCK_DOCS=NO" >> mk/build.mk + echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk + echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk + fi + + if is_crosscompile; then + # Install ghc-stage1 crosscompiler instead of + # ghc-stage2 cross-built compiler. + echo "Stage1Only=YES" >> mk/build.mk + fi + + # allows overriding build flavours for libraries: + # v - vanilla (static libs) + # p - profiled + # dyn - shared libraries + # example: GHC_LIBRARY_WAYS="v dyn" + if [[ -n ${GHC_LIBRARY_WAYS} ]]; then + echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk + fi + echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk + + # Get ghc from the unpacked binary .tbz2 + # except when bootstrapping we just pick ghc up off the path + if ! use ghcbootstrap; then + export PATH="${WORKDIR}/usr/bin:${PATH}" + fi + + echo "BIGNUM_BACKEND = $(usex gmp gmp native)" >> mk/build.mk + + # don't strip anything. Very useful when stage2 SIGSEGVs on you + echo "STRIP_CMD = :" >> mk/build.mk + + local econf_args=() + + # GHC embeds toolchain it was built by and uses it later. + # Don't allow things like ccache or versioned binary slip. + # We use stable thing across gcc upgrades. + # User can use EXTRA_ECONF=CC=... to override this default. + econf_args+=( + AR=${CTARGET}-ar + CC=${CTARGET}-gcc + # these should be inferred by GHC but ghc defaults + # to using bundled tools on windows. + Windres=${CTARGET}-windres + DllWrap=${CTARGET}-dllwrap + # we set the linker explicitly below + --disable-ld-override + ) + case ${CTARGET} in + arm*) + # ld.bfd-2.28 does not work for ghc. Force ld.gold + # instead. This should be removed once gentoo gets + # a fix for R_ARM_COPY bug: https://sourceware.org/PR16177 + econf_args+=(LD=${CTARGET}-ld.gold) + ;; + sparc*) + # ld.gold-2.28 does not work for ghc. Force ld.bfd + # instead. This should be removed once gentoo gets + # a fix for missing --no-relax support bug: + # https://sourceware.org/ml/binutils/2017-07/msg00183.html + econf_args+=(LD=${CTARGET}-ld.bfd) + ;; + *) + econf_args+=(LD=${CTARGET}-ld) + esac + + if [[ ${CBUILD} != ${CHOST} ]]; then + # GHC bug: ghc claims not to support cross-building. + # It does, but does not distinct --host= value + # for stage1 and stage2 compiler. + econf_args+=(--host=${CBUILD}) + fi + + if use ghcmakebinary; then + # When building booting library we are trying to + # bundle or restrict most of external depends + # with unstable ABI: + # - embed libffi (default GHC behaviour) + # - disable ncurses support for ghci (via haskeline) + # https://bugs.gentoo.org/557478 + # - disable ncurses support for ghc-pkg + echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk + echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk + elif is_native; then + # using ${GTARGET}'s libffi is not supported yet: + # GHC embeds full path for ffi includes without /usr/${CTARGET} account. + econf_args+=(--with-system-libffi) + econf_args+=(--with-ffi-includes=$($(tc-getPKG_CONFIG) libffi --cflags-only-I | sed -e 's@^-I@@')) + fi + + einfo "Final mk/build.mk:" + cat mk/build.mk || die + + econf ${econf_args[@]} \ + --enable-bootstrap-with-devel-snapshot \ + $(use_enable elfutils dwarf-unwind) \ + $(use_enable numa) \ + $(use_enable unregisterised) + + if [[ ${PV} == *9999* ]]; then + GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')" + GHC_P=${PN}-${GHC_PV} + fi + fi # ! use binary +} + +src_compile() { + if ! use binary; then + # Stage1Only crosscompiler does not build stage2 + if ! is_crosscompile; then + # 1. build/pax-mark compiler binary first + emake ghc/stage2/build/tmp/ghc-stage2 + # 2. pax-mark (bug #516430) + pax-mark -m ghc/stage2/build/tmp/ghc-stage2 + # 2. build/pax-mark haddock using ghc-stage2 + if is_native; then + # non-native build does not build haddock + # due to HADDOCK_DOCS=NO, but it could. + emake utils/haddock/dist/build/tmp/haddock + pax-mark -m utils/haddock/dist/build/tmp/haddock + fi + fi + # 3. and then all the rest + emake all + fi # ! use binary +} + +src_test() { + # TODO: deal with: + # - sandbox (pollutes environment) + # - extra packages (to extend testsuite coverage) + # bits are taken from 'validate' + local make_test_target='test' # can be fulltest + # not 'emake' as testsuite uses '$MAKE' without jobserver available + make $make_test_target stage=2 THREADS=$(makeopts_jobs) +} + +src_install() { + if use binary; then + use prefix && mkdir -p "${ED}" + mv "${S}/usr" "${ED}" + else + [[ -f VERSION ]] || emake VERSION + + # -j1 due to a rare race in install script: + # make --no-print-directory -f ghc.mk phase=final install + # /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 755 \ + # -d "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404/include" + # /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 utils/hsc2hs/template-hsc.h \ + # "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404" + # /usr/bin/install: cannot create regular file \ + # '/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404': No such file or directory + emake -j1 install DESTDIR="${D}" + + use llvm && llvmize "${ED}/usr/bin" + + # Skip for cross-targets as they all share target location: + # /usr/share/doc/ghc-9999/ + if ! is_crosscompile; then + dodoc "distrib/README" "LICENSE" "VERSION" + fi + + # rename ghc-shipped files to avoid collision + # of external packages. Motivating example: + # user had installed: + # dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0) + # dev-haskell/transformers-0.4.2.0 + # then user tried to update to + # dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0) + # this will lead to single .conf file collision. + local shipped_conf renamed_conf + local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d" + for shipped_conf in "${package_confdir}"/*.conf; do + # rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf' + renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf + mv "${shipped_conf}" "${renamed_conf}" || die + done + + # remove link, but leave 'haddock-${GHC_P}' + rm -f "${ED}"/usr/bin/$(cross)haddock + + if ! is_crosscompile; then + newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg + newbashcomp utils/completion/ghc.bash ghc + fi + fi + + # path to the package.cache + local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d" + PKGCACHE="${package_confdir}"/package.cache + # copy the package.conf.d, including timestamp, save it so we can help + # users that have a broken package.conf.d + cp -pR "${package_confdir}"{,.initial} || die "failed to backup initial package.conf.d" + + # copy the package.conf, including timestamp, save it so we later can put it + # back before uninstalling, or when upgrading. + cp -p "${PKGCACHE}"{,.shipped} \ + || die "failed to copy package.conf.d/package.cache" + + if is_crosscompile; then + # When we build a cross-compiler the layout is the following: + # usr/lib/${CTARGET}-ghc-${VER}/ contains target libraries + # but + # usr/lib/${CTARGET}-ghc-${VER}/bin/ directory + # containst host binaries (modulo bugs). + + # Portage's stripping mechanism does not skip stripping + # foreign binaries. This frequently causes binaries to be + # broken. + # + # Thus below we disable stripping of target libraries and allow + # stripping hosts executables. + dostrip -x "/usr/$(get_libdir)/$(cross)${GHC_P}" + dostrip "/usr/$(get_libdir)/$(cross)${GHC_P}/bin" + fi +} + +pkg_preinst() { + # have we got an earlier version of ghc installed? + if has_version "<${CATEGORY}/${PF}"; then + haskell_updater_warn="1" + fi +} + +pkg_postinst() { + ghc-reregister + + # path to the package.cache + PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache" + + # give the cache a new timestamp, it must be as recent as + # the package.conf.d directory. + touch "${PKGCACHE}" + + if [[ "${haskell_updater_warn}" == "1" ]]; then + ewarn + ewarn "\e[1;31m************************************************************************\e[0m" + ewarn + ewarn "You have just upgraded from an older version of GHC." + ewarn "You may have to run" + ewarn " 'haskell-updater'" + ewarn "to rebuild all ghc-based Haskell libraries." + ewarn + ewarn "\e[1;31m************************************************************************\e[0m" + ewarn + fi +} + +pkg_prerm() { + PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache" + rm -rf "${PKGCACHE}" + + cp -p "${PKGCACHE}"{.shipped,} +} + +pkg_postrm() { + ghc-package_pkg_postrm +} diff --git a/dev-lang/whitespace/whitespace-0.4.ebuild b/dev-lang/whitespace/whitespace-0.4.ebuild index 33f2f4a86a3e..f414d74d0276 100644 --- a/dev-lang/whitespace/whitespace-0.4.ebuild +++ b/dev-lang/whitespace/whitespace-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.7.9999 diff --git a/dev-util/shellcheck/metadata.xml b/dev-util/shellcheck/metadata.xml index 937381521944..792eb9603797 100644 --- a/dev-util/shellcheck/metadata.xml +++ b/dev-util/shellcheck/metadata.xml @@ -5,4 +5,8 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> + <upstream> + <remote-id type="hackage">ShellCheck</remote-id> + <remote-id type="github">koalaman/shellcheck</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-util/shellcheck/shellcheck-0.9.0-r2.ebuild b/dev-util/shellcheck/shellcheck-0.9.0-r2.ebuild new file mode 100644 index 000000000000..c6c9cfada7db --- /dev/null +++ b/dev-util/shellcheck/shellcheck-0.9.0-r2.ebuild @@ -0,0 +1,51 @@ +# 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=1 +CABAL_PN="ShellCheck" + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Shell script analysis tool" +HOMEPAGE="https://www.shellcheck.net/" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +# hololeap (2023-09-10) +# 1 test fails +# === prop_checkOverwrittenExitCode8 from src/ShellCheck/Analytics.hs:4927 === +# *** Failed! Exception: '(Array.!): undefined array element' (after 1 test): +RESTRICT="test" + +CABAL_CHDEPS=( + +# hololeap (2023-09-02) +# This is from the upstream git repo +# See: <https://github.com/koalaman/shellcheck/pull/2749#issuecomment-1703896093> + 'fgl >= 5.7.0 && < 5.8.1.0' + 'fgl (>= 5.7.0 && < 5.8.1.0) || (>= 5.8.1.1 && < 5.9)' +) + +RDEPEND=" + >=dev-haskell/aeson-1.4.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?] + >=dev-haskell/diff-0.4.0:=[profile?] <dev-haskell/diff-0.5:=[profile?] + >=dev-haskell/parsec-3.1.14:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-haskell/quickcheck-2.14.2:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] + >=dev-haskell/regex-tdfa-1.2.0:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?] + >=dev-lang/ghc-8.10.6:= + || ( + ( >=dev-haskell/fgl-5.7.0 <dev-haskell/fgl-5.8.1.0 ) + ( >=dev-haskell/fgl-5.8.1.1 <dev-haskell/fgl-5.9 ) + ) + dev-haskell/fgl:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" diff --git a/dev-util/shellcheck/shellcheck-0.9.0.ebuild b/dev-util/shellcheck/shellcheck-0.9.0.ebuild deleted file mode 100644 index 5346582375d4..000000000000 --- a/dev-util/shellcheck/shellcheck-0.9.0.ebuild +++ /dev/null @@ -1,30 +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.8.0.0.9999 - -CABAL_HACKAGE_REVISION=1 -CABAL_PN="ShellCheck" - -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" -inherit haskell-cabal - -DESCRIPTION="Shell script analysis tool" -HOMEPAGE="https://www.shellcheck.net/" - -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=">=dev-haskell/aeson-1.4.0:=[profile?] <dev-haskell/aeson-2.2:=[profile?] - >=dev-haskell/diff-0.4.0:=[profile?] <dev-haskell/diff-0.5:=[profile?] - >=dev-haskell/fgl-5.7.0:=[profile?] <dev-haskell/fgl-5.8.1.0:=[profile?] - >=dev-haskell/quickcheck-2.14.2:2=[profile?] <dev-haskell/quickcheck-2.15:2=[profile?] - >=dev-haskell/regex-tdfa-1.2.0:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?] - >=dev-lang/ghc-8.8.1:= -" -DEPEND="${RDEPEND} - >=dev-haskell/cabal-3.0.0.0 -" diff --git a/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild index d663fbfaf753..9ad55469b1f2 100644 --- a/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild +++ b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 CABAL_FEATURES="" inherit haskell-cabal diff --git a/dev-vcs/darcs/darcs-2.16.5-r2.ebuild b/dev-vcs/darcs/darcs-2.16.5-r5.ebuild index 08e3e750800a..a6159b1da38d 100644 --- a/dev-vcs/darcs/darcs-2.16.5-r2.ebuild +++ b/dev-vcs/darcs/darcs-2.16.5-r5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -# ebuild generated by hackport 0.7.1.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: +library,+executable,-hpc,-warn-as-error,+pkgconfig,-rts,-static,-optimize,hashed-storage-diff:diff,+http CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" @@ -11,49 +11,67 @@ inherit haskell-cabal DESCRIPTION="a distributed, interactive, smart revision control system" HOMEPAGE="http://darcs.net/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="curl +terminfo +threaded" -RDEPEND=">=dev-haskell/async-2.0.2:=[profile?] <dev-haskell/async-2.3:=[profile?] +CABAL_CHDEPS=( + 'constraints >= 0.11 && < 0.13' 'constraints >=0.11' + 'hashable >= 1.2.3.3 && < 1.4' 'hashable >=1.2.3.3' + 'attoparsec >= 0.13.0.1 && < 0.14' 'attoparsec >=0.13.0.1' + 'regex-tdfa >= 1.3.1.0 && < 1.3.2' 'regex-tdfa >= 1.3.1.0' + 'cryptonite >= 0.24 && < 0.30' 'cryptonite >=0.24' + 'memory >= 0.14 && < 0.17' 'memory >= 0.14' + 'fgl >= 5.5.2.3 && < 5.8' 'fgl >=5.5.2.3' + 'base >= 4.10 && < 4.16' 'base >= 4.10' + 'base >= 4.10 && < 4.16' 'base >= 4.10' + 'bytestring >= 0.10.6 && < 0.11' 'bytestring >= 0.10.6' + 'time >= 1.5.0.1 && < 1.10' 'time >= 1.5.0.1' + 'unix-compat >= 0.5 && < 0.6' 'unix-compat >= 0.5' +) + +RDEPEND=" + >=dev-haskell/async-2.0.2:=[profile?] <dev-haskell/async-2.3:=[profile?] >=dev-haskell/attoparsec-0.13.0.1:=[profile?] >=dev-haskell/base16-bytestring-0.1.1.7:=[profile?] <dev-haskell/base16-bytestring-1.1:=[profile?] >=dev-haskell/conduit-1.3.0:=[profile?] <dev-haskell/conduit-1.4:=[profile?] >=dev-haskell/constraints-0.11:=[profile?] - >=dev-haskell/cryptonite-0.24:=[profile?] <dev-haskell/cryptonite-0.30:=[profile?] + >=dev-haskell/cryptonite-0.24:=[profile?] >=dev-haskell/data-ordlist-0.4:=[profile?] <dev-haskell/data-ordlist-0.5:=[profile?] - >=dev-haskell/fgl-5.5.2.3:=[profile?] <dev-haskell/fgl-5.8:=[profile?] + >=dev-haskell/fgl-5.5.2.3:=[profile?] >=dev-haskell/hashable-1.2.3.3:=[profile?] >=dev-haskell/haskeline-0.7.2:=[profile?] <dev-haskell/haskeline-0.9:=[profile?] >=dev-haskell/html-1.0.1.2:=[profile?] <dev-haskell/html-1.1:=[profile?] >=dev-haskell/http-conduit-2.3:=[profile?] <dev-haskell/http-conduit-2.4:=[profile?] >=dev-haskell/http-types-0.12.1:=[profile?] <dev-haskell/http-types-0.12.4:=[profile?] - >=dev-haskell/memory-0.14:=[profile?] <dev-haskell/memory-0.17:=[profile?] + >=dev-haskell/memory-0.14:=[profile?] >=dev-haskell/mmap-0.5.9:=[profile?] <dev-haskell/mmap-0.6:=[profile?] >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-3.2:=[profile?] >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.8:=[profile?] >=dev-haskell/old-time-1.1.0.3:=[profile?] <dev-haskell/old-time-1.2:=[profile?] + >=dev-haskell/parsec-3.1.9:=[profile?] <dev-haskell/parsec-3.2:=[profile?] >=dev-haskell/regex-applicative-0.2:=[profile?] <dev-haskell/regex-applicative-0.4:=[profile?] >=dev-haskell/regex-base-0.94.0.1:=[profile?] <dev-haskell/regex-base-0.94.1:=[profile?] - >=dev-haskell/regex-tdfa-1.3.1.0:=[profile?] <dev-haskell/regex-tdfa-1.4:=[profile?] - >=dev-haskell/stm-2.1:=[profile?] <dev-haskell/stm-2.6:=[profile?] + >=dev-haskell/regex-tdfa-1.3.1.0:=[profile?] >=dev-haskell/tar-0.5:=[profile?] <dev-haskell/tar-0.6:=[profile?] >=dev-haskell/temporary-1.2.1:=[profile?] <dev-haskell/temporary-1.4:=[profile?] - >=dev-haskell/unix-compat-0.5:=[profile?] <dev-haskell/unix-compat-0.6:=[profile?] + >=dev-haskell/text-1.2.1.3:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/unix-compat-0.5:=[profile?] >=dev-haskell/utf8-string-1:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.13:=[profile?] >=dev-haskell/zip-archive-0.3:=[profile?] <dev-haskell/zip-archive-0.5:=[profile?] >=dev-haskell/zlib-0.6.1.2:=[profile?] <dev-haskell/zlib-0.7.0.0:=[profile?] - >=dev-lang/ghc-8.4.3:= - curl? ( net-misc/curl ) + >=dev-lang/ghc-8.10.6:= + curl? ( + net-misc/curl + ) " DEPEND="${RDEPEND} - >=dev-haskell/cabal-2.4 <dev-haskell/cabal-3.7 - test? ( >=dev-haskell/cmdargs-0.10.10 <dev-haskell/cmdargs-0.11 - >=dev-haskell/exceptions-0.6 + >=dev-haskell/cabal-3.2.1.0 <dev-haskell/cabal-3.7 + test? ( + >=dev-haskell/cmdargs-0.10.10 <dev-haskell/cmdargs-0.11 >=dev-haskell/findbin-0.0.5 <dev-haskell/findbin-0.1 >=dev-haskell/hunit-1.3 <dev-haskell/hunit-1.7 >=dev-haskell/leancheck-0.9 <dev-haskell/leancheck-0.10 @@ -65,18 +83,18 @@ DEPEND="${RDEPEND} >=dev-haskell/test-framework-hunit-0.3.0.2 <dev-haskell/test-framework-hunit-0.4 >=dev-haskell/test-framework-leancheck-0.0.1 <dev-haskell/test-framework-leancheck-0.1 >=dev-haskell/test-framework-quickcheck2-0.3.0.3 <dev-haskell/test-framework-quickcheck2-0.4 - dev-haskell/transformers-base ) - curl? ( virtual/pkgconfig ) + dev-haskell/transformers-base + ) + curl? ( + virtual/pkgconfig + ) " -src_prepare() { - default - - cabal_chdeps \ - 'constraints >= 0.11 && < 0.13' 'constraints >=0.11' \ - 'hashable >= 1.2.3.3 && < 1.4' 'hashable >=1.2.3.3' \ - 'attoparsec >= 0.13.0.1 && < 0.14' 'attoparsec >=0.13.0.1' \ - 'regex-tdfa >= 1.3.1.0 && < 1.3.2' 'regex-tdfa >= 1.3.1.0' +pkg_pretend() { + if use test; then + ewarn "Tests take a very long time to complete. You may want to disable them" + ewarn "on older machines." + fi } src_configure() { diff --git a/dev-vcs/darcs/metadata.xml b/dev-vcs/darcs/metadata.xml index 8bb74459783f..6a3e81bd0e0e 100644 --- a/dev-vcs/darcs/metadata.xml +++ b/dev-vcs/darcs/metadata.xml @@ -1,11 +1,16 @@ <?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> -</maintainer> -<use> - <flag name="terminfo">Use the terminfo package for enhanced console support.</flag> - <flag name="threaded">Use threading and SMP support.</flag> -</use> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <use> + <flag name="curl">Use libcurl for HTTP support.</flag> + <flag name="terminfo">Use the terminfo package for enhanced console support.</flag> + <flag name="threaded">Use threading and SMP support.</flag> + </use> + <upstream> + <remote-id type="hackage">darcs</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-vcs/git-annex/Manifest b/dev-vcs/git-annex/Manifest index c503006cabac..6467c7376d43 100644 --- a/dev-vcs/git-annex/Manifest +++ b/dev-vcs/git-annex/Manifest @@ -1 +1,2 @@ DIST git-annex-10.20220624.tar.gz 1426982 BLAKE2B fa3a105f9677c51dfb1a44984ac80a377380ff5e2c69486f6f213fcb709c2280c66b8d856f004016f97751abea3faeca8756663c0af19616ed237d8e4d9d25f9 SHA512 4269c3408c9368283ab280c7231953ad95687b5ff84c1e9cb725d5ed6eb4da9384c48de33e4265d2fd8b1352eea47bffaac7d335d2c998149555b050f80a75af +DIST git-annex-10.20230802.tar.gz 1481981 BLAKE2B 5c7bf5695fb62f9d1aecf4e1a65d1bee726a55396efc5ccd9881bd0086dee4b679814ccaaf9ac5bf191b46b629b6dc86f43aed4cdc32423af35ede745ddf7219 SHA512 6d8235cfcc9993c3db415b606ebb818183df313531c14be85a7ae353e1822dc22250aa25ed60153e75732e846319e5f20f714354f45029776060b4a838a26471 diff --git a/dev-vcs/git-annex/git-annex-10.20230802.ebuild b/dev-vcs/git-annex/git-annex-10.20230802.ebuild new file mode 100644 index 000000000000..36f22413658b --- /dev/null +++ b/dev-vcs/git-annex/git-annex-10.20230802.ebuild @@ -0,0 +1,142 @@ +# 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: -production,-android,-androidsplice,-testsuite,+networkbsd + +CABAL_FEATURES="" +inherit haskell-cabal bash-completion-r1 desktop + +DESCRIPTION="manage files with git, without checking their contents into git" +HOMEPAGE="https://git-annex.branchable.com/" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="+assistant +benchmark +dbus debug +gitlfs +magicmime +pairing +torrentparser" + +GHC_BOOTSTRAP_PACKAGES=( + async + filepath-bytestring + split + unix-compat +) + +RDEPEND="dev-haskell/aeson:= + >=dev-haskell/ansi-terminal-0.9:= + dev-haskell/async:= + >=dev-haskell/attoparsec-0.13.2.2:= + >=dev-haskell/aws-0.20:= + >=dev-haskell/bloomfilter-2.0.0:= + dev-haskell/byteable:= + dev-haskell/case-insensitive:= + >=dev-haskell/concurrent-output-1.10:= + dev-haskell/conduit:= + dev-haskell/crypto-api:= + >=dev-haskell/cryptonite-0.23:= + dev-haskell/data-default:= + >=dev-haskell/dav-1.0:= + dev-haskell/disk-free-space:= + dev-haskell/dlist:= + dev-haskell/edit-distance:= + >=dev-haskell/feed-1.0.0:= + >=dev-haskell/filepath-bytestring-1.4.2.1.1:= + dev-haskell/free:= + >=dev-haskell/http-client-0.5.3:= + >=dev-haskell/http-client-restricted-0.0.2:= + dev-haskell/http-client-tls:= + >=dev-haskell/http-conduit-2.3.0:= + >=dev-haskell/http-types-0.7:= + dev-haskell/ifelse:= + dev-haskell/memory:= + dev-haskell/microlens:= + dev-haskell/monad-control:= + >=dev-haskell/monad-logger-0.3.10:= + >=dev-haskell/network-3.0.0.0:= + dev-haskell/network-bsd:= + >=dev-haskell/network-uri-2.6:= + dev-haskell/old-locale:= + >=dev-haskell/optparse-applicative-0.14.2:= + >=dev-haskell/persistent-2.8.1:= + >=dev-haskell/persistent-sqlite-2.8.1:= + dev-haskell/persistent-template:= + >=dev-haskell/quickcheck-2.10.0:2= + dev-haskell/random:= + dev-haskell/regex-tdfa:= + dev-haskell/resourcet:= + dev-haskell/safesemaphore:= + dev-haskell/sandi:= + dev-haskell/securemem:= + dev-haskell/socks:= + dev-haskell/split:= + dev-haskell/stm-chans:= + dev-haskell/tagsoup:= + >=dev-haskell/tasty-1.2:= + dev-haskell/tasty-hunit:= + dev-haskell/tasty-quickcheck:= + dev-haskell/tasty-rerun:= + dev-haskell/text:= + >=dev-haskell/unix-compat-0.5:= <dev-haskell/unix-compat-0.8:= + dev-haskell/unliftio-core:= + dev-haskell/unordered-containers:= + dev-haskell/utf8-string:= + >=dev-haskell/uuid-1.2.6:= + dev-haskell/vector:= + >=dev-lang/ghc-8.10.1:= + assistant? ( dev-haskell/blaze-builder:= + dev-haskell/clientsession:= + >=dev-haskell/hinotify-0.3.10:= + dev-haskell/mountpoints:= + >=dev-haskell/path-pieces-0.2.1:= + >=dev-haskell/shakespeare-2.0.11:= + dev-haskell/wai:= + dev-haskell/wai-extra:= + >=dev-haskell/warp-3.2.8:= + >=dev-haskell/warp-tls-3.2.2:= + >=dev-haskell/yesod-1.4.3:= + >=dev-haskell/yesod-core-1.6.0:= + >=dev-haskell/yesod-form-1.4.8:= + >=dev-haskell/yesod-static-1.5.1:= ) + benchmark? ( dev-haskell/criterion:= ) + dbus? ( >=dev-haskell/dbus-0.10.7:= + >=dev-haskell/fdo-notify-0.3:= ) + gitlfs? ( >=dev-haskell/git-lfs-1.2.0:= ) + magicmime? ( dev-haskell/magic:= ) + pairing? ( dev-haskell/network-info:= + dev-haskell/network-multicast:= ) + torrentparser? ( >=dev-haskell/torrent-10000.0.0:= ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.2.0.0 <dev-haskell/cabal-4.0 + >=dev-haskell/filepath-bytestring-1.4.2.1.4 +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-android \ + --flag=-androidsplice \ + $(cabal_flag assistant assistant) \ + $(cabal_flag benchmark benchmark) \ + $(cabal_flag dbus dbus) \ + $(cabal_flag debug debuglocks) \ + $(cabal_flag gitlfs gitlfs) \ + $(cabal_flag magicmime magicmime) \ + --flag=networkbsd \ + $(cabal_flag pairing pairing) \ + --flag=-production \ + --flag=-testsuite \ + $(cabal_flag torrentparser torrentparser) +} + +src_install() { + haskell-cabal_src_install + + newbashcomp "${FILESDIR}"/${PN}.bash ${PN} + + dodoc CHANGELOG README + + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry "${PN} webapp" "git-annex" ${PN}.xpm "Office" +} diff --git a/dev-vcs/git-annex/metadata.xml b/dev-vcs/git-annex/metadata.xml index 1f73976ae199..150d88b169fe 100644 --- a/dev-vcs/git-annex/metadata.xml +++ b/dev-vcs/git-annex/metadata.xml @@ -15,4 +15,7 @@ <flag name="torrentparser">Use haskell torrent library to parse torrent files</flag> <flag name="webapp">Enable git-annex webapp</flag> </use> + <upstream> + <remote-id type="hackage">git-annex</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-vcs/git-repair/Manifest b/dev-vcs/git-repair/Manifest index 92f22a9f00de..7de95fa09569 100644 --- a/dev-vcs/git-repair/Manifest +++ b/dev-vcs/git-repair/Manifest @@ -1 +1,2 @@ DIST git-repair-1.20220404.tar.gz 107186 BLAKE2B ccfda04c27a3f5b1a276c93647e0f296f07bf71c04803093fb7de1836f1c64539a0687ace0e3d770e035f9b521ed34912e3e6a8ce29b3a1e6b8b4db43ee4ce67 SHA512 5982d0039657a6669c4ddfc9118ad40209d72a5871db6cfd02a262142452b1387c3a23699e41fa9deb0e31c4abaa0c4f973b8ebb740585235617dd2effd2cca2 +DIST git-repair-1.20230814.tar.gz 111782 BLAKE2B b35da379600a7abe58b282929417bf67eaec37ccc696fa4d4883b5ab87abb6e59ce82b6fb334ebbe69bf01aeef985014cf938dc98d8776a0ca7183463eef6024 SHA512 58354b7b3836a3eada20c86fe954f119ecfb930ef21331df509b611a73cccaf0af497d09e0284f816ec4446c1862211c3166d2216e8b4ec24a774e7d64eabfe7 diff --git a/dev-vcs/git-repair/git-repair-1.20230814.ebuild b/dev-vcs/git-repair/git-repair-1.20230814.ebuild new file mode 100644 index 000000000000..e05583b21e7c --- /dev/null +++ b/dev-vcs/git-repair/git-repair-1.20230814.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.4.0.9999 + +CABAL_FEATURES="" +inherit haskell-cabal + +DESCRIPTION="A tool to repair damaged git repositories" +HOMEPAGE="https://git-repair.branchable.com/" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="amd64 ~x86" + +GHC_BOOTSTRAP_PACKAGES=( + async + data-default + filepath-bytestring + hslogger + IfElse + split + unix-compat +) + +RDEPEND=" + dev-haskell/async:= + dev-haskell/attoparsec:= + dev-haskell/data-default:= + >=dev-haskell/filepath-bytestring-1.4.2.1.4:= + dev-haskell/hslogger:= + dev-haskell/ifelse:= + >=dev-haskell/network-2.6:= + >=dev-haskell/network-uri-2.6:= + >=dev-haskell/optparse-applicative-0.14.1:= + dev-haskell/quickcheck:2= + dev-haskell/split:= + dev-haskell/text:= + >=dev-haskell/unix-compat-0.5:= + dev-haskell/utf8-string:= + >=dev-lang/ghc-8.10.6:= +" +DEPEND=" + ${RDEPEND} + >=dev-haskell/cabal-3.2.1.0 +" + +src_install() { + haskell-cabal_src_install + doman git-repair.1 +} diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass index 8c77ad5bc3cb..5bd51c0f41ac 100644 --- a/eclass/ghc-package.eclass +++ b/eclass/ghc-package.eclass @@ -4,9 +4,9 @@ # @ECLASS: ghc-package.eclass # @MAINTAINER: # "Gentoo's Haskell Language team" <haskell@gentoo.org> +# @SUPPORTED_EAPIS: 6 7 8 # @AUTHOR: # Original Author: Andres Loeh <kosmikus@gentoo.org> -# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: This eclass helps with the Glasgow Haskell Compiler's package configuration utility. # @DESCRIPTION: # Helper eclass to handle ghc installation/upgrade/deinstallation process. @@ -39,9 +39,8 @@ ghc-getghc() { } # @FUNCTION: ghc-getghcpkg -# @INTERNAL # @DESCRIPTION: -# Internal function determines returns the name of the ghc-pkg executable +# returns the name of the ghc-pkg executable ghc-getghcpkg() { if ! type -P ${HC_PKG:-ghc-pkg}; then ewarn "ghc-pkg not found" @@ -58,11 +57,11 @@ ghc-getghcpkg() { # because for some reason the global package file # must be specified ghc-getghcpkgbin() { - local empty_db="${T}/empty.conf.d" ghc_pkg="$(ghc-libdir)/bin/ghc-pkg" + local empty_db="${T}/empty.conf.d" ghc_pkg="$(ghc-bindir)/ghc-pkg" if [[ ! -d ${empty_db} ]]; then "${ghc_pkg}" init "${empty_db}" || die "Failed to initialize empty global db" fi - echo "$(ghc-libdir)/bin/ghc-pkg" "--global-package-db=${empty_db}" + echo "$(ghc-bindir)/ghc-pkg" "--global-package-db=${empty_db}" } # @FUNCTION: ghc-version @@ -176,6 +175,24 @@ ghc-libdir() { echo "${_GHC_LIBDIR_CACHE}" } +# @FUNCTION: ghc-bindir +# @DESCRIPTION: +# returns the directory where ghc binaries live +_GHC_BINDIR_CACHE="" +ghc-bindir() { + if [[ -z "${_GHC_BINDIR_CACHE}" ]]; then + local bindir + if [[ "$(basename $(ghc-libdir))" == "lib" ]]; then + bindir="$(ghc-libdir)/../bin/" + else + bindir="$(ghc-libdir)/bin/" + fi + bindir="$(realpath "${bindir}")" || die "Cannot find ghc bindir: ${bindir}" + _GHC_BINDIR_CACHE="${bindir}" + fi + echo "${_GHC_BINDIR_CACHE}" +} + # @FUNCTION: ghc-make-args # @DESCRIPTION: # Returns default arguments passed along 'ghc --make' @@ -273,9 +290,14 @@ ghc-install-pkg() { mkdir -p "${hint_db}" || die for pkg_config_file in "$@"; do - local pkg_name="gentoo-${CATEGORY}-${PF}-"$(basename "${pkg_config_file}") - cp "${pkg_config_file}" "${hint_db}/${pkg_name}" || die - chmod 0644 "${hint_db}/${pkg_name}" || die + # 'haskell-updater' relies on '.conf' presence when scans gentoo/. + # Passed files can either already have .conf (single-file style DB) + # or not have a .conf suffix (directory-stype). + # Here we always normalize file names to have single .conf suffix. + local base_name=$(basename "${pkg_config_file}") + local pkg_name="gentoo-${CATEGORY}-${PF}-${base_name%.conf}" + cp "${pkg_config_file}" "${hint_db}/${pkg_name}.conf" || die + chmod 0644 "${hint_db}/${pkg_name}.conf" || die done } diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index 82f423a199c4..b44e7b306972 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -41,17 +41,16 @@ # is fixed. case ${EAPI} in - 6|7|8) ;; + # eutils is for eqawarn + 6) inherit eutils ;; + 8|7) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_HASKELL_CABAL_ECLASS} ]]; then -_HASKELL_CABAL_ECLASS=1 - -[[ ${EAPI} == 6 ]] && inherit eqawarn - inherit ghc-package multilib toolchain-funcs +EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm + # @ECLASS_VARIABLE: CABAL_EXTRA_CONFIGURE_FLAGS # @USER_VARIABLE # @DESCRIPTION: @@ -158,6 +157,9 @@ S="${WORKDIR}/${CABAL_P}" # @DESCRIPTION: # The location of the .cabal file for the Haskell package. This defaults to # "${S}/${CABAL_PN}.cabal". +# +# NOTE: If $S is redefined in the ebuild after inheriting this eclass, +# $CABAL_FILE will also need to be redefined as well. : "${CABAL_FILE:="${S}/${CABAL_PN}.cabal"}" # @ECLASS_VARIABLE: CABAL_DISTFILE @@ -172,12 +174,15 @@ fi # @ECLASS_VARIABLE: CABAL_CHDEPS # @DEFAULT_UNSET # @DESCRIPTION: -# Specifies changes to be made to the .cabal file. Uses the cabal_chdeps -# function internally and shares the same syntax. -# @EXAMPLE: +# Specifies changes to be made to the .cabal file. +# Accepts argument list as pairs of substitutions: <from-string> <to-string>... +# Uses the cabal_chdeps function internally and shares the same syntax. +# +# Example: +# # CABAL_CHDEPS=( -# 'base >= 4.2 && < 4.6' 'base >= 4.2 && < 4.7' -# 'containers ==0.4.*' 'containers >= 0.4 && < 0.6' +# 'base >= 4.2 && < 4.6' 'base >= 4.2 && < 4.7' +# 'containers ==0.4.*' 'containers >= 0.4 && < 0.6' # ) : "${CABAL_CHDEPS:=}" @@ -198,6 +203,45 @@ fi # ) : "${GHC_BOOTSTRAP_PACKAGES:=}" +# @ECLASS_VARIABLE: CABAL_TEST_REQUIRED_BINS +# @DEFAULT_UNSET +# @DESCRIPTION: +# Binaries included in this package which are needed during testing. This +# adjusts PATH during src_test() so that the binaries can be found, even if +# they have not been installed yet. +# +# Example: +# +# CABAL_TEST_REQUIRED_BINS=( arbtt-{capture,dump,import,recover,stats} ) +: "${CABAL_TEST_REQUIRED_BINS:=}" + +# @ECLASS_VARIABLE: CABAL_HADDOCK_TARGETS +# @DEFAULT_UNSET +# @DESCRIPTION: +# Manually set the targets for haddock/hoogle. This is occasionally needed +# when './setup haddock' cannot calculate the transient dependencies. +# +# Example: +# +# CABAL_HADDOCK_TARGETS="lib:${CABAL_PN}" +: "${CABAL_HADDOCK_TARGETS:=}" + +# @ECLASS_VARIABLE: CABAL_CHBINS +# @DEFAULT_UNSET +# @DESCRIPTION: +# Renames executables that are installed with the package. +# Accepts argument list as pairs of substitutions: <from-string> <to-string>... +# +# Example: +# +# CABAL_CHBINS=( +# 'demo' 'byline-demo' +# 'simple' 'byline-simple' +# 'menu' 'byline-menu' +# 'shell' 'byline-shell' +# ) +: "${CABAL_CHBINS:=}" + # 'dev-haskell/cabal' passes those options with ./configure-based # configuration, but most packages don't need/don't accept it: # #515362, #515362 @@ -237,6 +281,7 @@ fi if [[ -n "${CABAL_USE_PROFILE}" ]]; then IUSE="${IUSE} profile" + RDEPEND+=" dev-lang/ghc:=[profile?]" fi if [[ -n "${CABAL_TEST_SUITE}" ]]; then @@ -251,6 +296,8 @@ case $PV in *9999) ;; *) if [[ -z "${CABAL_LIVE_VERSION}" ]]; then + # Without this if/then/else block, pkgcheck gives a + # RedundantUriRename warning for every package if [[ "${CABAL_P}" == "${P}" ]]; then SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" else @@ -374,7 +421,7 @@ cabal-mksetup() { local setup_src=${setupdir}/Setup.hs rm -vf "${setupdir}"/Setup.{lhs,hs} - elog "Creating 'Setup.hs' for 'Simple' build type." + einfo "Creating 'Setup.hs' for 'Simple' build type." echo 'import Distribution.Simple; main = defaultMain' \ > "${setup_src}" || die "failed to create default Setup.hs" @@ -390,7 +437,7 @@ cabal-hscolour() { } cabal-haddock() { - haskell-cabal-run_verbose ./setup haddock "$@" + haskell-cabal-run_verbose ./setup haddock ${CABAL_HADDOCK_TARGETS[*]} "$@" } cabal-die-if-nonempty() { @@ -650,7 +697,19 @@ haskell-cabal_src_prepare() { # Apply patches *after* pulling the revised cabal default - [[ -n "${CABAL_CHDEPS}" ]] && cabal_chdeps "${CABAL_CHDEPS[@]}" + if [[ -n "${CABAL_CHBINS}" ]]; then + for b in "${CABAL_CHBINS[@]}"; do + export CABAL_CHDEPS=( "${CABAL_CHDEPS[@]}" "executable ${b}" ) + done + fi + + # Clean CABAL_CHDEPS of any blank entries + local chdeps=() + for d in "${CABAL_CHDEPS[@]}"; do + [[ -n "${d}" ]] && export chdeps+=( "${d}" ) + done + + [[ -n "${chdeps[@]}" ]] && cabal_chdeps "${chdeps[@]}" } haskell-cabal_src_configure() { @@ -670,6 +729,19 @@ cabal_src_configure() { haskell-cabal_src_configure "$@" } +# Run this to search for directories in "${S}/dist/build/" which contain +# libraries, and add them to LD_LIBRARY_PATH +cabal-export-dist-libs() { + local so lib_dir + while read -r lib_dir; do + export LD_LIBRARY_PATH="${lib_dir}${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + done < <( + find "${S}/dist/build" -name "*.so" \ + | while read -r so; do dirname "$so"; done \ + | sort -u \ + ) +} + # exported function: cabal-style bootstrap configure and compile cabal_src_compile() { cabal-is-dummy-lib && return @@ -677,9 +749,10 @@ cabal_src_compile() { cabal-build if [[ -n "$CABAL_USE_HADDOCK" ]] && use doc; then + if [[ -n "$CABAL_USE_HSCOLOUR" ]] && use hscolour; then # --hyperlink-source implies calling 'setup hscolour' - haddock_args+=(--hyperlink-source) + local haddock_args=(--hyperlink-source) fi cabal-haddock "${haddock_args[@]}" $CABAL_EXTRA_HADDOCK_FLAGS @@ -702,6 +775,10 @@ cabal_src_compile() { ewarn "hoogle USE flag requires doc USE flag, building without hoogle" fi fi + + # Export built libraries to LD_LIBRARY_PATH so they can be used in the + # test and install phases. + cabal-export-dist-libs } haskell-cabal_src_compile() { @@ -722,6 +799,15 @@ haskell-cabal_src_test() { else einfo ">>> Test phase [cabal test]: ${CATEGORY}/${PF}" + cabal-register-inplace + + # Add binary build paths to PATH so just-built binaries can be found + # during testing. + local bin + for bin in ${CABAL_TEST_REQUIRED_BINS[*]}; do + export PATH="${S}/dist/build/${bin}${PATH+:}${PATH}" + done + # '--show-details=streaming' appeared in Cabal-1.20 if ./setup test --help | grep -q -- "'streaming'"; then cabaltest+=(--show-details=streaming) @@ -761,7 +847,7 @@ cabal_src_install() { # Arguments passed to this function will make their way to `cabal-copy` # and eventually `./setup copy`. This allows you to specify which # components will be installed. -# e.g. `haskell-cabal_src_install "lib:${PN}"` will only install the library +# e.g. `haskell-cabal_src_install "lib:${CABAL_PN}"` will only install the library haskell-cabal_src_install() { pushd "${S}" > /dev/null || die @@ -772,6 +858,22 @@ haskell-cabal_src_install() { haskell-cabal_pkg_postinst() { ghc-package_pkg_postinst + + if [[ -n "${CABAL_CHBINS}" ]]; then + elog "The following executables installed with this package have been renamed to help" + elog "prevent name collisions:" + elog "" + + local from + for b in "${CABAL_CHBINS[@]}"; do + if [[ -z "${from}" ]]; then + from="${b}" + else + elog "${from} -> ${b}" + from="" + fi + done + fi } haskell-cabal_pkg_postrm() { @@ -809,7 +911,10 @@ cabal_flag() { } # @FUNCTION: cabal_chdeps +# @DEPRECATED: CABAL_CHDEPS # @DESCRIPTION: +# See the CABAL_CHDEPS variable for the preferred way to use this function. +# # Allows easier patching of $CABAL_FILE (${S}/${PN}.cabal by default) # depends # @@ -817,21 +922,6 @@ cabal_flag() { # # Dies on error. # -# Usage examples: -# -# src_prepare() { -# cabal_chdeps \ -# 'base >= 4.2 && < 4.6' 'base >= 4.2 && < 4.7' \ -# 'containers ==0.4.*' 'containers >= 0.4 && < 0.6' -#} -# or -# src_prepare() { -# CABAL_FILE=${S}/${CABAL_PN}.cabal cabal_chdeps \ -# 'base >= 4.2 && < 4.6' 'base >= 4.2 && < 4.7' -# CABAL_FILE=${S}/${CABAL_PN}-tools.cabal cabal_chdeps \ -# 'base == 3.*' 'base >= 4.2 && < 4.7' -#} -# cabal_chdeps() { # Needed for compatibility with ebuilds still using MY_PN if [[ -n ${MY_PN} ]]; then @@ -848,6 +938,7 @@ cabal_chdeps() { [[ -f "${cabal_file}" ]] || die "cabal file '${cabal_file}' does not exist" orig_c=$(< "${cabal_file}") + local next_c=${orig_c} while :; do from_pat=$1 @@ -862,28 +953,35 @@ cabal_chdeps() { from_pat=${from_pat//\*/\\*} from_pat=${from_pat//\[/\\[} - new_c=${orig_c//${from_pat}/${to_str}} + # escape ampersands in the 'to' part + to_str=$(sed -e 's%&%\\\&%g' <<< "${to_str}") - if [[ -n $CABAL_DEBUG_LOOSENING ]]; then - echo "${orig_c}" >"${T}/${cabal_file}".pre - echo "${new_c}" >"${T}/${cabal_file}".post - diff -u "${T}/${cabal_file}".{pre,post} - fi + # use sed instead of bash to make sure things are consistent in the presence + # of the patsub_replacement shell option + # See: <https://github.com/gentoo-haskell/gentoo-haskell/issues/1363> + new_c="$(sed -e "s%${from_pat}%${to_str}%g" <<< "${next_c}")" - [[ "${orig_c}" == "${new_c}" ]] && die "no trigger for '${from_pat}'" - orig_c=${new_c} + [[ "${next_c}" == "${new_c}" ]] && die "no trigger for '${from_pat}'" + next_c=${new_c} shift shift done + if [[ -n $CABAL_DEBUG_LOOSENING ]]; then + local cabal_base="${T}/$(basename "${cabal_file}")" + echo "${orig_c}" > "${cabal_base}.pre" + echo "${new_c}" > "${cabal_base}.post" + diff -u --color=always "${cabal_base}".{pre,post} + fi + echo "${new_c}" > "$cabal_file" || die "failed to update" } # @FUNCTION: cabal-constraint # @DESCRIPTION: -# Allows to set constraints to the libraries that are used by the -# specified package. +# Allows to set constraint to the libraries that are +# used by specified package cabal-constraint() { while read p v ; do echo "--constraint \"$p == $v\"" @@ -912,6 +1010,111 @@ replace-hcflags() { return 0 } -fi +# @FUNCTION: cabal-register-inplace +# @DESCRIPTION: +# Register the package library with the in-place package DB, located in +# "${S}/dist/package.conf.inplace/". This is sometimes needed for tests when +# the package is not yet installed. Unfortunately, prebuilt solutions to this +# problem, such as './setup register --inplace', do not seem to work correctly. +# +# This function will not run unless CABAL_HAS_LIBRARIES is set to a nonempty +# value. +# +# You can set SKIP_REGISTER_INPLACE to a nonempty value to skip this function +# (useful since it is automatically called from within haskell-cabal_src_test). +# +# The environment variables TEST_CABAL_PN and TEST_PN can be manually set in +# case the test suite is within a separate haskell package. +# +# The environment variable EXTRA_PACKAGE_DBS can be used to set extra databases +# for ghc-pkg to read. +cabal-register-inplace() { + if [[ -n ${CABAL_HAS_LIBRARIES} ]] && [[ -z ${SKIP_REGISTER_INPLACE} ]]; then + # It is assumed that the package-id is either registered in the global + # DB or in an "in-place" DB, local to the build dir. cabal-doctest is an + # example of something that makes this assumption. + local inplace_db="${S}/dist/package.conf.inplace/" + + # Set test-specific CABAL_PN/PN values if they are not set already + : ${TEST_CABAL_PN:="$( + if [[ -n $MY_PN ]]; then + echo "${MY_PN}" + else + echo "${CABAL_PN}" + fi + )"} + : ${TEST_PN:="${PN}"} + + local cabal_file="${S}/${TEST_CABAL_PN}.cabal" + local conf="${S}/${TEST_CABAL_PN}.conf" + + # Generate the package conf + local ipid="$(./setup register --gen-pkg-config="${conf}" --print-ipid || die)" + + # In the case that the package has multiple libraries (one "normal" and + # one or more "private" libraries) './setup register' will create a + # folder instead of a file, containing one conf file per library. + # The main library's conf file will end with the string captured by the + # 'ipid' variable. + if [[ -d "${S}/${TEST_CABAL_PN}.conf" ]]; then + local pkg_conf="$(find "${conf}" -maxdepth 1 -type f -name "*${ipid}")" + [[ -z $pkg_conf ]] && die "Failed to find package conf file in ${conf}" + elif [[ -f "${conf}" ]]; then + local pkg_conf="${conf}" + else + die "Package conf was not created by './setup register'" + fi -EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm + # Modify the package conf so that it points to directories within the build + # dir. + local sed=( sed -ri ) k + for k in import-dirs library-dirs dynamic-library-dirs; do + sed+=( -e "s%(^${k}:\s+)\S.*%\1${S}/dist/build%" ) + done + sed+=( -e "s%/usr/share/doc/${P}/html%${S}/dist/doc/html/${TEST_CABAL_PN}%" ) + sed+=( "${pkg_conf}" ) + "${sed[@]}" || die "sed command failed" + + local extra_pkg_dbs=() db + for db in ${EXTRA_PACKAGE_DBS[*]}; do + extra_pkg_dbs+=( --package-db="${db}" ) + done + + # The package-id may already be registered in the global DB, which will + # cause ghc-pkg to fail. However, we don't want to 'die' in this case, as + # the package registration in the global DB will be used instead. + /usr/bin/ghc-pkg "${extra_pkg_dbs[@]}" --package-db="${inplace_db}" register "${pkg_conf}" + + local ret="$?" + + case ${ret} in + 0) return 0 ;; + 1) einfo "Package is already registered in global DB"; return 0 ;; + *) die "ghc-pkg returned unusual code: ${ret}" ;; + esac + fi +} + +# @FUNCTION: cabal-run-dist-bin +# @USAGE: <bin> [args] +# @DESCRIPTION: +# Run an executable that was built but has not been installed to the system. +# These live in "${S}/dist/build/", which also includes libraries that are +# needed by the executable. (Needed libraries are automatically added to +# LD_LIBRARY_PATH by haskell-cabal_src_compile().) +# +# This is only inteded to be run in the test and install phases. +cabal-run-dist-bin() { + einfo "LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}" + case "$EBUILD_PHASE_FUNC" in + src_test|src_install) + local bin="$1" + shift + "${S}/dist/build/${bin}/${bin}" "$@" + ;; + *) + ewarn "cabal-run-dist-bin() called from ${EBUILD_PHASE_FUNC} (ignoring)" + false + ;; + esac +} diff --git a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild b/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild index 2b1dc278724b..88183eb75338 100644 --- a/net-mail/list-remote-forwards/list-remote-forwards-0.0.3.ebuild +++ b/net-mail/list-remote-forwards/list-remote-forwards-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.4.4 diff --git a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild b/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild index 5af4570d8c06..13bf27fe826f 100644 --- a/net-mail/mailbox-count/mailbox-count-0.0.6.ebuild +++ b/net-mail/mailbox-count/mailbox-count-0.0.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 CABAL_FEATURES="test-suite" inherit haskell-cabal diff --git a/net-misc/haeredes/haeredes-0.5.3.ebuild b/net-misc/haeredes/haeredes-0.5.3.ebuild index 86cbf147e42f..7b0f3d3d4c7b 100644 --- a/net-misc/haeredes/haeredes-0.5.3.ebuild +++ b/net-misc/haeredes/haeredes-0.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 CABAL_FEATURES="test-suite" inherit haskell-cabal diff --git a/net-misc/hath/hath-0.5.7.ebuild b/net-misc/hath/hath-0.5.7.ebuild index 0caf16f0a2a6..bd0560dc7ce9 100644 --- a/net-misc/hath/hath-0.5.7.ebuild +++ b/net-misc/hath/hath-0.5.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 diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 503fd7309c16..65b8760fd856 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -6,6 +6,31 @@ # This file is only for generic masks. For arch-specific masks (i.e. # mask everywhere, unmask on arch/*) use arch/base. +# hololeap <hololeap@protonmail.com> (2023-10-15) +# Enabling these flags will create cycles in the dependency graph. +# Maintainers may want to temporarily unmask these in order to run +# tests for these packages, but it is necessary for each package to be +# rebuilt with the flag disabled immediately after testing. +# See: <https://github.com/gentoo-haskell/gentoo-haskell/pull/1375> +dev-haskell/attoparsec test +dev-haskell/base-orphans test +dev-haskell/clock test +dev-haskell/colour test +dev-haskell/data-array-byte test +dev-haskell/foldable1-classes-compat test +dev-haskell/hspec-core test +dev-haskell/hspec-discover test +dev-haskell/integer-logarithms test +dev-haskell/nanospec test +dev-haskell/network-uri test +dev-haskell/parser-combinators test +dev-haskell/prettyprinter test +dev-haskell/prettyprinter-ansi-terminal test +dev-haskell/primitive test +dev-haskell/scientific test +dev-haskell/splitmix test +dev-haskell/tasty-expected-failure test + # Michał Górny <mgorny@gentoo.org> (2023-10-14) # media-video/transcode is masked for removal. media-video/chaplin transcode diff --git a/virtual/pandoc/pandoc-0-r1.ebuild b/virtual/pandoc/pandoc-0-r1.ebuild new file mode 100644 index 000000000000..7afd546db71b --- /dev/null +++ b/virtual/pandoc/pandoc-0-r1.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Virtual for pandoc" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND="" +RDEPEND="|| ( app-text/pandoc-bin[pandoc-symlink] app-text/pandoc-cli app-text/pandoc )" diff --git a/x11-misc/xmobar/Manifest b/x11-misc/xmobar/Manifest index b3c8e55f3b59..7860d4448776 100644 --- a/x11-misc/xmobar/Manifest +++ b/x11-misc/xmobar/Manifest @@ -1 +1,2 @@ DIST xmobar-0.44.1.tar.gz 156756 BLAKE2B bee81627744146989b402ae04d36edb5e4a69686b546457afebad81cda96ece4ce0ace8a2855bd5136610be3fc396c2f62121ea062fffb1ad837145cf3238fdb SHA512 e04f3f9f40ffa4095df2b523916686d93d28b4cbb880f7732cf63d6f1915e721043764b9d723ed8b3c4938c3df749d0e5a9ddb9a9e64a2a015f8f0d6b3f46c97 +DIST xmobar-0.46.tar.gz 168197 BLAKE2B a1b0e94794232641574b0e6c1c55ab8c203fec800702896ab516f2df7d50ffec709385958ffd4098f79ac00a9c88c72c04088bca5f4523501cdb12cf39da8bb5 SHA512 37ebef56c3046b45ec83025ab8233827f50dcc3aa48691e06ac00c59b8bedeafd5860c94e36d54d3f499217a27a12641b0e98f6f0f248b9d56a22d1b103c50c8 diff --git a/x11-misc/xmobar/metadata.xml b/x11-misc/xmobar/metadata.xml index 85386171573c..bcca3a0444db 100644 --- a/x11-misc/xmobar/metadata.xml +++ b/x11-misc/xmobar/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="alsa">Use alsa-mixer to get the volume from soundcards.</flag> + <flag name="datezone">Enables localized date support.</flag> <flag name="dbus">Publish a service on the session bus for controlling xmobar.</flag> <flag name="mpd">MPD support. Needs libmpd installed.</flag> <flag name="mpris">MPRIS v1, v2 support.</flag> @@ -17,5 +18,9 @@ <flag name="wifi">Wireless info support via nl80211. Required for the Wireless plugin on systems running Linux, the kernel.</flag> <flag name="xft">Use Xft to render text. UTF-8 support included.</flag> <flag name="xpm">Enable usage of xpm for icons.</flag> + <flag name="xrender">Use XRender for alpha background pseudo-transparency.</flag> </use> + <upstream> + <remote-id type="hackage">xmobar</remote-id> + </upstream> </pkgmetadata> diff --git a/x11-misc/xmobar/xmobar-0.46.ebuild b/x11-misc/xmobar/xmobar-0.46.ebuild new file mode 100644 index 000000000000..30c801488862 --- /dev/null +++ b/x11-misc/xmobar/xmobar-0.46.ebuild @@ -0,0 +1,86 @@ +# 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: -all_extensions,+with_threaded,+with_utf8,-with_iwlib,with_nl80211:wifi,+with_inotify + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A Minimalistic Text Based Status Bar" +HOMEPAGE="https://codeberg.org/xmobar/xmobar" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="alsa datezone dbus mpd mpris +rtsopts uvmeter +weather wifi xpm +xrender" + +RDEPEND=">=dev-haskell/aeson-1.4.7.1:=[profile?] + dev-haskell/async:=[profile?] + >=dev-haskell/cairo-0.13:=[profile?] + >=dev-haskell/colour-2.3.6:=[profile?] + >=dev-haskell/extensible-exceptions-0.1:=[profile?] <dev-haskell/extensible-exceptions-0.2:=[profile?] + >=dev-haskell/hinotify-0.3:=[profile?] <dev-haskell/hinotify-0.5:=[profile?] + dev-haskell/old-locale:=[profile?] + >=dev-haskell/pango-0.13:=[profile?] + >=dev-haskell/parsec-numbers-0.1.0:=[profile?] + dev-haskell/regex-compat:=[profile?] + >=dev-haskell/stm-2.3:=[profile?] <dev-haskell/stm-2.6:=[profile?] + >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?] + >=dev-haskell/x11-1.6.1:=[profile?] + >=dev-lang/ghc-8.4.3:= + x11-libs/libXrandr + x11-libs/libXrender + alsa? ( + >=dev-haskell/alsa-core-0.5:=[profile?] <dev-haskell/alsa-core-0.6:=[profile?] + >=dev-haskell/alsa-mixer-0.3:=[profile?] <dev-haskell/alsa-mixer-0.4:=[profile?] + ) + datezone? ( >=dev-haskell/timezone-olson-0.2:=[profile?] <dev-haskell/timezone-olson-0.3:=[profile?] + >=dev-haskell/timezone-series-0.1:=[profile?] <dev-haskell/timezone-series-0.2:=[profile?] ) + dbus? ( >=dev-haskell/dbus-1:=[profile?] ) + mpd? ( >=dev-haskell/libmpd-0.9.2.0:=[profile?] ) + mpris? ( >=dev-haskell/dbus-1:=[profile?] ) + uvmeter? ( dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) + weather? ( dev-haskell/http-client-tls:=[profile?] + dev-haskell/http-conduit:=[profile?] + dev-haskell/http-types:=[profile?] ) + wifi? ( >=dev-haskell/cereal-0.5.8.1:=[profile?] + >=dev-haskell/netlink-1.1.1.0:=[profile?] ) + xpm? ( x11-libs/libXpm ) + xrender? ( >=dev-haskell/x11-xft-0.2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hspec-2 <dev-haskell/hspec-3 + dev-haskell/temporary ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-all_extensions \ + $(cabal_flag alsa with_alsa) \ + $(cabal_flag datezone with_datezone) \ + $(cabal_flag dbus with_dbus) \ + --flag=with_inotify \ + --flag=-with_iwlib \ + $(cabal_flag mpd with_mpd) \ + $(cabal_flag mpris with_mpris) \ + $(cabal_flag wifi with_nl80211) \ + $(cabal_flag rtsopts with_rtsopts) \ + --flag=with_threaded \ + --flag=with_utf8 \ + $(cabal_flag uvmeter with_uvmeter) \ + $(cabal_flag weather with_weather) \ + $(cabal_flag xpm with_xpm) \ + $(cabal_flag xrender with_xrender) +} + +src_install() { + cabal_src_install + +# dodoc readme.md + dodoc etc/xmobar.config etc/xmobar.hs changelog.md +} diff --git a/x11-wm/xmonad-contrib/Manifest b/x11-wm/xmonad-contrib/Manifest index 14142d7e3261..8b3baebdf739 100644 --- a/x11-wm/xmonad-contrib/Manifest +++ b/x11-wm/xmonad-contrib/Manifest @@ -1 +1,2 @@ DIST xmonad-contrib-0.17.0.tar.gz 615173 BLAKE2B d2e2724a3103502cafeddfdafe5b19cd3f2eb66fe26d49afe4b64c0c78bb3b18432e44fc8233aac951b20969013fa580f0af36d4da627f3c03145b647bff5a44 SHA512 357ef80565690a1e652f79c877964181134c7f02a5d325dbf3890246588ce8a545e91126041bcc2af3d9ebf5b3be28f4866ee9ede76ddbf0fc0387871319a900 +DIST xmonad-contrib-0.17.1.tar.gz 646843 BLAKE2B 0949a616f6c5aaac5d5ccb8eacaf743898b8da6d0c99605ce2f7a85f8ce7747f5442843b524470d51300539126f25066b50906a92952129a9e264f18f7aa9873 SHA512 07f989623f4d9affae564ba36a180721910c1a0acf3d23e0e548fc48bb4dcd9864987c521c28251f6443cdd5134ded8e8bb18c6f78d06cb00c386ff6ad59c97e diff --git a/x11-wm/xmonad-contrib/metadata.xml b/x11-wm/xmonad-contrib/metadata.xml index bb4b8043b4ab..d84502b753d3 100644 --- a/x11-wm/xmonad-contrib/metadata.xml +++ b/x11-wm/xmonad-contrib/metadata.xml @@ -8,4 +8,8 @@ <use> <flag name="xft">Use Xft to render text</flag> </use> + <upstream> + <remote-id type="hackage">xmonad-contrib</remote-id> + <remote-id type="github">xmonad/xmonad-contrib</remote-id> + </upstream> </pkgmetadata> diff --git a/x11-wm/xmonad-contrib/xmonad-contrib-0.17.1.ebuild b/x11-wm/xmonad-contrib/xmonad-contrib-0.17.1.ebuild new file mode 100644 index 000000000000..2ebdaef3628b --- /dev/null +++ b/x11-wm/xmonad-contrib/xmonad-contrib-0.17.1.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 +#hackport: flags: -pedantic,use_xft:xft + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Community-maintained extensions for xmonad" +HOMEPAGE="https://xmonad.org/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+xft" + +RDEPEND="dev-haskell/random:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-haskell/x11-1.10:=[profile?] <dev-haskell/x11-1.11:=[profile?] + >=dev-lang/ghc-8.4.3:= + >=x11-wm/xmonad-0.16.99999:=[profile?] <x11-wm/xmonad-0.18:=[profile?] + xft? ( >=dev-haskell/x11-xft-0.2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/hspec-2.4.0 <dev-haskell/hspec-3 + >=dev-haskell/quickcheck-2 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-pedantic \ + $(cabal_flag xft use_xft) +} diff --git a/x11-wm/xmonad/Manifest b/x11-wm/xmonad/Manifest index ecf9a5947d34..057e65f36fc6 100644 --- a/x11-wm/xmonad/Manifest +++ b/x11-wm/xmonad/Manifest @@ -1 +1,2 @@ DIST xmonad-0.17.0.tar.gz 93489 BLAKE2B 6990bc408194c99378f949b28f2115b7096e6474b5305f935be2c8af1eba4bff3e3c05477af9f833d1b52422e4fb95f857398b05f7f1081e3a2cc5dd8c50fc3a SHA512 1ec46ee61f4bf1879ea638e9be83378273050670ed2ee0f00e7d43b188cc29a874aa5b40076162a1ef0038802cc43f675773951f9b7d1f26329f9d105c28b3f7 +DIST xmonad-0.17.2.tar.gz 94730 BLAKE2B 4e65472830694048d051394222ceb889b1997d1dec37b8d1773fecee9385292448acda3c5a9b7e99a7de1582e8a403d976ef357dc474531e6166905d1129c3a2 SHA512 8d02422f473499516acf3cfe920b15df1d24a1fbf47f8cded5eb465186427e82cd43d65a63936993016797680335e59380931e9bad82b2181ecdef6b63d9bfd9 diff --git a/x11-wm/xmonad/metadata.xml b/x11-wm/xmonad/metadata.xml index b0337e3fc024..e2d24eac2abe 100644 --- a/x11-wm/xmonad/metadata.xml +++ b/x11-wm/xmonad/metadata.xml @@ -8,4 +8,8 @@ <use> <flag name="no-autorepeat-keys">Allow ignoring of keyboard autorepeat.</flag> </use> + <upstream> + <remote-id type="hackage">xmonad</remote-id> + <remote-id type="github">xmonad/xmonad</remote-id> + </upstream> </pkgmetadata> diff --git a/x11-wm/xmonad/xmonad-0.17.2.ebuild b/x11-wm/xmonad/xmonad-0.17.2.ebuild new file mode 100644 index 000000000000..6b2df3bd3107 --- /dev/null +++ b/x11-wm/xmonad/xmonad-0.17.2.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.7.3.0 +#hackport: flags: -pedantic,quickcheck-classes:test + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal ghc-package + +DESCRIPTION="A tiling window manager" +HOMEPAGE="https://xmonad.org" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="no-autorepeat-keys" + +RDEPEND="dev-haskell/data-default-class:=[profile?] + dev-haskell/setlocale:=[profile?] + >=dev-haskell/x11-1.10:=[profile?] <dev-haskell/x11-1.11:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/quickcheck-2 + >=dev-haskell/quickcheck-classes-0.4.3 ) +" + +DOCS=( README.md CHANGES.md ) +HTML_DOCS=( man/${PN}.1.html ) + +SAMPLE_CONFIG="${PN}.hs" + +src_prepare() { + default + use no-autorepeat-keys && eapply "${FILESDIR}"/${PN}-0.14-check-repeat.patch +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-pedantic \ + $(cabal_flag test quickcheck-classes) +} + +src_install() { + default + + cabal_src_install + + echo -e "#!/bin/sh\n/usr/bin/${PN}" > "${T}/${PN}" + exeinto /etc/X11/Sessions + doexe "${T}/${PN}" + + insinto /usr/share/xsessions + doins "${FILESDIR}/${PN}.desktop" + + insinto /usr/share/${PF}/ghc-$(ghc-version)/man + doins man/${SAMPLE_CONFIG} + + doman man/${PN}.1 +} + +pkg_postinst() { + haskell-cabal_pkg_postinst + + elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:" + elog " /usr/share/${PF}/ghc-$(ghc-version)/man/${SAMPLE_CONFIG}" + elog "The parameters in this file are the defaults used by ${PN}." + elog "To customize ${PN}, copy this file to:" + elog " ~/.${PN}/${SAMPLE_CONFIG}" + elog "After editing, use 'mod-q' to dynamically restart ${PN} " + elog "(where the 'mod' key defaults to 'Alt')." + elog "" + elog "Read the README or man page for more information, and to see " + elog "other possible configurations go to:" + elog " http://haskell.org/haskellwiki/Xmonad/Config_archive" + elog "Please note that many of these configurations will require the " + elog "x11-wm/xmonad-contrib package to be installed." +} |