From e23a08d0c97a0cc415aaa165da840b056f93c997 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Oct 2021 23:06:07 +0100 Subject: gentoo resync : 08.10.2021 --- dev-ml/camlp4/Manifest | 12 ++++---- dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild | 8 +++++- dev-ml/camlp4/camlp4-4.09_p1-r1.ebuild | 50 ++++++++++++++++++++++++++++++++ dev-ml/camlp4/camlp4-4.09_p1.ebuild | 44 ---------------------------- dev-ml/camlp4/camlp4-4.10_p1-r1.ebuild | 44 ---------------------------- dev-ml/camlp4/camlp4-4.10_p1-r2.ebuild | 50 ++++++++++++++++++++++++++++++++ dev-ml/camlp4/camlp4-4.11_p1-r1.ebuild | 46 ------------------------------ dev-ml/camlp4/camlp4-4.11_p1-r2.ebuild | 52 ++++++++++++++++++++++++++++++++++ dev-ml/camlp4/camlp4-4.12-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++ dev-ml/camlp4/camlp4-4.12.ebuild | 46 ------------------------------ dev-ml/camlp4/camlp4-4.13-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++ 11 files changed, 270 insertions(+), 186 deletions(-) create mode 100644 dev-ml/camlp4/camlp4-4.09_p1-r1.ebuild delete mode 100644 dev-ml/camlp4/camlp4-4.09_p1.ebuild delete mode 100644 dev-ml/camlp4/camlp4-4.10_p1-r1.ebuild create mode 100644 dev-ml/camlp4/camlp4-4.10_p1-r2.ebuild delete mode 100644 dev-ml/camlp4/camlp4-4.11_p1-r1.ebuild create mode 100644 dev-ml/camlp4/camlp4-4.11_p1-r2.ebuild create mode 100644 dev-ml/camlp4/camlp4-4.12-r1.ebuild delete mode 100644 dev-ml/camlp4/camlp4-4.12.ebuild create mode 100644 dev-ml/camlp4/camlp4-4.13-r1.ebuild (limited to 'dev-ml/camlp4') diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest index ebeff4860684..1b1fefb3dc24 100644 --- a/dev-ml/camlp4/Manifest +++ b/dev-ml/camlp4/Manifest @@ -4,9 +4,11 @@ DIST camlp4-4.09_p1.tar.gz 649702 BLAKE2B 2bf0fd0b4f22d21b9fa7e195a26f4dece56549 DIST camlp4-4.10_p1.tar.gz 650092 BLAKE2B d7a6221dba5f6ec6963fe35236c29f39b8ae8f928618b5a58f72e7b1cc1f50d716b110f9684150716b56784cf703c0d8fcbc1aad32aeab638faca9c1bf2d5b9e SHA512 7ae0e20053a43399daa4ee9b93b6f4dbebc3e17c5ee79d069c4903cdfb2bf1cfc7d6badecf92fcf62e97a5f85f3be6ed82a62eb2a311bf6398b2792eacf763d8 DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c555737495c298456b84f0dca79c750aa6e4ab2c23bbc7ba4724defdfb739e370f468a78658035474d2f3ad255995 SHA512 8e572602c1c465017a234565efa2249c935ba1ad3d399a6b264bfbec345958130a96311c79e437ac995e3ead9ff7b4f2d3fe6aa4a3a82431ae0cc6257a300f4c DIST camlp4-4.12.tar.gz 650428 BLAKE2B 4957d3db73ec82fbac58dd95fa13c48f9f8480a70cd6bded43a00df0a182f9b9e31a43acef8264f9d940776667d10b0a5c46bded59ebf4a645719264628428fc SHA512 0a19bb596e47076a28a6bea62007f1d3b59c4d688075f6b723abaa205c555707feb4ea0624259994a4ba5251fdea9dc61cdc936dc13611b36937e755a4bc9b7b -EBUILD camlp4-4.05_p1-r1.ebuild 1037 BLAKE2B a49e1083934cabb0d4948de323dbe6223502d10600e4e2f742b0a56de304935169a7bec9bf1000a9fe5dae28c08cc867bbb9807397614368966a9432a3e5bb67 SHA512 524616fe30a9914294e30727564a2bf49df9ea3825452c808f447154363e0bbd168ef58d209b59f7cbb652f99e311eb48369105be3ed9c6f8fdf7cb2b18d5091 -EBUILD camlp4-4.09_p1.ebuild 1060 BLAKE2B ca2a14432162c8e7e046655fb629fe77b40abcdfc2459ca92e92d2b2f530995f1814f2c7c117d1405bd3b056158113e8c778454cd69ecbd8717acd83234e1514 SHA512 005cd342be9f80aabc2b62717c63eb4bd4ad6a07c5a66424d38f360631ffa848ac2a859cfc31c921256898e26027568b711b362df9c323e213ae2ddc59a66840 -EBUILD camlp4-4.10_p1-r1.ebuild 1076 BLAKE2B d983ef95e6db0dc4656bf72a673632adb05662431ace347890de8eee34f8644389b72b60604f6177349cc6300af77a2cb9a7d38c7332d99e076a686da4da8723 SHA512 b926e7709797514af564017c723972f986e97a20f0c4098572041774263aa8dbd875a7c0f6ba7bacb6564a2a7b2152ad0fe15d77f9298b9fb34e34e00739a07b -EBUILD camlp4-4.11_p1-r1.ebuild 1099 BLAKE2B 47c299a46a2d0fbc986a73651f5f046ee188fd73ce6f98c71ff3ad5e5abd7bc47f433ebf8131a3dc51eff1749a1ccd4014ec6bb0685c8067f0a526783130e0b3 SHA512 fc012a26288c5aae4cf4bba00e213b331143c4499ff3e158ba1aed3d3706efb6eafabbb2634d04bae634c1aa858a6dabd2d3c864ed48cef24aa6d171b33cb01e -EBUILD camlp4-4.12.ebuild 1099 BLAKE2B 47c299a46a2d0fbc986a73651f5f046ee188fd73ce6f98c71ff3ad5e5abd7bc47f433ebf8131a3dc51eff1749a1ccd4014ec6bb0685c8067f0a526783130e0b3 SHA512 fc012a26288c5aae4cf4bba00e213b331143c4499ff3e158ba1aed3d3706efb6eafabbb2634d04bae634c1aa858a6dabd2d3c864ed48cef24aa6d171b33cb01e +DIST camlp4-4.13.tar.gz 650642 BLAKE2B 5bf70b21f47eefe4631227d0d30fdd08ab965020026d0183fc94b9dbfd1eee45626afbe62bf9507b1a887217cf9245901d40f25cce9430155eb9ec1ddc577554 SHA512 d3307bd11b813540d126719c0afe7e75a7740d0851b272be9bd1a28e8b1ab1ed9a7576109000c8d6cee7ece7f777122aa83917a48147d42ed8f4d72994397819 +EBUILD camlp4-4.05_p1-r1.ebuild 1182 BLAKE2B c7f79908b6e5bb7a64ad6a63a472e44c6fbbb07447623e4fa67a5020ee8770f20558dcfb6f6107dcb0eaea12ff83181ee0785cb658d2a154972d8f4c7af20b0e SHA512 19a429da37b07fce0a5a03068eb6a182788d455692d6d585c2da4fc3e9b7e585ee5e93d0dd71d7f142cf0e44a6b18d325b3a533f265f88a2f2b39e6e5ec65db0 +EBUILD camlp4-4.09_p1-r1.ebuild 1205 BLAKE2B 20c353735915b452053f7b939bbf307dacc09eda5da67075bf30d5bc7f2abdfdbb1534fd8c2166006aab869126ada91a643c3fe8eedadc4c8b4146caa513ba65 SHA512 4ef84ebbd16d74949021fe6bbd98efbb495fe1c246faa2a07180452620c2fa2bdc1dc33fce6342ab4a6f2a19c2995cedb5394cd837913d37126f4caabf75f028 +EBUILD camlp4-4.10_p1-r2.ebuild 1221 BLAKE2B 39586e51ff36e0bb3756776eed91a1cebe90d7be9c3adce8a3c583cfa9f2cded3aa5239e0dab84e9cc9c8079d19a7bc314b875814150566bf2dfefe02bf3d5cf SHA512 24a597fc8be6e52f5b61d4cf33600175461bbc03f3126a0d660c40316ca9073b654fb583bcaa6065455c878bb80beb75e0f2b4b1331906aadd2a60e4260d7465 +EBUILD camlp4-4.11_p1-r2.ebuild 1244 BLAKE2B 994b91a58fc981cb5e85694b65494cf3c503732404dbbbbf5d944313f12bd3a901854b8e4fb345d48dc3510d0abe2a0291348e71659d560887094bc8c35e50a8 SHA512 11863063ffac5d8b9d7cd10a4c7f396a3ca35913bc767db2806f203dff287d7c45ff1054df4c93bb9c2fcaaf8b4d79761c8d588253f72e403136a313dc90583c +EBUILD camlp4-4.12-r1.ebuild 1244 BLAKE2B 994b91a58fc981cb5e85694b65494cf3c503732404dbbbbf5d944313f12bd3a901854b8e4fb345d48dc3510d0abe2a0291348e71659d560887094bc8c35e50a8 SHA512 11863063ffac5d8b9d7cd10a4c7f396a3ca35913bc767db2806f203dff287d7c45ff1054df4c93bb9c2fcaaf8b4d79761c8d588253f72e403136a313dc90583c +EBUILD camlp4-4.13-r1.ebuild 1244 BLAKE2B 994b91a58fc981cb5e85694b65494cf3c503732404dbbbbf5d944313f12bd3a901854b8e4fb345d48dc3510d0abe2a0291348e71659d560887094bc8c35e50a8 SHA512 11863063ffac5d8b9d7cd10a4c7f396a3ca35913bc767db2806f203dff287d7c45ff1054df4c93bb9c2fcaaf8b4d79761c8d588253f72e403136a313dc90583c MISC metadata.xml 416 BLAKE2B 560e2116bb064decbc8d5e5391966be20ecdfa18ffc362c947b3d5f9aeae1bb2e5d3f391f765e9485075e05a90db69c4f9283b028bd15211e6979621b50d4428 SHA512 db6518378e93c20fd831ab4d2b6ac2168dcb456cf8c6e203f4c2d5a121404e530a8646f1346f34bb4db776cc9caf5f39f0749a6f46b7cc087ad38e7512e9872e diff --git a/dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild b/dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild index 8133a505cfb0..e55cdec3ea78 100644 --- a/dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild +++ b/dev-ml/camlp4/camlp4-4.05_p1-r1.ebuild @@ -18,7 +18,8 @@ IUSE="+ocamlopt" DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" RDEPEND="${DEPEND}" DEPEND="${DEPEND} - dev-ml/ocamlbuild" + dev-ml/ocamlbuild + dev-ml/findlib:=" src_configure() { ./configure \ @@ -38,4 +39,9 @@ src_compile() { src_install() { emake DESTDIR="${D}" install install-META dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi } diff --git a/dev-ml/camlp4/camlp4-4.09_p1-r1.ebuild b/dev-ml/camlp4/camlp4-4.09_p1-r1.ebuild new file mode 100644 index 000000000000..4489b5085c96 --- /dev/null +++ b/dev-ml/camlp4/camlp4-4.09_p1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="System for writing extensible parsers for programming languages" +HOMEPAGE="https://github.com/camlp4/camlp4" +SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +DEPEND="dev-lang/ocaml:0/4.09[ocamlopt?]" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/ocamlbuild + dev-ml/findlib:=" + +S=${WORKDIR}/${P/_p/-} +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" \ + || die +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + emake byte + use ocamlopt && emake native +} + +src_install() { + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi +} diff --git a/dev-ml/camlp4/camlp4-4.09_p1.ebuild b/dev-ml/camlp4/camlp4-4.09_p1.ebuild deleted file mode 100644 index 80481b707c6d..000000000000 --- a/dev-ml/camlp4/camlp4-4.09_p1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV/_p/+} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="System for writing extensible parsers for programming languages" -HOMEPAGE="https://github.com/camlp4/camlp4" -SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+ocamlopt" - -DEPEND="dev-lang/ocaml:0/4.09[ocamlopt?]" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} - dev-ml/ocamlbuild" - -S=${WORKDIR}/${P/_p/-} -PATCHES=( "${FILESDIR}/reload.patch" ) - -src_configure() { - ./configure \ - --bindir="${EPREFIX}/usr/bin" \ - --libdir="$(ocamlc -where)" \ - --pkgdir="$(ocamlc -where)" \ - || die -} - -src_compile() { - # Increase stack limit to 11GiB to avoid stack overflow error. - ulimit -s 11530000 - emake byte - use ocamlopt && emake native -} - -src_install() { - emake DESTDIR="${D}" install install-META - dodoc CHANGES.md README.md -} diff --git a/dev-ml/camlp4/camlp4-4.10_p1-r1.ebuild b/dev-ml/camlp4/camlp4-4.10_p1-r1.ebuild deleted file mode 100644 index d7ad1f1cfbb1..000000000000 --- a/dev-ml/camlp4/camlp4-4.10_p1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV/_p/+} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="System for writing extensible parsers for programming languages" -HOMEPAGE="https://github.com/camlp4/camlp4" -SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+ocamlopt" - -DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} - dev-ml/ocamlbuild" - -S=${WORKDIR}/${P/_p/-} -PATCHES=( "${FILESDIR}/reload.patch" ) - -src_configure() { - ./configure \ - --bindir="${EPREFIX}/usr/bin" \ - --libdir="$(ocamlc -where)" \ - --pkgdir="$(ocamlc -where)" \ - || die -} - -src_compile() { - # Increase stack limit to 11GiB to avoid stack overflow error. - ulimit -s 11530000 - emake byte - use ocamlopt && emake native -} - -src_install() { - emake DESTDIR="${D}" install install-META - dodoc CHANGES.md README.md -} diff --git a/dev-ml/camlp4/camlp4-4.10_p1-r2.ebuild b/dev-ml/camlp4/camlp4-4.10_p1-r2.ebuild new file mode 100644 index 000000000000..0d165e7722af --- /dev/null +++ b/dev-ml/camlp4/camlp4-4.10_p1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="System for writing extensible parsers for programming languages" +HOMEPAGE="https://github.com/camlp4/camlp4" +SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/ocamlbuild + dev-ml/findlib:=" + +S=${WORKDIR}/${P/_p/-} +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" \ + || die +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + emake byte + use ocamlopt && emake native +} + +src_install() { + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi +} diff --git a/dev-ml/camlp4/camlp4-4.11_p1-r1.ebuild b/dev-ml/camlp4/camlp4-4.11_p1-r1.ebuild deleted file mode 100644 index 8162ce77f937..000000000000 --- a/dev-ml/camlp4/camlp4-4.11_p1-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV/_p/+} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="System for writing extensible parsers for programming languages" -HOMEPAGE="https://github.com/camlp4/camlp4" -SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+ocamlopt" - -DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} - dev-ml/ocamlbuild" - -QA_FLAGS_IGNORED='.*' - -S=${WORKDIR}/${P/_p/-} -PATCHES=( "${FILESDIR}/reload.patch" ) - -src_configure() { - ./configure \ - --bindir="${EPREFIX}/usr/bin" \ - --libdir="$(ocamlc -where)" \ - --pkgdir="$(ocamlc -where)" \ - || die -} - -src_compile() { - # Increase stack limit to 11GiB to avoid stack overflow error. - ulimit -s 11530000 - emake byte - use ocamlopt && emake native -} - -src_install() { - emake DESTDIR="${D}" install install-META - dodoc CHANGES.md README.md -} diff --git a/dev-ml/camlp4/camlp4-4.11_p1-r2.ebuild b/dev-ml/camlp4/camlp4-4.11_p1-r2.ebuild new file mode 100644 index 000000000000..ff2914c91084 --- /dev/null +++ b/dev-ml/camlp4/camlp4-4.11_p1-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="System for writing extensible parsers for programming languages" +HOMEPAGE="https://github.com/camlp4/camlp4" +SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/ocamlbuild + dev-ml/findlib:=" + +QA_FLAGS_IGNORED='.*' + +S=${WORKDIR}/${P/_p/-} +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" \ + || die +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + emake byte + use ocamlopt && emake native +} + +src_install() { + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi +} diff --git a/dev-ml/camlp4/camlp4-4.12-r1.ebuild b/dev-ml/camlp4/camlp4-4.12-r1.ebuild new file mode 100644 index 000000000000..ff2914c91084 --- /dev/null +++ b/dev-ml/camlp4/camlp4-4.12-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="System for writing extensible parsers for programming languages" +HOMEPAGE="https://github.com/camlp4/camlp4" +SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/ocamlbuild + dev-ml/findlib:=" + +QA_FLAGS_IGNORED='.*' + +S=${WORKDIR}/${P/_p/-} +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" \ + || die +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + emake byte + use ocamlopt && emake native +} + +src_install() { + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi +} diff --git a/dev-ml/camlp4/camlp4-4.12.ebuild b/dev-ml/camlp4/camlp4-4.12.ebuild deleted file mode 100644 index 8162ce77f937..000000000000 --- a/dev-ml/camlp4/camlp4-4.12.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=${PV/_p/+} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="System for writing extensible parsers for programming languages" -HOMEPAGE="https://github.com/camlp4/camlp4" -SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+ocamlopt" - -DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} - dev-ml/ocamlbuild" - -QA_FLAGS_IGNORED='.*' - -S=${WORKDIR}/${P/_p/-} -PATCHES=( "${FILESDIR}/reload.patch" ) - -src_configure() { - ./configure \ - --bindir="${EPREFIX}/usr/bin" \ - --libdir="$(ocamlc -where)" \ - --pkgdir="$(ocamlc -where)" \ - || die -} - -src_compile() { - # Increase stack limit to 11GiB to avoid stack overflow error. - ulimit -s 11530000 - emake byte - use ocamlopt && emake native -} - -src_install() { - emake DESTDIR="${D}" install install-META - dodoc CHANGES.md README.md -} diff --git a/dev-ml/camlp4/camlp4-4.13-r1.ebuild b/dev-ml/camlp4/camlp4-4.13-r1.ebuild new file mode 100644 index 000000000000..ff2914c91084 --- /dev/null +++ b/dev-ml/camlp4/camlp4-4.13-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="System for writing extensible parsers for programming languages" +HOMEPAGE="https://github.com/camlp4/camlp4" +SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +DEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/ocamlbuild + dev-ml/findlib:=" + +QA_FLAGS_IGNORED='.*' + +S=${WORKDIR}/${P/_p/-} +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" \ + || die +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + emake byte + use ocamlopt && emake native +} + +src_install() { + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md + + if has_version ">=dev-ml/findlib-1.9" ; then + # See bug #803275 + rm "${ED}/usr/$(get_libdir)/ocaml/camlp4/META" || die + fi +} -- cgit v1.2.3