summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:06:40 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:22 +0100
commit745965e80caff57c2d375b5c82042dc06583b369 (patch)
tree92327de9cb0127d5755d833cea1dfe8f42aa7c15 /dev-haskell/colour
parentdev-haskell/code-page: add 0.2.1 (diff)
downloadgentoo-745965e80caff57c2d375b5c82042dc06583b369.tar.gz
gentoo-745965e80caff57c2d375b5c82042dc06583b369.tar.bz2
gentoo-745965e80caff57c2d375b5c82042dc06583b369.zip
dev-haskell/colour: add 2.3.6
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/colour')
-rw-r--r--dev-haskell/colour/Manifest1
-rw-r--r--dev-haskell/colour/colour-2.3.6.ebuild41
-rw-r--r--dev-haskell/colour/metadata.xml9
3 files changed, 45 insertions, 6 deletions
diff --git a/dev-haskell/colour/Manifest b/dev-haskell/colour/Manifest
index cf429d3caa65..6b9c4080fd43 100644
--- a/dev-haskell/colour/Manifest
+++ b/dev-haskell/colour/Manifest
@@ -1 +1,2 @@
DIST colour-2.3.5.tar.gz 20485 BLAKE2B 64cc4df8f7b36fa4c7a9b474db566b7623f9c7b0892f379acc866f384aa5e557cab5965869b0ba84167232658375ab568a3f5e90a0a1deba81520717899637c6 SHA512 2232f51b3cfdda1a64436e8395c2441e49db083982a0370d3ec38c304b0a6234666887b3abc886107a9b21c425d3253284cce0186c1a210a302a0a14808364d8
+DIST colour-2.3.6.tar.gz 20675 BLAKE2B 9104d414cf01842cb74e20cb3b9052b109767b3a7e53552ddafd877b4c30d65c5a154e9235a280698e5096d82e523d1c01d54846d7a73ec5de0e62fcb6c04642 SHA512 82f7d92e46f7235706832be9d3a981bc09f729ef4e7f891dae85bf808f342e498aa152bc106f9c011ab0e79e5cc2d57067de596d774ad5010e9845df521ed275
diff --git a/dev-haskell/colour/colour-2.3.6.ebuild b/dev-haskell/colour/colour-2.3.6.ebuild
new file mode 100644
index 000000000000..5095e74b2b59
--- /dev/null
+++ b/dev-haskell/colour/colour-2.3.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.0.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A model for human colour/color perception"
+HOMEPAGE="https://www.haskell.org/haskellwiki/Colour"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+CABAL_CHDEPS=(
+ 'random >= 1.0 && < 1.2' 'random >= 1.0'
+)
+
+RDEPEND="
+ >=dev-lang/ghc-8.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+ test? (
+ >=dev-haskell/quickcheck-2.5 <dev-haskell/quickcheck-2.15
+ >=dev-haskell/random-1.0
+ >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-quickcheck2-0.3 <dev-haskell/test-framework-quickcheck2-0.4
+ )
+"
+
+pkg_pretend() {
+ if use test; then
+ ewarn "The \"test\" USE flag for this package creates cycles within the"
+ ewarn "dependency graph. This may give you problems during 'haskell-updater' runs."
+ ewarn "It is recommended to leave it disabled unless explicitly testing the package."
+ fi
+}
diff --git a/dev-haskell/colour/metadata.xml b/dev-haskell/colour/metadata.xml
index 2773d58cddf5..6b3d1d04daf5 100644
--- a/dev-haskell/colour/metadata.xml
+++ b/dev-haskell/colour/metadata.xml
@@ -5,10 +5,7 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- This package provides a data type for colours and transparency.
- Colours can be blended and composed.
- Various colour spaces are supported.
- A module of colour names ("Data.Colour.Names") is provided.
- </longdescription>
+ <upstream>
+ <remote-id type="hackage">colour</remote-id>
+ </upstream>
</pkgmetadata>