dev-python/electrum-ecc - 0.0.8 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/electrum-ecc-0.0.8

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

autounmask =dev-python/electrum-ecc-0.0.8

Or alternatively:

emerge --autounmask-write -a =dev-python/electrum-ecc-0.0.8

Package Information

Description:
Pure python ctypes wrapper for libsecp256k1
Homepage:
https://github.com/spesmilo/electrum-ecc/ https://pypi.org/project/electrum-ecc/
License:
MIT

Ebuild Details

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

EAPI=8

DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="Pure python ctypes wrapper for libsecp256k1"
HOMEPAGE="
	https://github.com/spesmilo/electrum-ecc/
	https://pypi.org/project/electrum-ecc/
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

# ecc_fast.py KNOWN_COMPATIBLE_ABI_VERSIONS
RDEPEND="
	|| (
		dev-libs/libsecp256k1:0/6
		dev-libs/libsecp256k1:0/5
		dev-libs/libsecp256k1:0/2
	)
"
BDEPEND="
	dev-python/setuptools[${PYTHON_USEDEP}]
"

distutils_enable_tests unittest

export ELECTRUM_ECC_DONT_COMPILE=1

python_test() {
	cd tests || die
	eunittest
}

Inherited Eclasses

Dependencies

RDEPEND

	|| (
		dev-libs/libsecp256k1:0/6
		dev-libs/libsecp256k1:0/5
		dev-libs/libsecp256k1:0/2
	)

BDEPEND

	dev-python/setuptools[]