commit:     e85c0d27917d082fa8de489b5e4e3f9b5ab7d514
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 22 12:38:57 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 22 14:24:34 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85c0d27

dev-util/patdiff: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/patdiff/Manifest             |  1 +
 dev-util/patdiff/metadata.xml         | 11 +++++++++++
 dev-util/patdiff/patdiff-0.9.0.ebuild | 36 +++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-util/patdiff/Manifest b/dev-util/patdiff/Manifest
new file mode 100644
index 00000000000..805e070b68a
--- /dev/null
+++ b/dev-util/patdiff/Manifest
@@ -0,0 +1 @@
+DIST patdiff-0.9.0.tar.gz 40059 SHA256 
ca5cddb2aad11eb29108e14b661427fc9488fca6753578b0141b331ee39683f5 SHA512 
a48d58c7b2681d5be6281fd6ff4e95df98d6c6f50622eaae5560a9f99c3b8ea0154cec5e6e5eaff687122a1d907657e943239869125089cab5e94e65f7c6a298
 WHIRLPOOL 
3dc776b01b77b06d04b4511b06c9d892d5cc2eb93c62333707c274dc2af301bca05ed5be08b86e5c371b8efc8c98032fbff587e6d93de0acf7b8e1154b11b14e

diff --git a/dev-util/patdiff/metadata.xml b/dev-util/patdiff/metadata.xml
new file mode 100644
index 00000000000..80d170f9a1b
--- /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>m...@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 00000000000..2c95dc9f454
--- /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
+}

Reply via email to