Install this version:
emerge -a =dev-python/pyftdi-0.57.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pyftdi-0.57.2
Or alternatively:
emerge --autounmask-write -a =dev-python/pyftdi-0.57.2
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="PyFtdi provides a user-space driver for FTDI devices"
HOMEPAGE="https://github.com/eblot/pyftdi"
SRC_URI="https://github.com/eblot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pyusb[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
)
"
python_test() {
FTDI_LOGLEVEL=WARNING
FTDI_DEBUG=on
FTDI_VIRTUAL=off "${EPYTHON}" pyftdi/tests/mockusb.py || die
FTDI_VIRTUAL=on "${EPYTHON}" pyftdi/tests/gpio.py || die
FTDI_VIRTUAL=on "${EPYTHON}" pyftdi/tests/eeprom_mock.py || die
}
Manage flags for this package:
euse -i <flag> -p dev-python/pyftdi |
euse -E <flag> -p dev-python/pyftdi |
euse -D <flag> -p dev-python/pyftdi
dev-python/pyusb[] dev-python/pyserial[]
dev-python/pyusb[] dev-python/pyserial[]
test? ( dev-python/ruamel-yaml[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pyftdi-0.57.2.gh.tar.gz | 187867 bytes | https://github.com/eblot/pyftdi/archive/refs/tags/v0.57.2.tar.gz |