10 Commits

Author SHA256 Message Date
8870859d48 Accepting request 1294921 from devel:languages:python
- Do not install testsuite.
- Add patch support-new-bs4.patch:
  * Support new bs4 changes.

OBS-URL: https://build.opensuse.org/request/show/1294921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=28
2025-07-22 10:20:43 +00:00
a410b543b7 - Do not install testsuite.
- Add patch support-new-bs4.patch:
  * Support new bs4 changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=60
2025-07-22 03:10:12 +00:00
4f88200de7 Accepting request 1238504 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1238504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=27
2025-01-17 17:43:45 +00:00
2ae2bf3040 Accepting request 1238334 from home:benoit_monin:branches:devel:languages:python
- update to version 4.11.0
- increase the minimum version of typogrify to 2.1.0

OBS-URL: https://build.opensuse.org/request/show/1238334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=58
2025-01-17 13:23:07 +00:00
34bc37ebde Accepting request 1227204 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=26
2024-11-30 12:27:44 +00:00
4101d7335d Accepting request 1227184 from home:benoit_monin:branches:devel:languages:python
update to version 4.10.2

OBS-URL: https://build.opensuse.org/request/show/1227184
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=56
2024-11-28 22:49:25 +00:00
e73181a371 Accepting request 1204601 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1204601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=25
2024-09-30 13:40:46 +00:00
784bf4d18b Accepting request 1204405 from home:benoit_monin:branches:devel:languages:python
- update to version 4.10.1
- add build dependency python-pdm-backend

OBS-URL: https://build.opensuse.org/request/show/1204405
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=54
2024-09-29 23:30:02 +00:00
5c5e57a12f Accepting request 1201615 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=24
2024-09-17 16:19:37 +00:00
ca0456efd8 Accepting request 1201471 from home:benoit_monin:branches:devel:languages:python
update to version 4.10.0

OBS-URL: https://build.opensuse.org/request/show/1201471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=52
2024-09-17 12:42:36 +00:00
3 changed files with 1 additions and 24 deletions

View File

@@ -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>

View File

@@ -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}

View File

@@ -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()