summaryrefslogtreecommitdiff
path: root/dev-lang/ocaml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r--dev-lang/ocaml/Manifest12
-rw-r--r--dev-lang/ocaml/ocaml-4.11.2-r2.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-4.12.1.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-4.13.1.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-4.14.1.ebuild4
-rw-r--r--dev-lang/ocaml/ocaml-5.2.0.ebuild (renamed from dev-lang/ocaml/ocaml-4.14.0-r1.ebuild)19
6 files changed, 25 insertions, 22 deletions
diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest
index f32c8e8fcad6..fb370ba12e0c 100644
--- a/dev-lang/ocaml/Manifest
+++ b/dev-lang/ocaml/Manifest
@@ -12,15 +12,15 @@ DIST ocaml-4.10.2.tar.gz 4933135 BLAKE2B ec5e92adb23c28a254247182c79ab555fd82603
DIST ocaml-4.11.2.tar.gz 5075323 BLAKE2B bdc503d9a8d0e39dd11060febcd0287657b460e50ed81e55578a3e778af990ca5d4ef9011753eee4e1a144da33eb76c95b1672dc99b76e65a2e107eee472fe06 SHA512 03d8a9f6e130142c121ff2eb3d54f584f1e7c8475f066a5803bb0edd2fa172ca06a56a3ec548b225f5c8b12112d7a68511b1e16f3ade075b5f02610d4247bbb3
DIST ocaml-4.12.1.tar.gz 5181696 BLAKE2B 9d21438e09b1a9680eabb65f5c78d9fe84459592ef7bb797a1933e5383f7b6d5cefffa8cdc184abc102417f5dbc0fca8ef624c9b560f89eaff6537544b5b395f SHA512 e942e5cf5530804690ec45c40936ad2acbb60e11279fc676e0f04181fe1855f84ee5c3cb9c337fc5d01f6ee0e7b2251a6c04f7de56d99c20bb62026dff6c5671
DIST ocaml-4.13.1.tar.gz 5323203 BLAKE2B f1dcb1601ebfa2a37351e3a466a7ca601518c2da403b01aeb182738a54d5887523ab554d747d6591cb09b07b417865e20907f7877117b2d2d069ef6c9edc0fae SHA512 da3434177438c852da53c0fda7bc2519adcda6384d97d45e44137ed0fd384ffb3da61958a7b51296edb3f88f5a5310ca71b6862f6d756aaa4012d1f54e5955f6
-DIST ocaml-4.14.0.tar.gz 5494844 BLAKE2B f2f9142a95722c7fc5fda205ea6b951939f7d285963b8aa14dc157ac10202ef9d00c7590beabdc97ed83548d61e5ef28b60a360f1a492420a54f4e26dfbf89f0 SHA512 3c5e5b9f00bb109dd99b5f7b0078cf8663d4247e548f3e601d6b2a55582e04bb20f6de85005c4cf2f78ae9aaa449f5ca6f2bab2f6ce83eeb3aeb386e3f2fcc32
DIST ocaml-4.14.1.tar.gz 5498436 BLAKE2B 6113283ab0f7ac39ade1f35a02c203a6956f8f4efa4f174daf53483c1d874613195c2705ca02760f0ff4abd9b37c91f8dec59c010ac8ae8731790cdd6f429673 SHA512 6340e145c7d11a1ee9fa1699fc6a8a6785f14ff9c05dca708cf278194642ec9b7c562d744d8b38e5dab74b88fa3a5760035e214f5f8fab8b233a344b035db8fb
DIST ocaml-4.14.2.tar.gz 5505119 BLAKE2B 518c2a69ee32e1c141b574a9800a64efc445381eb2808985b5dbb9d5ec54228aa25042a1c410307c3556488ba12a751980396b0d9a01e60a1ea84ac5b52e6dd6 SHA512 61bfa7961aae02458210f10865a5703f7a50a9be2452379e820cf2dfac2c6037da553c31835145e50a776880bdeb2ec78cd7a3147d65f418e7b3e593534e8a04
+DIST ocaml-5.2.0.tar.gz 6047633 BLAKE2B 5d0a7d48d9ed9fcd2974237a93e30ffee20fc444b5ede296bd35cb3285909f8cf5a489ac1cdc75778ca6d45f8ff40a92939bfcfc42e218aeda0170b1ac0bfd49 SHA512 78115690186c13c1f2480e4812a9fe34cce2c28bf8a89d5c9810bca0391f930cecd9cee2b53daca8a32da1815628b33be68f3948f1ad03fa50b72b14e3ea84f2
EBUILD ocaml-4.09.0-r3.ebuild 2748 BLAKE2B 9a7ee1503661a124dc76e21a025b6c008e23179c7d40704465c7998ecdec99fa7130e9c9d0df56f2966baf310e8608437dfa0d8482f138bb4075013ce39a5214 SHA512 0f33c2c71f891736876d10a2f215f58d9c9b1a041025e6cb4ca7295a344b77ca6c00ec988d127b47d6fcb466fe1a54877bc778019795465d453b7f8ecd699fd9
EBUILD ocaml-4.10.2-r3.ebuild 2755 BLAKE2B afb7113074d413f6b875da714e51fef90b7a68a17dde32cadc13f50966c9cecf31530c426e4e2edc0c30d92629ee120a0d25c1355502f697c84b3802c3bf185d SHA512 4077f3fc0531e78c359a5010defbb2716b87b64cb1bb1a7dd62437252bc7590c0f37b201c969208f1a9c8bd2615cf569c64d240b85c7c581a92449c26bfb950c
-EBUILD ocaml-4.11.2-r2.ebuild 2596 BLAKE2B 4e041684def3d5254bc25f0e92d261313e5c3aefebf232371199040c4d5f81f4a9c2e02ec0218047f4703592f65deadb6f2a03af6d965b6fb9a0c6b70ef929f1 SHA512 2c62f12f3aef53b9d9906a965ee14c2ac0a884e1b8f79d007a1787390694b231803e64bfea9fb5b1fe2a827022a064c71b573ee5dfc6d1e96170a3a8f5c81a82
-EBUILD ocaml-4.12.1.ebuild 2524 BLAKE2B 379f9ca34424f1866d26ac392e49b1e3a276e3487ee25d9ec60dc87bf7b1785052cff0db2cb1ec7e0c9077ad4b0be0690d1858c8af870f8ff25cd4e851421b1e SHA512 36f2e685365502c47c1167b90142172195a81bdbabf62755ca869b8c86f91b499bdb680cc508340967deec2b912f0f460ce3ac2eedff687e4ab0b0618a6bb133
-EBUILD ocaml-4.13.1.ebuild 2487 BLAKE2B 7e78f1e7d2023a5d243b7c4fc770bc439dfcdb245d528a596a08af9aa7d776ec3ccdd822eed9a51c4eca009e6c9712b9da2ed2beb7cea672f86e2271dce4dc50 SHA512 dba4a7593e164e6949ce7daddd9e0234db9d874adb17fd3c2bc2ffc67d67b557735a4a6ddb66af9d2c463a8ac474866395529d5f2b4443b0fbca44b0b6ce0974
-EBUILD ocaml-4.14.0-r1.ebuild 2508 BLAKE2B 333b6a84bc469d964cd8385fde845dc9a9c0f9a9b1463a87623bf09972415a651adb5c6098d3ab77a77c5dc05e5b345f20782838e49889d1fe8f900e4b26e447 SHA512 e41e0849502b7692f990f679fb2e8d50b183643ad71cd9e2171621db57143c7ea01d9caa317222118aa0a5fd5021b00c8548ebad600278a293d18432948c9e9e
-EBUILD ocaml-4.14.1.ebuild 2446 BLAKE2B 09e43241eb2b0c9219963a777648fe7db4ea4829b1e089d4d08f494066e6230a4f4f49f08b3db26b882fe4916a3842af4e637fe4866c811bd8ecfefed5a08219 SHA512 1db8ce4ddb772e4ac7fe3c03e80237ece1c459ab42161cbd6fc9d22a86f59318dda3d2b74eaf7359005f488dfb15c1a30c51c2e6caceed779dbe9ef7e6a7b2d0
+EBUILD ocaml-4.11.2-r2.ebuild 2596 BLAKE2B bf5cf392e333e2562756e78f8ee10b7c3a37bcbd7c9e619849ace867f3343fecfe4b882ac3aeef29c1442021061e21eb8e525ea485c94f4adcd4c2debd3c49bc SHA512 eb4fe36d87efb699a5a5de552110e8651aa848e7831fbeed7126c6e3420f9c978c7bcbf872dc9851715be2fff805aceba40c03238be69b71e94380fa8f39881c
+EBUILD ocaml-4.12.1.ebuild 2524 BLAKE2B 20a9ebd530bf731da9067f09a892f4e36d88f0244df5d7745b9122b1e9a2ea9bc1ecfae84dbc93d835981f11405c1fdb12accf6fc0cfc3bd8512a1fcfa0010b8 SHA512 691c92866e4ea07781bcaf8626f22d1e0b8f447851bcad64ed6ec488eaf68b61f30dc6b0cefa45b878e2566544208cefd426d04d37a67cfa20a5d26db7eea4a3
+EBUILD ocaml-4.13.1.ebuild 2487 BLAKE2B a9b25826dc8892ab52792e3dfe7644193e0f31da19ff757ba2891afba99bf4f17f4296efdba2976ea5379f212e6b74094772ea54cf401c63bfb2f69bf90a8d26 SHA512 a2c0a402161e3fc424c529e9597fa4ca7db60f4dde195564e6b7f540db1175e2047b062e3feae08a955e7a4edd5e6a550e1d9b02036acf082c379bd1b19821b1
+EBUILD ocaml-4.14.1.ebuild 2446 BLAKE2B 4d648c2b224f7c6bc3cf5a8bf11462a08705ce7fc38fa0fdbadd627348b6fcfa409a83fff34ffbc8e6e5dcc364508617346ddb1b7bb2bc482d0c17d2b90e7b9d SHA512 67d214f2473de84d4bcab05b626760a846182a727c6fa7d0d8685ebc1c8eb30c90dda435adb525a3e4d63b242ad522a0f65c8e27ce506cf488d2899a88efc280
EBUILD ocaml-4.14.2.ebuild 2567 BLAKE2B e6946e76e1bf235cfece9f1ea55948b967d3c1a791011f51fc5da5e57805e77be5b289b059aeea7e4ea230e449f85d09779c71f57a92528a9bb5a80cba0b8277 SHA512 9e94e7d5b5fb5d36d2619fd1710a801c5ceb0df5461c43386862214303a6971215406b1c248b4dd1af928e6dd36eb81be91e14b55d567baf2733d77f0f7d7af4
+EBUILD ocaml-5.2.0.ebuild 2633 BLAKE2B 5be410d305053bcf18d4f61cdf57eee2f1b22c1f7d268ed95392b4e4723547364c5bdb7a699c3c8c3bf50bd42c024ea990e3ce6eb13e662c5b1838d8a47bb0ad SHA512 e4416f977a122ea8f895d91b01fed07d4b60c33421dc2e748022ff7065660e3a9647f50e8cc9c7748efcb49e18a2ba95788925aee2e7f93297513af41679124a
MISC metadata.xml 671 BLAKE2B 452ea340c8abacedbdb20a344cffa9b91db2251e0174db596e4f96bf2b1c9d308ceb035e0870e738a15c313003fcbf39bb91c5f68b40a185e5e08e3ea7042616 SHA512 1d8248e2b05b145c804cc9cce6aa617bd6466f26326033cee06ed27ceb93ebc88b62f3badbfe13092fbaa89c3a71087491b88c4fc094da8624ab668cdc73b383
diff --git a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
index 489cf0a32fef..d57b85a17ce1 100644
--- a/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
+++ b/dev-lang/ocaml/ocaml-4.11.2-r2.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
+DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0/$(ver_cut 1-2)"
diff --git a/dev-lang/ocaml/ocaml-4.12.1.ebuild b/dev-lang/ocaml/ocaml-4.12.1.ebuild
index 9294aeacdc06..397ff3c8ab8d 100644
--- a/dev-lang/ocaml/ocaml-4.12.1.ebuild
+++ b/dev-lang/ocaml/ocaml-4.12.1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
+DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0/$(ver_cut 1-2)"
diff --git a/dev-lang/ocaml/ocaml-4.13.1.ebuild b/dev-lang/ocaml/ocaml-4.13.1.ebuild
index 73ab996ee176..385f7be2f182 100644
--- a/dev-lang/ocaml/ocaml-4.13.1.ebuild
+++ b/dev-lang/ocaml/ocaml-4.13.1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
+DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0/$(ver_cut 1-2)"
diff --git a/dev-lang/ocaml/ocaml-4.14.1.ebuild b/dev-lang/ocaml/ocaml-4.14.1.ebuild
index fe9b42d885eb..5ed03c0a3f13 100644
--- a/dev-lang/ocaml/ocaml-4.14.1.ebuild
+++ b/dev-lang/ocaml/ocaml-4.14.1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic
+DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0/${PV}"
diff --git a/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild b/dev-lang/ocaml/ocaml-5.2.0.ebuild
index 83dfc2f12fc2..dc8655e47ad7 100644
--- a/dev-lang/ocaml/ocaml-4.14.0-r1.ebuild
+++ b/dev-lang/ocaml/ocaml-5.2.0.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic
+DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
-DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
LICENSE="QPL-1.0 LGPL-2"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="emacs flambda latex +ocamlopt xemacs"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="emacs flambda latex +ocamlopt test xemacs"
RDEPEND="sys-libs/binutils-libs:="
BDEPEND="${RDEPEND}
@@ -22,9 +22,7 @@ PDEPEND="emacs? ( app-emacs/ocaml-mode )
QA_FLAGS_IGNORED='/usr/lib.*/ocaml/bigarray.cmxs'
-PATCHES=(
- "${FILESDIR}"/${PN}-4.14.0-clang.patch
-)
+RESTRICT="!test? ( test )"
src_prepare() {
default
@@ -53,6 +51,7 @@ src_configure() {
--libdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
--mandir="${EPREFIX}/usr/share/man"
--prefix="${EPREFIX}/usr"
+ $(use_enable test ocamltest) \
$(use_enable flambda)
)
@@ -83,6 +82,10 @@ src_test() {
}
src_install() {
+ # OCaml generates textrels on 32-bit arches
+ if use arm || use ppc || use x86 ; then
+ export QA_TEXTRELS='.*'
+ fi
default
dodir /usr/include