From e96267f1d5234f5ea7f1bff46af676f83f57e648 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 19 Dec 2020 09:30:14 +0100 Subject: [PATCH] update python-telegram-bot-13.1 --- CHANGELOG.txt | 3 +- .../python-telegram-bot-13.1.ebuild | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 88b3837e4..7fb89a7b2 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -12,8 +12,9 @@ * update pybotvac-0.0.19 * bump roonapi-0.0.28 * bump pymyq-2.0.12 - * update python-telegram-bot-13.1 * bump envoy-reader-0.17.3 + * fix some metadata.xml + * update python-telegram-bot-13.1 2020-12-14 homeassistant-2020.12.0 * bump openwebifpy-3.2.0 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 new file mode 100644 index 000000000..9f565a806 --- /dev/null +++ b/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="We have made you a wrapper you can't refuse" +HOMEPAGE="https://python-telegram-bot.org/ https://pypi.org/project/python-telegram-bot/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DOCS="README.rst" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pytz-2018.6[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}