Bug 1060436 - Review Request: opam - A Package Manger for Ocaml
Summary: Review Request: opam - A Package Manger for Ocaml
Keywords:
Status: CLOSED DUPLICATE of bug 1501992
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-01 19:03 UTC by Jochen Schmitt
Modified: 2017-10-13 16:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-13 16:23:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jochen Schmitt 2014-02-01 19:03:49 UTC
Spec URL: http://www.herr-schmitt.de/pub/opam/ocaml-opam.spec
SRPM URL: http://www.herr-schmitt.de/pub/opam/ocaml-opam-1.1.1-1.fc20.src.rpm

Description:
OPAM is a source-based package manager for OCaml. It supports multiple
 simultaneous compiler installations, flexible package constraints, and 
a Git-friendly development workflow.

OPAM is created and maintained by [OCamlPro](http://www.ocamlpro.com).

To get started, checkout the [Quick
Install](http://opam.ocaml.org/doc/Quick_Install.html) guide.

Fedora Account System Username: s4504kr

Comment 1 Christopher Meng 2014-02-02 01:49:29 UTC
I'm afraid that this package is not allowed. 

vascom and I have discussed about this in the last year. 

It bundles many libs, and it installs ocaml packages to user directory which is explicitly disallowed. I don't know why you want to package it, but if I were you I would stop doing that since it makes my system totally a mess. 

By the way this package should be named opam but not ocaml-opam.

Comment 2 Vasiliy Glazov 2014-02-02 05:25:10 UTC
I agree with Christopher.
See more about http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries

Comment 3 Jochen Schmitt 2014-02-02 06:02:26 UTC
(In reply to Christopher Meng from comment #1)
vascom and I have discussed about this in the last year. 
> ... and it installs ocaml packages to user directory which
> is explicitly disallowed. I don't know why you want to package it, but if I
> were you I would stop doing that since it makes my system totally a mess. 

I don't understand your issue. We have for example cabal for Haskel in Fedora which doew simular things for Haskell?

Comment 4 Christopher Meng 2014-02-02 10:21:12 UTC
Yes but we also have cabal2rpm ;)

Thr main issue is not this, please package the missing dependency of this package first, then unbundle all external libraries.

Comment 5 Christopher Meng 2014-02-14 03:09:49 UTC
I just deleted my opam.spec and left something here:

BuildRequires:  hevea
BuildRequires:  ocaml
BuildRequires:  ocaml-camlp4-devel
# Bundled list, also not available in Fedora #
# BuildRequires:  ocaml-cmdliner from http://erratique.ch/software/cmdliner
# BuildRequires:  ocaml-dose3 from https://gforge.inria.fr/git/mancoosi-tools/dose.git/
# BuildRequires:  cudf/ocaml-cudf from https://gforge.inria.fr/git/mancoosi-tools/cudf.git/


-------------------------------


install -pDm644 shell/opam_completion_zsh.sh %{buildroot}%{_datadir}/zsh/site-functions/_opam
install -pm644 shell/opam_completion.sh %{buildroot}%{_sysconfdir}/bash_completion.d/

Thanks.

Comment 6 Jon Ludlam 2014-12-11 13:08:59 UTC
I've submitted a review request for one of the dependencies - ocaml-cmdliner. See https://bugzilla.redhat.com/show_bug.cgi?id=1172771

I'll likely work on the others too.

Comment 7 Jon Ludlam 2015-01-23 10:51:05 UTC
I've made a review request for OPAM without the bundled dependencies here:
 
https://bugzilla.redhat.com/show_bug.cgi?id=1185099

It depends upon a few other packages, linked to from that ticket.

Comment 8 Ben Rosser 2017-10-13 16:23:37 UTC

*** This bug has been marked as a duplicate of bug 1501992 ***


Note You need to log in before you can comment on or make changes to this bug.