Skip to content

Commit

Permalink
dev-ml/patience_diff: initial import
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
aballier committed Jun 22, 2017
1 parent f5081e2 commit 2bbea55
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/patience_diff/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST patience_diff-0.9.0.tar.gz 16520 SHA256 d47943ca89602e4c4b030f8dec7fa60b5011592a7005fa79cf746b79308d66f8 SHA512 62cc0950edd8d46d5a11cd612dbdb8dc531a9a2c71403f30e6022e20d9ee21cb2e7a531362fa8b350075003eec929f1f70481b8e160b253831966d80a8becd83 WHIRLPOOL f1bb11f6862c9612f48cb861b74028c7c4c720738f44ac75b42d47f527781f6d054d690ac3a36318a6ea3d754544f4e0b9e83627a781989f9c46f5fc4b524f01
11 changes: 11 additions & 0 deletions dev-ml/patience_diff/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
<upstream>
<remote-id type="github">janestreet/patience_diff</remote-id>
</upstream>
</pkgmetadata>
30 changes: 30 additions & 0 deletions dev-ml/patience_diff/patience_diff-0.9.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 2bbea55

Please sign in to comment.