dev-python/python-telegram-bot - 22.7 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/python-telegram-bot-22.7

Package Information

Description:
We have made you a wrapper you can't refuse
Homepage:
https://python-telegram-bot.org/ https://github.com/python-telegram-bot/python-telegram-bot/ https://pypi.org/project/python-telegram-bot/
License:
LGPL-3+

Ebuild Details

Version EAPI Keywords Slot
22.7 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=hatchling

inherit distutils-r1 pypi

DESCRIPTION="We have made you a wrapper you can't refuse"
HOMEPAGE="https://python-telegram-bot.org/ https://github.com/python-telegram-bot/python-telegram-bot/ https://pypi.org/project/python-telegram-bot/"

LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="all callback-data ext http2 job-queue passport rate-limiter socks test webhooks"
RESTRICT="!test? ( test )"
REQUIRED_USE="all? ( ext http2 passport socks )
	ext? ( callback-data job-queue rate-limiter webhooks )"
DOCS="README.rst"

RDEPEND="
	~dev-python/httpx-0.28.1[${PYTHON_USEDEP}]
	callback-data? ( >=dev-python/cachetools-5.3.3[${PYTHON_USEDEP}] )
	http2? ( ~dev-python/httpx-0.28.1[${PYTHON_USEDEP}] )
	job-queue? ( ~dev-python/APScheduler-3.10.4[${PYTHON_USEDEP}] >=dev-python/pytz-2018.6[${PYTHON_USEDEP}] )
	passport? ( >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}] >=dev-python/cffi-1.17.0_rc1[${PYTHON_USEDEP}] )
	rate-limiter? ( ~dev-python/aiolimiter-1.2.1[${PYTHON_USEDEP}] )
	socks? ( ~dev-python/httpx-0.28.1[${PYTHON_USEDEP}] )
	webhooks? ( ~dev-python/tornado-6.5.5[${PYTHON_USEDEP}] )
"
BDEPEND="
	test? (
		dev-python/ruff[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

USE Flags

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

Inherited Eclasses

Dependencies

RDEPEND

	~dev-python/httpx-0.28.1[]
	callback-data? ( >=dev-python/cachetools-5.3.3[] )
	http2? ( ~dev-python/httpx-0.28.1[] )
	job-queue? ( ~dev-python/APScheduler-3.10.4[] >=dev-python/pytz-2018.6[] )
	passport? ( >=dev-python/cryptography-39.0.1[] >=dev-python/cffi-1.17.0_rc1[] )
	rate-limiter? ( ~dev-python/aiolimiter-1.2.1[] )
	socks? ( ~dev-python/httpx-0.28.1[] )
	webhooks? ( ~dev-python/tornado-6.5.5[] )

BDEPEND

	test? (
		dev-python/ruff[]
	)