diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-17 12:46:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-17 12:46:16 +0000 |
| commit | ea65638761a5a1aca7eaf4314281302ee9537a2e (patch) | |
| tree | d82bc744830478038735c91787bd599d9de06b03 /dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild | |
| parent | fc68701c4ff1b9cd99743f727560c85bc656b056 (diff) | |
| download | baldeagleos-repo-ea65638761a5a1aca7eaf4314281302ee9537a2e.tar.gz baldeagleos-repo-ea65638761a5a1aca7eaf4314281302ee9537a2e.tar.xz baldeagleos-repo-ea65638761a5a1aca7eaf4314281302ee9537a2e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild')
| -rw-r--r-- | dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild deleted file mode 100644 index 84652c4d741f..000000000000 --- a/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -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" - -# 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}] - 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/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() { - # 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 -} |
