summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/skylighting')
-rw-r--r--dev-haskell/skylighting/Manifest5
-rw-r--r--dev-haskell/skylighting/metadata.xml17
-rw-r--r--dev-haskell/skylighting/skylighting-0.1.1.5.ebuild48
-rw-r--r--dev-haskell/skylighting/skylighting-0.12.3.1.ebuild (renamed from dev-haskell/skylighting/skylighting-0.8.5.ebuild)17
-rw-r--r--dev-haskell/skylighting/skylighting-0.14.ebuild39
-rw-r--r--dev-haskell/skylighting/skylighting-0.3.ebuild49
6 files changed, 53 insertions, 122 deletions
diff --git a/dev-haskell/skylighting/Manifest b/dev-haskell/skylighting/Manifest
index 67169a956c96..feed0d11c934 100644
--- a/dev-haskell/skylighting/Manifest
+++ b/dev-haskell/skylighting/Manifest
@@ -1,3 +1,2 @@
-DIST skylighting-0.1.1.5.tar.gz 584235 BLAKE2B 87226657d721b1491565f6003eb0d9087edd7f25a67549bc60b219f4c0ff5a5d799a9aa1c42b087a805af235434ea288f1f659711eeb2299395ce5f976a734b2 SHA512 2d430d2067d7694978620af0c63ce47240074055bf5179b968ac2a430b9968f445307347c8975e550823f509c05ab600f07c3d1cdc7f8909bf19506e0153e3ef
-DIST skylighting-0.3.tar.gz 537701 BLAKE2B 5589aed231b25bd33160a314b5924432fe2c508bc58fbe1567d0742e19ff46784069c3e33f68888751e1c5252ead8050c7895d6fd6a05efd9588b79aee74eecf SHA512 5ecff7f3fcf244d58fa21a83ebad9358661079cd559802a7b7b888bef7969f40587f2ca80aefae5b5424e05c1fe6bc168a6df034eb843b3613f7b3fc0abedc04
-DIST skylighting-0.8.5.tar.gz 621391 BLAKE2B f17c1e729b2f669950ffec8a84bd9018acbd407f1c8c05bcbe65d77986ce72cdf55b0e967ce4070cd72e5a12fe469ee55cc3782401cc15f19da213a5fa92d592 SHA512 9d40d96020a3b54d549259f6c981ff63f666f490e900f29eda437ed76965f172e9c77c4def36850e448ca0d3fad035ce4e9a244fd0b3748c6c24fb413c69614f
+DIST skylighting-0.12.3.1.tar.gz 1218260 BLAKE2B 78f26d3477a6327a8e3c99f31ffe3c1d1b57c86730c06f715d8b2db9d267526bf3d0605639679fc38e4faff06e81edc3d2c9d85e7ce3c557b73f47ae8e81b999 SHA512 3eb93400612992d5aed828ebe0c1b76dbfbd7ec9cd0d0d667b524df51968997ffd429bfdbecbaa32a6108903872e119614b16f8aedf00eaf6d9a7b79ccb06c58
+DIST skylighting-0.14.tar.gz 1393626 BLAKE2B 884f990b77d38c71287486ec0c2d652bf408a21878b11cac071053616b78ea759e83cd8f4c54befdffb2d4b32dbd352e2adc5db20bfacb1209866e1992c645b1 SHA512 33d36f7181c0a6b94d3319707d6ea68199239a7699c18c6392e8ae49d97d7249f57f4d42a9fb09fa9df643268aa57b8e42e2204a6a002f8222ef00284dfd25d4
diff --git a/dev-haskell/skylighting/metadata.xml b/dev-haskell/skylighting/metadata.xml
index 45342c91c5fd..bd25baabc366 100644
--- a/dev-haskell/skylighting/metadata.xml
+++ b/dev-haskell/skylighting/metadata.xml
@@ -1,24 +1,15 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://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>
+ <flag name="executable">Whether to build the skylighting program</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="hackage">skylighting</remote-id>
<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
deleted file mode 100644
index 431d710c3c2f..000000000000
--- a/dev-haskell/skylighting/skylighting-0.1.1.5.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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="https://hackage.haskell.org/package/${P}/${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.8.5.ebuild b/dev-haskell/skylighting/skylighting-0.12.3.1.ebuild
index d6f9599badda..57ac6c98fc61 100644
--- a/dev-haskell/skylighting/skylighting-0.8.5.ebuild
+++ b/dev-haskell/skylighting/skylighting-0.12.3.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-# ebuild generated by hackport 0.6.4.9999
+# ebuild generated by hackport 0.7.1.1.9999
#hackport: flags: -bootstrap,+system-pcre
CABAL_FEATURES="lib profile haddock hoogle hscolour"
@@ -15,17 +15,16 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="executable"
-RDEPEND="~dev-haskell/skylighting-core-0.8.5:=[profile?]
- >=dev-lang/ghc-7.10.1:=
+RDEPEND="~dev-haskell/skylighting-core-0.12.3.1:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
executable? ( >=dev-haskell/blaze-html-0.5:=[profile?]
- dev-haskell/pretty-show:=[profile?]
- dev-haskell/text:=[profile?] )
+ dev-haskell/pretty-show:=[profile?] )
"
DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.22.2.0
+ >=dev-haskell/cabal-2.2.0.1
"
src_configure() {
diff --git a/dev-haskell/skylighting/skylighting-0.14.ebuild b/dev-haskell/skylighting/skylighting-0.14.ebuild
new file mode 100644
index 000000000000..a7b302f95c3b
--- /dev/null
+++ b/dev-haskell/skylighting/skylighting-0.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.9999
+#hackport: flags: -bootstrap,+system-pcre
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="syntax highlighting library"
+HOMEPAGE="https://github.com/jgm/skylighting"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="executable"
+
+RDEPEND="~dev-haskell/skylighting-core-0.14:=[profile?]
+ >=dev-haskell/skylighting-format-ansi-0.1:=[profile?] <dev-haskell/skylighting-format-ansi-0.2:=[profile?]
+ >=dev-haskell/skylighting-format-blaze-html-0.1:=[profile?] <dev-haskell/skylighting-format-blaze-html-0.2:=[profile?]
+ >=dev-haskell/skylighting-format-context-0.1:=[profile?] <dev-haskell/skylighting-format-context-0.2:=[profile?]
+ >=dev-haskell/skylighting-format-latex-0.1:=[profile?] <dev-haskell/skylighting-format-latex-0.2:=[profile?]
+ >=dev-lang/ghc-8.10.6:=
+ executable? ( >=dev-haskell/blaze-html-0.5:=[profile?]
+ dev-haskell/pretty-show:=[profile?]
+ dev-haskell/text:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.2.1.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-bootstrap \
+ $(cabal_flag executable executable) \
+ --flag=system-pcre
+}
diff --git a/dev-haskell/skylighting/skylighting-0.3.ebuild b/dev-haskell/skylighting/skylighting-0.3.ebuild
deleted file mode 100644
index 5f3bfabca52d..000000000000
--- a/dev-haskell/skylighting/skylighting-0.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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="https://hackage.haskell.org/package/${P}/${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
-}