pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-pelican



Module Name:    pkgsrc
Committed By:   nils
Date:           Thu Feb  2 20:30:55 UTC 2017

Modified Files:
        pkgsrc/www/py-pelican: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-pelican/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-pelican/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-pelican/Makefile
diff -u pkgsrc/www/py-pelican/Makefile:1.4 pkgsrc/www/py-pelican/Makefile:1.5
--- pkgsrc/www/py-pelican/Makefile:1.4  Sun Aug 28 15:48:36 2016
+++ pkgsrc/www/py-pelican/Makefile      Thu Feb  2 20:30:55 2017
@@ -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}-Unidecode-[0-9
 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.old=                    /usr/bin/env bash
 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

Index: pkgsrc/www/py-pelican/distinfo
diff -u pkgsrc/www/py-pelican/distinfo:1.2 pkgsrc/www/py-pelican/distinfo:1.3
--- pkgsrc/www/py-pelican/distinfo:1.2  Fri Nov 27 22:14:57 2015
+++ pkgsrc/www/py-pelican/distinfo      Thu Feb  2 20:30:55 2017
@@ -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