[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/
commit: 40ca0c512b3cd06e93f243bb13e712f4fb86485c Author: Sam James gentoo org> AuthorDate: Mon Mar 22 04:14:03 2021 + Commit: Sam James gentoo org> CommitDate: Sun Apr 4 06:09:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ca0c51 dev-ml/ppx_core: treeclean Signed-off-by: Sam James gentoo.org> dev-ml/ppx_core/Manifest | 1 - dev-ml/ppx_core/metadata.xml | 8 dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild | 26 -- 3 files changed, 35 deletions(-) diff --git a/dev-ml/ppx_core/Manifest b/dev-ml/ppx_core/Manifest deleted file mode 100644 index 62a261436de..000 --- a/dev-ml/ppx_core/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ppx_core-0.9.0.tar.gz 44525 BLAKE2B a2d67d6ba07217446af11f0e7030197f8894fd271b9eebefefa03a01ccb8692b1d866accf192926ea9193d639e1c551b085875baf877eb396d5a75c847378ec6 SHA512 04b0e096aa545c27f040feeea8745078e0fb9dbe4816ade6d3f39b6690da669c6c786334381dbccd74dfd46514ae88c6475b14db8c3216167a6acfea79601e06 diff --git a/dev-ml/ppx_core/metadata.xml b/dev-ml/ppx_core/metadata.xml deleted file mode 100644 index be8727d0004..000 --- a/dev-ml/ppx_core/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - - janestreet/ppx_core - - diff --git a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild b/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild deleted file mode 100644 index b7479abd2f4..000 --- a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit opam - -DESCRIPTION="Standard library for ppx rewriters" -HOMEPAGE="https://github.com/janestreet/ppx_core; -SRC_URI="https://github.com/janestreet/ppx_core/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -DEPEND=" - dev-ml/base:= - dev-ml/ocaml-compiler-libs:= - dev-ml/ppx_ast:= - dev-ml/ppx_traverse_builtins:= - dev-ml/stdio:= - dev-ml/ocaml-migrate-parsetree:= -" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} dev-ml/jbuilder"
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/
commit: ea9b6d39692ac112ee3295ef5ea2c2d9e113e14a Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Feb 14 14:24:20 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Feb 14 14:24:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9b6d39 dev-ml/ppx_core: x86 keyworded (bug #627836) Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild b/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild index 18dc742c243..b7479abd2f4 100644 --- a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild +++ b/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/janestreet/ppx_core/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="Apache-2.0" SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/
commit: 448d1908be1d62a763605d4952bd94fad589a3c3 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 10 14:43:50 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 10 14:45:01 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448d1908 dev-ml/ppx_core: keyworded 0.9.0-r1 for ppc, bug #627836 Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild b/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild index be04409bc0f..889a65390b0 100644 --- a/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild +++ b/dev-ml/ppx_core/ppx_core-0.9.0-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/janestreet/ppx_core/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="Apache-2.0" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc" IUSE="" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/
commit: c18527b80a55513a45eb32504e0e6a18184b74f9 Author: Alexis Ballier gentoo org> AuthorDate: Tue Jan 24 11:35:02 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Jan 24 11:35:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18527b8 dev-ml/ppx_core: remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/ppx_core/Manifest | 1 - dev-ml/ppx_core/ppx_core-113.24.00.ebuild | 38 --- 2 files changed, 39 deletions(-) diff --git a/dev-ml/ppx_core/Manifest b/dev-ml/ppx_core/Manifest index 395b82c..5491a6b 100644 --- a/dev-ml/ppx_core/Manifest +++ b/dev-ml/ppx_core/Manifest @@ -1,2 +1 @@ -DIST ppx_core-113.24.00.tar.gz 80849 SHA256 aa67133ad9a9fd28214bd073ed50b22d4b26748d9b35cc378684cc09312843f8 SHA512 d88d440aeea6892a8ffeb9314d1745d100afce5504d2d4d73954b36869ed1266add6d92fdcfa473a2a8d6f0877b3a721a57e2c5748f154e22320578219d1cf4a WHIRLPOOL 675ce05fe7d408709175afbef75b76dd9e0ece2912df6b173cf371019feff6e903b5231cfadbf2dc9b239378459e7f7ab393a1892253fd55f2b60279e860fb9a DIST ppx_core-113.33.00.tar.gz 81206 SHA256 460e052c82b954506aead3b1102f8342954013642acbf81b75f0b5a53fb45e1c SHA512 bf4e4720f14bc8c23b7d517bccd2ef2894099bafbfa5c0e9adb70fd7881ac81787c0500050edd94716c32fd0f3e71d7f9c5e3d0e500c967c4feaeaa2db9fc924 WHIRLPOOL 3da6f5477f9b395bc5d31d208b120c696d9e30eaf606677ecdceeb2be07920d59681406acb06f0404e6db981601037137a5323424c0284b54dc8f28ddf21ece6 diff --git a/dev-ml/ppx_core/ppx_core-113.24.00.ebuild b/dev-ml/ppx_core/ppx_core-113.24.00.ebuild deleted file mode 100644 index d00d096.. --- a/dev-ml/ppx_core/ppx_core-113.24.00.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit oasis - -DESCRIPTION="Standard library for ppx rewriters" -HOMEPAGE="http://www.janestreet.com/ocaml; -SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz; - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="dev-ml/ppx_tools:=" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} dev-ml/opam" - -src_configure() { - emake setup.exe - OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure -} - -src_compile() { - emake -} - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die - dodoc CHANGES.md -}
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/files/, dev-ml/ppx_core/
commit: 294b229cd1f177bd30b79d0fa5193c113be7cf96 Author: Alexis Ballier gentoo org> AuthorDate: Sun May 1 17:45:23 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Tue May 3 09:13:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294b229c dev-ml/ppx_core: fix build with ocaml 4.03 Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/ppx_core/files/oc43.patch | 741 ++ dev-ml/ppx_core/ppx_core-113.33.00.ebuild | 6 +- 2 files changed, 746 insertions(+), 1 deletion(-) diff --git a/dev-ml/ppx_core/files/oc43.patch b/dev-ml/ppx_core/files/oc43.patch new file mode 100644 index 000..d5f961d --- /dev/null +++ b/dev-ml/ppx_core/files/oc43.patch @@ -0,0 +1,741 @@ +diff -uNr ppx_core-113.33.00/_oasis ppx_core-113.33.00+4.03/_oasis +--- ppx_core-113.33.00/_oasis 2016-03-09 16:44:53.0 +0100 ppx_core-113.33.00+4.03/_oasis 2016-03-23 17:20:19.0 +0100 +@@ -1,8 +1,8 @@ + OASISFormat: 0.4 +-OCamlVersion: >= 4.02.3 ++OCamlVersion: >= 4.03.0 + FindlibVersion: >= 1.3.2 + Name: ppx_core +-Version: 113.33.00 ++Version: 113.33.00+4.03 + Synopsis: Standard library for ppx rewriters + Authors: Jane Street Group, LLC+ Copyrights: (C) 2015-2016 Jane Street Group LLC +diff -uNr ppx_core-113.33.00/src/ast_builder.ml ppx_core-113.33.00+4.03/src/ast_builder.ml +--- ppx_core-113.33.00/src/ast_builder.ml 2016-03-09 16:44:53.0 +0100 ppx_core-113.33.00+4.03/src/ast_builder.ml 2016-03-23 17:20:19.0 +0100 +@@ -28,21 +28,21 @@ + ({ txt = "nonrec"; loc }, PStr []) :: td.ptype_attributes } + ;; + +- let eint ~loc t = pexp_constant ~loc (Const_int t) +- let echar ~loc t = pexp_constant ~loc (Const_char t) +- let estring ~loc t = pexp_constant ~loc (Const_string (t, None)) +- let efloat ~loc t = pexp_constant ~loc (Const_float t) +- let eint32 ~loc t = pexp_constant ~loc (Const_int32 t) +- let eint64 ~loc t = pexp_constant ~loc (Const_int64 t) +- let enativeint ~loc t = pexp_constant ~loc (Const_nativeint t) +- +- let pint ~loc t = ppat_constant ~loc (Const_int t) +- let pchar ~loc t = ppat_constant ~loc (Const_char t) +- let pstring ~loc t = ppat_constant ~loc (Const_string (t, None)) +- let pfloat ~loc t = ppat_constant ~loc (Const_float t) +- let pint32 ~loc t = ppat_constant ~loc (Const_int32 t) +- let pint64 ~loc t = ppat_constant ~loc (Const_int64 t) +- let pnativeint ~loc t = ppat_constant ~loc (Const_nativeint t) ++ let eint ~loc t = pexp_constant ~loc (Pconst_integer (string_of_int t, None)) ++ let echar ~loc t = pexp_constant ~loc (Pconst_char t) ++ let estring ~loc t = pexp_constant ~loc (Pconst_string (t, None)) ++ let efloat ~loc t = pexp_constant ~loc (Pconst_float (t, None)) ++ let eint32 ~loc t = pexp_constant ~loc (Pconst_integer (Int32.to_string t, Some 'l')) ++ let eint64 ~loc t = pexp_constant ~loc (Pconst_integer (Int64.to_string t, Some 'L')) ++ let enativeint ~loc t = pexp_constant ~loc (Pconst_integer (Nativeint.to_string t, Some 'n')) ++ ++ let pint ~loc t = ppat_constant ~loc (Pconst_integer (string_of_int t, None)) ++ let pchar ~loc t = ppat_constant ~loc (Pconst_char t) ++ let pstring ~loc t = ppat_constant ~loc (Pconst_string (t, None)) ++ let pfloat ~loc t = ppat_constant ~loc (Pconst_float (t, None)) ++ let pint32 ~loc t = ppat_constant ~loc (Pconst_integer (Int32.to_string t, Some 'l')) ++ let pint64 ~loc t = ppat_constant ~loc (Pconst_integer (Int64.to_string t, Some 'L')) ++ let pnativeint ~loc t = ppat_constant ~loc (Pconst_integer (Nativeint.to_string t, Some 'n')) + + let ebool ~loc t = pexp_construct ~loc (Located.lident ~loc (string_of_bool t)) None + let pbool ~loc t = ppat_construct ~loc (Located.lident ~loc (string_of_bool t)) None +@@ -77,10 +77,11 @@ + | _ -> pexp_apply ~loc e el + ;; + +- let eapply ~loc e el = pexp_apply ~loc e (List.map el ~f:(fun e -> ("", e))) ++ let eapply ~loc e el = ++pexp_apply ~loc e (List.map el ~f:(fun e -> (Asttypes.Nolabel, e))) + + let eabstract ~loc ps e = +-List.fold_right ps ~init:e ~f:(fun p e -> pexp_fun ~loc "" None p e) ++List.fold_right ps ~init:e ~f:(fun p e -> pexp_fun ~loc Asttypes.Nolabel None p e) + ;; + + let pconstruct cd arg = ppat_construct ~loc:cd.pcd_loc (Located.map_lident cd.pcd_name) arg +diff -uNr ppx_core-113.33.00/src/ast_pattern.ml ppx_core-113.33.00+4.03/src/ast_pattern.ml +--- ppx_core-113.33.00/src/ast_pattern.ml 2016-03-09 16:44:53.0 +0100 ppx_core-113.33.00+4.03/src/ast_pattern.ml 2016-03-23 17:20:19.0 +0100 +@@ -80,6 +80,13 @@ + + let ( >>| ) t f = map t ~f + ++let map0 (T func) ~f = T (fun ctx loc x k -> func ctx loc x ( k f )) ++let map1 (T func) ~f = T (fun ctx loc x k -> func ctx loc x (fun
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/files/
commit: ec74deb5656e4df02f37c7b48fb972b324d4c3da Author: Alexis Ballier gentoo org> AuthorDate: Sun May 1 18:21:07 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Tue May 3 09:13:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec74deb5 dev-ml/ppx_core: use more recent upstream patch for ocaml 4.03 Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/ppx_core/files/oc43.patch | 115 +++ 1 file changed, 81 insertions(+), 34 deletions(-) diff --git a/dev-ml/ppx_core/files/oc43.patch b/dev-ml/ppx_core/files/oc43.patch index d5f961d..ebc23ef 100644 --- a/dev-ml/ppx_core/files/oc43.patch +++ b/dev-ml/ppx_core/files/oc43.patch @@ -1,6 +1,18 @@ -diff -uNr ppx_core-113.33.00/_oasis ppx_core-113.33.00+4.03/_oasis +diff -uNr ppx_core-113.33.00/js-utils/gen_install.ml ppx_core-113.33.01+4.03/js-utils/gen_install.ml +--- ppx_core-113.33.00/js-utils/gen_install.ml 2016-03-09 16:44:53.0 +0100 ppx_core-113.33.01+4.03/js-utils/gen_install.ml2016-04-18 12:14:21.0 +0200 +@@ -31,7 +31,7 @@ + |> List.map (fun line -> Scanf.sscanf line "%[^=]=%S" (fun k v -> (k, v))) + + let remove_cwd = +- let prefix = Sys.getcwd () ^ "/" in ++ let prefix = Sys.getcwd () ^ Filename.dir_sep in + let len_prefix = String.length prefix in + fun fn -> + let len = String.length fn in +diff -uNr ppx_core-113.33.00/_oasis ppx_core-113.33.01+4.03/_oasis --- ppx_core-113.33.00/_oasis 2016-03-09 16:44:53.0 +0100 -+++ ppx_core-113.33.00+4.03/_oasis 2016-03-23 17:20:19.0 +0100 ppx_core-113.33.01+4.03/_oasis 2016-04-18 12:14:21.0 +0200 @@ -1,8 +1,8 @@ OASISFormat: 0.4 -OCamlVersion: >= 4.02.3 @@ -8,14 +20,48 @@ diff -uNr ppx_core-113.33.00/_oasis ppx_core-113.33.00+4.03/_oasis FindlibVersion: >= 1.3.2 Name: ppx_core -Version: 113.33.00 -+Version: 113.33.00+4.03 ++Version: 113.33.01+4.03 Synopsis: Standard library for ppx rewriters Authors: Jane Street Group, LLCCopyrights: (C) 2015-2016 Jane Street Group LLC -diff -uNr ppx_core-113.33.00/src/ast_builder.ml ppx_core-113.33.00+4.03/src/ast_builder.ml +diff -uNr ppx_core-113.33.00/opam ppx_core-113.33.01+4.03/opam +--- ppx_core-113.33.00/opam2016-03-18 12:08:01.0 +0100 ppx_core-113.33.01+4.03/opam 2016-04-18 12:27:13.0 +0200 +@@ -14,4 +14,4 @@ + "ocamlfind" {build & >= "1.3.2"} + "ppx_tools" {>= "0.99.3"} + ] +-available: [ ocaml-version >= "4.02.3" ] ++available: [ ocaml-version >= "4.03.0" ] +diff -uNr ppx_core-113.33.00/src/ast_builder_intf.ml ppx_core-113.33.01+4.03/src/ast_builder_intf.ml +--- ppx_core-113.33.00/src/ast_builder_intf.ml 2016-03-09 16:44:53.0 +0100 ppx_core-113.33.01+4.03/src/ast_builder_intf.ml2016-04-18 12:14:21.0 +0200 +@@ -44,6 +44,11 @@ + val elist : (expression list -> expression) with_loc + val plist : (patternlist -> pattern ) with_loc + ++ val pstr_value_list : ++loc:Location.t -> Asttypes.rec_flag -> value_binding list -> structure_item list ++ (** [pstr_value_list ~loc rf vbs] = [pstr_value ~loc rf vbs] if [vbs <> []], [[]] ++ otherwise. *) ++ + val nonrec_type_declaration : + (name:string Location.loc + -> params:(core_type * Asttypes.variance) list +diff -uNr ppx_core-113.33.00/src/ast_builder.ml ppx_core-113.33.01+4.03/src/ast_builder.ml --- ppx_core-113.33.00/src/ast_builder.ml 2016-03-09 16:44:53.0 +0100 -+++ ppx_core-113.33.00+4.03/src/ast_builder.ml 2016-03-23 17:20:19.0 +0100 -@@ -28,21 +28,21 @@ ppx_core-113.33.01+4.03/src/ast_builder.ml 2016-04-18 12:14:21.0 +0200 +@@ -22,27 +22,31 @@ + + include Ast_builder_generated.M + ++ let pstr_value_list ~loc rec_flag = function ++| [] -> [] ++| vbs -> [pstr_value ~loc rec_flag vbs] ++ + let nonrec_type_declaration ~loc ~name ~params ~cstrs ~kind ~private_ ~manifest = + let td = type_declaration ~loc ~name ~params ~cstrs ~kind ~private_ ~manifest in + { td with ptype_attributes = ({ txt = "nonrec"; loc }, PStr []) :: td.ptype_attributes } ;; @@ -52,7 +98,7 @@ diff -uNr ppx_core-113.33.00/src/ast_builder.ml ppx_core-113.33.00+4.03/src/ast_ let ebool ~loc t = pexp_construct ~loc (Located.lident ~loc (string_of_bool t)) None let pbool ~loc t = ppat_construct ~loc (Located.lident ~loc (string_of_bool t)) None -@@ -77,10 +77,11 @@ +@@ -77,10 +81,11 @@ | _ -> pexp_apply ~loc e el ;; @@ -66,9 +112,18 @@ diff -uNr ppx_core-113.33.00/src/ast_builder.ml ppx_core-113.33.00+4.03/src/ast_ ;; let pconstruct cd arg = ppat_construct ~loc:cd.pcd_loc (Located.map_lident cd.pcd_name) arg -diff -uNr ppx_core-113.33.00/src/ast_pattern.ml
[gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_core/
commit: 86851a2158594601b49c95269e1f98d862db108d Author: Alexis Ballier gentoo org> AuthorDate: Tue Mar 22 09:36:01 2016 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Mar 22 10:06:58 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86851a21 dev-ml/ppx_core: bump to 113.33.00 Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/ppx_core/Manifest | 1 + dev-ml/ppx_core/ppx_core-113.33.00.ebuild | 38 +++ 2 files changed, 39 insertions(+) diff --git a/dev-ml/ppx_core/Manifest b/dev-ml/ppx_core/Manifest index 12f8f37..395b82c 100644 --- a/dev-ml/ppx_core/Manifest +++ b/dev-ml/ppx_core/Manifest @@ -1 +1,2 @@ DIST ppx_core-113.24.00.tar.gz 80849 SHA256 aa67133ad9a9fd28214bd073ed50b22d4b26748d9b35cc378684cc09312843f8 SHA512 d88d440aeea6892a8ffeb9314d1745d100afce5504d2d4d73954b36869ed1266add6d92fdcfa473a2a8d6f0877b3a721a57e2c5748f154e22320578219d1cf4a WHIRLPOOL 675ce05fe7d408709175afbef75b76dd9e0ece2912df6b173cf371019feff6e903b5231cfadbf2dc9b239378459e7f7ab393a1892253fd55f2b60279e860fb9a +DIST ppx_core-113.33.00.tar.gz 81206 SHA256 460e052c82b954506aead3b1102f8342954013642acbf81b75f0b5a53fb45e1c SHA512 bf4e4720f14bc8c23b7d517bccd2ef2894099bafbfa5c0e9adb70fd7881ac81787c0500050edd94716c32fd0f3e71d7f9c5e3d0e500c967c4feaeaa2db9fc924 WHIRLPOOL 3da6f5477f9b395bc5d31d208b120c696d9e30eaf606677ecdceeb2be07920d59681406acb06f0404e6db981601037137a5323424c0284b54dc8f28ddf21ece6 diff --git a/dev-ml/ppx_core/ppx_core-113.33.00.ebuild b/dev-ml/ppx_core/ppx_core-113.33.00.ebuild new file mode 100644 index 000..d00d096 --- /dev/null +++ b/dev-ml/ppx_core/ppx_core-113.33.00.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit oasis + +DESCRIPTION="Standard library for ppx rewriters" +HOMEPAGE="http://www.janestreet.com/ocaml; +SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz; + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-ml/ppx_tools:=" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} dev-ml/opam" + +src_configure() { + emake setup.exe + OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure +} + +src_compile() { + emake +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc CHANGES.md +}