-DIST ppx_here-113.33.03.tar.gz 52064 SHA256 671bf487c5beaf0596fa4f9cf255aff28d89378004f2f9c58ae36110bba3c8ab SHA512 478e5638aaa6cd5ca28d3f4f85b94b5f98e2dec92c7c26dd7a35cd6df639a6e264f1983266352f927eac1cc7e960d65e1d37c2233ce5a96c125afe98da8b8e88 WHIRLPOOL 51f4abe23a5e25b04b554e69126c5d4481a95851f1d72c3ae0c68791d443270c8bb8a2879b95fc3206e608eb7394476239c931f4b7a02545a20f97693e603a43
+DIST ppx_here-0.9.0.tar.gz 7510 SHA256 789eebb555a21030ce0df639499122c95e1ca864ac3b5f2838a4a7d197aa7163 SHA512 2119b1b376cf44dd7eece5184816866e2cdfbf22b7792979718c76f4a2b381c48e149b1e12ff7ef800f96584cbe42bcff7a0249dca3b51e7bdd80da62f4f0cd2 WHIRLPOOL db46fac7a98173bca3cdf905bb44b3a2debfc97f695a8ec2f3dd054470f01c911104801296fc220ed3355f8428c3621d32d4b82f1013500304e80d960b5162af
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-
-inherit oasis
+EAPI=6
DESCRIPTION="Expands [%here] into its location"
-HOMEPAGE="http://www.janestreet.com/ocaml"
-SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+HOMEPAGE="https://github.com/janestreet/ppx_here"
+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=""
-DEPEND="dev-ml/ppx_tools:=
+DEPEND="
+ dev-lang/ocaml:=
+ dev-ml/ppx_core:=
dev-ml/ppx_driver:=
- dev-ml/ppx_core:="
-
+ dev-ml/ocaml-migrate-parsetree:=
+"
RDEPEND="${DEPEND}"
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/js-build-tools"
-
-src_configure() {
- emake setup.exe
- OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
-}
-
-src_compile() {
- emake
-}
+DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
src_install() {
opam-installer -i \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
- dodoc CHANGES.md
}