Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/http-streams/
Date: Sat, 30 Jul 2022 05:59:57
Message-Id: 1659160737.6c7804ef7d3972a99cd91408fa52417b6f176599.sam@gentoo
1 commit: 6c7804ef7d3972a99cd91408fa52417b6f176599
2 Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Sat Jul 30 03:15:23 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 05:58:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7804ef
7
8 dev-haskell/http-streams: add 0.8.9.4, drop 0.8.7.2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-haskell/http-streams/Manifest | 2 +-
13 .../http-streams/http-streams-0.8.7.2.ebuild | 47 ------------------
14 .../http-streams/http-streams-0.8.9.4.ebuild | 56 ++++++++++++++++++++++
15 dev-haskell/http-streams/metadata.xml | 14 ------
16 4 files changed, 57 insertions(+), 62 deletions(-)
17
18 diff --git a/dev-haskell/http-streams/Manifest b/dev-haskell/http-streams/Manifest
19 index f0d58e860f1b..cfbe0b5e8cbd 100644
20 --- a/dev-haskell/http-streams/Manifest
21 +++ b/dev-haskell/http-streams/Manifest
22 @@ -1 +1 @@
23 -DIST http-streams-0.8.7.2.tar.gz 35163 BLAKE2B 80b5a12bd95379009993efe1eb3f484c54e143d2d132a9b7a4faa64fd59fcacdade0b388138de7357692c49bffbdf508ccf05dc2e919e56c59e52191bf1b7f8c SHA512 1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea
24 +DIST http-streams-0.8.9.4.tar.gz 37090 BLAKE2B 4e81ce6fffd8132d8a74c210c70a786c37fd09493c9806b8e15d570922c8e792d6244e1b3e80ef5dbf607291161c01a53617fc030f0c0088a70f9b6ad531eba9 SHA512 8448fba398ae323f1bdd44c8cbb02ba678ffc9d06f26d4e46c8c1f1de849a83a9fef697ffa5650ef58730ad81714775046a9b0857e760112ef25b418e2b5d0fe
25
26 diff --git a/dev-haskell/http-streams/http-streams-0.8.7.2.ebuild b/dev-haskell/http-streams/http-streams-0.8.7.2.ebuild
27 deleted file mode 100644
28 index e2e1e9367992..000000000000
29 --- a/dev-haskell/http-streams/http-streams-0.8.7.2.ebuild
30 +++ /dev/null
31 @@ -1,47 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -# ebuild generated by hackport 0.6.7.9999
38 -
39 -CABAL_FEATURES="lib profile haddock hoogle hscolour" # Drop 'test-suite' to avoid circular depend
40 -inherit haskell-cabal
41 -
42 -DESCRIPTION="An HTTP client using io-streams"
43 -HOMEPAGE="https://github.com/afcowie/http-streams/"
44 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0/${PV}"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="+network-uri"
50 -
51 -RESTRICT=test #circular test depend: http-streams -> snap-server -> http-streams
52 -
53 -RDEPEND="dev-haskell/aeson:=[profile?]
54 - dev-haskell/attoparsec:=[profile?]
55 - dev-haskell/base64-bytestring:=[profile?]
56 - >=dev-haskell/blaze-builder-0.4:=[profile?]
57 - dev-haskell/case-insensitive:=[profile?]
58 - >=dev-haskell/hsopenssl-0.11.2:=[profile?]
59 - >=dev-haskell/http-common-0.8.2:=[profile?]
60 - >=dev-haskell/io-streams-1.3:=[zlib,profile?] <dev-haskell/io-streams-1.6:=[zlib,profile?]
61 - dev-haskell/mtl:=[profile?]
62 - >=dev-haskell/openssl-streams-1.1:=[profile?] <dev-haskell/openssl-streams-1.4:=[profile?]
63 - dev-haskell/text:=[profile?]
64 - dev-haskell/unordered-containers:=[profile?]
65 - >=dev-lang/ghc-8.4.3:=
66 - network-uri? ( >=dev-haskell/network-2.6:=[profile?]
67 - >=dev-haskell/network-uri-2.6:=[profile?] )
68 - !network-uri? ( <dev-haskell/network-2.6:=[profile?]
69 - <dev-haskell/network-uri-2.6:=[profile?] )
70 -"
71 -DEPEND="${RDEPEND}
72 - >=dev-haskell/cabal-2.2.0.1
73 -"
74 -
75 -src_configure() {
76 - haskell-cabal_src_configure \
77 - $(cabal_flag network-uri network-uri)
78 -}
79
80 diff --git a/dev-haskell/http-streams/http-streams-0.8.9.4.ebuild b/dev-haskell/http-streams/http-streams-0.8.9.4.ebuild
81 new file mode 100644
82 index 000000000000..f91d92336669
83 --- /dev/null
84 +++ b/dev-haskell/http-streams/http-streams-0.8.9.4.ebuild
85 @@ -0,0 +1,56 @@
86 +# Copyright 1999-2022 Gentoo Authors
87 +# Distributed under the terms of the GNU General Public License v2
88 +
89 +EAPI=8
90 +
91 +# ebuild generated by hackport 0.7.9999
92 +#hackport: flags: +network-uri
93 +CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite circular depends
94 +inherit haskell-cabal
95 +
96 +DESCRIPTION="An HTTP client using io-streams"
97 +HOMEPAGE="https://github.com/aesiniath/http-streams/"
98 +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
99 +
100 +LICENSE="BSD"
101 +SLOT="0/${PV}"
102 +KEYWORDS="~amd64 ~ppc64 ~x86"
103 +
104 +RESTRICT=test #circular test depend: http-streams -> snap-server -> http-streams
105 +
106 +RDEPEND="dev-haskell/aeson:=[profile?]
107 + dev-haskell/attoparsec:=[profile?]
108 + dev-haskell/base64-bytestring:=[profile?]
109 + >=dev-haskell/blaze-builder-0.4:=[profile?]
110 + dev-haskell/case-insensitive:=[profile?]
111 + >=dev-haskell/hsopenssl-0.11.2:=[profile?]
112 + >=dev-haskell/http-common-0.8.3.4:=[profile?]
113 + >=dev-haskell/io-streams-1.3:=[zlib,profile?] <dev-haskell/io-streams-1.6:=[zlib,profile?]
114 + dev-haskell/mtl:=[profile?]
115 + >=dev-haskell/openssl-streams-1.1:=[profile?] <dev-haskell/openssl-streams-1.4:=[profile?]
116 + dev-haskell/text:=[profile?]
117 + dev-haskell/unordered-containers:=[profile?]
118 + >=dev-lang/ghc-8.4.3:=
119 + >=dev-haskell/network-2.6:=[profile?]
120 + >=dev-haskell/network-uri-2.6:=[profile?]
121 +"
122 +DEPEND="${RDEPEND}
123 + >=dev-haskell/cabal-2.2.0.1"
124 +# test? ( dev-haskell/aeson-pretty
125 +# dev-haskell/hspec
126 +# dev-haskell/hspec-expectations
127 +# dev-haskell/hunit
128 +# dev-haskell/lifted-base
129 +# dev-haskell/random
130 +# >=dev-haskell/snap-core-1.0 <dev-haskell/snap-core-1.2
131 +# >=dev-haskell/snap-server-1.1 <dev-haskell/snap-server-1.2
132 +# >=dev-haskell/system-fileio-0.3.10 <dev-haskell/system-fileio-0.4
133 +# >=dev-haskell/system-filepath-0.4.1 <dev-haskell/system-filepath-0.5
134 +# !network-uri? ( >=dev-haskell/network-2.6
135 +# >=dev-haskell/network-uri-2.6 ) )
136 +# "
137 +
138 +src_configure() {
139 + haskell-cabal_src_configure \
140 + --flag=network-uri
141 +}
142
143 diff --git a/dev-haskell/http-streams/metadata.xml b/dev-haskell/http-streams/metadata.xml
144 index 72f0ed5fab0e..937381521944 100644
145 --- a/dev-haskell/http-streams/metadata.xml
146 +++ b/dev-haskell/http-streams/metadata.xml
147 @@ -5,18 +5,4 @@
148 <email>haskell@g.o</email>
149 <name>Gentoo Haskell</name>
150 </maintainer>
151 - <longdescription>
152 - /Overview/
153 -
154 - An HTTP client, using the Snap Framework's 'io-streams' library to
155 - hande the streaming IO. The API is optimized for ease of use for the
156 - rather common case of code needing to query web services and deal with
157 - the result.
158 -
159 - The library is exported in a single module; see "Network.Http.Client"
160 - for full documentation.
161 - </longdescription>
162 - <use>
163 - <flag name="network-uri">Get Network.URI from the network-uri package.</flag>
164 - </use>
165 </pkgmetadata>