summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authornils <nils@pkgsrc.org>2020-04-19 20:17:55 +0000
committernils <nils@pkgsrc.org>2020-04-19 20:17:55 +0000
commitbe6b232d0a2f18ab005ebf2a06e328176b8a8fca (patch)
treea8419c1ab6cc067be290bc450142319828cb5294 /www
parentfac7dd6ceed74507c02b8667a73ce76906fc2f4c (diff)
downloadpkgsrc-be6b232d0a2f18ab005ebf2a06e328176b8a8fca.tar.gz
Updated www/py-pelican to 4.2.0.
Upstream changes: 3.7.1 to 4.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 * New signals: feed_generated and page_generated_write_page * Replace Fabric with Invoke and fabfile.py template with tasks.py * New ARTICLE_TRANSLATION_ID and PAGE_TRANSLATION_ID settings to * specify metadata attributes used to identify/disable translations * HTML reader now parses 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. * Many bug fixes, tweaks, and other enhancements 4.0 to 4.0.1: * Refactor pelican.server logging * Fix bug in which all static files were processed as "draft" * Bug fixes for Invoke/Makefile automation, Importer, and other miscellanea 4.0.1 to 4.1: * Live browser reload upon changed files (provided via Invoke task) * Add pyproject.toml, managed by Poetry * Support for invoking python -m pelican * Add relative source path attribute to content * Allow directories in EXTRA_PATH_METADATA * Add all_articles variable to period pages (for recent posts functionality) * Improve debug mode output * Remove blank or duplicate summaries from Atom feed * Fix bugs in pagination, pelican-import, pelican-quickstart, and feed importer 4.1 to 4.1.1: * Add AutoPub to auto-publish releases on PR merge * Add CSS classes for reStructuredText figures * Pass argv to Pelican main entrypoint * Set default content status to a blank string rather than None 4.1.1 to 4.1.2: * Fix pelican.settings.load_source to avoid caching issues 4.1.2 to 4.1.3: * Fix quick-start docs regarding pelican --listen * Set default listen address to 127.0.0.1 * Add extra/optional Markdown dependency to setup.py * Use correct SSH port syntax for rsync in tasks.py * Place all deprecated settings handling together * Add related project URLs for display on PyPI * Skip some tests on Windows that can't pass due to filesystem differences 4.1.3 to 4.2.0: * Support inline SVGs; don't treat titles in SVGs as HTML titles * Add category to feeds (in addition to tags) * Improve content metadata field docs * Add docs for including other Markdown/reST files in content Pkgsrc changes: * updated the way software version is brought to the documentation (upstream imports it from the software, but this prevents from building the package)
Diffstat (limited to 'www')
-rw-r--r--www/py-pelican/Makefile9
-rw-r--r--www/py-pelican/PLIST89
-rw-r--r--www/py-pelican/distinfo10
3 files changed, 58 insertions, 50 deletions
diff --git a/www/py-pelican/Makefile b/www/py-pelican/Makefile
index 675450bd20d..05be6f1b6e7 100644
--- a/www/py-pelican/Makefile
+++ b/www/py-pelican/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/10/21 22:11:34 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/04/19 20:17:55 nils Exp $
-DISTNAME= pelican-3.7.1
-PKGREVISION= 1
+DISTNAME= pelican-4.2.0
GITHUB_PROJECT= pelican
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www textproc
@@ -33,6 +32,7 @@ REPLACE_PYTHON+= pelican/tools/pelican_quickstart.py
REPLACE_PYTHON+= pelican/tools/pelican_themes.py
REPLACE_PYTHON+= pelican/tools/templates/pelicanconf.py.in
REPLACE_PYTHON+= pelican/tools/templates/publishconf.py.in
+REPLACE_PYTHON+= pelican/tools/templates/publishconf.py.jinja2
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= /usr/bin/env bash
@@ -43,8 +43,7 @@ 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'
+SUBST_SED.version= -e 's,from pelican import __version__,__version__ = "${PKGVERSION_NOREV}",g'
DOCDIR= ${PREFIX}/share/doc/pelican
INSTALLATION_DIRS+= ${PKGMANDIR}/man1/ ${DOCDIR}
diff --git a/www/py-pelican/PLIST b/www/py-pelican/PLIST
index 84979997540..729e409e1cf 100644
--- a/www/py-pelican/PLIST
+++ b/www/py-pelican/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/11/27 16:56:25 nils Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/04/19 20:17:55 nils Exp $
bin/pelican
bin/pelican-import
bin/pelican-quickstart
@@ -10,43 +10,59 @@ ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pelican/__init__.py
-${PYSITELIB}/pelican/__init__.pyc
+${PYSITELIB}/pelican/__main__.py
${PYSITELIB}/pelican/__init__.pyo
-${PYSITELIB}/pelican/cache.py
-${PYSITELIB}/pelican/cache.pyc
+${PYSITELIB}/pelican/__init__.pyc
+${PYSITELIB}/pelican/__main__.pyo
+${PYSITELIB}/pelican/__main__.pyc
${PYSITELIB}/pelican/cache.pyo
-${PYSITELIB}/pelican/contents.py
-${PYSITELIB}/pelican/contents.pyc
+${PYSITELIB}/pelican/cache.pyc
${PYSITELIB}/pelican/contents.pyo
-${PYSITELIB}/pelican/generators.py
-${PYSITELIB}/pelican/generators.pyc
+${PYSITELIB}/pelican/contents.pyc
${PYSITELIB}/pelican/generators.pyo
-${PYSITELIB}/pelican/log.py
-${PYSITELIB}/pelican/log.pyc
+${PYSITELIB}/pelican/generators.pyc
${PYSITELIB}/pelican/log.pyo
-${PYSITELIB}/pelican/paginator.py
-${PYSITELIB}/pelican/paginator.pyc
+${PYSITELIB}/pelican/log.pyc
${PYSITELIB}/pelican/paginator.pyo
-${PYSITELIB}/pelican/readers.py
-${PYSITELIB}/pelican/readers.pyc
+${PYSITELIB}/pelican/paginator.pyc
${PYSITELIB}/pelican/readers.pyo
-${PYSITELIB}/pelican/rstdirectives.py
-${PYSITELIB}/pelican/rstdirectives.pyc
+${PYSITELIB}/pelican/readers.pyc
${PYSITELIB}/pelican/rstdirectives.pyo
-${PYSITELIB}/pelican/server.py
-${PYSITELIB}/pelican/server.pyc
+${PYSITELIB}/pelican/rstdirectives.pyc
${PYSITELIB}/pelican/server.pyo
-${PYSITELIB}/pelican/settings.py
-${PYSITELIB}/pelican/settings.pyc
+${PYSITELIB}/pelican/server.pyc
${PYSITELIB}/pelican/settings.pyo
-${PYSITELIB}/pelican/signals.py
-${PYSITELIB}/pelican/signals.pyc
+${PYSITELIB}/pelican/settings.pyc
${PYSITELIB}/pelican/signals.pyo
+${PYSITELIB}/pelican/signals.pyc
+${PYSITELIB}/pelican/urlwrappers.pyo
+${PYSITELIB}/pelican/urlwrappers.pyc
+${PYSITELIB}/pelican/utils.pyo
+${PYSITELIB}/pelican/utils.pyc
+${PYSITELIB}/pelican/writers.pyo
+${PYSITELIB}/pelican/writers.pyc
+${PYSITELIB}/pelican/cache.py
+${PYSITELIB}/pelican/contents.py
+${PYSITELIB}/pelican/generators.py
+${PYSITELIB}/pelican/log.py
+${PYSITELIB}/pelican/paginator.py
+${PYSITELIB}/pelican/readers.py
+${PYSITELIB}/pelican/rstdirectives.py
+${PYSITELIB}/pelican/server.py
+${PYSITELIB}/pelican/settings.py
+${PYSITELIB}/pelican/signals.py
+${PYSITELIB}/pelican/themes/notmyidea/static/css/fonts.css
${PYSITELIB}/pelican/themes/notmyidea/static/css/main.css
${PYSITELIB}/pelican/themes/notmyidea/static/css/pygment.css
${PYSITELIB}/pelican/themes/notmyidea/static/css/reset.css
${PYSITELIB}/pelican/themes/notmyidea/static/css/typogrify.css
${PYSITELIB}/pelican/themes/notmyidea/static/css/wide.css
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.eot
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.svg
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.ttf
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/Yanone_Kaffeesatz_400.woff2
+${PYSITELIB}/pelican/themes/notmyidea/static/fonts/font.css
${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/aboutme.png
${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/bitbucket.png
${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/delicious.png
@@ -102,31 +118,24 @@ ${PYSITELIB}/pelican/themes/simple/templates/tag.html
${PYSITELIB}/pelican/themes/simple/templates/tags.html
${PYSITELIB}/pelican/themes/simple/templates/translations.html
${PYSITELIB}/pelican/tools/__init__.py
-${PYSITELIB}/pelican/tools/__init__.pyc
${PYSITELIB}/pelican/tools/__init__.pyo
-${PYSITELIB}/pelican/tools/pelican_import.py
-${PYSITELIB}/pelican/tools/pelican_import.pyc
+${PYSITELIB}/pelican/tools/__init__.pyc
${PYSITELIB}/pelican/tools/pelican_import.pyo
-${PYSITELIB}/pelican/tools/pelican_quickstart.py
-${PYSITELIB}/pelican/tools/pelican_quickstart.pyc
+${PYSITELIB}/pelican/tools/pelican_import.pyc
${PYSITELIB}/pelican/tools/pelican_quickstart.pyo
-${PYSITELIB}/pelican/tools/pelican_themes.py
-${PYSITELIB}/pelican/tools/pelican_themes.pyc
+${PYSITELIB}/pelican/tools/pelican_quickstart.pyc
${PYSITELIB}/pelican/tools/pelican_themes.pyo
-${PYSITELIB}/pelican/tools/templates/Makefile.in
-${PYSITELIB}/pelican/tools/templates/develop_server.sh.in
-${PYSITELIB}/pelican/tools/templates/fabfile.py.in
-${PYSITELIB}/pelican/tools/templates/pelicanconf.py.in
-${PYSITELIB}/pelican/tools/templates/publishconf.py.in
+${PYSITELIB}/pelican/tools/pelican_themes.pyc
+${PYSITELIB}/pelican/tools/pelican_import.py
+${PYSITELIB}/pelican/tools/pelican_quickstart.py
+${PYSITELIB}/pelican/tools/pelican_themes.py
+${PYSITELIB}/pelican/tools/templates/Makefile.jinja2
+${PYSITELIB}/pelican/tools/templates/pelicanconf.py.jinja2
+${PYSITELIB}/pelican/tools/templates/publishconf.py.jinja2
+${PYSITELIB}/pelican/tools/templates/tasks.py.jinja2
${PYSITELIB}/pelican/urlwrappers.py
-${PYSITELIB}/pelican/urlwrappers.pyc
-${PYSITELIB}/pelican/urlwrappers.pyo
${PYSITELIB}/pelican/utils.py
-${PYSITELIB}/pelican/utils.pyc
-${PYSITELIB}/pelican/utils.pyo
${PYSITELIB}/pelican/writers.py
-${PYSITELIB}/pelican/writers.pyc
-${PYSITELIB}/pelican/writers.pyo
man/man1/pelican-themes.1
man/man1/pelican-theming.1
man/man1/pelican.1
diff --git a/www/py-pelican/distinfo b/www/py-pelican/distinfo
index 5d96e1cd56a..02c6d54240c 100644
--- a/www/py-pelican/distinfo
+++ b/www/py-pelican/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/02/02 20:30:55 nils Exp $
+$NetBSD: distinfo,v 1.4 2020/04/19 20:17:55 nils Exp $
-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
+SHA1 (pelican-4.2.0.zip) = 00cea4cae835db882c1a2b6f58f6009700bd53a7
+RMD160 (pelican-4.2.0.zip) = 3a49fbdbcdd73822642acbf5261a4ca1492c0d58
+SHA512 (pelican-4.2.0.zip) = 0515035c899fb373e731596dfcbddef3fab5df9e1b4fa2eabc4862c21ac64b76520899cf55d6fb20afdc40978677b79bd9e560cca9b56cd5b170a76eae5646a5
+Size (pelican-4.2.0.zip) = 1615714 bytes