summaryrefslogtreecommitdiff
path: root/dev-util/patdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/patdiff')
-rw-r--r--dev-util/patdiff/Manifest3
-rw-r--r--dev-util/patdiff/metadata.xml11
-rw-r--r--dev-util/patdiff/patdiff-0.9.0.ebuild36
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/patdiff/Manifest b/dev-util/patdiff/Manifest
new file mode 100644
index 000000000000..9755f091c8d5
--- /dev/null
+++ b/dev-util/patdiff/Manifest
@@ -0,0 +1,3 @@
+DIST patdiff-0.9.0.tar.gz 40059 SHA256 ca5cddb2aad11eb29108e14b661427fc9488fca6753578b0141b331ee39683f5 SHA512 a48d58c7b2681d5be6281fd6ff4e95df98d6c6f50622eaae5560a9f99c3b8ea0154cec5e6e5eaff687122a1d907657e943239869125089cab5e94e65f7c6a298 WHIRLPOOL 3dc776b01b77b06d04b4511b06c9d892d5cc2eb93c62333707c274dc2af301bca05ed5be08b86e5c371b8efc8c98032fbff587e6d93de0acf7b8e1154b11b14e
+EBUILD patdiff-0.9.0.ebuild 847 SHA256 ad00e3633a9715622c6125f77d5b990cb241acc1c6aa92b21c80c41c2a832f48 SHA512 17cad2854442957d5c5ac9a41d5d35553c1f28c6a39d924757ddac66431152323fbfa9d3eca99427209f9c32c7e05b87406c70c27e7034720a74400ba46ff6aa WHIRLPOOL 3fcddf17b0bf9621bcc751566d7f5fc4506041ce4a1b07ecf373295809f4cf69160353417bfafb277d791e6e97221961d01c629aec59912627d8639fbbd22458
+MISC metadata.xml 329 SHA256 35f240edff8a029b7227e8f215cdfeb841488a8180f2dc4b03bec205c881e56f SHA512 f911fdd49ca38df516f914bb069165f9114f442d78f8626a5132b3699321683e9ea85d139e1e91d3fc48b4495bdf58ae7014dd4eb723385612d9490f6c9447ae WHIRLPOOL e38651c6acfc9c89e0611e66d7e088b13b8df3d4a089759e2cf069122a86ed3d894fea234d49c8ef606a736d6b437c862dcd91e7e0a1bf1624d1cc8490a552bd
diff --git a/dev-util/patdiff/metadata.xml b/dev-util/patdiff/metadata.xml
new file mode 100644
index 000000000000..80d170f9a1b2
--- /dev/null
+++ b/dev-util/patdiff/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">janestreet/patdiff</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/patdiff/patdiff-0.9.0.ebuild b/dev-util/patdiff/patdiff-0.9.0.ebuild
new file mode 100644
index 000000000000..2c95dc9f4545
--- /dev/null
+++ b/dev-util/patdiff/patdiff-0.9.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Colored patience diffs with word-level refinement"
+HOMEPAGE="https://github.com/janestreet/patdiff"
+SRC_URI="https://github.com/janestreet/patdiff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-lang/ocaml:=
+ dev-ml/core:=
+ dev-ml/core_extended:=
+ dev-ml/patience_diff:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_jane:=
+ dev-ml/re2:=
+ dev-ml/sexplib:=
+ dev-ml/ocaml-migrate-parsetree:=
+ dev-ml/pcre-ocaml:=
+"
+DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ --mandir="${ED}/usr/share/man" \
+ ${PN}.install || die
+}