Install this version:
emerge -a =dev-ml/decompress-1.6.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/decompress-1.6.1
Or alternatively:
emerge --autounmask-write -a =dev-ml/decompress-1.6.1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Pure OCaml implementation of Zlib"
HOMEPAGE="https://github.com/mirage/decompress"
SRC_URI="https://github.com/mirage/decompress/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-ml/dune-configurator:=[ocamlopt?]
dev-ml/optint:=[ocamlopt?]
dev-ml/cmdliner:=[ocamlopt?]
dev-ml/checkseum:=[ocamlopt?]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-ml/alcotest
dev-ml/astring
dev-ml/bos
dev-ml/bstr
dev-ml/camlzip
dev-ml/findlib
dev-ml/fmt
dev-ml/fpath
dev-ml/ocaml-base64
dev-ml/rresult
)
"
src_prepare() {
default
# depends on unpackaged crowbar
rm -rf fuzz || die
}
Manage flags for this package:
euse -i <flag> -p dev-ml/decompress |
euse -E <flag> -p dev-ml/decompress |
euse -D <flag> -p dev-ml/decompress
dev-ml/dune-configurator:=[ocamlopt?] dev-ml/optint:=[ocamlopt?] dev-ml/cmdliner:=[ocamlopt?] dev-ml/checkseum:=[ocamlopt?]
dev-ml/dune-configurator:=[ocamlopt?] dev-ml/optint:=[ocamlopt?] dev-ml/cmdliner:=[ocamlopt?] dev-ml/checkseum:=[ocamlopt?]
test? ( dev-ml/alcotest dev-ml/astring dev-ml/bos dev-ml/bstr dev-ml/camlzip dev-ml/findlib dev-ml/fmt dev-ml/fpath dev-ml/ocaml-base64 dev-ml/rresult )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | decompress-1.6.1.gh.tar.gz | 1243768 bytes | https://github.com/mirage/decompress/archive/v1.6.1.tar.gz |