From 489fec1a125fdd44214b146daefe2c792bbfa08c Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 23 Feb 2025 23:40:02 +0100 Subject: [PATCH] Remove inline shields.io badges from the documentation Fixes a lintian warning and makes more sense for packaged software. --- debian/patches/badges-privacy.patch | 23 +++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 24 insertions(+) create mode 100644 debian/patches/badges-privacy.patch diff --git a/debian/patches/badges-privacy.patch b/debian/patches/badges-privacy.patch new file mode 100644 index 0000000..4984467 --- /dev/null +++ b/debian/patches/badges-privacy.patch @@ -0,0 +1,23 @@ +Remove inline external images from docs +--- a/doc/readme.md ++++ b/doc/readme.md +@@ -15,19 +15,6 @@ + See the `CONTRIBUTING.md` file for details on how to contribute, or + support me on [ko-fi](https://ko-fi.com/iustin). + +-[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/iustin/pylibacl/ci.yml?branch=main)](https://github.com/iustin/pylibacl/actions/workflows/ci.yml) +-[![Codecov](https://img.shields.io/codecov/c/github/iustin/pylibacl)](https://codecov.io/gh/iustin/pylibacl) +-[![Read the Docs](https://img.shields.io/readthedocs/pylibacl)](http://pylibacl.readthedocs.io/en/latest/?badge=latest) +-[![GitHub issues](https://img.shields.io/github/issues/iustin/pylibacl)](https://github.com/iustin/pylibacl/issues) +-![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/iustin/pylibacl) +-[![GitHub release (latest by date)](https://img.shields.io/github/v/release/iustin/pylibacl)](https://github.com/iustin/pylibacl/releases) +-[![PyPI](https://img.shields.io/pypi/v/pylibacl)](https://pypi.org/project/pylibacl/) +-![Debian package](https://img.shields.io/debian/v/python-pylibacl) +-![Ubuntu package](https://img.shields.io/ubuntu/v/python-pylibacl) +-![GitHub Release Date](https://img.shields.io/github/release-date/iustin/pylibacl) +-![GitHub commits since latest release](https://img.shields.io/github/commits-since/iustin/pylibacl/latest) +-![GitHub last commit](https://img.shields.io/github/last-commit/iustin/pylibacl) +- + ## Requirements + + pylibacl has been written and tested on Linux, kernel v2.4 or newer, diff --git a/debian/patches/series b/debian/patches/series index a446155..b5d5618 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ python-pylibacl_hurd.patch sphinx-1.3.patch +badges-privacy.patch -- 2.39.5