summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-22 22:56:17 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-22 22:56:17 +0100
commitd4a5c4c560f2e1a26646d1e83c65071e803fd265 (patch)
treeeaeec1172aa3404ccda21846db1e51a654094b4f /dev-haskell/bytes
parentprofiles/package.mask: mask dev-haskell/asn1-data and dev-haskell/certificate... (diff)
downloadgentoo-d4a5c4c560f2e1a26646d1e83c65071e803fd265.tar.gz
gentoo-d4a5c4c560f2e1a26646d1e83c65071e803fd265.tar.bz2
gentoo-d4a5c4c560f2e1a26646d1e83c65071e803fd265.zip
dev-haskell/bytes: bump up to 0.17
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/735874 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/bytes')
-rw-r--r--dev-haskell/bytes/Manifest1
-rw-r--r--dev-haskell/bytes/bytes-0.17.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-haskell/bytes/Manifest b/dev-haskell/bytes/Manifest
index 6d1ef2f6b3e9..e8123eca77dc 100644
--- a/dev-haskell/bytes/Manifest
+++ b/dev-haskell/bytes/Manifest
@@ -1,2 +1,3 @@
DIST bytes-0.15.2.tar.gz 18834 BLAKE2B 18f0e2618a3ed7f4eefaabd0c4b4ca6b99e4493ae0b73dee9a7f0fe1c2e980a4e8714e50198177a657d6ac06c08227350dc342178f5565444ea9f23904d01585 SHA512 339da2fe49a6acd307057bfcc79e7ac09eefb9a93ec60cd52a8d425337e7bf355ca8aa42f304863df773b0ef2c459b53571920611cf1ef8f98e78d112cc6ad29
DIST bytes-0.15.5.tar.gz 19354 BLAKE2B cd6845be4c541a231d52e985532379c166a84346f57687f6407716ed0c9ea17b0fe10dc2f5cf500898398dea8227ec2277967847a8eec49e49e21236d14a1b62 SHA512 c9c6b2978345e4e8eb3b12e0600e286f73a419db403fb3fe003b637cd045b1d52207f8ab06d8fcb583fd094095e62de81e4066c851b3a419c0731534a645c7f6
+DIST bytes-0.17.tar.gz 19794 BLAKE2B 12ed44aced19c62e5a78673ca01cdbc0b42d3d265b0254ced120c95ffaa1264be53db3bcedc9a84ad7a0ebf443f40ba6693d04774b307033944d4c9709a06469 SHA512 1114bfb8db6a870b1edb1a77d9234ce0bdac38a5d12708de537d09bca2a3580d16755031b704b9fdceaa0a531009b7e7f392a6f1ee173eff9720774038f675a1
diff --git a/dev-haskell/bytes/bytes-0.17.ebuild b/dev-haskell/bytes/bytes-0.17.ebuild
new file mode 100644
index 000000000000..5707b82636dd
--- /dev/null
+++ b/dev-haskell/bytes/bytes-0.17.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4
+#hackport: flags: -lib-werror
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Sharing code for serialization between binary and cereal"
+HOMEPAGE="https://github.com/ekmett/bytes"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+test-doctests"
+
+RESTRICT=test # fail to doctest
+
+RDEPEND=">=dev-haskell/binary-orphans-1.0.1:=[profile?] <dev-haskell/binary-orphans-1.1:=[profile?]
+ >=dev-haskell/cereal-0.5.2:=[profile?] <dev-haskell/cereal-0.6:=[profile?]
+ >=dev-haskell/fail-4.9.0.0:=[profile?] <dev-haskell/fail-4.10:=[profile?]
+ >=dev-haskell/hashable-1.0.1.1:=[profile?] <dev-haskell/hashable-1.4:=[profile?]
+ >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/scientific-0.0:=[profile?] <dev-haskell/scientific-1:=[profile?]
+ >=dev-haskell/semigroups-0.5:=[profile?] <dev-haskell/semigroups-1:=[profile?]
+ >=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/transformers-compat-0.6.5:=[profile?] <dev-haskell/transformers-compat-1:=[profile?]
+ >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
+ >=dev-haskell/void-0.6:=[profile?] <dev-haskell/void-1:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ >=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1
+ test? ( test-doctests? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.17 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-lib-werror \
+ $(cabal_flag test-doctests test-doctests)
+}