summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 22:28:54 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:28 +0000
commit7e7c426734eb5175533f9b389dd3f6d3950ded70 (patch)
treee2c39dd2cbae840bb0241c1f1da00e97ef9b2b35 /dev-haskell/http2
parentapp-text/pandoc: bump up to 1.18 (diff)
downloadgentoo-7e7c426734eb5175533f9b389dd3f6d3950ded70.tar.gz
gentoo-7e7c426734eb5175533f9b389dd3f6d3950ded70.tar.bz2
gentoo-7e7c426734eb5175533f9b389dd3f6d3950ded70.zip
dev-haskell/http2: bump up to 1.6.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/http2')
-rw-r--r--dev-haskell/http2/Manifest1
-rw-r--r--dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch18
-rw-r--r--dev-haskell/http2/files/http2-1.6.0-less-deps.patch52
-rw-r--r--dev-haskell/http2/http2-1.6.2.ebuild52
4 files changed, 123 insertions, 0 deletions
diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest
index 3d1cecf8a9da..d7f5a2ebd26b 100644
--- a/dev-haskell/http2/Manifest
+++ b/dev-haskell/http2/Manifest
@@ -1 +1,2 @@
DIST http2-1.3.1.tar.gz 39493 SHA256 547aa0826373711e4ec8d271f767cd8db74ac3cb822cdf58d305c18babd22f96 SHA512 7d47cb35ce55743ecdc19ea52a1e230c8c3d608348f658ed7b3eb4f86a93ad4aa16eb23e4294dc1752bd99da8027e61a0b575ee9b89fe182d6582f6b5b402cee WHIRLPOOL d0852b262b44bb9b9e306f8e2d605dc8646a3568a52553cdb50d5bef792d929967c48f79aa429906098ac78017ec6a202afa41cb533bafd6d5bb7d810a4347c7
+DIST http2-1.6.2.tar.gz 5138047 SHA256 99e75ac0fa19276d276ec63bb94eefb2e952b0a374aea8f3d2c2408a634b6fe7 SHA512 c9df89cb073b57bc379857aedfba82097b805f8c9452b5a2b9cfff2ff096f185f9b8aa2dfaa5b0be7909a214a67d8ba8fb93ddc8a19f8afb43f9f5d5bf67f0da WHIRLPOOL b7705ad28bd6348a444b9dfee5d6026d6d0b63fc0be67655c6a775127840868787c2613fccae2c34391b99c31841b3792fab2be302e5574c2e0e539a9ea2186f
diff --git a/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch b/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch
new file mode 100644
index 000000000000..07be024ee5e1
--- /dev/null
+++ b/dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch
@@ -0,0 +1,18 @@
+diff --git a/http2.cabal b/http2.cabal
+index fe57a48..b28ad06 100644
+--- a/http2.cabal
++++ b/http2.cabal
+@@ -204,6 +204,3 @@ Executable hpack-debug
+ Buildable: True
+- else
+- Buildable: False
+- Main-Is: hpack-debug.hs
+- Build-Depends: base >= 4 && < 5
++ Build-Depends: base >= 4 && < 5
+ , aeson
+@@ -219,2 +216,5 @@ Executable hpack-debug
+ , word8
++ else
++ Buildable: False
++ Main-Is: hpack-debug.hs
+
diff --git a/dev-haskell/http2/files/http2-1.6.0-less-deps.patch b/dev-haskell/http2/files/http2-1.6.0-less-deps.patch
new file mode 100644
index 000000000000..1ee62446d328
--- /dev/null
+++ b/dev-haskell/http2/files/http2-1.6.0-less-deps.patch
@@ -0,0 +1,52 @@
+diff --git a/http2.cabal b/http2.cabal
+index 7986d1c..fe57a48 100644
+--- a/http2.cabal
++++ b/http2.cabal
+@@ -180,7 +180,3 @@ Executable hpack-encode
+ Buildable: True
+- else
+- Buildable: False
+- Main-Is: hpack-encode.hs
+- Other-Modules: HPACKEncode
+- Build-Depends: base >= 4 && < 5
++ Build-Depends: base >= 4 && < 5
+ , aeson
+@@ -197,2 +193,6 @@ Executable hpack-encode
+ , word8
++ else
++ Buildable: False
++ Main-Is: hpack-encode.hs
++ Other-Modules: HPACKEncode
+
+@@ -226,6 +226,3 @@ Executable hpack-stat
+ Buildable: True
+- else
+- Buildable: False
+- Main-Is: hpack-stat.hs
+- Build-Depends: base >= 4 && < 5
++ Build-Depends: base >= 4 && < 5
+ , aeson
+@@ -243,2 +240,5 @@ Executable hpack-stat
+ , word8
++ else
++ Buildable: False
++ Main-Is: hpack-stat.hs
+
+@@ -250,8 +250,3 @@ Executable frame-encode
+ Buildable: True
+- else
+- Buildable: False
+- Main-Is: frame-encode.hs
+- Other-Modules: Case
+- JSON
+- Build-Depends: base >= 4 && < 5
++ Build-Depends: base >= 4 && < 5
+ , aeson
+@@ -263,2 +258,7 @@ Executable frame-encode
+ , unordered-containers
++ else
++ Buildable: False
++ Main-Is: frame-encode.hs
++ Other-Modules: Case
++ JSON
+
diff --git a/dev-haskell/http2/http2-1.6.2.ebuild b/dev-haskell/http2/http2-1.6.2.ebuild
new file mode 100644
index 000000000000..5fc5f6aff37a
--- /dev/null
+++ b/dev-haskell/http2/http2-1.6.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.4.7.9999
+#hackport: flags: -devel
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="HTTP/2.0 library including frames and HPACK"
+HOMEPAGE="http://hackage.haskell.org/package/http2"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/bytestring-builder:=[profile?]
+ dev-haskell/case-insensitive:=[profile?]
+ dev-haskell/psqueues:=[profile?]
+ dev-haskell/stm:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+ test? ( dev-haskell/aeson
+ dev-haskell/aeson-pretty
+ >=dev-haskell/doctest-0.9.3
+ dev-haskell/glob
+ dev-haskell/hex
+ >=dev-haskell/hspec-1.3
+ dev-haskell/text
+ dev-haskell/unordered-containers
+ dev-haskell/vector
+ dev-haskell/word8 )
+"
+
+src_prepare() {
+ # workaround Cabal bug at picking unused deps
+ eapply "${FILESDIR}"/${PN}-1.6.0-less-deps.patch
+ eapply "${FILESDIR}"/${PN}-1.6.0-even-less-deps.patch
+ eapply_user
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-devel
+}