diff options
author | Sam James <sam@gentoo.org> | 2021-03-13 11:30:07 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-13 15:23:31 +0000 |
commit | 96c6dbe2c79f0cb60a234636f04a605b86f908fb (patch) | |
tree | 7aca656da98a464471262486968168aae44c65df /dev-ml/ocaml-gettext-stub | |
parent | dev-ml/ocaml-gettext-camomile: convert to dev-ml/ounit2 for tests (diff) | |
download | gentoo-96c6dbe2c79f0cb60a234636f04a605b86f908fb.tar.gz gentoo-96c6dbe2c79f0cb60a234636f04a605b86f908fb.tar.bz2 gentoo-96c6dbe2c79f0cb60a234636f04a605b86f908fb.zip |
dev-ml/ocaml-gettext-stub: convert to dev-ml/ounit2 for tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/ocaml-gettext-stub')
-rw-r--r-- | dev-ml/ocaml-gettext-stub/ocaml-gettext-stub-0.4.2-r1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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-r1.ebuild index c47570d78116..3d79cb05c000 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-r1.ebuild @@ -33,6 +33,13 @@ DEPEND=" ${RDEPEND} test? ( dev-ml/ocaml-fileutils - dev-ml/ounit[ocamlopt=] + dev-ml/ounit2[ocamlopt=] ) " + +src_prepare() { + default + + # Port to dev-ml/ounit2 + sed -i -e 's/oUnit/ounit2/' test/{,common,test-camomile,test-stub}/dune || die +} |