File: 0001_fix_privacy_breach.patch

package info (click to toggle)
python-telegram-bot 22.4-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 11,796 kB
  • sloc: python: 92,379; makefile: 179; sh: 4
file content (86 lines) | stat: -rw-r--r-- 3,827 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Description: Fix lintian warning privacy-breach-*
 Some URL refer a remote image in documentation. We use a static
 image instead.
Forwarded: not-needed
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Index: python-telegram-bot-22.4/README.rst
===================================================================
--- python-telegram-bot-22.4.orig/README.rst
+++ python-telegram-bot-22.4/README.rst
@@ -1,61 +1,61 @@
-.. image:: https://raw.githubusercontent.com/python-telegram-bot/logos/master/logo-text/png/ptb-logo-text_768.png
+.. image:: staimg/ptb-logo-text_768.png
    :align: center
    :target: https://python-telegram-bot.org
    :alt: python-telegram-bot Logo
 
-.. image:: https://img.shields.io/pypi/v/python-telegram-bot.svg
+.. image:: staimg/pypi_v.svg
    :target: https://pypi.org/project/python-telegram-bot/
    :alt: PyPi Package Version
 
-.. image:: https://img.shields.io/pypi/pyversions/python-telegram-bot.svg
+.. image:: staimg/pypi_pyversion.svg
    :target: https://pypi.org/project/python-telegram-bot/
    :alt: Supported Python versions
 
-.. image:: https://img.shields.io/badge/Bot%20API-9.2-blue?logo=telegram
+.. image:: staimg/api_changelog.svg
    :target: https://core.telegram.org/bots/api-changelog
    :alt: Supported Bot API version
 
-.. image:: https://img.shields.io/pypi/dm/python-telegram-bot
+.. image:: staimg/pypistats.svg
    :target: https://pypistats.org/packages/python-telegram-bot
    :alt: PyPi Package Monthly Download
 
-.. image:: https://app.readthedocs.org/projects/python-telegram-bot/badge/?version=stable
+.. image:: staimg/document_status.svg
    :target: https://docs.python-telegram-bot.org/en/stable/
    :alt: Documentation Status
 
-.. image:: https://img.shields.io/pypi/l/python-telegram-bot.svg
+.. image:: staimg/license-lgplv3.svg
    :target: https://www.gnu.org/licenses/lgpl-3.0.html
    :alt: LGPLv3 License
 
-.. image:: https://github.com/python-telegram-bot/python-telegram-bot/actions/workflows/unit_tests.yml/badge.svg?branch=master
+.. image:: staimg/github_action_workflow_badge.svg
    :target: https://github.com/python-telegram-bot/python-telegram-bot/
    :alt: Github Actions workflow
 
-.. image:: https://codecov.io/gh/python-telegram-bot/python-telegram-bot/branch/master/graph/badge.svg
+.. image:: staimg/code_coverage_badge.svg
    :target: https://app.codecov.io/gh/python-telegram-bot/python-telegram-bot
    :alt: Code coverage
 
-.. image:: https://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
+.. image:: staimg/isitmaintained.svg
    :target: https://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
    :alt: Median time to resolve an issue
 
-.. image:: https://api.codacy.com/project/badge/Grade/99d901eaa09b44b4819aec05c330c968
+.. image:: staimg/codacy.svg
    :target: https://app.codacy.com/gh/python-telegram-bot/python-telegram-bot/dashboard
    :alt: Code quality: Codacy
 
-.. image:: https://results.pre-commit.ci/badge/github/python-telegram-bot/python-telegram-bot/master.svg
+.. image:: staimg/pre-commit-ci.svg
    :target: https://results.pre-commit.ci/latest/github/python-telegram-bot/python-telegram-bot/master
    :alt: pre-commit.ci status
 
-.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+.. image:: staimg/code_style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black
 
-.. image:: https://img.shields.io/badge/Telegram-Channel-blue.svg?logo=telegram
+.. image:: staimg/Telegram-Channel-blue.svg
    :target: https://t.me/pythontelegrambotchannel
    :alt: Telegram Channel
 
-.. image:: https://img.shields.io/badge/Telegram-Group-blue.svg?logo=telegram
+.. image:: staimg/Telegram-Group-blue.svg
    :target: https://telegram.me/pythontelegrambotgroup
    :alt: Telegram Group