dev-python/hkdf - 0.0.3 (bitcoin)

Search

Install

Install this version:

emerge -a =dev-python/hkdf-0.0.3

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

autounmask =dev-python/hkdf-0.0.3

Or alternatively:

emerge --autounmask-write -a =dev-python/hkdf-0.0.3

Package Information

Description:
HMAC-based Extract-and-Expand Key Derivation Function (HKDF) implemented in Python
Homepage:
https://github.com/casebeer/python-hkdf https://pypi.org/project/hkdf/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.0.3 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1 edo pypi

DESCRIPTION="HMAC-based Extract-and-Expand Key Derivation Function (HKDF) implemented in Python"
HOMEPAGE="https://github.com/casebeer/python-hkdf https://pypi.org/project/hkdf/"
SRC_URI+="
	test? ( https://github.com/casebeer/python-hkdf/raw/cc3c9dbf0a271b27a7ac5cd04cc1485bbc3b4307/tests.py -> ${P}-tests.py )
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

src_unpack() {
	unpack "${P}.tar.gz"
	! use test || cp "${DISTDIR}/${P}-tests.py" "${S}/tests.py" || die
}

python_test() {
	edo "${PYTHON}" -m tests
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

edo

Manifest for 0.0.3

Type File Size Source URLs
DIST hkdf-0.0.3-tests.py 7491 bytes https://github.com/casebeer/python-hkdf/raw/cc3c9dbf0a271b27a7ac5cd04cc1485bbc3b4307/tests.py