pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-pelican Updated www/pelican to 3.7.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b62b0fc174b
branches: trunk
changeset: 357991:6b62b0fc174b
user: nils <nils%pkgsrc.org@localhost>
date: Thu Feb 02 20:30:55 2017 +0000
description:
Updated www/pelican to 3.7.1
Upstream changes :
3.6.3 to 3.7.0 :
Atom feeds output <content> in addition to <summary>
Atom feeds use <published> for the original publication date and
<updated> for modifications
Simplify Atom feed ID generation and support URL fragments
Produce category feeds with category-specific titles
RSS feeds now default to summary instead of full content ?
set RSS_FEED_SUMMARY_ONLY = False to revert to previous behavior
Replace MD_EXTENSIONS with MARKDOWN setting
Replace JINJA_EXTENSIONS with more-robust JINJA_ENVIRONMENT setting
Improve summary truncation logic to handle special characters and tags that
span multiple lines, using HTML parser instead of regular expressions
Include summary when looking for intra-site link substitutions
Link to authors and index via {author}name and {index} syntax
Override widget names via LINKS_WIDGET_NAME and SOCIAL_WIDGET_NAME
Add INDEX_SAVE_AS option to override default index.html value
Remove PAGES context variable for themes in favor of pages
SLUG_SUBSTITUTIONS now accepts 3-tuple elements, allowing URL slugs to
contain non-alphanumeric characters
Tag and category slugs can be controlled with greater precision using the
TAG_SUBSTITUTIONS and CATEGORY_SUBSTITUTIONS settings
Author slugs can be controlled with greater precision using the
AUTHOR_SUBSTITUTIONS setting
DEFAULT_DATE can be defined as a string
Use mtime instead of ctime when DEFAULT_DATE = 'fs'
Add --fatal=errors|warnings option for use with continuous integration
When using generator-level caching, ensure previously-cached files are
processed instead of just new files
Add Python and Pelican version information to debug output
Improve compatibility with Python 3.5
Comply with and enforce PEP8 guidelines
Replace tables in settings documentation with data:: directives
3.7.0 to 3.7.1 :
Fix locale issues in Quickstart script
Specify encoding for README and CHANGELOG in setup.py
Pkgsrc changes :
removed import of pelican in docs generation, which prevented building
the package
diffstat:
www/py-pelican/Makefile | 13 ++++++++++---
www/py-pelican/distinfo | 10 +++++-----
2 files changed, 15 insertions(+), 8 deletions(-)
diffs (50 lines):
diff -r e759e443371f -r 6b62b0fc174b www/py-pelican/Makefile
--- a/www/py-pelican/Makefile Thu Feb 02 19:05:01 2017 +0000
+++ b/www/py-pelican/Makefile Thu Feb 02 20:30:55 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/08/28 15:48:36 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2017/02/02 20:30:55 nils Exp $
-DISTNAME= pelican-3.6.3
+DISTNAME= pelican-3.7.1
GITHUB_PROJECT= pelican
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www textproc
@@ -23,7 +23,7 @@
DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx
-USE_TOOLS+= bash:run make:build
+USE_TOOLS+= bash:run make:build sed:build
REPLACE_PYTHON+= pelican/tools/pelican_import.py
REPLACE_PYTHON+= pelican/tools/pelican_quickstart.py
@@ -36,6 +36,13 @@
REPLACE.bash.new= ${TOOLS_PATH.bash}
REPLACE_FILES.bash= pelican/tools/templates/develop_server.sh.in
+SUBST_CLASSES+= version
+SUBST_STAGE.version= pre-build
+SUBST_MESSAGE.version= Removing useless import of pelican.
+SUBST_FILES.version= docs/conf.py
+SUBST_SED.version= -e 's,from pelican,\#from pelican,g'
+SUBST_SED.version+= -e 's,release = __version__,release = "${PKGVERSION_NOREV}",g'
+
DOCDIR= ${PREFIX}/share/doc/pelican
INSTALLATION_DIRS+= ${PKGMANDIR}/man1/ ${DOCDIR}
MANPAGES= pelican-themes.1 pelican-theming.1 pelican.1
diff -r e759e443371f -r 6b62b0fc174b www/py-pelican/distinfo
--- a/www/py-pelican/distinfo Thu Feb 02 19:05:01 2017 +0000
+++ b/www/py-pelican/distinfo Thu Feb 02 20:30:55 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/27 22:14:57 nils Exp $
+$NetBSD: distinfo,v 1.3 2017/02/02 20:30:55 nils Exp $
-SHA1 (pelican-3.6.3.zip) = b68003068de4c009c3701a864bd7861a32f1b40f
-RMD160 (pelican-3.6.3.zip) = 4673682aa3ade6a0743c904ba13b9946f92ff086
-SHA512 (pelican-3.6.3.zip) = 43e7ab9363d87bac20fa2f64024de58503304f1c3330f1b0c6541131acd54f67269675e69a91168b76744f0d4e3c56832cd72ba152b7df119c209a4b78a588b6
-Size (pelican-3.6.3.zip) = 1081840 bytes
+SHA1 (pelican-3.7.1.zip) = 47064aaba3a82be6b0f5c73aeb59a8ca788521df
+RMD160 (pelican-3.7.1.zip) = c01d3ca05160ca07439e59ec28ff092e36cb546d
+SHA512 (pelican-3.7.1.zip) = 4c121fbe1374a22c73ab9e24593224cea7da1f34ab6fe79078e756be1358fcf8ea7be8a388cbfcb12b812be9c87319222edcde13ab46f38398540f965e1d54db
+Size (pelican-3.7.1.zip) = 1088252 bytes
Home |
Main Index |
Thread Index |
Old Index