Ocaml XML manipulation module Reproducible: Always
Created attachment 261715 [details] ebuild
Hi - I want to become proxy-maintainer for the package. How to do that?
the ebuild needs to be improved before reaching the tree: - please check the license against $PORTDIR/licenses and give it a valid one - it doesnt need findlib afaik - please use $P and friends in SRC_URI - for src_install, INSTALLDIR="${D}/`ocamlc -where`/xmlm" and './build install' should work afaik - please give it a ocamlopt useflag (and add a requirement on >=dev-lang/ocaml-3.10.2) - please give it a doc useflag - add a 'dodoc CHANGES README || die' in src_install too
Created attachment 262167 [details] ebuild - added correct license - removed findlib - didnt add INSTALLDIR="${D}/`ocamlc -where`/xmlm" and './build install' - doesnt work because build script contains mkdir which results in access denied. So i left this part as it was - added flags
Created attachment 263219 [details] ebuild Did like you said
(In reply to comment #3) > the ebuild needs to be improved before reaching the tree: > - please give it a ocamlopt useflag (and add a requirement on > >=dev-lang/ocaml-3.10.2) hmm, sorry I wasn't clear on that one: - you need to depend on >=dev-lang/ocaml-3.10.2[ocamlopt?] to propagate the ocamlopt useflag - you need to build the native code version if and only if ocamlopt is set, this can be achieved by the module-byte option for the build script in src_compile for building bytecode, and module-native & module-plugin for the native code versions. in src_install, install-byte for the bytecode version and in addition install + install-plugin if ocamlopt is set. > - please give it a doc useflag for the doc useflag I was thinking about installing the files in the doc subdir only if the doc useflag is set. By the way, you should install them with 'dohtml' and not with 'dodoc' as they are html files.
Created attachment 263289 [details] ebuild Alexis, thanks for your reply -- i looked through your several ebuilds and now understand the problem better -- tried to implement what you said in the current ebuild
Added to the tree, thanks. You are listed in metadata.xml, as such you are officially proxy-maintaining it and will receive the bug reports. For version bumps or any change, you can email me or ml@gentoo.org for getting it committed. (BTW I did change a little bit your ebuild: enabled ocamlopt by default and some cosmetics in src_install)