diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/colour | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/colour')
-rw-r--r-- | dev-haskell/colour/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/colour/colour-2.3.3-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-haskell/colour/metadata.xml | 14 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-haskell/colour/Manifest b/dev-haskell/colour/Manifest new file mode 100644 index 000000000000..4f6c1eecdc7d --- /dev/null +++ b/dev-haskell/colour/Manifest @@ -0,0 +1,3 @@ +DIST colour-2.3.3.tar.gz 20392 BLAKE2B c0ac11ac27c4ba0e4501f2177e35389bbf297e72678b07cbaa9bc43ee6d1b7f2583228e6de17f98320a266c29d9a9472567be310647a84704fa3dd961f1926f6 SHA512 3498215698c3c4010a2bcb6ef87ad263f5a5425167751730919363a0e6806a5c8c2ba82b403b7898addd74feaa756c9df339a37a2b2f2d727680c14ffc21ccf8 +EBUILD colour-2.3.3-r1.ebuild 1176 BLAKE2B e07b776905dc0d24b716b86c9a693626b9ca16afef0ed35a47cffd1b7994e98197b35e8c7a04ebbd10f7a2e52fb9c7b3b2fa8bbdf5b8ea319f9e996097c5efcd SHA512 c401a838fc1093e23437858bdaef4f69d6b0637fb9bf8a04ea612d2b0e91aa49747b74714c455f33dde31b11d9e86855c51d7fa075e47d72c3b3f04b373dfdd7 +MISC metadata.xml 494 BLAKE2B 3e64417d61195a8ffdaf511f43813fd558933fc983f637f0da4cc7c33843f5cb965451164ceb906e317b1dce823535f1c970e0c88b552e5d2d61fb88ac7d439d SHA512 32e07ce3aceeee92cd07819b05b61683492e0ab0805ca94391d898d589cfbe47aa468c84a7dc36f2410e6b24c7120dbd062cf5170e1eb55fe42e747175736caf diff --git a/dev-haskell/colour/colour-2.3.3-r1.ebuild b/dev-haskell/colour/colour-2.3.3-r1.ebuild new file mode 100644 index 000000000000..a6b0afa005c5 --- /dev/null +++ b/dev-haskell/colour/colour-2.3.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.2.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A model for human colour/color perception" +HOMEPAGE="http://www.haskell.org/haskellwiki/Colour" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +src_prepare() { + if has_version "<dev-haskell/haddock-2.9.2"; then + # Workaround http://hackage.haskell.org/trac/hackage/ticket/626 + # The haddock --hoogle option does not like unicode characters, which causes + # haddock 2.7.2 to fail like: + # haddock: internal Haddock or GHC error: dist/doc/html/enumerator/enumerator.txt: commitAndReleaseBuffer: invalid argument (Invalid or incomplete multibyte or wide character) + sed -e 's@°@ degrees@g' \ + -i "${S}/Data/Colour/CIE.hs" \ + -i "${S}/Data/Colour/CIE/Chromaticity.hs" + sed -e 's@“@"@g' \ + -e 's@”@"@g' \ + -i "${S}/Data/Colour/RGB.hs" + fi +} diff --git a/dev-haskell/colour/metadata.xml b/dev-haskell/colour/metadata.xml new file mode 100644 index 000000000000..874a4514fe7d --- /dev/null +++ b/dev-haskell/colour/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <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> +</pkgmetadata> |