diff options
Diffstat (limited to 'dev-haskell/http')
-rw-r--r-- | dev-haskell/http/Manifest | 8 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.2.17.ebuild | 50 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.2.20.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.2.22.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.2.8.ebuild | 60 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.3.14.ebuild | 61 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.3.5.ebuild | 52 | ||||
-rw-r--r-- | dev-haskell/http/http-4000.4.1-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-haskell/http/metadata.xml | 40 |
9 files changed, 53 insertions, 375 deletions
diff --git a/dev-haskell/http/Manifest b/dev-haskell/http/Manifest index 273145ff625f..04d7dc0b45e9 100644 --- a/dev-haskell/http/Manifest +++ b/dev-haskell/http/Manifest @@ -1,6 +1,2 @@ -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.14.tar.gz 72938 BLAKE2B d1e24a693d5a63d6ff493766e959447e29c6371854360645f398e4b17f807de3d1ffc4716136fcaeb60f4157bd7622b3d8c30269a98ad7ebecf5f3521e292c03 SHA512 bcc9107412f3ff5806369675ae6cfd87c4ecc36490eab6d62c697f47e62ff8b0d1d6a25f9bfb9d8ef1f037492820eb732cb9cbec7ea9e7e4b20699573077b064 -DIST HTTP-4000.3.5.tar.gz 71718 BLAKE2B 3838c286001bef88fe4b1834bf9e924ab84057fdef1906735e5049123c3694fded687099c7c4e6cd1ad71a1193f301ee0ffec59141ee7a6997abe8efacc9ae35 SHA512 9abfbac7796c21a01828c686500ec0fa81d0ad23b8139e3f64a41dfd62a3ecf345573831f5a304390dab057687d73e5cd49507a4efeb4bc9371558e8c1676653 +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.2.17.ebuild b/dev-haskell/http/http-4000.2.17.ebuild deleted file mode 100644 index 29ebc488b254..000000000000 --- a/dev-haskell/http/http-4000.2.17.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~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 deleted file mode 100644 index f0cd617e230a..000000000000 --- a/dev-haskell/http/http-4000.2.20.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="https://hackage.haskell.org/package/${MY_P}/${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 deleted file mode 100644 index 1cf5433a3a9b..000000000000 --- a/dev-haskell/http/http-4000.2.22.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="https://hackage.haskell.org/package/${MY_P}/${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 deleted file mode 100644 index 8dcc8bd7810a..000000000000 --- a/dev-haskell/http/http-4000.2.8.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# 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="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~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.14.ebuild b/dev-haskell/http/http-4000.3.14.ebuild deleted file mode 100644 index c2e843e563e2..000000000000 --- a/dev-haskell/http/http-4000.3.14.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# ebuild generated by hackport 0.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="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="conduit10 +network-uri" - -RESTRICT=test # requires network - -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-3.2:=[profile?] - >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] ) - !network-uri? ( >=dev-haskell/network-2.4:=[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.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 ) -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.3.0.0 && < 4.14' 'base >= 4.3.0.0' -} - -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.3.5.ebuild b/dev-haskell/http/http-4000.3.5.ebuild deleted file mode 100644 index 3c5a93903a97..000000000000 --- a/dev-haskell/http/http-4000.3.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -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/http-4000.4.1-r1.ebuild b/dev-haskell/http/http-4000.4.1-r1.ebuild new file mode 100644 index 000000000000..bf07dbb5578e --- /dev/null +++ b/dev-haskell/http/http-4000.4.1-r1.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.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 + +DESCRIPTION="A library for client-side HTTP" +HOMEPAGE="https://github.com/haskell/HTTP" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" + +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-haskell/parsec-2.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?] + >=dev-lang/ghc-8.8.1:= +" +DEPEND="${RDEPEND} + >=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 + ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-conduit10 \ + --flag=-mtl1 \ + --flag=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 index 530a8cd6df3e..39f332301d58 100644 --- a/dev-haskell/http/metadata.xml +++ b/dev-haskell/http/metadata.xml @@ -1,48 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://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: - - > - > 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> - <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="hackage">HTTP</remote-id> <remote-id type="github">haskell/HTTP</remote-id> </upstream> </pkgmetadata> |