Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
8870859d48 | |||
a410b543b7 | |||
4f88200de7 | |||
2ae2bf3040 | |||
34bc37ebde | |||
4101d7335d | |||
e73181a371 | |||
784bf4d18b | |||
5c5e57a12f | |||
ca0456efd8 |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 02:34:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch support-docutils-0.22.patch:
|
||||
* Support docutils 0.22 changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 03:09:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pelican
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,8 +26,6 @@ URL: https://getpelican.com/
|
||||
Source: https://github.com/getpelican/pelican/archive/refs/tags/%{version}.tar.gz#/pelican-%{version}-gh.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#getpelican/pelican#3461
|
||||
Patch0: support-new-bs4.patch
|
||||
# PATCH-FIX-OPENSUSE Support docutils 0.22 changes
|
||||
Patch1: support-docutils-0.22.patch
|
||||
BuildRequires: %{python_module Jinja2 >= 3.1.2}
|
||||
BuildRequires: %{python_module Pygments >= 2.16.1}
|
||||
BuildRequires: %{python_module Unidecode >= 1.3.7}
|
||||
|
@@ -1,15 +0,0 @@
|
||||
Index: pelican-4.11.0/pelican/readers.py
|
||||
===================================================================
|
||||
--- pelican-4.11.0.orig/pelican/readers.py
|
||||
+++ pelican-4.11.0/pelican/readers.py
|
||||
@@ -266,9 +266,9 @@ class RstReader(BaseReader):
|
||||
extra_params.update(user_params)
|
||||
|
||||
pub = docutils.core.Publisher(
|
||||
+ reader="standalone", parser="restructuredtext",
|
||||
writer=self.writer_class(), destination_class=docutils.io.StringOutput
|
||||
)
|
||||
- pub.set_components("standalone", "restructuredtext", "html")
|
||||
pub.process_programmatic_settings(None, extra_params, None)
|
||||
pub.set_source(source_path=source_path)
|
||||
pub.publish()
|
Reference in New Issue
Block a user