* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2020-03-13 17:45 Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
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>davidroman96@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
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
2020-03-13 12:33 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-03-13 17:45 ` Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: 75d91971e7e41563ea08d07fc064fe098e72e338
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 12:33:07 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 12:33:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75d91971
dev-python/python-telegram-bot: enable docs flag
also added the test deps even though the tests fail anyway,
we just use RESTRICT="test" to skip the tests.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/python-telegram-bot/Manifest | 2 +-
.../python-telegram-bot-12.4.2.ebuild | 38 +++++++++++++++++++---
.../python-telegram-bot-9999.ebuild | 38 +++++++++++++++++++---
3 files changed, 67 insertions(+), 11 deletions(-)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 5f57644..0a5c14b 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1 +1 @@
-DIST v12.4.2.tar.gz 1896003 BLAKE2B 2fbf77046da9c25b82682db040967e326bb92be0709f76ce9ebf98d611822d07c60d68d02e241cfbb4cc233be0e198a866f85557790227e7439d2688c5d01651 SHA512 b5c652433c99205e71dee67d1c9e5d3a9b2df40b2d60c1810135ef8b1b72f2b4b27a506682d0522a1bae58d39ba7cd559e262c222fde7dd324df779a00a76e10
+DIST python-telegram-bot-12.4.2.tar.gz 1896003 BLAKE2B 2fbf77046da9c25b82682db040967e326bb92be0709f76ce9ebf98d611822d07c60d68d02e241cfbb4cc233be0e198a866f85557790227e7439d2688c5d01651 SHA512 b5c652433c99205e71dee67d1c9e5d3a9b2df40b2d60c1810135ef8b1b72f2b4b27a506682d0522a1bae58d39ba7cd559e262c222fde7dd324df779a00a76e10
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
index aeefe43..6004623 100644
--- 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
@@ -8,20 +8,23 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://python-telegram-bot.org/"
+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"
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="test"
+
+# No tests because require networking access
+# Commenting out the test deps so we can add py3_8
+RESTRICT="test"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
@@ -34,6 +37,31 @@ RDEPEND="
www-servers/tornado[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+#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}]
+#)"
-# No tests because require networking access
+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
+
+ # this test fails: Unknown pytest.mark.nocoverage
+ # likely this requires pytest-cov but that is deprecated
+ # so we skip the test
+ rm tests/test_meta.py || die
+
+ # this fails to import urllib3 even though
+ # it is installed
+ rm tests/test_official.py || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
index aeefe43..6004623 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
@@ -8,20 +8,23 @@ PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://python-telegram-bot.org/"
+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"
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="test"
+
+# No tests because require networking access
+# Commenting out the test deps so we can add py3_8
+RESTRICT="test"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
@@ -34,6 +37,31 @@ RDEPEND="
www-servers/tornado[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+#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}]
+#)"
-# No tests because require networking access
+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
+
+ # this test fails: Unknown pytest.mark.nocoverage
+ # likely this requires pytest-cov but that is deprecated
+ # so we skip the test
+ rm tests/test_meta.py || die
+
+ # this fails to import urllib3 even though
+ # it is installed
+ rm tests/test_official.py || die
+
+ distutils-r1_python_prepare_all
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2020-03-13 17:45 Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: 056991a706e3c0d4e5e5c28153fb0e7a3fe128b6
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 13 17:42:14 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 17:42:34 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=056991a7
dev-python/python-telegram-bot: fix tests
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
.../python-telegram-bot-12.4.2.ebuild | 39 ++++++++++------------
.../python-telegram-bot-9999.ebuild | 39 ++++++++++------------
2 files changed, 36 insertions(+), 42 deletions(-)
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
index 6004623..497474b 100644
--- 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
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -22,10 +22,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-# No tests because require networking access
-# Commenting out the test deps so we can add py3_8
-RESTRICT="test"
-
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
@@ -37,15 +33,15 @@ RDEPEND="
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}]
-#)"
+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
@@ -54,14 +50,15 @@ python_prepare_all() {
# do not make a test flaky report
sed -i -e '/addopts/d' setup.cfg || die
- # this test fails: Unknown pytest.mark.nocoverage
- # likely this requires pytest-cov but that is deprecated
- # so we skip the test
- rm tests/test_meta.py || 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
- # this fails to import urllib3 even though
- # it is installed
- rm tests/test_official.py || die
+ # 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-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
index 6004623..497474b 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -22,10 +22,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-# No tests because require networking access
-# Commenting out the test deps so we can add py3_8
-RESTRICT="test"
-
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
@@ -37,15 +33,15 @@ RDEPEND="
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}]
-#)"
+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
@@ -54,14 +50,15 @@ python_prepare_all() {
# do not make a test flaky report
sed -i -e '/addopts/d' setup.cfg || die
- # this test fails: Unknown pytest.mark.nocoverage
- # likely this requires pytest-cov but that is deprecated
- # so we skip the test
- rm tests/test_meta.py || 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
- # this fails to import urllib3 even though
- # it is installed
- rm tests/test_official.py || die
+ # 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
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2020-11-08 11:13 Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-11-08 11:13 UTC (permalink / raw
To: gentoo-commits
commit: 3521cb2cf8fd233a3e72b25c8db7311924386950
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 00:24:47 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Nov 7 00:24:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3521cb2c
dev-python/python-telegram-bot: verbump to 13.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/python-telegram-bot/Manifest | 1 +
...ython-telegram-bot-9999.ebuild => python-telegram-bot-13.0.ebuild} | 4 +++-
dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 0a5c14bd..8cd02b57 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild
similarity index 94%
copy from dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
copy to dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild
index da5d9a71..3a480ab2 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-13.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
@@ -34,12 +34,14 @@ RDEPEND="
"
DEPEND="test? (
+ dev-python/APScheduler[${PYTHON_USEDEP}]
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/pytz[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)"
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
index da5d9a71..3a480ab2 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
@@ -34,12 +34,14 @@ RDEPEND="
"
DEPEND="test? (
+ dev-python/APScheduler[${PYTHON_USEDEP}]
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/pytz[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
2020-12-18 18:12 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-12-18 19:05 ` Andrew Ammerlaan
0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2020-12-18 19:05 UTC (permalink / raw
To: gentoo-commits
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}]
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2022-09-17 11:49 Ronny Gutbrod
0 siblings, 0 replies; 13+ messages in thread
From: Ronny Gutbrod @ 2022-09-17 11:49 UTC (permalink / raw
To: gentoo-commits
commit: 59fed255b994b0e3bb71b94b7731b3ef3c232875
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 17 11:32:23 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sat Sep 17 11:32:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59fed255
dev-python/python-telegram-bot: verbump 13.14
Closes: https://bugs.gentoo.org/848342
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/python-telegram-bot/Manifest | 2 +-
...on-telegram-bot-13.1.ebuild => python-telegram-bot-13.14.ebuild} | 2 +-
dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 2afb32a7b..ac443ca28 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1 +1 @@
-DIST python-telegram-bot-13.1.tar.gz 1998020 BLAKE2B 376402c28245b6a6a516c58be0f730b1e8d98b8f829d705355415afc3d702f1b35f29988a2600b13a6f346d524016499fafee51ae8b81042a5e074e34c222961 SHA512 ff51b0490d159de4cbc2a273f1011d63d71b1d83ae1850ca3967d63386f1580e9ce9f641cb8de0b99c629660f6143dfcdef8c6f49fc91a888efd43132b1697c0
+DIST python-telegram-bot-13.14.tar.gz 2282098 BLAKE2B 549c87737585f3b2b4bae9f9430fcf8dbaf4f9048013f623b5ef910534a0c70792e36eedffa707b4ff68d6de53c69d4befe64618fc8944c35c3efe680294c4a9 SHA512 859d9852feaaf147b608c1ef4e5f388c345f7efcd699a828d690b110fb499cb9391a51bafe8e0b533d106dccf038a4c845fa13c0dab12bb7792dffe5d059af27
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild
similarity index 98%
rename from dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild
rename to dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild
index ac5195fe7..d033e8edd 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-13.1.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_8 )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
index 90d56ae91..d033e8edd 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_8 )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -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}]
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2023-04-28 17:52 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2023-04-28 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 6c4aa683de3fd3223bc1eaa7e418e78db1ba20ba
Author: Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Thu Apr 27 17:50:06 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 17:50:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c4aa683
dev-python/python-telegram-bot: Added missing pytz dependency
Closes: https://bugs.gentoo.org/905117
Signed-off-by: Pedro Arizmendi <dwosky <AT> pm.me>
...ython-telegram-bot-20.2.ebuild => python-telegram-bot-20.2-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.2.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild
similarity index 97%
rename from dev-python/python-telegram-bot/python-telegram-bot-20.2.ebuild
rename to dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild
index 73aae7e20..9b383fdb3 100644
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.2.ebuild
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild
@@ -29,6 +29,7 @@ BDEPEND="
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/tornado-6.2[${PYTHON_USEDEP}]
)
"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
2023-10-02 15:45 [gentoo-commits] repo/proj/guru:dev " David Roman
@ 2023-10-02 15:47 ` David Roman
0 siblings, 0 replies; 13+ messages in thread
From: David Roman @ 2023-10-02 15:47 UTC (permalink / raw
To: gentoo-commits
commit: f864945f1fbfa3da4182e66d15da9cc64ad9de6b
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Oct 2 15:45:30 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct 2 15:45:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f864945f
dev-python/python-telegram-bot: drop 13.14, 20.2-r1
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/python-telegram-bot/Manifest | 2 -
.../python-telegram-bot-13.14.ebuild | 68 ----------------------
.../python-telegram-bot-20.2-r1.ebuild | 57 ------------------
3 files changed, 127 deletions(-)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 1bdffae65b..4b5bd4db2f 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1,4 +1,2 @@
-DIST python-telegram-bot-13.14.tar.gz 2282098 BLAKE2B 549c87737585f3b2b4bae9f9430fcf8dbaf4f9048013f623b5ef910534a0c70792e36eedffa707b4ff68d6de53c69d4befe64618fc8944c35c3efe680294c4a9 SHA512 859d9852feaaf147b608c1ef4e5f388c345f7efcd699a828d690b110fb499cb9391a51bafe8e0b533d106dccf038a4c845fa13c0dab12bb7792dffe5d059af27
-DIST python-telegram-bot-20.2.tar.gz 1940084 BLAKE2B a575f7ea616e29c32f3773adc66153ddbe4563420697d5eb2dcb1ad7df72d5ea348b0900552d65a91fdfe9c4d65c4fc1d43e9e5e7bb18d5943ae0d329878a6a0 SHA512 1d25a7c0c8b97c3292af364f1c9f94289de340d19587f2d43817f36bd89c3862fe6c1cf58b68dcdfa5aca6a94acb8da99bb49a9f4ad76e3a61b3b59810dae6e5
DIST python-telegram-bot-20.3.tar.gz 1957466 BLAKE2B 47e68846bb6c092648aa2bcd53289f7ac78d7335a8f84fd6a1c6440ee8b38c150f2e2df56f537e0de9e01af3c98a49fd0a8d8771c15ebd9be1658b0ee17a355b SHA512 6594eb991a14acdd247505b904ca2bd5022ef8abe4b45b57218508fa53de765a6a9e05c78997723a8385b45a0950e87dc102264ed3338eed9d569d1eb596e1f9
DIST python-telegram-bot-20.5.tar.gz 1950471 BLAKE2B b25440dd78d3a72242d371ec661027d2fea7c174a20a1c7482f0d1cab07aa6e5ffa886bb944c217e177732aabec676e5ea6003431a5e893a7171bb36642e3c53 SHA512 65f8d3de73bffcf56dd986091c34fa8f9cb60b4b8bbfc2b1c5c7392cf3a6314192a97013a2299a4d02977fd4f6ae73c487acc7a839b700d7304b02c0f5680671
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-13.14.ebuild
deleted file mode 100644
index 916c66994b..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-13.14.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_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}]
- dev-python/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
-}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild
deleted file mode 100644
index 9b383fdb32..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.2-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.23.3[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-no-internet-tests.patch"
-)
-
-S="${WORKDIR}/${PN}-${PV}"
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-}
-
-pkg_postinst() {
- optfeature_header "Optional package dependencies:"
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
2023-10-02 15:47 [gentoo-commits] repo/proj/guru:dev " David Roman
@ 2023-10-02 15:47 ` David Roman
0 siblings, 0 replies; 13+ messages in thread
From: David Roman @ 2023-10-02 15:47 UTC (permalink / raw
To: gentoo-commits
commit: b691e5f39b39846e97bbd6764bdc7755ed32e957
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Oct 2 15:47:09 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct 2 15:47:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b691e5f3
dev-python/python-telegram-bot: drop myself as a maintainer
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/python-telegram-bot/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-python/python-telegram-bot/metadata.xml b/dev-python/python-telegram-bot/metadata.xml
index 36948791ad..77bab97848 100644
--- a/dev-python/python-telegram-bot/metadata.xml
+++ b/dev-python/python-telegram-bot/metadata.xml
@@ -1,10 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>davidroman96@gmail.com</email>
- <name>David Roman</name>
- </maintainer>
<maintainer type="person">
<email>dwosky@pm.me</email>
<name>Pedro Arizmendi</name>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2024-04-28 21:05 David Roman
0 siblings, 0 replies; 13+ messages in thread
From: David Roman @ 2024-04-28 21:05 UTC (permalink / raw
To: gentoo-commits
commit: 01d605620de70144dbef5633e68cc9dbbbcfa74b
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 20:04:24 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Apr 28 20:04:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01d60562
dev-python/python-telegram-bot: remove setuptools from RDEPEND
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
.../python-telegram-bot-20.3-r1.ebuild | 155 +++++++++++++++++++++
.../python-telegram-bot-20.5-r1.ebuild | 150 ++++++++++++++++++++
.../python-telegram-bot-20.6-r1.ebuild | 150 ++++++++++++++++++++
3 files changed, 455 insertions(+)
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
new file mode 100644
index 0000000000..de642c415e
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_thumb_deprecation_warning
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_thumb_deprecation_warning
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_thumb_deprecation_warning
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_thumb_deprecation_warning
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_thumb_deprecation_warning
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
new file mode 100644
index 0000000000..4d8ca2dbd4
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild
new file mode 100644
index 0000000000..19a6140564
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-20.6-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.1[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2024-04-28 21:05 David Roman
0 siblings, 0 replies; 13+ messages in thread
From: David Roman @ 2024-04-28 21:05 UTC (permalink / raw
To: gentoo-commits
commit: b20450c4cc2c7469e75d06f96204e013f17b59f1
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Apr 28 20:15:48 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Apr 28 20:15:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b20450c4
dev-python/python-telegram-bot: drop 20.3, 20.5, 20.6
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
.../python-telegram-bot-20.3.ebuild | 156 ---------------------
.../python-telegram-bot-20.5.ebuild | 151 --------------------
.../python-telegram-bot-20.6.ebuild | 151 --------------------
3 files changed, 458 deletions(-)
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.3.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.3.ebuild
deleted file mode 100644
index c4ee5057ec..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.3.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- )
-"
-
-# These tests require an internet connection
-EPYTEST_DESELECT=(
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_thumb_deprecation_warning
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_thumb_deprecation_warning
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_thumb_deprecation_warning
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
- tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
- tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
- tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
- tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
- tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
- tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
- tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
- tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
- tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
- tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_thumb_deprecation_warning
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
- tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
- tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_thumb_deprecation_warning
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
- tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
- tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
- tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
- tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
- tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
- tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
- tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
- tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
- tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
- tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
- tests/test_bot.py::TestBotWithoutRequest::test_copy_message
- tests/test_bot.py::TestBotWithoutRequest::test_equality
- tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
- tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
- tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
- tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
- tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
- tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
-)
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-pkg_postinst() {
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.5.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5.ebuild
deleted file mode 100644
index 06ea0f13d6..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.5.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- )
-"
-
-# These tests require an internet connection
-EPYTEST_DESELECT=(
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
- tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
- tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
- tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
- tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
- tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
- tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
- tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
- tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
- tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
- tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
- tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
- tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
- tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
- tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
- tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
- tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
- tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
- tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
- tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
- tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
- tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
- tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
- tests/test_bot.py::TestBotWithoutRequest::test_copy_message
- tests/test_bot.py::TestBotWithoutRequest::test_equality
- tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
- tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
- tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
- tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
- tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
- tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
-)
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-pkg_postinst() {
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.6.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.6.ebuild
deleted file mode 100644
index 47eb8cc6d2..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.6.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/cachetools-5.3.1[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.3.3[${PYTHON_USEDEP}]
- )
-"
-
-# These tests require an internet connection
-EPYTEST_DESELECT=(
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
- tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
- tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
- tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
- tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
- tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
- tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
- tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
- tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
- tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
- tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
- tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
- tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
- tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
- tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
- tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
- tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
- tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
- tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
- tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
- tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
- tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
- tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
- tests/test_bot.py::TestBotWithoutRequest::test_copy_message
- tests/test_bot.py::TestBotWithoutRequest::test_equality
- tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
- tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
- tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
- tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
- tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
- tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
-)
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-pkg_postinst() {
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2024-05-12 9:38 Viorel Munteanu
0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2024-05-12 9:38 UTC (permalink / raw
To: gentoo-commits
commit: 8d5377032ea62c7584c888362f029b2d8a8ee480
Author: Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Fri May 10 17:23:42 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May 10 17:25:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d537703
dev-python/python-telegram-bot: add 21.1.1
Closes: https://bugs.gentoo.org/931422
Signed-off-by: Pedro Arizmendi <dwosky <AT> pm.me>
dev-python/python-telegram-bot/Manifest | 1 +
.../python-telegram-bot-21.1.1.ebuild | 161 +++++++++++++++++++++
2 files changed, 162 insertions(+)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 067f127372..9ec49650cf 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1,3 +1,4 @@
DIST python-telegram-bot-20.3.tar.gz 1957466 BLAKE2B 47e68846bb6c092648aa2bcd53289f7ac78d7335a8f84fd6a1c6440ee8b38c150f2e2df56f537e0de9e01af3c98a49fd0a8d8771c15ebd9be1658b0ee17a355b SHA512 6594eb991a14acdd247505b904ca2bd5022ef8abe4b45b57218508fa53de765a6a9e05c78997723a8385b45a0950e87dc102264ed3338eed9d569d1eb596e1f9
DIST python-telegram-bot-20.5.tar.gz 1950471 BLAKE2B b25440dd78d3a72242d371ec661027d2fea7c174a20a1c7482f0d1cab07aa6e5ffa886bb944c217e177732aabec676e5ea6003431a5e893a7171bb36642e3c53 SHA512 65f8d3de73bffcf56dd986091c34fa8f9cb60b4b8bbfc2b1c5c7392cf3a6314192a97013a2299a4d02977fd4f6ae73c487acc7a839b700d7304b02c0f5680671
DIST python-telegram-bot-20.6.tar.gz 1958397 BLAKE2B f5f11a604ff1eb199b2b81571b86b69541faa1d98a5d12ac4f3a9f8c6789f722e924232244f211721986beba1380bc877f33251564a46086e4e33d8952e701e1 SHA512 87e42af8663d11f2e33783d40a28a1767f4f5e14203e53463a8f76be0f9a8f0601b3e34b297d1d1ed2f2111b48cbf22a22d28a4d7396b67defb1f0081b10bc38
+DIST python-telegram-bot-21.1.1.tar.gz 2059431 BLAKE2B c41a7a8eeef2e8f2f7f1865789ed38a96e225dd89ad8c5ded5db75fbcffb8bde71bac8782d7541b2d8caa29e69ce092cc6a3a8c359133b1b359bdbb32a502025 SHA512 10143ea0abdbb86e1f2d47d4383fc0cd5e066fb6c93c906974f73f4fecf29b3e8ae963597dbe79ba85e817180977a246fed485e1461f809bc57013bf31a375df
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild
new file mode 100644
index 0000000000..e5ba75ed0a
--- /dev/null
+++ b/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild
@@ -0,0 +1,161 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python wrapper of telegram bots API"
+HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
+SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/cachetools-5.3.3[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
+ >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/flaky[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/tornado-6.4[${PYTHON_USEDEP}]
+ )
+"
+
+# These tests require an internet connection
+EPYTEST_DESELECT=(
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_default_quote_parse_mode
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
+ tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_default_quote_parse_mode
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
+ tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_default_quote_parse_mode
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
+ tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
+ tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
+ tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
+ tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
+ tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
+ tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_default_quote_parse_mode
+ tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_photo_default_quote_parse_mode
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
+ tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
+ tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_sticker_default_quote_parse_mode
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
+ tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_default_quote_parse_mode
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
+ tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_default_quote_parse_mode
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
+ tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_voice_default_quote_parse_mode
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
+ tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
+ tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
+ tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
+ tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
+ tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
+ tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
+ tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
+ tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
+ tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
+ tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
+ tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
+ tests/test_bot.py::TestBotWithoutRequest::test_bot_method_logging
+ tests/test_bot.py::TestBotWithoutRequest::test_copy_message
+ tests/test_bot.py::TestBotWithoutRequest::test_equality
+ tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
+ tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
+ tests/test_bot.py::TestBotWithoutRequest::test_send_message_default_quote_parse_mode
+ tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
+ tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
+)
+
+distutils_enable_tests pytest
+
+# Run only the tests that don't require a connection
+python_test() {
+ epytest -m no_req
+}
+
+pkg_postinst() {
+ optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/
@ 2024-05-12 9:38 Viorel Munteanu
0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2024-05-12 9:38 UTC (permalink / raw
To: gentoo-commits
commit: 54978c4c7db3d0e87ed532b61b287e0d20c44a5b
Author: Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Fri May 10 17:32:39 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri May 10 17:32:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54978c4c
dev-python/python-telegram-bot: drop 20.3-r1, 20.5-r1
Signed-off-by: Pedro Arizmendi <dwosky <AT> pm.me>
dev-python/python-telegram-bot/Manifest | 2 -
.../python-telegram-bot-20.3-r1.ebuild | 155 ---------------------
.../python-telegram-bot-20.5-r1.ebuild | 150 --------------------
3 files changed, 307 deletions(-)
diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest
index 9ec49650cf..f85dd9d0ea 100644
--- a/dev-python/python-telegram-bot/Manifest
+++ b/dev-python/python-telegram-bot/Manifest
@@ -1,4 +1,2 @@
-DIST python-telegram-bot-20.3.tar.gz 1957466 BLAKE2B 47e68846bb6c092648aa2bcd53289f7ac78d7335a8f84fd6a1c6440ee8b38c150f2e2df56f537e0de9e01af3c98a49fd0a8d8771c15ebd9be1658b0ee17a355b SHA512 6594eb991a14acdd247505b904ca2bd5022ef8abe4b45b57218508fa53de765a6a9e05c78997723a8385b45a0950e87dc102264ed3338eed9d569d1eb596e1f9
-DIST python-telegram-bot-20.5.tar.gz 1950471 BLAKE2B b25440dd78d3a72242d371ec661027d2fea7c174a20a1c7482f0d1cab07aa6e5ffa886bb944c217e177732aabec676e5ea6003431a5e893a7171bb36642e3c53 SHA512 65f8d3de73bffcf56dd986091c34fa8f9cb60b4b8bbfc2b1c5c7392cf3a6314192a97013a2299a4d02977fd4f6ae73c487acc7a839b700d7304b02c0f5680671
DIST python-telegram-bot-20.6.tar.gz 1958397 BLAKE2B f5f11a604ff1eb199b2b81571b86b69541faa1d98a5d12ac4f3a9f8c6789f722e924232244f211721986beba1380bc877f33251564a46086e4e33d8952e701e1 SHA512 87e42af8663d11f2e33783d40a28a1767f4f5e14203e53463a8f76be0f9a8f0601b3e34b297d1d1ed2f2111b48cbf22a22d28a4d7396b67defb1f0081b10bc38
DIST python-telegram-bot-21.1.1.tar.gz 2059431 BLAKE2B c41a7a8eeef2e8f2f7f1865789ed38a96e225dd89ad8c5ded5db75fbcffb8bde71bac8782d7541b2d8caa29e69ce092cc6a3a8c359133b1b359bdbb32a502025 SHA512 10143ea0abdbb86e1f2d47d4383fc0cd5e066fb6c93c906974f73f4fecf29b3e8ae963597dbe79ba85e817180977a246fed485e1461f809bc57013bf31a375df
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
deleted file mode 100644
index de642c415e..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- )
-"
-
-# These tests require an internet connection
-EPYTEST_DESELECT=(
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_thumb_deprecation_warning
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_thumb_deprecation_warning
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_thumb_deprecation_warning
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
- tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
- tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
- tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
- tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
- tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
- tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
- tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
- tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
- tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
- tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_thumb_deprecation_warning
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
- tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
- tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_thumb_deprecation_warning
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
- tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
- tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
- tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
- tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
- tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
- tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
- tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
- tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
- tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
- tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
- tests/test_bot.py::TestBotWithoutRequest::test_copy_message
- tests/test_bot.py::TestBotWithoutRequest::test_equality
- tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
- tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
- tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
- tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
- tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
- tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
-)
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-pkg_postinst() {
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
deleted file mode 100644
index 4d8ca2dbd4..0000000000
--- a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 optfeature
-
-DESCRIPTION="Python wrapper of telegram bots API"
-HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot"
-SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}]
- >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/beautifulsoup4[${PYTHON_USEDEP}]
- dev-python/flaky[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.2[${PYTHON_USEDEP}]
- )
-"
-
-# These tests require an internet connection
-EPYTEST_DESELECT=(
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour
- tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour
- tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour
- tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict
- tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation
- tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio
- tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document
- tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo
- tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video
- tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour
- tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method
- tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour
- tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict
- tests/_files/test_video.py::TestVideoWithoutRequest::test_creation
- tests/_files/test_video.py::TestVideoWithoutRequest::test_equality
- tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values
- tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method
- tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video
- tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour
- tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour
- tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour
- tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response
- tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles
- tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated
- tests/request/test_request.py::TestRequestWithoutRequest::test_error_description
- tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request
- tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response
- tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char
- tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve
- tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after
- tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors
- tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation
- tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params
- tests/test_bot.py::TestBotWithoutRequest::test_copy_message
- tests/test_bot.py::TestBotWithoutRequest::test_equality
- tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties
- tests/test_bot.py::TestBotWithoutRequest::test_log_decorator
- tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json
- tests/test_forum.py::TestForumTopicWithoutRequest::test_equality
- tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values
- tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour
- tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict
-)
-
-distutils_enable_tests pytest
-
-# Run only the tests that don't require a connection
-python_test() {
- epytest -m no_req
-}
-
-pkg_postinst() {
- optfeature "using telegram.ext.JobQueue" dev-python/APScheduler
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2024-05-12 9:38 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-28 17:52 [gentoo-commits] repo/proj/guru:master commit in: dev-python/python-telegram-bot/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-05-12 9:38 Viorel Munteanu
2024-05-12 9:38 Viorel Munteanu
2024-04-28 21:05 David Roman
2024-04-28 21:05 David Roman
2023-10-02 15:47 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-10-02 15:47 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-10-02 15:45 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-10-02 15:47 ` [gentoo-commits] repo/proj/guru:master " David Roman
2022-09-17 11:49 Ronny Gutbrod
2020-12-18 18:12 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-18 19:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-08 11:13 Andrew Ammerlaan
2020-03-13 17:45 Andrew Ammerlaan
2020-03-13 17:45 Andrew Ammerlaan
2020-03-13 12:33 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-13 17:45 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox