summaryrefslogtreecommitdiff
path: root/dev-ml/ANSITerminal
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ANSITerminal')
-rw-r--r--dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild20
-rw-r--r--dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild25
-rw-r--r--dev-ml/ANSITerminal/Manifest6
-rw-r--r--dev-ml/ANSITerminal/files/oasis.patch13
-rw-r--r--dev-ml/ANSITerminal/metadata.xml11
5 files changed, 75 insertions, 0 deletions
diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild b/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild
new file mode 100644
index 000000000000..4403189644da
--- /dev/null
+++ b/dev-ml/ANSITerminal/ANSITerminal-0.6.5.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis eutils
+
+DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
+HOMEPAGE="http://forge.ocamlcore.org/projects/ansiterminal/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1206/${P}.tar.gz"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+DEPEND=""
+RDEPEND="${DEPEND}"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" )
diff --git a/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild b/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
new file mode 100644
index 000000000000..64ca0743656f
--- /dev/null
+++ b/dev-ml/ANSITerminal/ANSITerminal-0.7.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+
+inherit oasis eutils
+
+DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
+HOMEPAGE="https://github.com/Chris00/ANSITerminal"
+SRC_URI="https://github.com/Chris00/ANSITerminal/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+RDEPEND=""
+DEPEND="${DEPEND} dev-ml/oasis"
+IUSE=""
+
+DOCS=( "README.txt" "AUTHORS.txt" )
+
+src_prepare() {
+ epatch "${FILESDIR}/oasis.patch"
+ oasis setup || die
+}
diff --git a/dev-ml/ANSITerminal/Manifest b/dev-ml/ANSITerminal/Manifest
new file mode 100644
index 000000000000..bd84b2a5dee1
--- /dev/null
+++ b/dev-ml/ANSITerminal/Manifest
@@ -0,0 +1,6 @@
+AUX oasis.patch 416 BLAKE2B 36d9fe43bb37e4e89cb755add41ec0957615664d4e3f0d1ae0b8efeafcfc189002f72387f3dd9b7cd11310508964ee43043a827d159fe572fab79ddae58cd5f5 SHA512 390f45f6503e5ca4a12049be17fbc4ff7a53cfb770a2afc6d4514f353febbd3f61f922b6b3a9f5d5f06325f89405fd68cadc5af60f681314b0bd14a6cec5831e
+DIST ANSITerminal-0.6.5.tar.gz 52473 BLAKE2B 1f7f5b8dc1e7f9c2434a7e4eea1cec848f019a82a4137f744008532fac85016d3908890f2dd4cf5e8fb5c9f4aaad69cba4d56e75ab7ab57354ff7a4988a5cfe8 SHA512 43a059cc2a947a70409e19b8c6d01e1b5aa495290967f984a6d707e5ff329dd88e82ba68e08b6262da4a19bb24be2e61154fcf8781ee5cbad98240276d7b060d
+DIST ANSITerminal-0.7.tar.gz 16763 BLAKE2B 5d25cdfe02f3b6f155995208897a11a21535105caa8db682f60a1215113e507ccac294037177d0fcd52431e3853aa655ead14e2054ada1369754d39c8db9448b SHA512 986f9d7fd862741ac7039cbd92c19b847d7b2d03edfb2d0851fe46ecc9678bf4617d1e687a61af3d3b28e2cfe347a80312f9bf5c84f957de0d6c169ca4209566
+EBUILD ANSITerminal-0.6.5.ebuild 519 BLAKE2B e88ec25b4235ba7117c3540881600f6255a22ec4f04baffda4685657cc67424b53768ca4476fd89c3ae35795d67ac63c90d503b7dc753fb40a29703c098bfe7e SHA512 0d20f0f965a68cea5c684e32212f2e725d5bb4658b5138e8edb7ee28381f841cb9e9fc2c0dbde5de3ed7c6bfe363f76eaf6ca278d7766db9fd6eaee7c5695650
+EBUILD ANSITerminal-0.7.ebuild 610 BLAKE2B 8504345457d1b4a3f4ad6091b9c3a57c67bc1072618491c7c60539c746332b3d25acd16c668c28a7e3bd7cee255f9d279d6cc36557da9e8ba365b23444944439 SHA512 223e5e614f081ef02ca96c77203d510f7add25cc8291baf078b5b4635e705f7bdf86708593a32b898742555fa6ea139e4348de6a76c4f770f301ad265d9a24e6
+MISC metadata.xml 332 BLAKE2B 654ce606957b2e3a4f3f301e02b320c5fcc616fd6c7414628a1dd85cf60ccf7aa7f23a3b43b5f6f919e8c482ace32380ce1d998ab9c85503ee840fc0af65293c SHA512 227751b6ba18690c3ebeea95baf04fe73de3b4f672351a1b9aef31da8c037ec917984ecba1ec4452431326b3df10674c07bf53d69cdbfcb406b535684e24ac51
diff --git a/dev-ml/ANSITerminal/files/oasis.patch b/dev-ml/ANSITerminal/files/oasis.patch
new file mode 100644
index 000000000000..d95b446a0407
--- /dev/null
+++ b/dev-ml/ANSITerminal/files/oasis.patch
@@ -0,0 +1,13 @@
+Index: ANSITerminal-0.7/_oasis
+===================================================================
+--- ANSITerminal-0.7.orig/_oasis
++++ ANSITerminal-0.7/_oasis
+@@ -19,7 +19,7 @@ Library "ANSITerminal"
+ InternalModules: ANSITerminal_common
+ CSources: ANSITerminal_stubs.c
+ BuildDepends: unix, bytes
+-
++
+ Document API
+ Title: API reference for ANSITerminal
+ Type: OCamlbuild (0.3)
diff --git a/dev-ml/ANSITerminal/metadata.xml b/dev-ml/ANSITerminal/metadata.xml
new file mode 100644
index 000000000000..73a1d1721344
--- /dev/null
+++ b/dev-ml/ANSITerminal/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Chris00/ANSITerminal</remote-id>
+ </upstream>
+</pkgmetadata>