dev-ml/patience_diff: initial import

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

View File

@@ -0,0 +1 @@
DIST patience_diff-0.9.0.tar.gz 16520 SHA256 d47943ca89602e4c4b030f8dec7fa60b5011592a7005fa79cf746b79308d66f8 SHA512 62cc0950edd8d46d5a11cd612dbdb8dc531a9a2c71403f30e6022e20d9ee21cb2e7a531362fa8b350075003eec929f1f70481b8e160b253831966d80a8becd83 WHIRLPOOL f1bb11f6862c9612f48cb861b74028c7c4c720738f44ac75b42d47f527781f6d054d690ac3a36318a6ea3d754544f4e0b9e83627a781989f9c46f5fc4b524f01

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/patience_diff</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Tool and library implementing patience diff"
HOMEPAGE="https://github.com/janestreet/${PN}"
SRC_URI="https://github.com/janestreet/${PN}/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_kernel:=
dev-ml/ppx_driver:=
dev-ml/ppx_jane:=
dev-ml/ocaml-migrate-parsetree:=
"
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}" \
${PN}.install || die
}