{"id":15061018,"url":"https://github.com/ocaml/oasis2opam","last_synced_at":"2025-10-20T00:32:07.151Z","repository":{"id":7822214,"uuid":"9193189","full_name":"ocaml/oasis2opam","owner":"ocaml","description":"Tool to convert OASIS metadata to OPAM package descriptions","archived":false,"fork":false,"pushed_at":"2017-10-28T22:28:54.000Z","size":321,"stargazers_count":27,"open_issues_count":7,"forks_count":9,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-30T09:41:43.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocaml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-03T11:35:17.000Z","updated_at":"2023-02-04T07:02:48.000Z","dependencies_parsed_at":"2022-09-13T19:50:17.650Z","dependency_job_id":null,"html_url":"https://github.com/ocaml/oasis2opam","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Foasis2opam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Foasis2opam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Foasis2opam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocaml%2Foasis2opam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocaml","download_url":"https://codeload.github.com/ocaml/oasis2opam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237236958,"owners_count":19277082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T23:08:16.026Z","updated_at":"2025-10-20T00:32:01.799Z","avatar_url":"https://github.com/ocaml.png","language":"OCaml","funding_links":[],"categories":["Package Management"],"sub_categories":[],"readme":"**Announce: oasis2opam is in need of a new maintainer**\n\n[![Build Status](https://travis-ci.org/ocaml/oasis2opam.svg?branch=master)](https://travis-ci.org/ocaml/oasis2opam)\n\noasis2opam\n==========\n\nTool to convert [OASIS](https://github.com/ocaml/oasis) metadata to\n[OPAM](https://github.com/OCamlPro/opam) package descriptions.\n\nInstall\n-------\n\nThe easiest way to install this program is to use\n[opam](https://opam.ocaml.org/):\n\n    opam install oasis2opam\n\n\nUsage\n-----\n\nGo to the `packages` sub-directory of your local clone of\n[opam-repository](https://github.com/OCamlPro/opam-repository) and\nissue\n\n    oasis2opam \u003cURL of your tarball\u003e\n\nIt will download the tarball into a temporary directory, extract the\n`_oasis` file and use it to produce a `\u003cpackage\u003e.\u003cversion\u003e` directory.\nAlong the way, `oasis2opam` may display suggestions so your OPAM\npackage has richer metadata.\n\nIf you want to \"opamify\" your project, so that for example you can\n`opam pin` it, use\n\n    oasis2opam --local\n\nTo keep the generated OPAM files up to date with the changes you make\nto your `_oasis` file, add a rule executing `oasis2opam --local -y`\nin your `Makefile`.\n\n\nConventions\n-----------\n\nIf a Flag name matches a findlib library, ``oasis2opam`` will assume\nit is to be enabled if and only if this library is present and will\nadd a --enable-\u003cflag\u003e to the configure step conditioned by the\npresence of the corresponding OPAM packages (without version\nconstraints, you must set these next to the library, in the\n``BuildDepends:`` field).\n\nThe default value of flags will be used to determine whether the\nlibraries appearing in the conditional sections are to be considered\noptional or mandatory.\n\nOPAM tags are generated from the Oasis \"Tags:\" field.  \"clib:\" tags\nwill automatically be added with the names of the C libraries that are\nused in order to ease searches.\n\nThe OPAM field `dev-repo` is generated using the `SourceRepository`\nsection.  If there is such a section named `opam-pin`, it is\npreferred.  If not, one named `head`, then `master`, then any\n`SourceRepository` are used (in that order).  If no\n`SourceRepository` is present in `_oasis` a warning is issued.\n\nIf an `_opam` file is found, its content is merged into the file\n`opam` being created.  Specifically, the content of the \"depends\"\nsection (if it exists) is added to same section in `opam` and the rest\nof the file is appended to the `opam` file.  This is useful to add\n[build only dependencies][] that are not declared in `_oasis` and a\n`depexts` section.\n\n[build only dependencies]: https://opam.ocaml.org/doc/Manual.html#opamfield-depends\n\nDependencies\n------------\n\nThis tool uses the [oasis](https://github.com/ocaml/oasis) library.\nIt also relies on the presence of external programs: you need `wget`\nor `curl`, and `tar`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Foasis2opam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focaml%2Foasis2opam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focaml%2Foasis2opam/lists"}