Packaging: Opam-depext for CentOS

package-design
opam
opam-depext

#1

I found a CentOS package for a lib with C bindings I’m going to release, but it is not is the default repository, it’s in the “EPEL” one.

So if I do

 $ docker run -it  ocaml/opam:centos-7_ocaml-4.03.0 bash
 $ sudo yum install jack-audio-connection-kit-devel
...
No package jack-audio-connection-kit-devel available.
...

should I still put the depext field for "centos"?


#2

I’d say yes. I think, for example, zeromq is in EPEL and it is listed as a depext for CentOS.


#3

This is probably worth just special casing in the depext plugin by adding a centos epel one for that remote. An issue or PR on https://github.com/ocaml/opam-depext/issues would be appreciated.


#4

There is this related issue: https://github.com/ocaml/opam-depext/issues/70
(CentOS has an epel-release package but it has to be yum-installed before the other ones; however, I don’t think CentOS users would love a (semi-)automatic tool adding package repositories by itself)
And I created this one: https://github.com/ocaml/opam-depext/issues/76