dev-python/python-telegram-bot: bump version to 13.12

This commit is contained in:
chn authored and 梁永祥 committed 2022-05-29 09:46:47 +08:00
1 parent 5947c2a906
commit cba444832a
2 files changed
+1 -23

No files matched your search

+1 -1
View File
@@ -1 +1 @@
DIST python-telegram-bot-13.11.tar.gz 2262335 BLAKE2B e63b008f203ac46b596b292f17b70115e7e47071da4fd8cdc3d881f1b8fe0729edb82206d0c4e9cf5b3cdaefa5e1d7bcb4599ea6b41cf6850bd971f79a2dc479 SHA512 8ccae24ad577da18aba9428e006406627d018004fea7f52217e805a49c73a74ba22cd4785c38b34a2cd6df899e1ceed89cccbc2f9fd8a7af5292a89032d4da3a
DIST python-telegram-bot-13.12.tar.gz 2274868 BLAKE2B 9fd2c2ac81846742bf38ed74874f94b2e7921f321b5fe5c3e80196dc548d50b69f994ba13fa0786eb6052646f191fd7fb8a3e80720a22d904dc992ee8125f9a0 SHA512 eeb66f6bd5f74e69b082966a72a3ed974df81fe79bef19e72301a09548943da534b974922067624bcb7898d03b9edd13f0ba5e831f1a763e9a340d735a63ce10
@@ -4,7 +4,6 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python wrapper of telegram bots API"
@@ -15,15 +14,12 @@ if [[ ${PV} == *9999 ]]; then
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"
# 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 mirror"
RDEPEND="
@@ -37,17 +33,6 @@ RDEPEND="
www-servers/tornado[${PYTHON_USEDEP}]
"
DEPEND="test? (
dev-python/APScheduler[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
python_prepare_all() {
@@ -57,12 +42,5 @@ python_prepare_all() {
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
}