commit: fcd403ed19857488ba3454f299bf0b929363e5d1 Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Thu Mar 12 19:38:09 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu Mar 12 19:38:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcd403ed
dev-python/python-telegram-bot: new package Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> dev-python/python-telegram-bot/Manifest | 1 + dev-python/python-telegram-bot/metadata.xml | 8 +++++ .../python-telegram-bot-12.4.2.ebuild | 39 ++++++++++++++++++++++ .../python-telegram-bot-9999.ebuild | 39 ++++++++++++++++++++++ 4 files changed, 87 insertions(+) diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest new file mode 100644 index 0000000..5f57644 --- /dev/null +++ b/dev-python/python-telegram-bot/Manifest @@ -0,0 +1 @@ +DIST v12.4.2.tar.gz 1896003 BLAKE2B 2fbf77046da9c25b82682db040967e326bb92be0709f76ce9ebf98d611822d07c60d68d02e241cfbb4cc233be0e198a866f85557790227e7439d2688c5d01651 SHA512 b5c652433c99205e71dee67d1c9e5d3a9b2df40b2d60c1810135ef8b1b72f2b4b27a506682d0522a1bae58d39ba7cd559e262c222fde7dd324df779a00a76e10 diff --git a/dev-python/python-telegram-bot/metadata.xml b/dev-python/python-telegram-bot/metadata.xml new file mode 100644 index 0000000..01c1fc8 --- /dev/null +++ b/dev-python/python-telegram-bot/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>davidroma...@gmail.com</email> + <name>David Roman</name> + </maintainer> +</pkgmetadata> 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 new file mode 100644 index 0000000..aeefe43 --- /dev/null +++ b/dev-python/python-telegram-bot/python-telegram-bot-12.4.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python wrapper of telegram bots API" +HOMEPAGE="https://python-telegram-bot.org/" + +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" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="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="${RDEPEND}" + +# No tests because require networking access diff --git a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild new file mode 100644 index 0000000..aeefe43 --- /dev/null +++ b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python wrapper of telegram bots API" +HOMEPAGE="https://python-telegram-bot.org/" + +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" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="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="${RDEPEND}" + +# No tests because require networking access