summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-gettext-stub
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-19 17:58:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-19 17:58:12 +0100
commit80063f2f52858d7e3f06534393a5d0e2b0d33029 (patch)
tree7e3fd55cdd7712ac87632f7ef39a507bc3f4ad56 /dev-ml/ocaml-gettext-stub
parent6031cee8b35a5f0d7a1fee157d2cefcc05649608 (diff)
gentoo auto-resync : 19:04:2023 - 17:58:12
Diffstat (limited to 'dev-ml/ocaml-gettext-stub')
-rw-r--r--dev-ml/ocaml-gettext-stub/Manifest2
-rw-r--r--dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r2.ebuild (renamed from dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild)27
2 files changed, 17 insertions, 12 deletions
diff --git a/dev-ml/ocaml-gettext-stub/Manifest b/dev-ml/ocaml-gettext-stub/Manifest
index 8349a62e60bb..8a58afa3469c 100644
--- a/dev-ml/ocaml-gettext-stub/Manifest
+++ b/dev-ml/ocaml-gettext-stub/Manifest
@@ -1,3 +1,3 @@
DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec
-EBUILD ocaml-gettext-stub-0.4.2-r1.ebuild 979 BLAKE2B 3a7f3e3b4e1d08b380933cd6f33c01c631645e52f4a83005fb97fc5e922729462aafee07febbc5a9fd3a7496610213c571c3339faea422dc8495fcf5e57218b6 SHA512 c9b32f4239353ae539a85c85b82be1155d6e3990aa97772395176a903b599c1b8fe2111d7531ad3d244cd715002b8026d37dadee00e31bf67263697f459534c2
+EBUILD ocaml-gettext-stub-0.4.2-r2.ebuild 1107 BLAKE2B a8fda41d3bdc90ca706868ed9466b68bd76a542d13efe0981bd4d7ed0dda4c0a566c76c231468e95198b39a9d4d5c853336c0834ec43f56257db29aabeeb3605 SHA512 d9f35d334e0777f142975338480edb22f8c3fc25f055f0ba40e5a7798d29b143881bd388e98933beac3974ff9584837d1cf8ccd7dc1aa8e9047e7b770150ff0e
MISC metadata.xml 674 BLAKE2B 806edfc89d39599c87e260663a38a2731334263749174d711f8d7945d6d3f58b2c2c69f3f19d2fadd832a0bbb61e25521152d981c221dea5134950defae029db SHA512 b1523bc49ed5770d32248b932aa74c7332f0282390aacdd4dcca0ef5753d04df90c35d274f9f215df4117added7d9cb5a649d2077db67092efc854920946c41b
diff --git a/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r2.ebuild
index ee1414b5f36d..c678d9199725 100644
--- a/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild
+++ b/dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r2.ebuild
@@ -1,36 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
MY_PN=${PN/-stub/}
MY_P=${P/-stub/}
+
DUNE_PKG_NAME="gettext-stub"
+
inherit dune
DESCRIPTION="Support for internationalization of OCaml programs using native gettext library"
HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
-SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz
+ -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="amd64"
IUSE="+ocamlopt test"
-RESTRICT="!test? ( test )"
+RESTRICT="test" # Tests fail.
-BDEPEND="
- >=dev-ml/cppo-1.6.6
- dev-ml/dune-configurator
-"
RDEPEND="
dev-ml/base:=
- dev-ml/camomile:=[ocamlopt=]
dev-ml/ocaml-gettext:=
!<dev-ml/ocaml-gettext-0.4.2
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-ml/cppo-1.6.6
+ dev-ml/dune-configurator
test? (
dev-ml/ocaml-fileutils
dev-ml/ounit2[ocamlopt=]
@@ -40,6 +40,11 @@ DEPEND="
src_prepare() {
default
+ # Remove dependency on camomile (see
+ # https://github.com/gildor478/ocaml-gettext/issues/14)
+ rm -r src/lib/gettext-camomile || die
+ rm -r test/test-camomile || die
+
# Port to dev-ml/ounit2
- sed -i -e 's/oUnit/ounit2/' test/{,common,test-camomile,test-stub}/dune || die
+ sed -i -e 's/oUnit/ounit2/' test/{,common,test-stub}/dune || die
}