summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:06:02 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:13 +0100
commit6dea0a0aedecb6387467a6f4e7e8c3bbf267f00a (patch)
tree9018a5af43876288218ad9be8ad3b14eaccd32b4 /dev-haskell/ansi-wl-pprint
parentdev-haskell/prettyprinter-compat-ansi-wl-pprint: new package, add 1.0.2 (diff)
downloadgentoo-6dea0a0aedecb6387467a6f4e7e8c3bbf267f00a.tar.gz
gentoo-6dea0a0aedecb6387467a6f4e7e8c3bbf267f00a.tar.bz2
gentoo-6dea0a0aedecb6387467a6f4e7e8c3bbf267f00a.zip
dev-haskell/ansi-wl-pprint: add 1.0.2
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/ansi-wl-pprint')
-rw-r--r--dev-haskell/ansi-wl-pprint/Manifest1
-rw-r--r--dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild37
-rw-r--r--dev-haskell/ansi-wl-pprint/metadata.xml6
3 files changed, 40 insertions, 4 deletions
diff --git a/dev-haskell/ansi-wl-pprint/Manifest b/dev-haskell/ansi-wl-pprint/Manifest
index c7d7aa671433..176387badfc5 100644
--- a/dev-haskell/ansi-wl-pprint/Manifest
+++ b/dev-haskell/ansi-wl-pprint/Manifest
@@ -1,2 +1,3 @@
DIST ansi-wl-pprint-0.6.9-rev3.cabal 2425 BLAKE2B ea9e5f58811e8ffcda756b73c8ef5c7507fc25ce183b4a6fa3872d703752a74ad8de63376b900d6b61b077be0af9099b2b3da3240b7267ae2f72bcd50d412e22 SHA512 f7af7c4adcf43ffa199bb71828442e9b99eecb1450ff966771ee0f3b9b249cb20e7d2a70d1c54955b2f162a1acf0b6912f7cee09f00686da31b6522f501c05bf
DIST ansi-wl-pprint-0.6.9.tar.gz 16723 BLAKE2B c0ddfa0651ab8bc008546d3c5520cb85c3e7d7c676c634e89978de0a4e3d2927e4bce6337306b0d0d5821af3d0202eafea48e203c298e707b6b82b8a5c6404e6 SHA512 2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04
+DIST ansi-wl-pprint-1.0.2.tar.gz 5699 BLAKE2B cd644c9a0cfc3d99470b3755e159b60faf4433132701aac9746425c38e40fc16c0fcf5405ebb05ed972e49194d90abbb0bb90a41bcdefc217e8664646964432e SHA512 2b6db1f25b180f53f2a81d2658d36f91d7b112aa242709e0693712ea6974cb0790ea56789678e714cd572ea226f2803484af572ae6fc7c4dc84536020701e3ac
diff --git a/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild b/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild
new file mode 100644
index 000000000000..98c3fd2836cc
--- /dev/null
+++ b/dev-haskell/ansi-wl-pprint/ansi-wl-pprint-1.0.2.ebuild
@@ -0,0 +1,37 @@
+# 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: example:examples
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
+HOMEPAGE="https://github.com/ekmett/ansi-wl-pprint"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="examples"
+
+RDEPEND="
+ >=dev-haskell/prettyprinter-compat-ansi-wl-pprint-1.0.2:=[profile?] <dev-haskell/prettyprinter-compat-ansi-wl-pprint-1.0.3:=[profile?]
+ >=dev-lang/ghc-8.10.6:=
+ examples? (
+ dev-haskell/ansi-terminal:=[profile?]
+ dev-haskell/prettyprinter:=[profile?]
+ dev-haskell/prettyprinter-ansi-terminal:=[profile?]
+ dev-haskell/text:=[profile?]
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.2.1.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples example)
+}
diff --git a/dev-haskell/ansi-wl-pprint/metadata.xml b/dev-haskell/ansi-wl-pprint/metadata.xml
index d1af4cd455a5..65ffa89968bc 100644
--- a/dev-haskell/ansi-wl-pprint/metadata.xml
+++ b/dev-haskell/ansi-wl-pprint/metadata.xml
@@ -5,10 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- This is a pretty printing library based on Wadler's paper "A Prettier Printer". It has been enhanced with support for ANSI terminal colored output using the ansi-terminal package.
- </longdescription>
<upstream>
- <remote-id type="github">batterseapower/ansi-wl-pprint</remote-id>
+ <remote-id type="hackage">ansi-wl-pprint</remote-id>
+ <remote-id type="github">ekmett/ansi-wl-pprint</remote-id>
</upstream>
</pkgmetadata>