From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/python-telegram-bot/
Date: Sun, 28 Apr 2024 20:16:10 +0000 (UTC) [thread overview]
Message-ID: <1714334664.01d605620de70144dbef5633e68cc9dbbbcfa74b.watermanpaint@gentoo> (raw)
commit: 01d605620de70144dbef5633e68cc9dbbbcfa74b
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 20:04:24 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Apr 28 20:04:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01d60562
dev-python/python-telegram-bot: remove setuptools from RDEPEND
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
.../python-telegram-bot-20.3-r1.ebuild | 155 +++++++++++++++++++++
.../python-telegram-bot-20.5-r1.ebuild | 150 ++++++++++++++++++++
.../python-telegram-bot-20.6-r1.ebuild | 150 ++++++++++++++++++++
3 files changed, 455 insertions(+)
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
new file mode 100644
index 0000000000..de642c415e
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_thumb_deprecation_warning
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_thumb_deprecation_warning
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_thumb_deprecation_warning
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_thumb_deprecation_warning
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_thumb_deprecation_warning
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
new file mode 100644
index 0000000000..4d8ca2dbd4
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild
new file mode 100644
index 0000000000..19a6140564
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.1[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
next reply other threads:[~2024-04-28 20:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-28 20:16 Lucio Sauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-10 17:33 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/python-telegram-bot/ Pedro Arizmendi
2024-05-10 17:26 Pedro Arizmendi
2024-04-28 20:16 Lucio Sauer
2023-10-02 15:47 David Roman
2023-10-02 15:45 David Roman
2023-07-05 13:59 Anna Vyalkova
2023-04-27 17:51 Pedro Arizmendi
2022-09-17 11:32 David Roman
2020-12-18 18:12 Andrew Ammerlaan
2020-11-07 0:24 David Roman
2020-03-13 17:42 David Roman
2020-03-13 12:33 Andrew Ammerlaan
2020-03-12 19:38 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1714334664.01d605620de70144dbef5633e68cc9dbbbcfa74b.watermanpaint@gentoo \
--to=watermanpaint@posteo.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox