14
0

Accepting request 860413 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/860413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=12
This commit is contained in:
2021-01-05 17:12:40 +00:00
committed by Git OBS Bridge
4 changed files with 52 additions and 12 deletions

3
4.5.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd8a09b17ee6a0619d5194b15694b8d0181aca434ddfc1af4ba364d55a3016d5
size 1398223

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:377e423058ce9951d340be9c061f9ba43e99ea8086bac1214c1cf5ab66896d10
size 1132104

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Jan 4 19:26:43 UTC 2021 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 4.5.4:
* Replace plugin definitions in settings with string
representations after registering, so they can be cached
correctly (#2828).
-------------------------------------------------------------------
Tue Dec 1 21:24:21 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 4.5.3:
* Fix a mistake made in PR #2821
-------------------------------------------------------------------
Sun Nov 22 18:54:18 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 4.5.2:
* Improve logging of generators and writer loaders
- drop removal of macos hidden temporary files: fixed upstream
- get the source from github instead of pypi for the tests
- add the build requirements for the tests:
* python-Markdown
* python-beautifulsoup4
* python-lxml
* python-pytest-xdist
* python-pytest
* python-typogrify
* git-core
- run the tests
-------------------------------------------------------------------
Mon Nov 2 17:39:30 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pelican
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,23 +19,31 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pelican
Version: 4.5.1
Version: 4.5.4
Release: 0
Summary: A tool to generate a static blog from reStructuredText or Markdown input files
License: AGPL-3.0-only
Group: Development/Languages/Python
URL: http://getpelican.com/
Source: https://files.pythonhosted.org/packages/source/p/pelican/pelican-%{version}.tar.gz
URL: https://getpelican.com/
# Use the source instead of the pypi release for the tests
Source: https://github.com/getpelican/pelican/archive/%{version}.tar.gz
BuildRequires: %{python_module Jinja2 >= 2.11}
BuildRequires: %{python_module Markdown >= 3.1.1}
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module Unidecode}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module blinker}
BuildRequires: %{python_module docutils >= 0.15}
BuildRequires: %{python_module feedgenerator >= 1.9}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz >= 0a}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typogrify}
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: python-Jinja2 >= 2.11
Requires: python-Pygments
@@ -50,9 +58,7 @@ Requires(postun): update-alternatives
Suggests: asciidoc
Suggests: python-Markdown >= 3.1.1
Suggests: python-typogrify
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -100,16 +106,19 @@ for p in pelican pelican-import pelican-plugins pelican-quickstart pelican-theme
%python_clone -a %{buildroot}%{_bindir}/$p
done
%check
export LC_ALL=C.utf8
%pytest
%post
%python_install_alternative pelican pelican-import pelican-plugins pelican-quickstart pelican-themes
%postun
%python_uninstall_alternative pelican
%files %python_files
%defattr(-,root,root,-)
%files %{python_files}
%license LICENSE
%doc README.rst
%doc CONTRIBUTING.rst README.rst THANKS docs/*
%python_alternative %{_bindir}/pelican
%python_alternative %{_bindir}/pelican-import
%python_alternative %{_bindir}/pelican-plugins