commit: 4c1746742b19a54b15597cfde45a9c0d902c6a25 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Fri Dec 18 18:12:26 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Fri Dec 18 18:12:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c174674
dev-python/python-telegram-bot: version bump 13.1 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> dev-python/python-telegram-bot/Manifest | 3 +- .../python-telegram-bot-12.4.2.ebuild | 64 ---------------------- ...13.0.ebuild => python-telegram-bot-13.1.ebuild} | 4 ++ 3 files changed, 5 insertions(+), 66 deletions(-) diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest index 8cd02b57..2afb32a7 100644 --- a/dev-python/python-telegram-bot/Manifest +++ b/dev-python/python-telegram-bot/Manifest @@ -1,2 +1 @@ -DIST python-telegram-bot-12.4.2.tar.gz 1896003 BLAKE2B 2fbf77046da9c25b82682db040967e326bb92be0709f76ce9ebf98d611822d07c60d68d02e241cfbb4cc233be0e198a866f85557790227e7439d2688c5d01651 SHA512 b5c652433c99205e71dee67d1c9e5d3a9b2df40b2d60c1810135ef8b1b72f2b4b27a506682d0522a1bae58d39ba7cd559e262c222fde7dd324df779a00a76e10 -DIST python-telegram-bot-13.0.tar.gz 1971799 BLAKE2B b63b71a4c872d2734ff2477f948b253fa29ed662c1de7291a654fec94e027178f0d6d4a90cbab6e144a0848893583b2fcd82b3f0f9a7df6908bec33cee8c523f SHA512 e35754871d753e6a2a46901a8292446ea729d17ee9122a932c26c8f51aff2c02cf47193036e37a22f17bb3d35814ac9c214449efa86541b0937e83849349b8eb +DIST python-telegram-bot-13.1.tar.gz 1998020 BLAKE2B 376402c28245b6a6a516c58be0f730b1e8d98b8f829d705355415afc3d702f1b35f29988a2600b13a6f346d524016499fafee51ae8b81042a5e074e34c222961 SHA512 ff51b0490d159de4cbc2a273f1011d63d71b1d83ae1850ca3967d63386f1580e9ce9f641cb8de0b99c629660f6143dfcdef8c6f49fc91a888efd43132b1697c0 diff --git a/dev-python/python-telegram-bot/python-telegram-bot-12.4.2.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-12.4.2.ebuild deleted file mode 100644 index da5d9a71..00000000 --- a/dev-python/python-telegram-bot/python-telegram-bot-12.4.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_7 ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper of telegram bots API" -HOMEPAGE="https://python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/python-telegram-bot/python-telegram-bot" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - dev-python/PySocks[${PYTHON_USEDEP}] - dev-python/ujson[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] -" - -DEPEND="test? ( - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] -)" - -distutils_enable_tests pytest -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme - -python_prepare_all() { - # do not make a test flaky report - sed -i -e '/addopts/d' setup.cfg || die - - sed -i 's/from telegram.vendor.ptb_urllib3 //g' tests/test_*.py - sed -i 's/telegram.vendor.ptb_urllib3.urllib3/urllib3/g' tests/test_*.py - - # Remove tests files that require network access - rm tests/test_{animation,audio,bot,commandhandler,constants,conversationhandler}.py || die - rm tests/test_{dispatcher,document,forcereply,inlinekeyboardmarkup,inputmedia}.py || die - rm tests/test_{invoice,jobqueue,official,parsemode,persistence,photo,sticker,updater}.py || die - rm tests/test_replykeyboard{markup,remove}.py || die - rm tests/test_{video,videonote,voice}.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild similarity index 92% rename from dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild rename to dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild index 3a480ab2..2e84a7bd 100644 --- a/dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild +++ b/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild @@ -22,6 +22,10 @@ fi LICENSE="GPL-3" SLOT="0" +# This error is really strange +# UserWarning: python-telegram-bot is using upstream urllib3. This is allowed but not supported by python-telegram-bot maintainers. +RESTRICT="test" + RDEPEND=" dev-python/certifi[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}]
