Drop upstreamed patch
Jochen Sprickerhof
2 years ago
0 | From: Jochen Sprickerhof <git@jochen.sprickerhof.de> | |
1 | Date: Thu, 2 Dec 2021 11:15:20 +0100 | |
2 | Subject: Remove newlines from description For new setuptools | |
3 | ||
4 | Basically the same as | |
5 | ||
6 | https://github.com/ros-infrastructure/catkin_pkg/pull/316 | |
7 | ||
8 | Just less code.. | |
9 | --- | |
10 | src/catkin_pkg/python_setup.py | 1 + | |
11 | 1 file changed, 1 insertion(+) | |
12 | ||
13 | diff --git a/src/catkin_pkg/python_setup.py b/src/catkin_pkg/python_setup.py | |
14 | index c18ded8..2fbedd4 100644 | |
15 | --- a/src/catkin_pkg/python_setup.py | |
16 | +++ b/src/catkin_pkg/python_setup.py | |
17 | @@ -103,6 +103,7 @@ def generate_distutils_setup(package_xml_path=os.path.curdir, **kwargs): | |
18 | else: | |
19 | data['description'] = package.description[:197] + '...' | |
20 | data['long_description'] = package.description | |
21 | + data["description"] = data["description"].replace("\n", " ") | |
22 | ||
23 | data['license'] = ', '.join(package.licenses) | |
24 |