{"action":"closed","issue":{"url":"https://api.github.com/repos/ocaml/oasis2opam/issues/15","labels_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/15/comments","events_url":"https://api.github.com/repos/ocaml/oasis2opam/issues/15/events","html_url":"https://github.com/ocaml/oasis2opam/issues/15","id":74989486,"number":15,"title":"oUnit generated as depopt but it is not optional","user":{"login":"edwintorok","id":721894,"avatar_url":"https://avatars.githubusercontent.com/u/721894?v=3","gravatar_id":"","url":"https://api.github.com/users/edwintorok","html_url":"https://github.com/edwintorok","followers_url":"https://api.github.com/users/edwintorok/followers","following_url":"https://api.github.com/users/edwintorok/following{/other_user}","gists_url":"https://api.github.com/users/edwintorok/gists{/gist_id}","starred_url":"https://api.github.com/users/edwintorok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwintorok/subscriptions","organizations_url":"https://api.github.com/users/edwintorok/orgs","repos_url":"https://api.github.com/users/edwintorok/repos","events_url":"https://api.github.com/users/edwintorok/events{/privacy}","received_events_url":"https://api.github.com/users/edwintorok/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-10T19:54:27Z","updated_at":"2015-06-08T19:11:42Z","closed_at":"2015-06-08T19:11:42Z","body":"Related to https://github.com/ocaml/oasis2opam/issues/14, running oasis2opam on [debian-formats](http://anonscm.debian.org/cgit/pkg-ocaml-maint/packages/ocaml-debian-formats.git/) generates a depopts on oUnit, but the _oasis file doesn't contain a flag to disable building the tests, so it should be a regular dependency, otherwise opam install fails:\r\n```\r\nExecutable test\r\n  Path:       test\r\n  MainIs:     test.ml\r\n  Install:    false\r\n  BuildDepends: debian-formats, oUnit\r\n```\r\n\r\nWorkaround: manually move ounit from depopts to depends."}}