forked from pool/python-pelican
Accepting request 850002 from home:benoit_monin:branches:devel:languages:python
- update to version 4.5.2 - 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 - run the tests OBS-URL: https://build.opensuse.org/request/show/850002 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pelican?expand=0&rev=28
This commit is contained in:
3
4.5.2.tar.gz
Normal file
3
4.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:45f9ccb1d9e496981d6723c5bf32f051d3a35248fb29bc435f505b60f2e702d1
|
||||
size 1397824
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:377e423058ce9951d340be9c061f9ba43e99ea8086bac1214c1cf5ab66896d10
|
||||
size 1132104
|
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -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.2
|
||||
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: https://getpelican.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pelican/pelican-%{version}.tar.gz
|
||||
# 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
|
||||
@@ -86,8 +94,6 @@ sed -i '1d' \
|
||||
pelican/tools/pelican_quickstart.py
|
||||
# remove executable bit, this is not a script
|
||||
chmod -x pelican/tools/templates/publishconf.py.jinja2
|
||||
# remove macos hidden temporary files
|
||||
find . .DS_Store -print -delete
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -100,6 +106,10 @@ 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
|
||||
|
||||
|
Reference in New Issue
Block a user