Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355755 - dev-ml/ocaml-fileutils - add package
Summary: dev-ml/ocaml-fileutils - add package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://forge.ocamlcore.org/projects/o...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2011-02-20 21:59 UTC by Vladimir Ivanov
Modified: 2011-03-15 20:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (ocaml-fileutils-0.4.2.ebuild,866 bytes, text/plain)
2011-02-20 22:00 UTC, Vladimir Ivanov
Details
ebuild (ocaml-fileutils-0.4.2.ebuild,965 bytes, text/plain)
2011-03-14 15:57 UTC, Vladimir Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Ivanov 2011-02-20 21:59:53 UTC
Pure OCaml functions to manipulate real file (POSIX like) and
filename

Reproducible: Always
Comment 1 Vladimir Ivanov 2011-02-20 22:00:36 UTC
Created attachment 263205 [details]
ebuild
Comment 2 Alexis Ballier gentoo-dev 2011-02-22 15:56:30 UTC
- inherit eutils is useless it seems
- ounit is only a build dep afaik
- it is autotools-based so you should use econf
- with EAPI=3 the econf call is made is src_configure
- tests are ran in src_test
- instead of dodoc'ing something in $D you should specify / let econf specify htmldir
- you should give it an ocamlopt useflag to make native code version dependent on this useflag
- please run 'repoman full' to get and fix a couple of warnings
Comment 3 Vladimir Ivanov 2011-03-14 15:57:57 UTC
Created attachment 265839 [details]
ebuild

Alexis, 
- added the ocamlopt flag but theres no 'opt' target for make after configure and i didnt figure out how to choose btween native/byte compiles
- added dohtml
- test now depends on flag
Comment 4 Alexis Ballier gentoo-dev 2011-03-15 20:06:32 UTC
added, thanks (with you as proxy maintainer)
I simplified it a lot though, please have a look at the ebuild in the tree

eg, you dont need to make the test depend on the useflag, src_test will be run if and only if FEATURES contains "test", the test useflag is just a workaround to add some deps for the tests.