dev-python/questionary - 2.1.1 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/questionary-2.1.1

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

autounmask =dev-python/questionary-2.1.1

Or alternatively:

emerge --autounmask-write -a =dev-python/questionary-2.1.1

Package Information

Description:
Python library to build pretty command line user prompts
Homepage:
https://pypi.org/project/questionary/
License:
MIT

Ebuild Details

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

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_14 )

inherit distutils-r1

DESCRIPTION="Python library to build pretty command line user prompts"
HOMEPAGE="
	https://pypi.org/project/questionary/
"
SRC_URI="https://github.com/tmbo/questionary/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"

RDEPEND="
	<dev-python/prompt-toolkit-4.0[${PYTHON_USEDEP}]
	>=dev-python/prompt-toolkit-2.0[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
# https://github.com/tmbo/questionary/issues/461, to be removed in the next release
EPYTEST_DESELECT=(
	'tests/prompts/test_common.py::test_print_with_style'
)
distutils_enable_tests pytest

distutils_enable_sphinx docs dev-python/sphinx-rtd-theme \
	dev-python/sphinx-copybutton \
	dev-python/sphinx-autodoc-typehints

python_install_all() {
	if use examples; then
		dodoc -r examples
		docompress -x /usr/share/doc/${PF}/examples
	fi
	distutils-r1_python_install_all
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	<dev-python/prompt-toolkit-4.0[]
	>=dev-python/prompt-toolkit-2.0[]

Manifest for 2.1.1

Type File Size Source URLs
DIST questionary-2.1.1.gh.tar.gz 357291 bytes https://github.com/tmbo/questionary/archive/refs/tags/2.1.1.tar.gz