dev-python/python-telegram-bot: drop ebuild

This commit is contained in:
chn authored and 梁永祥 committed 2022-09-28 10:47:12 +08:00
1 parent 3286218536
commit f2a92801bd
3 files changed
-59

No files matched your search

-1
View File
@@ -1 +0,0 @@
DIST python-telegram-bot-13.12.tar.gz 2274868 BLAKE2B 9fd2c2ac81846742bf38ed74874f94b2e7921f321b5fe5c3e80196dc548d50b69f994ba13fa0786eb6052646f191fd7fb8a3e80720a22d904dc992ee8125f9a0 SHA512 eeb66f6bd5f74e69b082966a72a3ed974df81fe79bef19e72301a09548943da534b974922067624bcb7898d03b9edd13f0ba5e831f1a763e9a340d735a63ce10
@@ -1,12 +0,0 @@
<?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>
<maintainer type="person">
<email>chn@chn.moe</email>
<name>Haonan Chen</name>
</maintainer>
</pkgmetadata>
@@ -1,46 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python wrapper of telegram bots API"
HOMEPAGE="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"
RESTRICT="test mirror"
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}]
"
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
distutils-r1_python_prepare_all
}