Find attached an ebuild for "The Whitespace Thing". This enables identation awareness for ocaml as you know it from python or haskell. Usage is fairly simple: ocamlc -pp ocaml+twt mycode.ml
Created attachment 83259 [details] ocaml+twt-0.81.ebuild
Ebuild works unmodified for version 0.85. I changed ocaml+twt to put all additional characters at the end of the line. This makes it much more usable because column numbers in compiler errors match with the original souce file. The change just needs a bit of sed. See: http://www.nabble.com/ocaml%2Btwt-0.85-tf1995525.html#a5659258
Created attachment 142017 [details] ocaml+twt-0.91.ebuild Newest Version (includes changes from comment #2). Add 'doc' and 'examples' use flag.
Comment on attachment 142017 [details] ocaml+twt-0.91.ebuild Bump to 0.91: 03/11/08 version 0.91 - Bug fixes to handling of escaped characters within string and character literals
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq