summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:10:48 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:10:23 +0100
commitf740635f1b02731c09c7ab9a57c2d22f8632b243 (patch)
tree0c744c67ed1274ab82f6b1e089eec36c5af65720 /dev-haskell/bitvec
parentdev-haskell/vault: Hackage revision bump (diff)
downloadgentoo-f740635f1b02731c09c7ab9a57c2d22f8632b243.tar.gz
gentoo-f740635f1b02731c09c7ab9a57c2d22f8632b243.tar.bz2
gentoo-f740635f1b02731c09c7ab9a57c2d22f8632b243.zip
dev-haskell/bitvec: new package, add 1.1.3.0
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/bitvec')
-rw-r--r--dev-haskell/bitvec/Manifest1
-rw-r--r--dev-haskell/bitvec/bitvec-1.1.3.0.ebuild40
-rw-r--r--dev-haskell/bitvec/metadata.xml17
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-haskell/bitvec/Manifest b/dev-haskell/bitvec/Manifest
new file mode 100644
index 000000000000..e39759f70fb9
--- /dev/null
+++ b/dev-haskell/bitvec/Manifest
@@ -0,0 +1 @@
+DIST bitvec-1.1.3.0.tar.gz 35865 BLAKE2B b63dc22574176993f55f0935e1d89f6660ef365189838821c11a04a07ff2a41241a1f0a34b148f36036eba3ea55adda516e355a574ae1e49b658c986fb515254 SHA512 4a54726e0ec0923019329fd2f110011f547761e51a7485f684526ba7f97caac170fde1a4bfe84b57a016ad85c6e440b85f20993c15854e9e79231ecd07d960ca
diff --git a/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild b/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild
new file mode 100644
index 000000000000..25d80a6e03b7
--- /dev/null
+++ b/dev-haskell/bitvec/bitvec-1.1.3.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.7.3.0
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Space-efficient bit vectors"
+HOMEPAGE="https://github.com/Bodigrim/bitvec"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+gmp"
+
+RDEPEND="
+ >=dev-haskell/primitive-0.5:=[profile?]
+ >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.14:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+ gmp? (
+ dev-libs/gmp
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? (
+ >=dev-haskell/quickcheck-classes-0.6.1
+ dev-haskell/quickcheck-classes-base
+ dev-haskell/tasty
+ dev-haskell/tasty-quickcheck
+ )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag gmp libgmp)
+}
diff --git a/dev-haskell/bitvec/metadata.xml b/dev-haskell/bitvec/metadata.xml
new file mode 100644
index 000000000000..c0879f2b3fdc
--- /dev/null
+++ b/dev-haskell/bitvec/metadata.xml
@@ -0,0 +1,17 @@
+<?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="gmp">Link against the GMP library for the ultimate performance of
+`zipBits`, `invertBits` and `countBits`. Users are strongly encouraged
+to enable this flag whenever possible.</flag>
+ </use>
+ <upstream>
+ <remote-id type="hackage">bitvec</remote-id>
+ <remote-id type="github">Bodigrim/bitvec</remote-id>
+ </upstream>
+</pkgmetadata>