mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/ocaml-gettext-stub: add 0.4.2.1, drop 0.5.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
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
|
||||
|
||||
@@ -9,12 +9,13 @@ MY_P=${P/-stub/}
|
||||
DUNE_PKG_NAME="gettext-stub"
|
||||
|
||||
inherit dune
|
||||
comId=d566551bc2e2f5e6e61d24e05d314ff57eaea6bf
|
||||
|
||||
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
|
||||
SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/${comId}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
S="${WORKDIR}"/${MY_PN}-${comId}
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
@@ -23,23 +24,18 @@ IUSE="+ocamlopt test"
|
||||
RESTRICT="test" # Tests fail.
|
||||
|
||||
RDEPEND="
|
||||
~dev-ml/ocaml-gettext-${PV}:=[ocamlopt?]
|
||||
>=dev-lang/ocaml-4.14.0:=[ocamlopt?]
|
||||
~dev-ml/ocaml-gettext-${PV}:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=dev-ml/dune-3.17
|
||||
dev-ml/cppo
|
||||
dev-ml/dune-configurator
|
||||
>=dev-ml/dune-configurator-3.17.0
|
||||
test? (
|
||||
>=dev-ml/ocaml-fileutils-0.6.6
|
||||
dev-ml/ounit2[ocamlopt=]
|
||||
dev-ml/seq[ocamlopt=]
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
dune-compile ${DUNE_PKG_NAME}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dune-test ${DUNE_PKG_NAME}
|
||||
}
|
||||
Reference in New Issue
Block a user