Yet another ML package ebuild :)
This package implements frequent string operations: searching, replacing, splitting, matching. It is independent from the Str library, and can replace Str in many cases.
It is in version 0.2.1 but the development seems to be active.
You'll find info about this package at http://www.ocaml-programming.de/packages (several other Stolpmann's packages are provided with gentoo)
I think it could be useful for OCAML developers in the "dev-ml" section of the portage tree.
Steps to Reproduce:
Created attachment 33304 [details]
The ebuild itself
Created attachment 33305 [details]
Created attachment 33306 [details]
Moreover, other ML packages have a dependency on this very package (ex: netclient)
thanx for your job, julien
I have it already in my overlay (http://dev.gentoo.org/~mattam/overlay) :)
Please test the whole new ocaml overlay (http://dev.gentoo.org/~mattam/ocaml-overlay.tar.gz) and report any problem (or success), then i will be able to integrate it in portage.
...impressive overlay :)
matthieu: I don't know if I'll have enough time in the next few days to test the whole set.
I'm going to check the packages I need and will keep you inform for the rest.
At the first glance, seems that many of the packages I planned to port figure in your portage overlay tree :) thx
btw, I saw you wrote 2 eclasses for findlib and ocaml-config.
how could I integrate these in my ebuilds ? thx
I've added a little documentation to the sources :)
look at http://dev.gentoo.org/~mattam/overlay/eclass/
Basically, ocaml is an eclass which helps finding the right locations for
installation of any ocaml package. It is particularly helpful to get multiple
versions of the same library, one for each ocaml compiler version (a properly
integrated ocaml-cvs will be added when i get this working), and also to
rebuild all libraries for a particular one (you know, those 'inconsistent'
errors). Findlib simply helps installing findlib packages. There are two
policies for findlib when a package use shared libraries. Either update a
ld.conf file or put the .so's in a predefined directory (stublibs/). I chose
the second solution. Findlib will automatically find the stublibs dir (which
is created in the image using findlib_src_preinst) and install the libs there
(if any). The function also sets up the OCAMLFIND_DESTDIR to the correct
image path for you. findlib_src_install is just a convenience function.
I close this bug so that bug-wranglers stop getting our updates (write on bug #39246 for reports, or open another bug).