diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-haskell/http2 | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-haskell/http2')
| -rw-r--r-- | dev-haskell/http2/Manifest | 2 | ||||
| -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 | 13 |
6 files changed, 182 insertions, 0 deletions
diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest new file mode 100644 index 000000000000..248683f68fa6 --- /dev/null +++ b/dev-haskell/http2/Manifest @@ -0,0 +1,2 @@ +DIST http2-1.3.1.tar.gz 39493 BLAKE2B a1a94de5d35510d02c9c43638c9193631c04277e1c53bc6d7ae2cfe93176eda72a700f61606220fcdf349d375c4e888380552193ff8a40b9ec3ca64de04123d1 SHA512 7d47cb35ce55743ecdc19ea52a1e230c8c3d608348f658ed7b3eb4f86a93ad4aa16eb23e4294dc1752bd99da8027e61a0b575ee9b89fe182d6582f6b5b402cee +DIST http2-1.6.2.tar.gz 5138047 BLAKE2B 7febaa42b0c50cd89bfc5e9acba558bea9d7e0e8c791c5ea6e6de17ed938e431b3ba4a94375dcc5858881920b83a92491a5181a13d23420d586b13fd24222535 SHA512 c9df89cb073b57bc379857aedfba82097b805f8c9452b5a2b9cfff2ff096f185f9b8aa2dfaa5b0be7909a214a67d8ba8fb93ddc8a19f8afb43f9f5d5bf67f0da 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..c263ac981cc9 --- /dev/null +++ b/dev-haskell/http2/http2-1.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# 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="https://hackage.haskell.org/package/http2" +SRC_URI="https://hackage.haskell.org/package/${P}/${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..dad40a704875 --- /dev/null +++ b/dev-haskell/http2/http2-1.6.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# 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="https://hackage.haskell.org/package/http2" +SRC_URI="https://hackage.haskell.org/package/${P}/${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..31c1e819fbc8 --- /dev/null +++ b/dev-haskell/http2/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <origin>gentoo-staging</origin> +</pkgmetadata> |
