dev-python/gpiozero - 2.0.1 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/gpiozero-2.0.1

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

autounmask =dev-python/gpiozero-2.0.1

Or alternatively:

emerge --autounmask-write -a =dev-python/gpiozero-2.0.1

Package Information

Description:
A simple interface to GPIO devices with Raspberry Pi.
Homepage:
https://github.com/gpiozero/gpiozero https://pypi.org/project/gpiozero/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2023 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="A simple interface to GPIO devices with Raspberry Pi."
HOMEPAGE="https://github.com/gpiozero/gpiozero https://pypi.org/project/gpiozero/"

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

DOCS="README.rst"

RDEPEND="
	dev-python/colorzero[${PYTHON_USEDEP}]
	python_targets_python3_9? ( dev-python/importlib-metadata[${PYTHON_USEDEP}] )
	python_targets_python3_9? ( dev-python/importlib-resources[${PYTHON_USEDEP}] )
	doc? (
		dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
		dev-python/sphinx[${PYTHON_USEDEP}]
	)
"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/pytest-cov[${PYTHON_USEDEP}]
	)
"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

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

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/colorzero[]
	python_targets_python3_9? ( dev-python/importlib-metadata[] )
	python_targets_python3_9? ( dev-python/importlib-resources[] )
	doc? (
		dev-python/sphinx-rtd-theme[]
		dev-python/sphinx[]
	)

BDEPEND

	test? (
		dev-python/pytest[]
		dev-python/pytest-cov[]
	)