mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-haskell/http2: add 4.1.2
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST http2-3.0.1.tar.gz 5556373 BLAKE2B 40daf73f0460ce649d6bed41b9df961b7388f7ac2e67a11aae56be2f31209183e68cef558b7880b87d1a752f96f989779e5ecbf1a86df5bd4ac8443cd476c41b SHA512 aaa32209fb9945cc33c557866acb053df403bbe37c2bd024ac52e7fc6a3e816d0249e48b83e8846017fe0df0998327cf3498f1bc96b57b0fa81ce9c4d35589c6
|
||||
DIST http2-4.1.2.tar.gz 5496723 BLAKE2B 1939a137ce0ef3fad476721fe9059963de7b96e9e09c49735d33de3bb4382ec5536c17965677df3482edb09b93e83edee485503d989b07bff8cf7d0c76f48b3e SHA512 85fb0025854c059d186dd4cefffb1065f0c87d494740afba6a3f785c7d579bc11e2ba881eeeae8f682e55902e70a8ba8bc571f84aa27fcaf341110fb70e1b43d
|
||||
|
||||
18
dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch
Normal file
18
dev-haskell/http2/files/http2-1.6.0-even-less-deps.patch
Normal file
@@ -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
|
||||
|
||||
52
dev-haskell/http2/files/http2-1.6.0-less-deps.patch
Normal file
52
dev-haskell/http2/files/http2-1.6.0-less-deps.patch
Normal file
@@ -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
|
||||
|
||||
52
dev-haskell/http2/http2-4.1.2.ebuild
Normal file
52
dev-haskell/http2/http2-4.1.2.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# ebuild generated by hackport 0.8.2.0.9999
|
||||
#hackport: flags: -devel,-doc,-h2spec
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="HTTP/2 library"
|
||||
HOMEPAGE="https://github.com/kazu-yamamoto/http2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RESTRICT=test # requires network to run one of the test suites
|
||||
|
||||
RDEPEND="dev-haskell/async:=[profile?]
|
||||
dev-haskell/case-insensitive:=[profile?]
|
||||
dev-haskell/http-types:=[profile?]
|
||||
dev-haskell/network:=[profile?]
|
||||
>=dev-haskell/network-byte-order-0.1.5:=[profile?]
|
||||
dev-haskell/psqueues:=[profile?]
|
||||
dev-haskell/time-manager:=[profile?]
|
||||
dev-haskell/unix-time:=[profile?]
|
||||
dev-haskell/unliftio:=[profile?]
|
||||
>=dev-lang/ghc-8.8.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-3.0.0.0
|
||||
test? ( >=dev-haskell/aeson-2
|
||||
dev-haskell/aeson-pretty
|
||||
>=dev-haskell/base16-bytestring-1.0
|
||||
dev-haskell/cryptonite
|
||||
>=dev-haskell/glob-0.9
|
||||
>=dev-haskell/hspec-1.3
|
||||
>=dev-haskell/network-run-0.1.0
|
||||
dev-haskell/text
|
||||
dev-haskell/typed-process
|
||||
dev-haskell/unordered-containers
|
||||
dev-haskell/vector )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
--flag=-devel \
|
||||
--flag=-doc \
|
||||
--flag=-h2spec
|
||||
}
|
||||
@@ -5,4 +5,8 @@
|
||||
<email>haskell@gentoo.org</email>
|
||||
<name>Gentoo Haskell</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="hackage">http2</remote-id>
|
||||
<remote-id type="github">kazu-yamamoto/http2</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user