dev-ml/decompress - 1.6.1 (gentoo)

Search

Install

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

Package Information

Description:
Pure OCaml implementation of Zlib
Homepage:
https://github.com/mirage/decompress
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.6.1 8 ~amd64 ~arm ~arm64 ~x86 0/1.6.1
View Raw Ebuild
# 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
}

USE Flags

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

Global/Standard Flags

ocamlopt
❓ Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	dev-ml/dune-configurator:=[ocamlopt?]
	dev-ml/optint:=[ocamlopt?]
	dev-ml/cmdliner:=[ocamlopt?]
	dev-ml/checkseum:=[ocamlopt?]

RDEPEND

	dev-ml/dune-configurator:=[ocamlopt?]
	dev-ml/optint:=[ocamlopt?]
	dev-ml/cmdliner:=[ocamlopt?]
	dev-ml/checkseum:=[ocamlopt?]

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
	)

Manifest for 1.6.1

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