* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/bsb-http-chunked/
@ 2020-08-01 8:08 Sergei Trofimovich
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Trofimovich @ 2020-08-01 8:08 UTC (permalink / raw
To: gentoo-commits
commit: 4a272f7a3336377f11a6425379f455e34c944f04
Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
AuthorDate: Sat Aug 1 03:02:54 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 1 08:04:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a272f7a
dev-haskell/bsb-http-chunked: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-haskell/bsb-http-chunked/Manifest | 1 +
.../bsb-http-chunked-0.0.0.4.ebuild | 38 ++++++++++++++++++++++
dev-haskell/bsb-http-chunked/metadata.xml | 17 ++++++++++
3 files changed, 56 insertions(+)
diff --git a/dev-haskell/bsb-http-chunked/Manifest b/dev-haskell/bsb-http-chunked/Manifest
new file mode 100644
index 00000000000..1998bde6fdf
--- /dev/null
+++ b/dev-haskell/bsb-http-chunked/Manifest
@@ -0,0 +1 @@
+DIST bsb-http-chunked-0.0.0.4.tar.gz 6630 BLAKE2B d16b539f34518aaec4875b7644ceebbf50b94ddcdd9a2bb612dabfcd5eafbaa9753d187a5b137f39126993e0b75c9ffcebafb3772d948b45512e33ff3fae1dd9 SHA512 74c04c2fd372067c42d3631cdfc2ad7093c0c3af1145833ab307c538dbb936d2042492d4e81c520c3adde8634df29ff8558822f06f226c52d16abb4a35ab1a13
diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild
new file mode 100644
index 00000000000..007a3169ed0
--- /dev/null
+++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Chunked HTTP transfer encoding for bytestring builders"
+HOMEPAGE="https://github.com/sjakobi/bsb-http-chunked"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.10.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+ test? ( dev-haskell/attoparsec
+ >=dev-haskell/blaze-builder-0.2.1.4
+ >=dev-haskell/doctest-0.8
+ dev-haskell/hedgehog
+ dev-haskell/tasty
+ dev-haskell/tasty-hedgehog
+ dev-haskell/tasty-hunit )
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.8 && < 4.13' 'base >= 4.8'
+}
diff --git a/dev-haskell/bsb-http-chunked/metadata.xml b/dev-haskell/bsb-http-chunked/metadata.xml
new file mode 100644
index 00000000000..4b1a4e670b6
--- /dev/null
+++ b/dev-haskell/bsb-http-chunked/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+ This library contains functions for encoding [bytestring
+ builders](http://hackage.haskell.org/package/bytestring/docs/Data-ByteString-Builder.html#t:Builder)
+ for [chunked HTTP\/1.1 transfer](https://en.wikipedia.org/wiki/Chunked_transfer_encoding).
+
+ This functionality was extracted from
+ the [blaze-builder](http://hackage.haskell.org/package/blaze-builder)
+ package.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/bsb-http-chunked/
@ 2023-11-19 18:39 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-11-19 18:39 UTC (permalink / raw
To: gentoo-commits
commit: bc26dc90eb189ca9e0b637325ede65cc915589d2
Author: hololeap <hololeap <AT> protonmail <DOT> com>
AuthorDate: Wed Nov 15 17:22:59 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 18:32:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc26dc90
dev-haskell/bsb-http-chunked: Add conditional upper bound to ghc dep
Tests included with bsb-http-chunked-0.0.0.4 do not work with
>=ghc-9.2. Add an upper bound for dev-lang/ghc if USE=test is enabled.
Signed-off-by: hololeap <hololeap <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild | 2 +-
dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild
index b6272269df21..6513ce234259 100644
--- a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild
+++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild
@@ -11,7 +11,7 @@ CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Chunked HTTP transfer encoding for bytestring builders"
-HOMEPAGE="https://github.com/sjakobi/bsb-https-chunked"
+HOMEPAGE="https://github.com/sjakobi/bsb-http-chunked"
LICENSE="BSD"
SLOT="0/${PV}"
diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild
index 934de12c6e19..5dd3456be0d4 100644
--- a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild
+++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild
@@ -19,6 +19,14 @@ IUSE=""
RDEPEND=">=dev-lang/ghc-7.10.1:=
"
+
+# Tests do not work correctly on >=ghc-9.2
+RDEPEND+="
+ test? (
+ <dev-lang/ghc-9.1
+ )
+"
+
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.22.2.0
test? ( dev-haskell/attoparsec
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-19 18:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19 18:39 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/bsb-http-chunked/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2020-08-01 8:08 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox