commit: 2dd497fee105670317a32cbdccea5e549476c3c1 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sun Mar 16 09:48:00 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Mar 16 09:52:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd497fe
dev-ml/ocaml-gettext: add 0.4.2.1, drop 0.5.0 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/ocaml-gettext/Manifest | 2 +- ...t-0.5.0.ebuild => ocaml-gettext-0.4.2.1.ebuild} | 24 +++++++++------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/dev-ml/ocaml-gettext/Manifest b/dev-ml/ocaml-gettext/Manifest index 4534c0e78609..a76e3e92a6f0 100644 --- a/dev-ml/ocaml-gettext/Manifest +++ b/dev-ml/ocaml-gettext/Manifest @@ -1,3 +1,3 @@ DIST ocaml-gettext-0.3.7.tar.gz 134316 BLAKE2B 9de6ef9e04afbb6001ddc5ef145a687ad88a20eef1c27d3a3e6136f81ad46100cc6496cb66e3edfbf0f7eacfa8abbccb44d846d2f676862c96b8ceb860d8f424 SHA512 1358320359b9d2f3fd97a47d69b2a619942a65605c1e5cbf25e33ef42a10273167b526bca15e6c9523b87d8ea9dfd3215334050ad8eb84a8c41d4feef880a27a +DIST ocaml-gettext-0.4.2.1.tar.gz 110349 BLAKE2B 8156d4962838ec752d17844e50f332c03e0de966b7f15a18f740039a5cc7faf4b42733129353f0bb24b9922d61dce078e77f64356a1c587d9f80d8a65cab602d SHA512 659e3b4891ec7bc17f33de072d5625df62e1d522e70ccb912969c0b87145d7d44e20b8547c6513065ca4b87e314b31f4cf8057543d2c9b40f8ee2227df5d1e67 DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec -DIST ocaml-gettext-0.5.0.tar.gz 113204 BLAKE2B c103e461da446eb65adbde33de2c37caf920d08cb334c4889364cbd54043fc88c366be67c424ad901819b6688d11c91f3d3a328fdb04ddf5cf0eab363512a412 SHA512 f55505bbe0da2a06053d94ee895a3e610a8d4ab5a2283ccff6a5a0c6a8ec011f5f286ab93e117cc340f55f056c7cdcb5752cc798e9d8e18fb5ab17f27f4a64c2 diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.1.ebuild similarity index 62% rename from dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild rename to dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.1.ebuild index b384d413d9a4..f5b6abfb19d4 100644 --- a/dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.1.ebuild @@ -5,10 +5,14 @@ EAPI=8 DUNE_PKG_NAME="gettext" inherit dune +comId=d566551bc2e2f5e6e61d24e05d314ff57eaea6bf DESCRIPTION="Provides support for internationalization of OCaml program" HOMEPAGE="https://github.com/gildor478/ocaml-gettext" -SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/${comId}.tar.gz + -> ${P}.tar.gz" + +S="${WORKDIR}"/${PN}-${comId} LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" @@ -17,25 +21,17 @@ IUSE="+ocamlopt test" RESTRICT="test" # Tests fail RDEPEND=" - dev-ml/ocaml-fileutils:=[ocamlopt?] - dev-ml/dune-site:=[ocamlopt?] + >=dev-lang/ocaml-4.14.0:=[ocamlopt?] + dev-ml/base:= + >=dev-ml/ocaml-fileutils-0.6.6:=[ocamlopt=] sys-devel/gettext " DEPEND="${RDEPEND}" BDEPEND=" - >=dev-ml/dune-3.17 - dev-ml/cppo - dev-ml/dune-configurator - test? ( - dev-ml/ounit2[ocamlopt=] - dev-ml/seq[ocamlopt=] - ) + >=dev-ml/cppo-1.8.0 + test? ( dev-ml/ounit2[ocamlopt=] ) " src_compile() { dune-compile ${DUNE_PKG_NAME} } - -src_test() { - dune-test ${DUNE_PKG_NAME} -}
