14
0

Accepting request 649074 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/649074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pelican?expand=0&rev=2
This commit is contained in:
2018-11-15 11:41:39 +00:00
committed by Git OBS Bridge
4 changed files with 50 additions and 7 deletions

View File

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

3
pelican-4.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Tue Nov 13 21:24:19 UTC 2018 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 4.0.0:
* Replace develop_server.sh script with pelican --listen
* Improved copy/link behavior for large static files (e.g.,
videos)
* New {static} syntax to link to static content; content linked
to by {static} and {attach} is automatically copied over even
if not in STATIC_PATHS
* Pages can now have draft status
* Show current settings via new --print-settings flag
* All settings for slugs now use {slug} and/or {lang} rather than
%s. If %s-style settings are encountered, Pelican will emit a
warning and fallback to the default setting.
* New signals: feed_generated and page_generated_write_page
* Replace Fabric with Invoke and fabfile.py template with tasks.py
* Replace PAGINATED_DIRECT_TEMPLATES by PAGINATED_TEMPLATES,
extending control over pagination to all templates and making
page size variable
* Replace SLUG_SUBSTITUTIONS (and friends) by
SLUG_REGEX_SUBSTITUTIONS for more finegrained control
* '{base_name}' value in PAGINATION_PATTERNS setting no longer
strips 'bar' from 'foo/bar.html' (unless 'bar' == 'index').
* ARTICLE_ORDER_BY and PAGE_ORDER_BY now also affect 1) category,
tag and author pages 2) feeds 3) draft and hidden articles and
pages
* New ARTICLE_TRANSLATION_ID and PAGE_TRANSLATION_ID settings to
specify metadata attributes used to identify/disable
translations
* Make the HTML reader parse multiple occurrences of metadata
tags as a list
* New Blogger XML backup importer
* Wordpress importer now updates file links to point to local
copies if the files were downloaded with --wp-attach.
* Importer no longer inserts extra newlines, to prevent breaking
of HTML attributes.
* Pelican server now prioritises foo.html and foo/index.html over
foo/ when resolving foo.
- update paths for shebang and executable bit removal:
* pelican/tools/templates/publishconf.py.jinja2
* pelican/tools/templates/pelicanconf.py.jinja2
-------------------------------------------------------------------
Thu Sep 20 16:08:59 CEST 2018 - mcepl@suse.com

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pelican
Version: 3.7.1
Version: 4.0.0
Release: 0
Summary: A tool to generate a static blog from reStructuredText or Markdown input files
License: AGPL-3.0-only
@@ -85,13 +85,13 @@ Pelican currently supports:
# remove useless shebang
sed -i '1d' \
pelican/tools/templates/publishconf.py.in \
pelican/tools/templates/pelicanconf.py.in \
pelican/tools/templates/publishconf.py.jinja2 \
pelican/tools/templates/pelicanconf.py.jinja2 \
pelican/tools/pelican_import.py \
pelican/tools/pelican_themes.py \
pelican/tools/pelican_quickstart.py
# remove executable bit, this is not a script
chmod -x pelican/tools/templates/publishconf.py.in
chmod -x pelican/tools/templates/publishconf.py.jinja2
%build
%python_build