Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/skylighting/
Date: Sat, 25 Feb 2017 15:30:18
Message-Id: 1488036602.fde7aa10c5ec35f9beab7597116764e11653bcaa.slyfox@gentoo
1 commit: fde7aa10c5ec35f9beab7597116764e11653bcaa
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 15:29:49 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 15:30:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde7aa10
7
8 dev-haskell/skylighting: bump up to 0.3
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-haskell/skylighting/Manifest | 1 +
13 dev-haskell/skylighting/skylighting-0.3.ebuild | 50 ++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-haskell/skylighting/Manifest b/dev-haskell/skylighting/Manifest
17 index 4792e90698..a11870d6a9 100644
18 --- a/dev-haskell/skylighting/Manifest
19 +++ b/dev-haskell/skylighting/Manifest
20 @@ -1 +1,2 @@
21 DIST skylighting-0.1.1.5.tar.gz 584235 SHA256 0a4b666b2ccfeed35386bd364d663e919adc1815547e6360e83487253e33b13c SHA512 2d430d2067d7694978620af0c63ce47240074055bf5179b968ac2a430b9968f445307347c8975e550823f509c05ab600f07c3d1cdc7f8909bf19506e0153e3ef WHIRLPOOL 485e205f0d5a76727e455ab718dc9666ae3552bcc994fd68e708fb13e12779e597890a5282bb4753aae0b15bb8186e33566b23d7f4b25aefed70edcb664372af
22 +DIST skylighting-0.3.tar.gz 537701 SHA256 ebfb2d5c8ce5769522826a2d5744064c578291d25d3671dcfe89a41f694ebf59 SHA512 5ecff7f3fcf244d58fa21a83ebad9358661079cd559802a7b7b888bef7969f40587f2ca80aefae5b5424e05c1fe6bc168a6df034eb843b3613f7b3fc0abedc04 WHIRLPOOL e618c336d747d6b1acf07b1417b9e8b590cecfb0138665b943ed0b9d83c17fbf3beed3b1805017017b4e6e01479886c2f65e1989847762bd56cc87b8925754dd
23
24 diff --git a/dev-haskell/skylighting/skylighting-0.3.ebuild b/dev-haskell/skylighting/skylighting-0.3.ebuild
25 new file mode 100644
26 index 0000000000..0b28d93e49
27 --- /dev/null
28 +++ b/dev-haskell/skylighting/skylighting-0.3.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
36 +# ebuild generated by hackport 0.5.1.9999
37 +#hackport: flags: -bootstrap,+system-pcre
38 +
39 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
40 +inherit haskell-cabal
41 +
42 +DESCRIPTION="syntax highlighting library"
43 +HOMEPAGE="https://github.com/jgm/skylighting"
44 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="executable"
50 +
51 +RDEPEND="dev-haskell/aeson:=[profile?]
52 + >=dev-haskell/blaze-html-0.5:=[profile?]
53 + dev-haskell/case-insensitive:=[profile?]
54 + dev-haskell/hxt:=[profile?]
55 + dev-haskell/mtl:=[profile?]
56 + dev-haskell/regex-pcre:=[profile?]
57 + dev-haskell/safe:=[profile?]
58 + dev-haskell/text:=[profile?]
59 + dev-haskell/utf8-string:=[profile?]
60 + >=dev-lang/ghc-7.8.2:=
61 + executable? ( dev-haskell/pretty-show:=[profile?] )
62 +"
63 +DEPEND="${RDEPEND}
64 + >=dev-haskell/cabal-1.18.1.3
65 + test? ( dev-haskell/diff
66 + dev-haskell/hunit
67 + dev-haskell/random
68 + dev-haskell/tasty
69 + dev-haskell/tasty-golden
70 + dev-haskell/tasty-hunit
71 + !executable? ( dev-haskell/pretty-show ) )
72 +"
73 +
74 +src_configure() {
75 + haskell-cabal_src_configure \
76 + --flag=-bootstrap \
77 + $(cabal_flag executable executable) \
78 + --flag=system-pcre
79 +}