summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:05:59 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:12 +0100
commit033517894de94771e94f648a1f2e6365235b4d04 (patch)
tree9ef89ab70cdf56e83bb6a2f7cefd38f3c39dff29 /dev-haskell/ansi-terminal
parentdev-haskell/ansi-terminal-types: new package, add 0.11.5 (diff)
downloadgentoo-033517894de94771e94f648a1f2e6365235b4d04.tar.gz
gentoo-033517894de94771e94f648a1f2e6365235b4d04.tar.bz2
gentoo-033517894de94771e94f648a1f2e6365235b4d04.zip
dev-haskell/ansi-terminal: add 1.0
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/ansi-terminal')
-rw-r--r--dev-haskell/ansi-terminal/Manifest1
-rw-r--r--dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild33
-rw-r--r--dev-haskell/ansi-terminal/metadata.xml7
3 files changed, 36 insertions, 5 deletions
diff --git a/dev-haskell/ansi-terminal/Manifest b/dev-haskell/ansi-terminal/Manifest
index 6cf12dfd24d7..4e5302074e32 100644
--- a/dev-haskell/ansi-terminal/Manifest
+++ b/dev-haskell/ansi-terminal/Manifest
@@ -1 +1,2 @@
DIST ansi-terminal-0.10.3.tar.gz 35863 BLAKE2B 8535a0dcfbf4287abee8c52cd951d155c30b8a2de73a4799ad51e093ff4651fd2bcc771a61627c143f2f48b7cc66e9bb125166be1b13d2d51bcdf1d1666450ee SHA512 231dfaaef2e7b1fb40a0e63bcdce984f914dd0c17af90bc2415c127d503dc438d1952dadfbb524f9ae83d872b30a353d875dda74eb492536cf8953c1e4224187
+DIST ansi-terminal-1.0.tar.gz 31745 BLAKE2B 8abca65206e9999ec18823da827466065d16d9f99f37310f852cde29159e3819b2bb9e3c64878271bd9412cf5377afc925267b372960627dad57cc70f6ef4037 SHA512 008b8d96b9ef128124aa094d5043ffbc4364a7441850ba98da620ab4dc5df8540736dc9f92abbe9097ee96a5f592723e5b14f9bbaa1ddfecf3af36cd46311b82
diff --git a/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild b/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild
new file mode 100644
index 000000000000..f540c0412d3c
--- /dev/null
+++ b/dev-haskell/ansi-terminal/ansi-terminal-1.0.ebuild
@@ -0,0 +1,33 @@
+# 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: -win32-2-13-1
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Simple ANSI terminal support"
+HOMEPAGE="https://github.com/UnkindPartition/ansi-terminal"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="example"
+
+RDEPEND="
+ ~dev-haskell/ansi-terminal-types-0.11.5:=[profile?]
+ >=dev-haskell/colour-2.1.0:=[profile?]
+ >=dev-lang/ghc-8.10.6:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.2.1.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag example example) \
+ --flag=-win32-2-13-1
+}
diff --git a/dev-haskell/ansi-terminal/metadata.xml b/dev-haskell/ansi-terminal/metadata.xml
index ba5b44f0dc4b..ae4ef182c883 100644
--- a/dev-haskell/ansi-terminal/metadata.xml
+++ b/dev-haskell/ansi-terminal/metadata.xml
@@ -5,14 +5,11 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- ANSI terminal support for Haskell: allows cursor movement, screen clearing, color output showing or hiding the cursor, and
- changing the title. Compatible with Windows and those Unixes with ANSI terminals, but only GHC is supported as a compiler.
- </longdescription>
<use>
- <flag name="example">Build the example application.</flag>
+ <flag name="example">Build the example application</flag>
</use>
<upstream>
+ <remote-id type="hackage">ansi-terminal</remote-id>
<remote-id type="github">UnkindPartition/ansi-terminal</remote-id>
</upstream>
</pkgmetadata>