File: 02-remove-sphinx-configuration-dependency-to-ring-doorbell.patch

package info (click to toggle)
python-ring-doorbell 0.9.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: python: 4,764; makefile: 15
file content (36 lines) | stat: -rw-r--r-- 1,312 bytes parent folder | download | duplicates (2)
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
From: Carles Pina i Estany <carles@pina.cat>
Date: Wed, 20 Nov 2024 18:39:18 +0100
Subject: Remove dependency from sphinx building the docs to the package

Origin: debian
Forwarded: not-needed
Last-Update: 2023-12-25

In upstream, ring-doorbell needs to be installed in order to build the
documentation.
Last-Update: 2023-12-25
---
 docs/source/conf.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 73d3da2..a16ace9 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -4,7 +4,6 @@
 # https://www.sphinx-doc.org/en/master/usage/configuration.html
 from __future__ import annotations
 
-from importlib.metadata import version as _version
 
 # -- Project information -----------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
@@ -12,8 +11,6 @@ from importlib.metadata import version as _version
 project = "python-ring-doorbell"
 copyright = "2023, Marcelo Moreira de Mello"  # noqa: A001
 author = "Marcelo Moreira de Mello"
-release = _version("ring_doorbell")
-version = _version("ring_doorbell")
 
 # -- General configuration ---------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration