dev-libs/blake3 - 1.8.4 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/blake3-1.8.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/blake3-1.8.4

Or alternatively:

emerge --autounmask-write -a =dev-libs/blake3-1.8.4

Package Information

Description:
a fast cryptographic hash function
Homepage:
https://github.com/BLAKE3-team/BLAKE3
License:
|| ( CC0-1.0 Apache-2.0 )

Ebuild Details

Version EAPI Keywords Slot
1.8.4 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos 0/0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
inherit cmake python-any-r1

DESCRIPTION="a fast cryptographic hash function"
HOMEPAGE="https://github.com/BLAKE3-team/BLAKE3"
SRC_URI="https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/BLAKE3-${PV}/c"

LICENSE="|| ( CC0-1.0 Apache-2.0 )"
SLOT="0/0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="test? ( ${PYTHON_DEPS} )"

PATCHES=(
	"${FILESDIR}/${PN}-1.5.3-backport-pr405.patch"
	"${FILESDIR}/${PN}-1.8.2-x32.patch"
	"${FILESDIR}/${PN}-1.8.3-fix-non-x86-test.patch" # 970424
)

pkg_setup() {
	use test && python-any-r1_pkg_setup
}

src_configure() {
	local mycmakeargs=(
		-DBLAKE3_BUILD_TESTING="$(usex test)"
		-DBLAKE3_USE_TBB=OFF # TODO
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/blake3 | euse -E <flag> -p dev-libs/blake3 | euse -D <flag> -p dev-libs/blake3

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

test? (  )

Manifest for 1.8.4

Type File Size Source URLs
DIST blake3-1.8.4.tar.gz 268793 bytes https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.8.4.tar.gz