summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:06:04 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:13 +0100
commit149473170238e146a181196e64090f2195ca9908 (patch)
tree12469efe3f275b0be31a7c4e45264da7d0ef0e02 /dev-haskell/assoc
parentdev-haskell/asn1-types: add 0.3.4 (diff)
downloadgentoo-149473170238e146a181196e64090f2195ca9908.tar.gz
gentoo-149473170238e146a181196e64090f2195ca9908.tar.bz2
gentoo-149473170238e146a181196e64090f2195ca9908.zip
dev-haskell/assoc: add 1.1
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/assoc')
-rw-r--r--dev-haskell/assoc/Manifest1
-rw-r--r--dev-haskell/assoc/assoc-1.1.ebuild32
-rw-r--r--dev-haskell/assoc/metadata.xml9
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-haskell/assoc/Manifest b/dev-haskell/assoc/Manifest
index 879db362a7fe..e17310607d2b 100644
--- a/dev-haskell/assoc/Manifest
+++ b/dev-haskell/assoc/Manifest
@@ -1 +1,2 @@
DIST assoc-1.0.2.tar.gz 3047 BLAKE2B 07f409ce555ac5f041d83db94829638e00ec50175499d42263f19570bc9f58788522ba4edc058450e90912b75aa21f7bfbdcd054cd5025a4aa0cb88b74020c9d SHA512 20fd0056dcc2dff9504e090be5c2ef27692a795133620e60b9382cfdfbaf26d1019617acf48f0f762e22d699068bc4dbd35a714177ce3a36761c0065708b9168
+DIST assoc-1.1.tar.gz 3193 BLAKE2B fd5a68cc7040a48c7a5c4b8e3e525d92dff9e3f3a03b0fa8b3e7eada2aafbaf92a0fbed671935b3192b8a5b3a5a8e903be63715ceecca7fb6d00c80adfabd251 SHA512 1ce6f3ca4ce9de3457b07ef995ec1819b0013bf90ee20c97ef7152b164c6751ea7f435ae28e4b55e9976ffa720aed7e2491daf5254480dd4b980e23d3420e9bb
diff --git a/dev-haskell/assoc/assoc-1.1.ebuild b/dev-haskell/assoc/assoc-1.1.ebuild
new file mode 100644
index 000000000000..da591fd067ca
--- /dev/null
+++ b/dev-haskell/assoc/assoc-1.1.ebuild
@@ -0,0 +1,32 @@
+# 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.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="swap and assoc: Symmetric and Semigroupy Bifunctors"
+HOMEPAGE="https://hackage.haskell.org/package/assoc"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+tagged"
+
+RDEPEND="
+ >=dev-lang/ghc-8.8.1:=
+ tagged? (
+ >=dev-haskell/tagged-0.8.6:=[profile?] <dev-haskell/tagged-0.9:=[profile?]
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag tagged tagged)
+}
diff --git a/dev-haskell/assoc/metadata.xml b/dev-haskell/assoc/metadata.xml
index 937381521944..36be56b76ead 100644
--- a/dev-haskell/assoc/metadata.xml
+++ b/dev-haskell/assoc/metadata.xml
@@ -5,4 +5,13 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
+ <use>
+ <flag name="tagged">You can disable the use of the `tagged` package using `-f-tagged`.
+
+Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.</flag>
+ </use>
+ <upstream>
+ <remote-id type="hackage">assoc</remote-id>
+ <remote-id type="github">phadej/assoc</remote-id>
+ </upstream>
</pkgmetadata>