summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartik Mohta2022-06-26 12:34:17 +0530
committerKartik Mohta2022-06-26 12:34:17 +0530
commit0f3c4dd51f87c8a992dfc83cf038d65732adc7dd (patch)
treeab234ea444d36ec1212bfc981105c18a95382b1e
parent454c9287e0cb6f8d44f98ef2036dfd23d0a81cd6 (diff)
downloadaur-0f3c4dd51f87c8a992dfc83cf038d65732adc7dd.tar.gz
Remove unused patch
-rw-r--r--setuptools-replace-newlines-in-description.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/setuptools-replace-newlines-in-description.patch b/setuptools-replace-newlines-in-description.patch
deleted file mode 100644
index 9482d84150fc..000000000000
--- a/setuptools-replace-newlines-in-description.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- catkin_pkg-0.4.24/src/catkin_pkg/python_setup.py
-+++ catkin_pkg-0.4.24/src/catkin_pkg/python_setup.py
-@@ -58,7 +58,10 @@
-
- The "description" is taken from the eponymous tag if it does not
- exceed 200 characters. If it does "description" contains the
-- truncated text while "description_long" contains the complete.
-+ truncated text while "long_description" contains the complete.
-+
-+ The description shouldn't contain newlines, remove them automatically
-+ here and leave them in long_description.
-
- All licenses are merged into the "license" field.
-
-@@ -98,10 +101,13 @@
- elif package.urls:
- data['url'] = package.urls[0].url
-
-- if len(package.description) <= 200:
-- data['description'] = package.description
-+ description = package.description.replace('\n', ' ')
-+ if len(description) <= 200:
-+ data['description'] = description
- else:
-- data['description'] = package.description[:197] + '...'
-+ data['description'] = description[:197] + '...'
-+
-+ if data['description'] != package.description:
- data['long_description'] = package.description
-
- data['license'] = ', '.join(package.licenses)