summaryrefslogtreecommitdiff
path: root/dev-haskell/colour
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/colour
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/colour')
-rw-r--r--dev-haskell/colour/Manifest4
-rw-r--r--dev-haskell/colour/colour-2.3.3-r1.ebuild37
-rw-r--r--dev-haskell/colour/metadata.xml14
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-haskell/colour/Manifest b/dev-haskell/colour/Manifest
new file mode 100644
index 000000000000..2e08362fa775
--- /dev/null
+++ b/dev-haskell/colour/Manifest
@@ -0,0 +1,4 @@
+DIST colour-2.3.3.tar.gz 20392 SHA256 8d15a63494f8e2a06fe6dc38baee8e948adfae0e93749b9e3ce0fd8ece09b6e2 SHA512 3498215698c3c4010a2bcb6ef87ad263f5a5425167751730919363a0e6806a5c8c2ba82b403b7898addd74feaa756c9df339a37a2b2f2d727680c14ffc21ccf8 WHIRLPOOL de12851691aa69586e1d1f47d2d56f8ea437bddccb11eca70e7999f7ca226154783671143a5e2d207260e0a39a5e593fb5bc8d56bc084fee22adef6a0f22c670
+EBUILD colour-2.3.3-r1.ebuild 1176 SHA256 4299ade45a7bf59689d8a4257b8ca1b8fd296cfec690ef5177dcfa907218c62c SHA512 c401a838fc1093e23437858bdaef4f69d6b0637fb9bf8a04ea612d2b0e91aa49747b74714c455f33dde31b11d9e86855c51d7fa075e47d72c3b3f04b373dfdd7 WHIRLPOOL eb87f195157143af507a99503c00281814c944f3012f70554f77f376b7f1a4acbda1fb20f3fdd1b661009b66305241c10a8e0f7262226f27fb3632de6394ec76
+MISC ChangeLog 484 SHA256 559fe939a56225200cd541d288ae888b116931ad40c7a4f38009867ee887b0be SHA512 0034051be2cd584abccc22baa8de4a00b1f759c25156f4cb2ad4caa17386d3f963ee8aeb44573024e48435fa8be9dcd8ad5bf4f8b92e111f43a7bc15569125b3 WHIRLPOOL 84e5df171c6a3efa1df1da44e5352049b6daf2817d511a33b6cdb917ebf534c1d32e3055b477af164598f7a9517d679d1cb9c5dbc19f8b861192aad3d2594e60
+MISC metadata.xml 494 SHA256 99c61fadbc9b15326ff8905f7d38601315b77e25ae0665edefc2c052cd9990c1 SHA512 32e07ce3aceeee92cd07819b05b61683492e0ab0805ca94391d898d589cfbe47aa468c84a7dc36f2410e6b24c7120dbd062cf5170e1eb55fe42e747175736caf WHIRLPOOL 7d1c91dce1f7a0a0aa3186126baa8a02844ffafee2688b9529bb9b20de3ba87a58cca25ece9007c713b3e7a6dc0ab85fba66156196c69c91b1dd4af6d67732fa
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@&#176;@ degrees@g' \
+ -i "${S}/Data/Colour/CIE.hs" \
+ -i "${S}/Data/Colour/CIE/Chromaticity.hs"
+ sed -e 's@&#8220;@"@g' \
+ -e 's@&#8221;@"@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>