summaryrefslogtreecommitdiff
path: root/dev-haskell/http2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/http2
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/http2')
-rw-r--r--dev-haskell/http2/Manifest8
-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-3.0.1.ebuild2
-rw-r--r--dev-haskell/http2/http2-4.1.2.ebuild52
-rw-r--r--dev-haskell/http2/metadata.xml4
6 files changed, 133 insertions, 3 deletions
diff --git a/dev-haskell/http2/Manifest b/dev-haskell/http2/Manifest
index cac14580d1ab..d154872ba90d 100644
--- a/dev-haskell/http2/Manifest
+++ b/dev-haskell/http2/Manifest
@@ -1,3 +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-3.0.1.tar.gz 5556373 BLAKE2B 40daf73f0460ce649d6bed41b9df961b7388f7ac2e67a11aae56be2f31209183e68cef558b7880b87d1a752f96f989779e5ecbf1a86df5bd4ac8443cd476c41b SHA512 aaa32209fb9945cc33c557866acb053df403bbe37c2bd024ac52e7fc6a3e816d0249e48b83e8846017fe0df0998327cf3498f1bc96b57b0fa81ce9c4d35589c6
-EBUILD http2-3.0.1.ebuild 1397 BLAKE2B bb79d819b22e53ac7bfe0b4036f74fec2f49006a91ed736a20a71717ad0787bad749593f41520ec94ff2bb9af9cdb54d6f310adedb0f7f78d0f922e858aa3346 SHA512 5f1566e273eee8dac662695dd9633cc87542394bf1a70d2c269d2fdf59346c4a431dfffc62ef703d7150b053b53a4c101407bcd6f78e2c7586734a2faecad0b0
-MISC metadata.xml 250 BLAKE2B 3adf9597d5114c480b4cc9fb5c3e231d8475b795cd6dce77986e13583ab6e59b43857cf2328570490abef0062a8b8a6b73d231867f9b62124855515cdc044d6d SHA512 5ef2c1d34a3438b39a38c041d45bb06bd0f1ae8a3f8b971bd5aaf36dee560f380e9abefab0c2a4cd7b518e151f5c6a0d0c7cd53caee9a384818f1bdc7deeadc4
+DIST http2-4.1.2.tar.gz 5496723 BLAKE2B 1939a137ce0ef3fad476721fe9059963de7b96e9e09c49735d33de3bb4382ec5536c17965677df3482edb09b93e83edee485503d989b07bff8cf7d0c76f48b3e SHA512 85fb0025854c059d186dd4cefffb1065f0c87d494740afba6a3f785c7d579bc11e2ba881eeeae8f682e55902e70a8ba8bc571f84aa27fcaf341110fb70e1b43d
+EBUILD http2-3.0.1.ebuild 1397 BLAKE2B 3f1abc19a84f35324b944bd78974f9e4d8e29a14558906707f8e3ce3e7e6f1c46bc13cfaa4b308cd2b49a143ef733c1b47aa43cd4a686e4112d1f425d80e39ea SHA512 3fdc0e961a6a632e5ad8b6afed2ffb7b5f6ab4e499be4ec9ee4db105e902e7a6738c4370538d3db7f4bd603b2b50fd43710097c754466fe6ae01e6e08b7e7744
+EBUILD http2-4.1.2.ebuild 1334 BLAKE2B 3d4044535f97cb7a7c8afbc80eab0ea7d78372a42fffc39dc24c7fe4391488d3698a04082b47cf71a30d6c3298d0f10dfa8e332cf6f72317ecb3b3bcac93832b SHA512 8c2203edefaed4dba2cff0f72bfa5df983d6816fa7c83077a8de5682c185e57141111a92cabee4552019a58e309881de0e5d213d15985c90d146ff739c50ed78
+MISC metadata.xml 380 BLAKE2B f275d4207aa2fc9ff1061f8acd3ef3be5be021abfd167e5d5821b0e67c03f8f382b5c8d873fced4726001399998fb678e4a937a11d18a6bb53df74cc2b21bb94 SHA512 5ce313d8b9a4172e36c088ce14e1718c05a45b4e00e064ad023fd860b641aba36b0c29ac3d538d3b2762a16dd091cc46c14bb1a0b40816871154ef35ae353816
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-3.0.1.ebuild b/dev-haskell/http2/http2-3.0.1.ebuild
index fecaeb80aff2..26de4836f1dd 100644
--- a/dev-haskell/http2/http2-3.0.1.ebuild
+++ b/dev-haskell/http2/http2-3.0.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ebuild generated by hackport 0.6.7.9999
#hackport: flags: -devel,-doc,-h2spec
diff --git a/dev-haskell/http2/http2-4.1.2.ebuild b/dev-haskell/http2/http2-4.1.2.ebuild
new file mode 100644
index 000000000000..3c47800475b9
--- /dev/null
+++ b/dev-haskell/http2/http2-4.1.2.ebuild
@@ -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
+}
diff --git a/dev-haskell/http2/metadata.xml b/dev-haskell/http2/metadata.xml
index 937381521944..baab2d1900ab 100644
--- a/dev-haskell/http2/metadata.xml
+++ b/dev-haskell/http2/metadata.xml
@@ -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>