summaryrefslogtreecommitdiff
path: root/dev-haskell/random-bytestring
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/random-bytestring
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/random-bytestring')
-rw-r--r--dev-haskell/random-bytestring/Manifest3
-rw-r--r--dev-haskell/random-bytestring/metadata.xml11
-rw-r--r--dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild31
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-haskell/random-bytestring/Manifest b/dev-haskell/random-bytestring/Manifest
new file mode 100644
index 000000000000..6130207206be
--- /dev/null
+++ b/dev-haskell/random-bytestring/Manifest
@@ -0,0 +1,3 @@
+DIST random-bytestring-0.1.4.tar.gz 79911 BLAKE2B 2d4eb685a231a891a04050a6c2c71c6088b77220872b1aebc02e8db77fd12ab01aeed30f724207f1a544206eb79fab3499222d9997e4ea7ed967a4ea34922492 SHA512 17d7a2a758fbfc88ef1bcf6231f28276ecc5e363521b5fab38b539cf191c80c2dedeefe6d59346b7dff2def87b1e18657f13db8f43cf3c447142909fb3012ed5
+EBUILD random-bytestring-0.1.4.ebuild 758 BLAKE2B ff251c44dd49272213d918fbea41507b6ac07013e2de538bcaacb234b552ea25cff0ba918e592ae5555b664128d1c76afb2cd8c7b05464e16fc19669db82f298 SHA512 e2c4f79501c3a76eb45dabf88860195777b98275204f2ef1dad4618a5eaa7a0a9e663c1e98386fd440c1b19a6b14fe2b8342c60e668fb13262d135c4a18beb0f
+MISC metadata.xml 336 BLAKE2B 1ed66c2fac2c6ff19466606d138cdab05bc4f0c5bb81695aa3905ee69806dca2a729329af60d34d300af134f814d2c0fd04bf09eddc5205c035fbc6525147a04 SHA512 876ca7af6c646495f7d9957b92bbd6c661f2073a3a5934009c16321008c3ba4d78aeceda161d0cc8dc77ae4e37524dd33e61a3680fa1e5d8e50bd3261578f5ee
diff --git a/dev-haskell/random-bytestring/metadata.xml b/dev-haskell/random-bytestring/metadata.xml
new file mode 100644
index 000000000000..c78fd78a2d28
--- /dev/null
+++ b/dev-haskell/random-bytestring/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="pcg">compile with support for PCG from pcg-random</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild b/dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild
new file mode 100644
index 000000000000..77e5d04ff939
--- /dev/null
+++ b/dev-haskell/random-bytestring/random-bytestring-0.1.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Efficient generation of random bytestrings"
+HOMEPAGE="https://www.github.com/larskuhtz/random-bytestring"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+pcg"
+
+RDEPEND=">=dev-haskell/mwc-random-0.13:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+ pcg? ( >=dev-haskell/pcg-random-0.1:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag pcg with-pcg)
+}