File: setup-skip-install-requires-docutils.patch

package info (click to toggle)
python-daemon 2.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 576 kB
  • sloc: python: 4,851; sh: 32; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (3)
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
Description: Skip the ‘install_requires’ for Docutils.
 .
 The Debian build-time dependencies are declared in the Debian
 packaging, so don't add the build-only dependency ‘docutils’ to
 the install dependencies.
Bug: https://github.com/pypa/setuptools/issues/457
Author: Ben Finney <bignose@debian.org>
Last-Update: 2019-01-21

diff --git old/setup.py new/setup.py
--- old/setup.py
+++ new/setup.py
@@ -92,11 +92,6 @@ setup_kwargs = dict(
             ],
         )
 
-# Docutils is only required for building, but Setuptools can't distinguish
-# dependencies properly.
-# See <URL:https://github.com/pypa/setuptools/issues/457>.
-setup_kwargs['install_requires'].append("docutils")
-
 
 if __name__ == '__main__':
     setup(**setup_kwargs)


Local variables:
coding: utf-8
mode: diff
time-stamp-format: "%:y-%02m-%02d"
time-stamp-start: "^Last-Update:[ 	]+"
time-stamp-end: "$"
time-stamp-line-limit: 20
End:
vim: fileencoding=utf-8 filetype=diff :