summaryrefslogtreecommitdiff
path: root/dev-python/ledgercomm/ledgercomm-1.2.1.ebuild
blob: 472b7f1b9d2b8f1c343933e3aab3f0c1c5cf7940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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

inherit distutils-r1 pypi

DESCRIPTION="Library to communicate with Ledger Nano S/X and Speculos"
HOMEPAGE="
	https://pypi.org/project/ledgercomm/
	https://github.com/LedgerHQ/ledgercomm
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# This package has no runtime tests
RESTRICT="test"

RDEPEND="dev-python/hidapi[${PYTHON_USEDEP}]"

python_install_all() {
	local -x DOCS=( CHANGELOG.md README.md )
	distutils-r1_python_install_all
}