summaryrefslogtreecommitdiff
path: root/dev-haskell/skylighting
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/skylighting
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/skylighting')
-rw-r--r--dev-haskell/skylighting/Manifest5
-rw-r--r--dev-haskell/skylighting/metadata.xml24
-rw-r--r--dev-haskell/skylighting/skylighting-0.1.1.5.ebuild48
-rw-r--r--dev-haskell/skylighting/skylighting-0.3.ebuild49
4 files changed, 126 insertions, 0 deletions
diff --git a/dev-haskell/skylighting/Manifest b/dev-haskell/skylighting/Manifest
new file mode 100644
index 000000000000..1b3bb2819e30
--- /dev/null
+++ b/dev-haskell/skylighting/Manifest
@@ -0,0 +1,5 @@
+DIST skylighting-0.1.1.5.tar.gz 584235 SHA256 0a4b666b2ccfeed35386bd364d663e919adc1815547e6360e83487253e33b13c SHA512 2d430d2067d7694978620af0c63ce47240074055bf5179b968ac2a430b9968f445307347c8975e550823f509c05ab600f07c3d1cdc7f8909bf19506e0153e3ef WHIRLPOOL 485e205f0d5a76727e455ab718dc9666ae3552bcc994fd68e708fb13e12779e597890a5282bb4753aae0b15bb8186e33566b23d7f4b25aefed70edcb664372af
+DIST skylighting-0.3.tar.gz 537701 SHA256 ebfb2d5c8ce5769522826a2d5744064c578291d25d3671dcfe89a41f694ebf59 SHA512 5ecff7f3fcf244d58fa21a83ebad9358661079cd559802a7b7b888bef7969f40587f2ca80aefae5b5424e05c1fe6bc168a6df034eb843b3613f7b3fc0abedc04 WHIRLPOOL e618c336d747d6b1acf07b1417b9e8b590cecfb0138665b943ed0b9d83c17fbf3beed3b1805017017b4e6e01479886c2f65e1989847762bd56cc87b8925754dd
+EBUILD skylighting-0.1.1.5.ebuild 1254 SHA256 8b964563bd7619153768cb0a0d73ba4b9d39ce854a66325a859193189e5d230b SHA512 1fc517e98b1aec0c7c6f4b4a97e15f6b4cc4578411389d7b56c835fd365823f52bcf659696590607b47f4d0c5e16ee2f43c5c6e2f6175d53d6346886049126a4 WHIRLPOOL 339795ebfca6a6aefeeb35dffe8449c4b309b637f358ebd88fdce4ed8b8d75512c22f015f5a8cd18341c38d09e269a1e66b5418fa4182dd8befaf07ac51d7214
+EBUILD skylighting-0.3.ebuild 1280 SHA256 977bbddf19ee1a91e52ebbdeaddb15b523bfec7709978526a8b8148d2280df7a SHA512 077c289c545d28c8b4c26f43ca3c8eab92fc1c8e677ded26efe868c4276a408800cd036d7a36bc73001b0637d3d7fd428e923151d23ffeaca4b8a45a14ce0892 WHIRLPOOL eac3d0118aaea586662ccced03c47622a916dd72a13f4b12ae3a8cb7f77f793b83db6fd012028232fb01602adcafd418b8654f452f8a0a479b1d3b2948d055ee
+MISC metadata.xml 824 SHA256 bf46874582df58eb5b0d15fdbcfa030e54b4951c15710796b7ca1a1c782265f1 SHA512 377bf69b015def5abcaa6dde5865890fb97188b09b4539f13f704880d61aa352df3f4a8f5a76bcadc51e4938ed6336e4732540a8ee12e705aa6fa39e58f9b792 WHIRLPOOL 4d52117f962d3e132bdcb31170590ccc016202cfb669a139c6f8bf651d7ba61b6eb5b5cdae6ebd5ce7b01617ab8a59f68060f7fa039334f90bd2883aeadecb32
diff --git a/dev-haskell/skylighting/metadata.xml b/dev-haskell/skylighting/metadata.xml
new file mode 100644
index 000000000000..45342c91c5fd
--- /dev/null
+++ b/dev-haskell/skylighting/metadata.xml
@@ -0,0 +1,24 @@
+<?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>
+ <use>
+ <flag name="executable">Build the skylighting executable.</flag>
+ </use>
+ <longdescription>
+ Skylighting is a syntax highlighting library with
+ support for over one hundred languages. It derives
+ its tokenizers from XML syntax definitions used
+ by KDE's KSyntaxHighlighting framework, so any
+ syntax supported by that framework can be added.
+ An optional command-line program is provided.
+ Skylighting is intended to be the successor to
+ highlighting-kate.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">jgm/skylighting</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild b/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild
new file mode 100644
index 000000000000..47a38e9f18dd
--- /dev/null
+++ b/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -bootstrap
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="syntax highlighting library"
+HOMEPAGE="https://github.com/jgm/skylighting"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="executable"
+
+RDEPEND="dev-haskell/aeson:=[profile?]
+ >=dev-haskell/blaze-html-0.5:=[profile?]
+ dev-haskell/case-insensitive:=[profile?]
+ dev-haskell/hxt:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ dev-haskell/regex-pcre-builtin:=[profile?]
+ dev-haskell/safe:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/utf8-string:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+ executable? ( dev-haskell/pretty-show:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.2.0
+ test? ( dev-haskell/diff
+ dev-haskell/hunit
+ dev-haskell/random
+ dev-haskell/tasty
+ dev-haskell/tasty-golden
+ dev-haskell/tasty-hunit
+ !executable? ( dev-haskell/pretty-show ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-bootstrap \
+ $(cabal_flag executable executable)
+}
diff --git a/dev-haskell/skylighting/skylighting-0.3.ebuild b/dev-haskell/skylighting/skylighting-0.3.ebuild
new file mode 100644
index 000000000000..78336add296a
--- /dev/null
+++ b/dev-haskell/skylighting/skylighting-0.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -bootstrap,+system-pcre
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="syntax highlighting library"
+HOMEPAGE="https://github.com/jgm/skylighting"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="executable"
+
+RDEPEND="dev-haskell/aeson:=[profile?]
+ >=dev-haskell/blaze-html-0.5:=[profile?]
+ dev-haskell/case-insensitive:=[profile?]
+ dev-haskell/hxt:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ dev-haskell/regex-pcre:=[profile?]
+ dev-haskell/safe:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/utf8-string:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+ executable? ( dev-haskell/pretty-show:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ test? ( dev-haskell/diff
+ dev-haskell/hunit
+ dev-haskell/random
+ dev-haskell/tasty
+ dev-haskell/tasty-golden
+ dev-haskell/tasty-hunit
+ !executable? ( dev-haskell/pretty-show ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-bootstrap \
+ $(cabal_flag executable executable) \
+ --flag=system-pcre
+}