gienah 14/12/14 05:22:27 Modified: metadata.xml ChangeLog Added: http-4000.2.18.ebuild Log: Bump http to 4000.2.18 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Revision Changes Path 1.4 dev-haskell/http/metadata.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/metadata.xml?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/metadata.xml?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/metadata.xml?r1=1.3&r2=1.4 Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-haskell/http/metadata.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- metadata.xml 25 Jul 2014 08:59:03 -0000 1.3 +++ metadata.xml 14 Dec 2014 05:22:27 -0000 1.4 @@ -5,7 +5,38 @@ <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, + 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 "http://google.com/" + > fmap (take 100) (getResponseBody rsp) + > + + Git repository available at <git://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> </pkgmetadata> 1.48 dev-haskell/http/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/ChangeLog?rev=1.48&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/ChangeLog?rev=1.48&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/ChangeLog?r1=1.47&r2=1.48 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-haskell/http/ChangeLog,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- ChangeLog 25 Jul 2014 08:59:03 -0000 1.47 +++ ChangeLog 14 Dec 2014 05:22:27 -0000 1.48 @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/http # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/http/ChangeLog,v 1.47 2014/07/25 08:59:03 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/http/ChangeLog,v 1.48 2014/12/14 05:22:27 gienah Exp $ + +*http-4000.2.18 (14 Dec 2014) + + 14 Dec 2014; Mark Wright <[email protected]> +http-4000.2.18.ebuild, + metadata.xml: + Bump http to 4000.2.18 25 Jul 2014; Sergei Trofimovich <[email protected]> metadata.xml: Drop redundant '<maintainer>' field, leave only '<herd>'. 1.1 dev-haskell/http/http-4000.2.18.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/http-4000.2.18.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/http/http-4000.2.18.ebuild?rev=1.1&content-type=text/plain Index: http-4000.2.18.ebuild =================================================================== # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/http/http-4000.2.18.ebuild,v 1.1 2014/12/14 05:22:27 gienah Exp $ EAPI=5 # ebuild generated by hackport 0.4.3.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.0.1:=[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.2.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 }
