parent
7c6ef25090
commit
7fdde41bcf
@ -1 +1,2 @@
|
||||
DIST camlp4-4.04_p1.tar.gz 648320 SHA256 6044f24a44053684d1260f19387e59359f59b0605cdbf7295e1de42783e48ff1 SHA512 7db8eebcf3d230f60650ba62d9cb630c069394237e97b678a40b61d3dcaded752a2b7e089a50ff528f1ea0740d0291b722df123a072f2cee489cadc5201c6776 WHIRLPOOL 6cfed59e81dbd92debe23670657eb7e96125105fccb7b20a8e16553090cc9a0e8c732b8e0cac1a9b39e172aa8dfaae145ba8827948f371aeaa69345f3ba39096
|
||||
DIST camlp4-4.05_p1.tar.gz 647566 SHA256 9819b5c7a5c1a4854be18020ef312bfec6541e26c798a5c863be875bfd7e8e2b SHA512 0ee9720286d0d832fb7d2d21a8877856e0e47c94c86b1b58d28f8e757a18472eecb56a16e3a04ce815f240dd5048f5d597515461d084fd1cf4da1b121f97a3fe WHIRLPOOL 0f89cd42bac84ba13d373160bf33452fc1cc31e0f6529aa1da2ff372e5cbb69868247461c17ac4fccd50528f97abe8009d899129c73afab8ce799791b259cc77
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PV=${PV/_p/+}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="System for writing extensible parsers for programming languages"
|
||||
HOMEPAGE="https://github.com/ocaml/camlp4"
|
||||
SRC_URI="https://github.com/ocaml/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-4.05_beta:=[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<dev-lang/ocaml-4.02
|
||||
!<dev-ml/findlib-1.5.5-r1"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/ocamlbuild"
|
||||
|
||||
S=${WORKDIR}/${P/_p/-}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--bindir="${EPREFIX}/usr/bin" \
|
||||
--libdir="$(ocamlc -where)" \
|
||||
--pkgdir="$(ocamlc -where)" \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake byte
|
||||
use ocamlopt && emake native
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-META
|
||||
dodoc CHANGES.md README.md
|
||||
}
|
@ -0,0 +1,382 @@
|
||||
Index: labltk-8.06.2/support/cltkCaml.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkCaml.c
|
||||
+++ labltk-8.06.2/support/cltkCaml.c
|
||||
@@ -39,7 +39,7 @@ int CamlCBCmd(ClientData clientdata, Tcl
|
||||
int id;
|
||||
if (Tcl_GetInt(interp, argv[1], &id) != TCL_OK)
|
||||
return TCL_ERROR;
|
||||
- callback2(*handler_code,Val_int(id),
|
||||
+ caml_callback2(*handler_code,Val_int(id),
|
||||
copy_string_list(argc - 2,(char **)&argv[2]));
|
||||
/* Never fails (OCaml would have raised an exception) */
|
||||
/* but result may have been set by callback */
|
||||
@@ -65,7 +65,7 @@ CAMLprim value camltk_return (value v)
|
||||
/* Note: raise_with_string WILL copy the error message */
|
||||
CAMLprim void tk_error(const char *errmsg)
|
||||
{
|
||||
- raise_with_string(*tkerror_exn, errmsg);
|
||||
+ caml_raise_with_string(*tkerror_exn, errmsg);
|
||||
}
|
||||
|
||||
|
||||
Index: labltk-8.06.2/support/cltkDMain.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkDMain.c
|
||||
+++ labltk-8.06.2/support/cltkDMain.c
|
||||
@@ -56,7 +56,7 @@ void invoke_pending_caml_signals (client
|
||||
/* Rearm timer */
|
||||
Tk_CreateTimerHandler(SIGNAL_INTERVAL, invoke_pending_caml_signals, NULL);
|
||||
signal_events = 1;
|
||||
- leave_blocking_section();
|
||||
+ caml_leave_blocking_section();
|
||||
}
|
||||
/* The following is taken from byterun/startup.c */
|
||||
header_t atom_table[256];
|
||||
@@ -222,10 +222,10 @@ int Caml_Init(interp)
|
||||
strcat(f, RCNAME);
|
||||
if (0 == access(f,R_OK))
|
||||
if (TCL_OK != Tcl_EvalFile(cltclinterp,f)) {
|
||||
- stat_free(f);
|
||||
+ caml_stat_free(f);
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
};
|
||||
- stat_free(f);
|
||||
+ caml_stat_free(f);
|
||||
}
|
||||
}
|
||||
|
||||
Index: labltk-8.06.2/support/cltkEval.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkEval.c
|
||||
+++ labltk-8.06.2/support/cltkEval.c
|
||||
@@ -45,7 +45,7 @@ value copy_string_list(int argc, char **
|
||||
for (i = argc-1; i >= 0; i--) {
|
||||
oldres = res;
|
||||
str = tcl_string_to_caml(argv[i]);
|
||||
- res = alloc(2, 0);
|
||||
+ res = caml_alloc(2, 0);
|
||||
Field(res, 0) = str;
|
||||
Field(res, 1) = oldres;
|
||||
}
|
||||
@@ -71,7 +71,7 @@ CAMLprim value camltk_tcl_eval(value str
|
||||
Tcl_ResetResult(cltclinterp);
|
||||
cmd = caml_string_to_tcl(str);
|
||||
code = Tcl_Eval(cltclinterp, cmd);
|
||||
- stat_free(cmd);
|
||||
+ caml_stat_free(cmd);
|
||||
|
||||
switch (code) {
|
||||
case TCL_OK:
|
||||
@@ -143,8 +143,8 @@ int fill_args (char **argv, int where, v
|
||||
fill_args(tmpargv,0,Field(v,0));
|
||||
tmpargv[size] = NULL;
|
||||
merged = Tcl_Merge(size,(const char *const*)tmpargv);
|
||||
- for(i = 0; i<size; i++){ stat_free(tmpargv[i]); }
|
||||
- stat_free((char *)tmpargv);
|
||||
+ for(i = 0; i<size; i++){ caml_stat_free(tmpargv[i]); }
|
||||
+ caml_stat_free((char *)tmpargv);
|
||||
/* must be freed by stat_free */
|
||||
argv[where] = (char*)caml_stat_alloc(strlen(merged)+1);
|
||||
strcpy(argv[where], merged);
|
||||
@@ -227,10 +227,10 @@ CAMLprim value camltk_tcl_direct_eval(va
|
||||
|
||||
/* Free the various things we allocated */
|
||||
for(i=0; i< size; i ++){
|
||||
- stat_free((char *) allocated[i]);
|
||||
+ caml_stat_free((char *) allocated[i]);
|
||||
}
|
||||
- stat_free((char *)argv);
|
||||
- stat_free((char *)allocated);
|
||||
+ caml_stat_free((char *)argv);
|
||||
+ caml_stat_free((char *)allocated);
|
||||
|
||||
switch (result) {
|
||||
case TCL_OK:
|
||||
Index: labltk-8.06.2/support/cltkEvent.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkEvent.c
|
||||
+++ labltk-8.06.2/support/cltkEvent.c
|
||||
@@ -49,6 +49,6 @@ CAMLprim value camltk_dooneevent(value f
|
||||
|
||||
CheckInit();
|
||||
|
||||
- ret = Tk_DoOneEvent(convert_flag_list(flags, event_flag_table));
|
||||
+ ret = Tk_DoOneEvent(caml_convert_flag_list(flags, event_flag_table));
|
||||
return Val_int(ret);
|
||||
}
|
||||
Index: labltk-8.06.2/support/cltkFile.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkFile.c
|
||||
+++ labltk-8.06.2/support/cltkFile.c
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
void FileProc(ClientData clientdata, int mask)
|
||||
{
|
||||
- callback2(*handler_code,Val_int(clientdata),Val_int(0));
|
||||
+ caml_callback2(*handler_code,Val_int(clientdata),Val_int(0));
|
||||
}
|
||||
|
||||
/* Map Unix.file_descr values to Tcl file handles */
|
||||
Index: labltk-8.06.2/support/cltkImg.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkImg.c
|
||||
+++ labltk-8.06.2/support/cltkImg.c
|
||||
@@ -47,7 +47,7 @@ CAMLprim value camltk_getimgdata (value
|
||||
|
||||
code = Tk_PhotoGetImage(ph,&pib); /* never fails ? */
|
||||
size = pib.width * pib.height * pib.pixelSize;
|
||||
- res = alloc_string(size);
|
||||
+ res = caml_alloc_string(size);
|
||||
|
||||
/* no holes, default format ? */
|
||||
if ((pib.pixelSize == 3) &&
|
||||
Index: labltk-8.06.2/support/cltkMain.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkMain.c
|
||||
+++ labltk-8.06.2/support/cltkMain.c
|
||||
@@ -51,11 +51,11 @@ int signal_events = 0; /* do we have a p
|
||||
void invoke_pending_caml_signals (ClientData clientdata)
|
||||
{
|
||||
signal_events = 0;
|
||||
- enter_blocking_section(); /* triggers signal handling */
|
||||
+ caml_enter_blocking_section(); /* triggers signal handling */
|
||||
/* Rearm timer */
|
||||
Tk_CreateTimerHandler(SIGNAL_INTERVAL, invoke_pending_caml_signals, NULL);
|
||||
signal_events = 1;
|
||||
- leave_blocking_section();
|
||||
+ caml_leave_blocking_section();
|
||||
}
|
||||
|
||||
/* Now the real Tk stuff */
|
||||
@@ -77,7 +77,7 @@ CAMLprim value camltk_opentk(value argv)
|
||||
tmp = Val_unit;
|
||||
|
||||
if ( argv == Val_int(0) ){
|
||||
- failwith("camltk_opentk: argv is empty");
|
||||
+ caml_failwith("camltk_opentk: argv is empty");
|
||||
}
|
||||
argv0 = String_val( Field( argv, 0 ) );
|
||||
|
||||
@@ -91,7 +91,7 @@ CAMLprim value camltk_opentk(value argv)
|
||||
/* Register cltclinterp for use in other related extensions */
|
||||
value *interp = caml_named_value("cltclinterp");
|
||||
if (interp != NULL)
|
||||
- Store_field(*interp,0,copy_nativeint((intnat)cltclinterp));
|
||||
+ Store_field(*interp,0,caml_copy_nativeint((intnat)cltclinterp));
|
||||
}
|
||||
|
||||
if (Tcl_Init(cltclinterp) != TCL_OK)
|
||||
@@ -128,7 +128,7 @@ CAMLprim value camltk_opentk(value argv)
|
||||
args = Tcl_Merge(argc, (const char *const*)tkargv); /* args must be freed by Tcl_Free */
|
||||
Tcl_SetVar(cltclinterp, "argv", args, TCL_GLOBAL_ONLY);
|
||||
Tcl_Free(args);
|
||||
- stat_free( tkargv );
|
||||
+ caml_stat_free( tkargv );
|
||||
}
|
||||
}
|
||||
if (Tk_Init(cltclinterp) != TCL_OK)
|
||||
@@ -164,10 +164,10 @@ CAMLprim value camltk_opentk(value argv)
|
||||
strcat(f, RCNAME);
|
||||
if (0 == access(f,R_OK))
|
||||
if (TCL_OK != Tcl_EvalFile(cltclinterp,f)) {
|
||||
- stat_free(f);
|
||||
+ caml_stat_free(f);
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
};
|
||||
- stat_free(f);
|
||||
+ caml_stat_free(f);
|
||||
}
|
||||
}
|
||||
|
||||
Index: labltk-8.06.2/support/cltkMisc.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkMisc.c
|
||||
+++ labltk-8.06.2/support/cltkMisc.c
|
||||
@@ -41,12 +41,12 @@ CAMLprim value camltk_splitlist (value v
|
||||
{ value res = copy_string_list(argc,argv);
|
||||
Tcl_Free((char *)argv); /* only one large block was allocated */
|
||||
/* argv points into utf: utf must be freed after argv are freed */
|
||||
- stat_free( utf );
|
||||
+ caml_stat_free( utf );
|
||||
return res;
|
||||
}
|
||||
case TCL_ERROR:
|
||||
default:
|
||||
- stat_free( utf );
|
||||
+ caml_stat_free( utf );
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ CAMLprim value camltk_splitlist (value v
|
||||
/* Copy an OCaml string to the C heap. Should deallocate with stat_free */
|
||||
char *string_to_c(value s)
|
||||
{
|
||||
- int l = string_length(s);
|
||||
+ int l = caml_string_length(s);
|
||||
char *res = caml_stat_alloc(l + 1);
|
||||
memmove (res, String_val (s), l);
|
||||
res[l] = '\0';
|
||||
Index: labltk-8.06.2/support/cltkTimer.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkTimer.c
|
||||
+++ labltk-8.06.2/support/cltkTimer.c
|
||||
@@ -26,7 +26,7 @@
|
||||
/* Basically the same thing as FileProc */
|
||||
void TimerProc (ClientData clientdata)
|
||||
{
|
||||
- callback2(*handler_code,Val_long(clientdata),Val_int(0));
|
||||
+ caml_callback2(*handler_code,Val_long(clientdata),Val_int(0));
|
||||
}
|
||||
|
||||
CAMLprim value camltk_add_timer(value milli, value cbid)
|
||||
Index: labltk-8.06.2/support/cltkUtf.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkUtf.c
|
||||
+++ labltk-8.06.2/support/cltkUtf.c
|
||||
@@ -76,14 +76,14 @@ value tcl_string_to_caml( const char *s
|
||||
char *str;
|
||||
|
||||
str = utf_to_external( s );
|
||||
- res = copy_string(str);
|
||||
- stat_free(str);
|
||||
+ res = caml_copy_string(str);
|
||||
+ caml_stat_free(str);
|
||||
CAMLreturn(res);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
char *caml_string_to_tcl(value s){ return string_to_c(s); }
|
||||
-value tcl_string_to_caml(char *s){ return copy_string(s); }
|
||||
+value tcl_string_to_caml(char *s){ return caml_copy_string(s); }
|
||||
|
||||
#endif
|
||||
Index: labltk-8.06.2/support/cltkVar.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkVar.c
|
||||
+++ labltk-8.06.2/support/cltkVar.c
|
||||
@@ -35,7 +35,7 @@ CAMLprim value camltk_getvar(value var)
|
||||
stable_var = string_to_c(var);
|
||||
s = (char *)Tcl_GetVar(cltclinterp,stable_var,
|
||||
TCL_GLOBAL_ONLY|TCL_LEAVE_ERR_MSG);
|
||||
- stat_free(stable_var);
|
||||
+ caml_stat_free(stable_var);
|
||||
|
||||
if (s == NULL)
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
@@ -57,11 +57,11 @@ CAMLprim value camltk_setvar(value var,
|
||||
utf_contents = caml_string_to_tcl(contents);
|
||||
s = (char *)Tcl_SetVar(cltclinterp,stable_var, utf_contents,
|
||||
TCL_GLOBAL_ONLY|TCL_LEAVE_ERR_MSG);
|
||||
- stat_free(stable_var);
|
||||
+ caml_stat_free(stable_var);
|
||||
if( s == utf_contents ){
|
||||
tk_error("camltk_setvar: Tcl_SetVar returned strange result. Call the author of mlTk!");
|
||||
}
|
||||
- stat_free(utf_contents);
|
||||
+ caml_stat_free(utf_contents);
|
||||
|
||||
if (s == NULL)
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
@@ -84,7 +84,7 @@ static char * tracevar(clientdata, inter
|
||||
Tcl_UntraceVar2(interp, name1, name2,
|
||||
TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
|
||||
tracevar, clientdata);
|
||||
- callback2(*handler_code,Val_int(clientdata),Val_unit);
|
||||
+ caml_callback2(*handler_code,Val_int(clientdata),Val_unit);
|
||||
return (char *)NULL;
|
||||
}
|
||||
|
||||
@@ -103,10 +103,10 @@ CAMLprim value camltk_trace_var(value va
|
||||
tracevar,
|
||||
(ClientData) (Long_val(cbid)))
|
||||
!= TCL_OK) {
|
||||
- stat_free(cvar);
|
||||
+ caml_stat_free(cvar);
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
};
|
||||
- stat_free(cvar);
|
||||
+ caml_stat_free(cvar);
|
||||
return Val_unit;
|
||||
}
|
||||
|
||||
@@ -123,6 +123,6 @@ CAMLprim value camltk_untrace_var(value
|
||||
TCL_GLOBAL_ONLY|TCL_TRACE_WRITES|TCL_TRACE_UNSETS,
|
||||
tracevar,
|
||||
(ClientData) (Long_val(cbid)));
|
||||
- stat_free(cvar);
|
||||
+ caml_stat_free(cvar);
|
||||
return Val_unit;
|
||||
}
|
||||
Index: labltk-8.06.2/support/cltkWait.c
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/support/cltkWait.c
|
||||
+++ labltk-8.06.2/support/cltkWait.c
|
||||
@@ -54,8 +54,8 @@ static void WaitVisibilityProc(clientDat
|
||||
Tk_DeleteEventHandler(vis->win, VisibilityChangeMask,
|
||||
WaitVisibilityProc, clientData);
|
||||
|
||||
- stat_free((char *)vis);
|
||||
- callback2(*handler_code,cbid,Val_int(0));
|
||||
+ caml_stat_free((char *)vis);
|
||||
+ caml_callback2(*handler_code,cbid,Val_int(0));
|
||||
}
|
||||
|
||||
/* Sets up a callback upon Visibility of a window */
|
||||
@@ -65,7 +65,7 @@ CAMLprim value camltk_wait_vis(value win
|
||||
(struct WinCBData *)caml_stat_alloc(sizeof(struct WinCBData));
|
||||
vis->win = Tk_NameToWindow(cltclinterp, String_val(win), cltk_mainWindow);
|
||||
if (vis -> win == NULL) {
|
||||
- stat_free((char *)vis);
|
||||
+ caml_stat_free((char *)vis);
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
};
|
||||
vis->cbid = Int_val(cbid);
|
||||
@@ -79,9 +79,9 @@ static void WaitWindowProc(ClientData cl
|
||||
if (eventPtr->type == DestroyNotify) {
|
||||
struct WinCBData *vis = clientData;
|
||||
value cbid = Val_int(vis->cbid);
|
||||
- stat_free((char *)clientData);
|
||||
+ caml_stat_free((char *)clientData);
|
||||
/* The handler is destroyed by Tk itself */
|
||||
- callback2(*handler_code,cbid,Val_int(0));
|
||||
+ caml_callback2(*handler_code,cbid,Val_int(0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ CAMLprim value camltk_wait_des(value win
|
||||
(struct WinCBData *)caml_stat_alloc(sizeof(struct WinCBData));
|
||||
vis->win = Tk_NameToWindow(cltclinterp, String_val(win), cltk_mainWindow);
|
||||
if (vis -> win == NULL) {
|
||||
- stat_free((char *)vis);
|
||||
+ caml_stat_free((char *)vis);
|
||||
tk_error(Tcl_GetStringResult(cltclinterp));
|
||||
};
|
||||
vis->cbid = Int_val(cbid);
|
||||
Index: labltk-8.06.2/browser/searchpos.ml
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/browser/searchpos.ml
|
||||
+++ labltk-8.06.2/browser/searchpos.ml
|
||||
@@ -782,7 +782,7 @@ and search_pos_expr ~pos exp =
|
||||
search_pos_expr exp' ~pos
|
||||
end;
|
||||
search_pos_expr exp ~pos
|
||||
- | Texp_function (_, l, _) ->
|
||||
+ | Texp_function { arg_label = _; param = _ ; cases = l; partial = _; } ->
|
||||
List.iter l ~f:(search_case ~pos)
|
||||
| Texp_apply (exp, l) ->
|
||||
List.iter l ~f:(fun (_, x) -> Misc.may (search_pos_expr ~pos) x);
|
||||
Index: labltk-8.06.2/jpf/fileselect.ml
|
||||
===================================================================
|
||||
--- labltk-8.06.2.orig/jpf/fileselect.ml
|
||||
+++ labltk-8.06.2/jpf/fileselect.ml
|
||||
@@ -55,7 +55,7 @@ let myentry_create p ~variable =
|
||||
let subshell cmd =
|
||||
let r,w = pipe () in
|
||||
match fork () with
|
||||
- 0 -> close r; dup2 ~src:w ~dst:stdout;
|
||||
+ 0 -> close r; dup2 ~cloexec:false ~src:w ~dst:stdout;
|
||||
execv ~prog:"/bin/sh" ~args:[| "/bin/sh"; "-c"; cmd |]
|
||||
| id ->
|
||||
close w;
|
@ -1 +1,2 @@
|
||||
DIST ppx_tools-5.0.4.03.0.tar.gz 17209 SHA256 2cd990ef36145c35b0fd2cfaadc379cf032dd0987c07bea094d4437277d573e5 SHA512 d1867b084885704757f390b6f6ca8b5d7702f0476149d99ea227f98230ab35d57f5c4aa779881231a0a77cfd1861255118fa2551a49ab85553f63e9aab9baae4 WHIRLPOOL a74a30397ec858d3be478c85d7e4b54f065e35d6a95b95cca0a49049eb167e23892088620d9cdb59d81b598be0ebe3a1be123928768e21186f710ad81a5b8118
|
||||
DIST ppx_tools-5.0.4.05.0.tar.gz 17893 SHA256 031e05e2f98fd77a412cff00f19262e186b0c8a1804fece06d2af05e37a563b7 SHA512 33b4420500a2b5880e770f8fdf2b37ef08e52ff84f96f955c6321492de906568979feccb1b2b477b1117619ba28edd8d3e0f178c5684f0dc43c6ed56266c4d64 WHIRLPOOL a48ed77f05d7cc52fa40a4a017b689c34695bf267b74dd438a7da7d1c30a5709de6e01a1dffaa110086b5ed410689189fee45686502a6a0d70de71be9a8b1d86
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit findlib versionator eutils
|
||||
|
||||
MY_PV=$(replace_version_separator 2 '+')
|
||||
DESCRIPTION="Tools for authors of ppx rewriters"
|
||||
HOMEPAGE="https://github.com/alainfrisch/ppx_tools"
|
||||
SRC_URI="https://github.com/alainfrisch/ppx_tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-4.05_beta:="
|
||||
RDEPEND="${DEPEND}"
|
||||
S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-')"
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
dodoc README.md
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pxp-1.2.8.tar.gz 619689 SHA256 701754f4460595434ea6db77c33e046d33e4a485e8d28c5d39ced56112c94452 SHA512 3292bfbda494066e454331a9cfc56b03f55afe8548bdf24fea09d9bc0a03c333c027f7b527983bd9b4d659458c95acf7e3fc251c72d26ab3502f52067c9f2549 WHIRLPOOL 5529a6ad818428b03664764704e62d200802dc26c8c344897f4b15b17945e4620fa4b878f0108b12f346000a7cc070b50d2ce82d945c6bcd34a0e5e811ec8c0a
|
||||
DIST pxp-1.2.9.tar.gz 626001 SHA256 b1ba8f305913b7e9d0bcbce0c532aeb28a79396e08f178b119c2050835ab1c7b SHA512 d3a8ab9eab0f5219b889dc7a0b4936e4ae81f2dd3eb06c45b25ff70b8e2c6151c917bf43cf84a90061c6efe0ec344c2703566d2d513e45e1fceab5740bdf9808 WHIRLPOOL 80ec9c681464821931d2b0ec6e7034023b1300bf56b42bfc33720c309e3290697cd20efe98c869949a80710f01460bf6896ba6f7a8413c3beef884eef9b74c85
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
MY_P=${P/_beta/test}
|
||||
|
||||
DESCRIPTION="validating XML parser library for O'Caml"
|
||||
HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
|
||||
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
DEPEND=">=dev-ml/pcre-ocaml-4.31:=
|
||||
>=dev-ml/ulex-0.5:=
|
||||
>=dev-ml/ocamlnet-4:=
|
||||
>=dev-lang/ocaml-3.10.2:=[ocamlopt?]
|
||||
dev-ml/camlp4:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="examples +ocamlopt"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
#the included configure does not support many standard switches and is quite picky
|
||||
./configure || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 all
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
|
||||
cd doc
|
||||
dodoc ABOUT-FINDLIB README SPEC design.txt
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 03 Mar 2017 10:38:56 +0000
|
||||
Fri, 03 Mar 2017 12:38:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 03 Mar 2017 10:38:56 +0000
|
||||
Fri, 03 Mar 2017 12:38:57 +0000
|
||||
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install
|
||||
DEPEND=>=dev-lang/ocaml-4.05_beta:=[ocamlopt?] dev-ml/ocamlbuild
|
||||
DESCRIPTION=System for writing extensible parsers for programming languages
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/ocaml/camlp4
|
||||
IUSE=+ocamlopt
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux
|
||||
LICENSE=LGPL-2-with-linking-exception
|
||||
RDEPEND=>=dev-lang/ocaml-4.05_beta:=[ocamlopt?] !<dev-lang/ocaml-4.02 !<dev-ml/findlib-1.5.5-r1
|
||||
SLOT=0/4.05_p1
|
||||
SRC_URI=https://github.com/ocaml/camlp4/archive/4.05+1.tar.gz -> camlp4-4.05_p1.tar.gz
|
||||
_md5_=3e8b0c074a7693a2ccb8cb99bc2fc716
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DEPEND=>=dev-lang/ocaml-4.05_beta:= >=dev-ml/findlib-1.0.4-r1
|
||||
DESCRIPTION=Tools for authors of ppx rewriters
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/alainfrisch/ppx_tools
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=dev-lang/ocaml-4.05_beta:=
|
||||
SLOT=0/5.0.4.05.0
|
||||
SRC_URI=https://github.com/alainfrisch/ppx_tools/archive/5.0+4.05.0.tar.gz -> ppx_tools-5.0.4.05.0.tar.gz
|
||||
_eclasses_=eutils 3c847a0129fed780bd709b98e426f89c findlib 45d6030075064a68da8d7143726a1150 multilib 0236be304ee52e7f179ed2f337075515 toolchain-funcs 53b75b4a49cf3e61530a523804045432 versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=99811235cc7ca42125695521963c45a7
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install
|
||||
DEPEND=>=dev-ml/pcre-ocaml-4.31:= >=dev-ml/ulex-0.5:= >=dev-ml/ocamlnet-4:= >=dev-lang/ocaml-3.10.2:=[ocamlopt?] dev-ml/camlp4:= >=dev-ml/findlib-1.0.4-r1
|
||||
DESCRIPTION=validating XML parser library for O'Caml
|
||||
EAPI=5
|
||||
HOMEPAGE=http://projects.camlcity.org/projects/pxp.html
|
||||
IUSE=examples +ocamlopt
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=dev-ml/pcre-ocaml-4.31:= >=dev-ml/ulex-0.5:= >=dev-ml/ocamlnet-4:= >=dev-lang/ocaml-3.10.2:=[ocamlopt?] dev-ml/camlp4:=
|
||||
SLOT=0/1.2.9
|
||||
SRC_URI=http://download.camlcity.org/download/pxp-1.2.9.tar.gz
|
||||
_eclasses_=eutils 3c847a0129fed780bd709b98e426f89c findlib 45d6030075064a68da8d7143726a1150 multilib 0236be304ee52e7f179ed2f337075515 toolchain-funcs 53b75b4a49cf3e61530a523804045432
|
||||
_md5_=ed7c866624923e15d94c0bd694fb4a5c
|
@ -1 +1 @@
|
||||
Fri, 03 Mar 2017 10:38:56 +0000
|
||||
Fri, 03 Mar 2017 12:38:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Mar 3 10:38:56 UTC 2017
|
||||
Fri Mar 3 12:38:57 UTC 2017
|
||||
|
@ -1 +1 @@
|
||||
Fri, 03 Mar 2017 11:00:01 +0000
|
||||
Fri, 03 Mar 2017 13:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1488537301 Fri 03 Mar 2017 10:35:01 AM UTC
|
||||
1488544501 Fri 03 Mar 2017 12:35:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 03 Mar 2017 10:38:56 +0000
|
||||
Fri, 03 Mar 2017 12:38:57 +0000
|
||||
|
Loading…
Reference in new issue