diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/http2 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/http2')
-rw-r--r-- | dev-haskell/http2/Manifest | 7 | ||||
-rw-r--r-- | dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch | 18 | ||||
-rw-r--r-- | dev-haskell/http2/files/http2-1.6.0-less-deps.patch | 52 | ||||
-rw-r--r-- | dev-haskell/http2/http2-1.3.1.ebuild | 46 | ||||
-rw-r--r-- | dev-haskell/http2/http2-1.6.2.ebuild | 51 | ||||
-rw-r--r-- | dev-haskell/http2/metadata.xml | 12 |
6 files changed, 186 insertions, 0 deletions
diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest new file mode 100644 index 000000000000..087af30d0caf --- /dev/null +++ b/dev-haskell/http2/Manifest @@ -0,0 +1,7 @@ +AUX http2-1.6.0-even-less-deps.patch 527 BLAKE2B 0a86191247c3b88b6fb188dfb9a963a24c3ddecc2d4eb55fb6e097ed95a023fe7f211c152748f92ea14fff53d467dbd3ddc64520a9663f36f4e514ce30c854fb SHA512 665ff2ac35b518525d15f4f2f15d717e93cfb08fc723f6a909c481d94dfae80cf45f7cf4f828ea49b39802d8ef5559488f30027236109af0fb493107cac65273 +AUX http2-1.6.0-less-deps.patch 1584 BLAKE2B c4411d643e1dd44cd82373750d998b42f6ccb268b0864b4cd3be7be2e9b2262490f80fc3ba204cb7dc9e9aba4a0630102337b6e3090aba88e1ad68e516c29fb9 SHA512 6e626f5412e6e49462d3676e44f410e280e0f0c1b4458d9e400ad6c193620a4b939fd0e80517c503e16c68610c42429fd89761ea7ac88f8c124a7bdc62c61371 +DIST http2-1.3.1.tar.gz 39493 BLAKE2B a1a94de5d35510d02c9c43638c9193631c04277e1c53bc6d7ae2cfe93176eda72a700f61606220fcdf349d375c4e888380552193ff8a40b9ec3ca64de04123d1 SHA512 7d47cb35ce55743ecdc19ea52a1e230c8c3d608348f658ed7b3eb4f86a93ad4aa16eb23e4294dc1752bd99da8027e61a0b575ee9b89fe182d6582f6b5b402cee +DIST http2-1.6.2.tar.gz 5138047 BLAKE2B 7febaa42b0c50cd89bfc5e9acba558bea9d7e0e8c791c5ea6e6de17ed938e431b3ba4a94375dcc5858881920b83a92491a5181a13d23420d586b13fd24222535 SHA512 c9df89cb073b57bc379857aedfba82097b805f8c9452b5a2b9cfff2ff096f185f9b8aa2dfaa5b0be7909a214a67d8ba8fb93ddc8a19f8afb43f9f5d5bf67f0da +EBUILD http2-1.3.1.ebuild 1150 BLAKE2B 436ed1813fdb7a9e761a7334ba197f7bae8e41c37ebadc5c74b43d0e14b3aa2eb067610362b2b8acde774d7dd23e0c5fab42f601ba1b9bc20cad0fd35e265304 SHA512 ebd24c1a635aca53dc664e6db840724fedb6650d7d4307ca5b1ea6fb4d9209a34876a458b59a3291e62986cea59cb741bcbf401727e4bb48a9654310ce2e9ed8 +EBUILD http2-1.6.2.ebuild 1239 BLAKE2B f26acef521e634ca2b71db7a4ea51a5f1dbe7260831b4075ea078f5452056488095b7ef136a37e24e938bb3ae5f8a4e44787fb473c2507f406ae605c0336eff0 SHA512 1034cb044883ae665d1cba1c03653fb0cfd76437e3b3be757a3e94653569ed3fda0c942d7a21ad7f0331ac866eea5b9d0ffe640e08bd5bafbca86f76a0fc1563 +MISC metadata.xml 392 BLAKE2B 30170fe16036b33d7e8d83fe7bb3bc04ec51d2fe0598f34dfb8b8bc21727496c191e0178bb267018320eeaa9beedabd4463342f35ba9b98b682a1af9d3ec15d2 SHA512 5515590e5ff7b56f8ebd033611ce8d3164cf6c267ae26eb5b177ff47edee607d04208e123f982140b1b40438fc3b0b12f0fbe33788e4da448e316944ccf9a1ed 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.3.1.ebuild b/dev-haskell/http2/http2-1.3.1.ebuild new file mode 100644 index 000000000000..f4f3933417b9 --- /dev/null +++ b/dev-haskell/http2/http2-1.3.1.ebuild @@ -0,0 +1,46 @@ +# 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: -devel + +CABAL_FEATURES="bin 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="" + +RESTRICT=test # missing files + +RDEPEND="dev-haskell/aeson:=[profile?] + dev-haskell/aeson-pretty:=[profile?] + dev-haskell/bytestring-builder:=[profile?] + dev-haskell/hex:=[profile?] + dev-haskell/psqueues:=[profile?] + dev-haskell/stm:=[profile?] + dev-haskell/text:=[profile?] + dev-haskell/unordered-containers:=[profile?] + dev-haskell/vector:=[profile?] + dev-haskell/word8:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 + test? ( >=dev-haskell/doctest-0.9.3 + dev-haskell/glob + >=dev-haskell/hspec-1.3 + dev-haskell/mwc-random ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-devel +} 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..24d8f5492916 --- /dev/null +++ b/dev-haskell/http2/http2-1.6.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/dev-haskell/http2/metadata.xml b/dev-haskell/http2/metadata.xml new file mode 100644 index 000000000000..8d45638c29bf --- /dev/null +++ b/dev-haskell/http2/metadata.xml @@ -0,0 +1,12 @@ +<?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> + HTTP/2.0 library including frames and HPACK. + Currently HTTP/2 16 framing and HPACK 10 is supported. + </longdescription> +</pkgmetadata> |