summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:10:54 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:10:25 +0100
commitc184a5c481ae93a354c5de7a55406fa9218d0580 (patch)
treed6df1393ec35e741efc946092f6a4e38dcf983b5
parentdev-haskell/vector: Patch for Float TestData (diff)
downloadgentoo-c184a5c481ae93a354c5de7a55406fa9218d0580.tar.gz
gentoo-c184a5c481ae93a354c5de7a55406fa9218d0580.tar.bz2
gentoo-c184a5c481ae93a354c5de7a55406fa9218d0580.zip
dev-haskell/wai-extra: add 3.1.13.0
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-haskell/wai-extra/Manifest2
-rw-r--r--dev-haskell/wai-extra/metadata.xml1
-rw-r--r--dev-haskell/wai-extra/wai-extra-3.1.13.0.ebuild75
3 files changed, 78 insertions, 0 deletions
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
+}