mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/blake3: add 1.8.5
Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/735 Merges: https://codeberg.org/gentoo/gentoo/pulls/735 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
6f7a064d18
commit
38111e1b42
@@ -1,2 +1,3 @@
|
||||
DIST blake3-1.8.3.tar.gz 266132 BLAKE2B d455def42ef3ec6946d9928da3c00cb0207c281bbefb35c3992d56e430e41e9a1c5a178df332271596b3986051028804682233711ca00c178a814fb2869eb875 SHA512 d0861c3c0294d84a46a3760e5e51734f4040036aa74d72d32242adb9311c0f85f580c17fbee9ca17dc2b3818ff68048b3156a19b8d11fe5c459c5e9266709fb9
|
||||
DIST blake3-1.8.4.tar.gz 268793 BLAKE2B b4514dc02a2f4ecf759a81bb33434244d8fa133f2b17d6fde9ffaa3d0f5a3ffd084d85f5532c988160c00a78d5b58b3673aeed9ddc55f90aa387cafaeb2ef48e SHA512 a4309ee063ff019cc5da2e9f2d15709de1dbf5d6324380c4668ea2e09d0df72edf5a3f9b035d466b957c0d876d6202ac9ad33cbfade2c9a3b20fb72e4366c9d9
|
||||
DIST blake3-1.8.5.tar.gz 269145 BLAKE2B cd31e56bffc0d580275829ebb6f3e42cf67bf63246fa413b5b8c6340dab9a132a9a4bea61695bd9ae73e6eb332e910dfd5245160c72ab292e73e0cda7fce1317 SHA512 53344e5fa3d3058f9190f159991652a11951ce960236793d2ef2328b1c7f9310f11a7f84c6a2487aed253bc6d8269dbf4d7fbd30d765480849b2ef82e22c418e
|
||||
|
||||
38
dev-libs/blake3/blake3-1.8.5.ebuild
Normal file
38
dev-libs/blake3/blake3-1.8.5.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user