summaryrefslogtreecommitdiff
path: root/dev-haskell/http
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/http
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/http')
-rw-r--r--dev-haskell/http/Manifest11
-rw-r--r--dev-haskell/http/http-4000.2.17.ebuild50
-rw-r--r--dev-haskell/http/http-4000.2.20.ebuild54
-rw-r--r--dev-haskell/http/http-4000.2.22.ebuild54
-rw-r--r--dev-haskell/http/http-4000.2.8.ebuild60
-rw-r--r--dev-haskell/http/http-4000.3.5.ebuild52
-rw-r--r--dev-haskell/http/metadata.xml48
7 files changed, 329 insertions, 0 deletions
diff --git a/dev-haskell/http/Manifest b/dev-haskell/http/Manifest
new file mode 100644
index 000000000000..f21e0efac0e5
--- /dev/null
+++ b/dev-haskell/http/Manifest
@@ -0,0 +1,11 @@
+DIST HTTP-4000.2.17.tar.gz 69706 BLAKE2B a4fa206ceb7742b3f6420d880fa2938d90b850102b4561e705cf406e3d3143fffc5306b43ce08b939b84e61e28590ae17f2ed18ec41e06eaea6080c7a917cbdf SHA512 0c72f2f78aaa6da64c734f70e1c7e5454d0041eb0354a63b25a534614671df21433c30451ef8a54ed3e303fa105b7d0d998a4a55658933749fc77ec08d6ff8c2
+DIST HTTP-4000.2.20.tar.gz 71475 BLAKE2B fbf5619ad38c2b01e62173682e34c0eb88fc5b8a87a8eb63e19e0787fc5f0672c4bc22c869b14339db8f76fc7c6052c2f5c9f14ef0c9891c6b6eee01943c8aaa SHA512 0f5927f0cfbc638c7ebce738c4f7b460b2c0b40f28dc137909c47f05dfea04e975482dcf626425f23f90f131689f1c03d9f8dc7d834e61b9e389a92f6c64f8f0
+DIST HTTP-4000.2.22.tar.gz 71609 BLAKE2B 06bee2b2d43f1dd088fc0ab528bb0009890b257378db3cd2fbba713fa83b99145d0e82b79e8a28927c4e661452cdd027151f7c1f97cc88aaedb92e59eda071d1 SHA512 20ff5dfc5c0ba752395c187f66b0dd0859d5fd199522fb60b8b81c8f219fe1a03c1112929917ce7305e76e4a9e6228632837b13815f68c3f6f2d8abcace0f9d8
+DIST HTTP-4000.2.8.tar.gz 67903 BLAKE2B f94713b1a7e6f5bca23b0c59a86b6c6672d2f49bb527f30da631b3fb8521fcf772244e2277f8389853f62c040d9d3a80cc0824d294afb420eac92a29f530608d SHA512 f7ada9000837a06ce06f9d6aaf83158d48fa5bb4fea812d093eece3b36e9bd4b25df205948c66a4e4b60df3ceb41181f4bdf13415e86ec805239f43421518872
+DIST HTTP-4000.3.5.tar.gz 71718 BLAKE2B 3838c286001bef88fe4b1834bf9e924ab84057fdef1906735e5049123c3694fded687099c7c4e6cd1ad71a1193f301ee0ffec59141ee7a6997abe8efacc9ae35 SHA512 9abfbac7796c21a01828c686500ec0fa81d0ad23b8139e3f64a41dfd62a3ecf345573831f5a304390dab057687d73e5cd49507a4efeb4bc9371558e8c1676653
+EBUILD http-4000.2.17.ebuild 1605 BLAKE2B 9642a031379a966844fdb797ad291a4955b63e2127d3968e949b6ab9c194e580de9ba074a28648ddcb2cb82ca550dc123c8e820af6b47cb8cff9f8ce444e01da SHA512 92fefb6cedcc69d0c94c56ca796ae055e0274deef3fc471bb7d59b15e6b7f026d9f4ffc4552ead337ac3f24df0ea40d00218971429b9af5fdf0525b7813c1d16
+EBUILD http-4000.2.20.ebuild 1829 BLAKE2B 8676cae4b3b415495808f4d1fca1c7ebed22c7a866910f3ba5fb031f779d8d8b9fbe80886a2a94ac02f777bba520819c514fe3f8b621df48ace818e38d49b10c SHA512 04a97a46a66ef0f435aa94221b23562e9a25ab3797fa12fc87acc41254a3cb65d6b747fababfaf3d782fd104280910706d01dcbba68faf9179a35bd1e5c1cf2d
+EBUILD http-4000.2.22.ebuild 1835 BLAKE2B 98531414bb3241d5b7f930c74dd86d20e1798b43950130bbac6dcfdaab4bf11c7ac8c9ca90eedf5e9ba6b9722bac3ecb5e3ca63bd859f33fc070cca418909ad7 SHA512 e1b8c402980e3d28f527586dc97cbca46aba7c65ba1aa66074232ecf9b9dd8c98ba8886a3f751eacc0eefa9095c9d016227f8e311ab16b8ed9def0636d70dbc9
+EBUILD http-4000.2.8.ebuild 1628 BLAKE2B a4b6800e259d5fc4412518c484f8bf535ab2c94b1287922055dd10d8e70ba35cf4b142fd85f91aa867dad22ff1b33708adb994a7806b8a5be12ab12425c697b1 SHA512 65c51c363f70fc5080ec1aeb8daa15e02f9d08e13e11e314ccdf7d495f8435b5a927f92f1c7dd4b482551827d41963ef6701d710e265ef603ce1ed9adfc7064d
+EBUILD http-4000.3.5.ebuild 1737 BLAKE2B 1b4d0f3fcd9be4bb8cd4e9d90f44a87e362942eb68506bbd103467d7724cba20a16102d9169388087d197dde0ef897f84ae904de117f8c7847123c59a766c965 SHA512 b4ff0796663bfb1db530cd4f53ff2b5357d9c4bd65f1a9aa5eec2fd4730e0e9bccbca20e148bde2cb983cfc2654678a41095682307be54ab94603bbaa61d92d4
+MISC metadata.xml 2129 BLAKE2B fcca60629e838303b2e2a690253d81709730e1b2db996f983e083079aa7beec30d0885d2b1066c335e5ed1032f9c11bddfd1d0de11014a9f1958a0c6b1d4c714 SHA512 f9571e122a4ba9ca247f51c7900621dae1831fe15f6dd298b8592291c53fbe4dab61caf975b3c4ff7d0e12991904d5eb298c5c5f3e1d2294a80ade4e93455af3
diff --git a/dev-haskell/http/http-4000.2.17.ebuild b/dev-haskell/http/http-4000.2.17.ebuild
new file mode 100644
index 000000000000..5ecee6b08830
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.17.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x86-macos"
+IUSE=""
+RESTRICT=test # missing ia64 alpha keywords for dev-haskell/puremd5
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/network-2.2.0.1:=[profile?] <dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+"
+# test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+# >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+# >=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.2.0 <dev-haskell/test-framework-hunit-0.4 )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-mtl1 \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.20.ebuild b/dev-haskell/http/http-4000.2.20.ebuild
new file mode 100644
index 000000000000..5f21525ea490
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.20.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ >=dev-haskell/old-time-1.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.5:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.3
+ >=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 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.22.ebuild b/dev-haskell/http/http-4000.2.22.ebuild
new file mode 100644
index 000000000000..1c867514970b
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.22.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/old-time-1.0.0.0:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.8:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ dev-lang/ghc
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.4
+ >=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 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/http-4000.2.8.ebuild b/dev-haskell/http/http-4000.2.8.ebuild
new file mode 100644
index 000000000000..48c50fa01fa9
--- /dev/null
+++ b/dev-haskell/http/http-4000.2.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-fbsd ~ppc-macos ~x86-macos"
+# hackport-args: --always-disabled='mtl1 network23 old-base warn-as-error'
+IUSE=""
+
+RDEPEND="<dev-haskell/network-2.5:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ >=dev-haskell/mtl-2.0:=[profile?]
+ <dev-haskell/mtl-2.2:=[profile?]"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
+RESTRICT=test # missing modules: Could not find module `Httpd'
+# test? ( =dev-haskell/case-insensitive-0.4*
+# >=dev-haskell/conduit-0.4
+# <dev-haskell/conduit-0.6
+# =dev-haskell/deepseq-1.3*
+# >=dev-haskell/http-types-0.6
+# <dev-haskell/http-types-0.8
+# dev-haskell/httpd-shed
+# dev-haskell/hunit
+# =dev-haskell/puremd5-2.1*
+# >=dev-haskell/split-0.1
+# <dev-haskell/split-0.3
+# dev-haskell/test-framework
+# dev-haskell/test-framework-hunit
+# >=dev-haskell/wai-1.2
+# <dev-haskell/wai-1.4
+# >=dev-haskell/warp-1.2
+# <dev-haskell/warp-1.4
+# )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-network23 \
+ --flag=-warn-as-error \
+ --flag=-mtl1 \
+ --flag=-old-base \
+ --disable-tests
+}
diff --git a/dev-haskell/http/http-4000.3.5.ebuild b/dev-haskell/http/http-4000.3.5.ebuild
new file mode 100644
index 000000000000..1d66234f0d61
--- /dev/null
+++ b/dev-haskell/http/http-4000.3.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -warp-tests,-mtl1,-warn-as-error,-old-base,-network23
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HTTP"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A library for client-side HTTP"
+HOMEPAGE="https://github.com/haskell/HTTP"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="conduit10 +network-uri"
+
+RDEPEND=">=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2.2.1.8:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/httpd-shed-0.4 <dev-haskell/httpd-shed-0.5
+ >=dev-haskell/hunit-1.2.0.1 <dev-haskell/hunit-1.6
+ >=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 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag conduit10 conduit10) \
+ --flag=-mtl1 \
+ $(cabal_flag network-uri network-uri) \
+ --flag=-network23 \
+ --flag=-old-base \
+ --flag=-warn-as-error \
+ --flag=-warp-tests
+}
diff --git a/dev-haskell/http/metadata.xml b/dev-haskell/http/metadata.xml
new file mode 100644
index 000000000000..530a8cd6df3e
--- /dev/null
+++ b/dev-haskell/http/metadata.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <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:
+
+ &gt;
+ &gt; do
+ &gt; rsp &lt;- Network.HTTP.simpleHTTP (getRequest "http://www.haskell.org/")
+ &gt; -- fetch document and return it (as a 'String'.)
+ &gt; fmap (take 100) (getResponseBody rsp)
+ &gt;
+ &gt; do
+ &gt; rsp &lt;- Network.Browser.browse $ do
+ &gt; setAllowRedirects True -- handle HTTP redirects
+ &gt; request $ getRequest "https://google.com/"
+ &gt; fmap (take 100) (getResponseBody rsp)
+ &gt;
+
+ Git repository available at &lt;https://github.com/haskell/HTTP.git&gt;
+ </longdescription>
+ <use>
+ <flag name="conduit10">Use version 1.0.x or below of the conduit package (for the test suite).</flag>
+ <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">haskell/HTTP</remote-id>
+ </upstream>
+</pkgmetadata>