diff options
Diffstat (limited to 'dev-ml/opam-core')
-rw-r--r-- | dev-ml/opam-core/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/opam-core/metadata.xml | 4 | ||||
-rw-r--r-- | dev-ml/opam-core/opam-core-2.0.7.ebuild | 8 | ||||
-rw-r--r-- | dev-ml/opam-core/opam-core-2.0.8-r1.ebuild | 43 |
4 files changed, 53 insertions, 3 deletions
diff --git a/dev-ml/opam-core/Manifest b/dev-ml/opam-core/Manifest index db4db56c08e..39fe274747d 100644 --- a/dev-ml/opam-core/Manifest +++ b/dev-ml/opam-core/Manifest @@ -1 +1,2 @@ DIST opam-2.0.7.tar.gz 636708 BLAKE2B 2824a5c53f4103c267f99ae10f55df740b3afcc033321e888133817c0e53c4a8fc31738338df3d6d9ff8755987e85ade4a4726be98f77b06b81ffc1476d02c3d SHA512 2ade3998a94333a5a838b55e229ab0c707e678481cae892980b986fb86f39163070a9b7d3e0e87879cd57b91a33bf6a3e15f3786c3510a635e59383782218f1d +DIST opam-2.0.8.tar.gz 643221 BLAKE2B 66510a18285f315fe95665e8ba2f334dd44211c716543cdc25f2951a7dfe537f115981046e5963fd08deea4c76f5672fa7cf8e7af2274a713a3165bdd0bac8c2 SHA512 14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9 diff --git a/dev-ml/opam-core/metadata.xml b/dev-ml/opam-core/metadata.xml index 970e090f0df..856df00497e 100644 --- a/dev-ml/opam-core/metadata.xml +++ b/dev-ml/opam-core/metadata.xml @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> <maintainer type="person"> <email>gienah@gentoo.org</email> <name>Mark Wright</name> diff --git a/dev-ml/opam-core/opam-core-2.0.7.ebuild b/dev-ml/opam-core/opam-core-2.0.7.ebuild index a6adc1400f9..8f9c7e998d6 100644 --- a/dev-ml/opam-core/opam-core-2.0.7.ebuild +++ b/dev-ml/opam-core/opam-core-2.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.ta LICENSE="LGPL-2.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86" IUSE="" RDEPEND=" @@ -23,7 +23,9 @@ RDEPEND=" dev-ml/opam-file-format:= dev-ml/cmdliner:= " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + dev-ml/dune + dev-ml/cppo" S="${WORKDIR}/opam-${PV/_/-}" OPAM_INSTALLER="${S}/opam-installer" diff --git a/dev-ml/opam-core/opam-core-2.0.8-r1.ebuild b/dev-ml/opam-core/opam-core-2.0.8-r1.ebuild new file mode 100644 index 00000000000..82521212df1 --- /dev/null +++ b/dev-ml/opam-core/opam-core-2.0.8-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# We are opam +OPAM_INSTALLER_DEP=" " +inherit opam + +DESCRIPTION="Core libraries for opam" +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" +S="${WORKDIR}/opam-${PV}" +OPAM_INSTALLER="${S}/opam-installer" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 x86" + +RDEPEND=" + dev-ml/ocamlgraph:= + dev-ml/re:= + dev-ml/opam-file-format:= + dev-ml/cmdliner:= +" +DEPEND="${RDEPEND} + dev-ml/cppo" + +src_prepare() { + default + cat <<- EOF >> "${S}/dune" + (env + (dev + (flags (:standard -warn-error -3-9))) + (release + (flags (:standard -warn-error -3-9)))) + EOF +} + +src_compile() { + emake -j1 opam-installer + emake -j1 ${PN}.install +} |