diff options
Diffstat (limited to 'dev-haskell/http2')
-rw-r--r-- | dev-haskell/http2/Manifest | 8 | ||||
-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, 187 insertions, 0 deletions
diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest new file mode 100644 index 000000000000..55b8706b8a44 --- /dev/null +++ b/dev-haskell/http2/Manifest @@ -0,0 +1,8 @@ +AUX http2-1.6.0-even-less-deps.patch 527 SHA256 c1dbda61678f520f303e7c63491af89b20983a61def7d641fd05c4bd5b288a3a SHA512 665ff2ac35b518525d15f4f2f15d717e93cfb08fc723f6a909c481d94dfae80cf45f7cf4f828ea49b39802d8ef5559488f30027236109af0fb493107cac65273 WHIRLPOOL 6c90bf83b5ebd5758b7a77593a8c729b4d29fcb0726cf2636521d95d1dfe72b1f45bad2292f49fd8cfb0ad040bcc81a29ccc368a36874c99a10e72c59dcbc99d +AUX http2-1.6.0-less-deps.patch 1584 SHA256 b53afb1e3f0228a4d48bfd65d120584ee0d4097e0f94a8358f79dc50d4cc209e SHA512 6e626f5412e6e49462d3676e44f410e280e0f0c1b4458d9e400ad6c193620a4b939fd0e80517c503e16c68610c42429fd89761ea7ac88f8c124a7bdc62c61371 WHIRLPOOL 49fdea30e00ffbef6b886fe74f6928047abe56a9554475084e879df9d7055dda039a9decb16b7d57dfe266ea8e1e485d17ee54b53acfe6e726690a7c0e1296de +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 +EBUILD http2-1.3.1.ebuild 1150 SHA256 5415344e9260f4cf5b815acd4e7b4bf88589a6e51af9b96788ee9be88db9c2e7 SHA512 ebd24c1a635aca53dc664e6db840724fedb6650d7d4307ca5b1ea6fb4d9209a34876a458b59a3291e62986cea59cb741bcbf401727e4bb48a9654310ce2e9ed8 WHIRLPOOL f3bb09e4b16eed9a32e7b420d4dd4bb686160a07860b8608cab79e4ff6c166c8bc3d890f120c332f5b7456a73794961953628a60adebdfdb8331b1f7c24e1d5c +EBUILD http2-1.6.2.ebuild 1239 SHA256 44625322051382d84cd2e8ed2c337d4ec7c21b948c01e5b35fa4f7cd1291ce5e SHA512 1034cb044883ae665d1cba1c03653fb0cfd76437e3b3be757a3e94653569ed3fda0c942d7a21ad7f0331ac866eea5b9d0ffe640e08bd5bafbca86f76a0fc1563 WHIRLPOOL 3f2e9c52d344d6aad5c8edb33aafd7246c8022c23caaec398a01ddf0d23aaa28b27bff557ae1f8bccee0a9f52885dfc73eda239ac8c0595b0acfda21b78ec51c +MISC ChangeLog 761 SHA256 767d0b8449cde6cfb79e42260ad57f964399b7178978844ceb95391213f847c1 SHA512 f25032969d574d7c843189d734ee37a12243a4d40174e97ca06f0d5fb93e867fb89a4e936732699abfd4102cf8f6cf14a46a10fcb05f5700f1bfd9910d1f8125 WHIRLPOOL 8286895e9537d63e83c03afa68d50e9a00808fca24e40b2dfb89d04e4f9a3aeb407dde671d0b913b0c8366adad6de7d46eecd0bc65985a87d04cc5f850f8c300 +MISC metadata.xml 392 SHA256 b4730daf87345f88eddf950ae47bf2c43fdb6e381d2ecb5b7ef314bf569fc76a SHA512 5515590e5ff7b56f8ebd033611ce8d3164cf6c267ae26eb5b177ff47edee607d04208e123f982140b1b40438fc3b0b12f0fbe33788e4da448e316944ccf9a1ed WHIRLPOOL bf7d2dc1114a39d98fd72978a3cf91a5316e5a0ee752864970aa55f6314aef9694983e61f20d605a2ea494d59ccaa8aa93e882e49ef2d879ab0abaedad17ca4e 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> |