dev-util/patdiff: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-06-22 14:38:57 +02:00
parent 2bbea55437
commit e85c0d2791
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST patdiff-0.9.0.tar.gz 40059 SHA256 ca5cddb2aad11eb29108e14b661427fc9488fca6753578b0141b331ee39683f5 SHA512 a48d58c7b2681d5be6281fd6ff4e95df98d6c6f50622eaae5560a9f99c3b8ea0154cec5e6e5eaff687122a1d907657e943239869125089cab5e94e65f7c6a298 WHIRLPOOL 3dc776b01b77b06d04b4511b06c9d892d5cc2eb93c62333707c274dc2af301bca05ed5be08b86e5c371b8efc8c98032fbff587e6d93de0acf7b8e1154b11b14e

View File

@@ -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>

View File

@@ -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
}