summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/py-pelican/DESCR7
-rw-r--r--www/py-pelican/Makefile62
-rw-r--r--www/py-pelican/PLIST148
-rw-r--r--www/py-pelican/distinfo6
4 files changed, 223 insertions, 0 deletions
diff --git a/www/py-pelican/DESCR b/www/py-pelican/DESCR
new file mode 100644
index 00000000000..22cdfd5cee9
--- /dev/null
+++ b/www/py-pelican/DESCR
@@ -0,0 +1,7 @@
+Pelican is a static site generator, written in Python.
+
+- Write your weblog entries directly with your editor of choice (vim!)
+ in reStructuredText or Markdown
+- Includes a simple CLI tool to (re)generate the weblog
+- Easy to interface with DVCSes and web hooks
+- Completely static output is easy to host anywhere
diff --git a/www/py-pelican/Makefile b/www/py-pelican/Makefile
new file mode 100644
index 00000000000..c1d6f8ba24e
--- /dev/null
+++ b/www/py-pelican/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1 2015/11/27 16:56:25 nils Exp $
+
+DISTNAME= pelican-3.6.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www textproc
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pelican/}
+
+MAINTAINER= nils@NetBSD.org
+HOMEPAGE= http://blog.getpelican.com/
+COMMENT= Static site generator that supports Markdown and reST syntax
+LICENSE= gnu-agpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
+DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-pygments>=1.4:../../textproc/py-pygments
+DEPENDS+= ${PYPKGPREFIX}-feedgenerator>=1.6:../../www/py-feedgenerator
+DEPENDS+= ${PYPKGPREFIX}-pytz>=0a:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
+DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
+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
+
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+REPLACE_PYTHON+= pelican/tools/pelican_import.py
+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_INTERPRETER+= bash
+REPLACE.bash.old= /usr/bin/env bash
+REPLACE.bash.new= ${TOOLS_PATH.bash}
+REPLACE_FILES.bash= pelican/tools/templates/develop_server.sh.in
+
+DOCDIR= ${PREFIX}/share/doc/pelican
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1/ ${DOCDIR}
+MANPAGES= pelican-themes.1 pelican-theming.1 pelican.1
+
+TXTDOCFILES= changelog.txt content.txt contribute.txt faq.txt \
+ importer.txt index.txt install.txt internals.txt \
+ pelican-themes.txt plugins.txt publish.txt quickstart.txt \
+ report.txt settings.txt themes.txt tips.txt
+
+AUTO_MKDIRS= yes
+
+post-build:
+ cd ${WRKSRC}/docs/ && make SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX} text man
+
+post-install:
+.for f in ${MANPAGES}
+ ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+.endfor
+.for i in ${TXTDOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/docs/_build/text/${i} ${DESTDIR}${DOCDIR}/
+.endfor
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-pelican/PLIST b/www/py-pelican/PLIST
new file mode 100644
index 00000000000..84979997540
--- /dev/null
+++ b/www/py-pelican/PLIST
@@ -0,0 +1,148 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/27 16:56:25 nils Exp $
+bin/pelican
+bin/pelican-import
+bin/pelican-quickstart
+bin/pelican-themes
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${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/__init__.pyo
+${PYSITELIB}/pelican/cache.py
+${PYSITELIB}/pelican/cache.pyc
+${PYSITELIB}/pelican/cache.pyo
+${PYSITELIB}/pelican/contents.py
+${PYSITELIB}/pelican/contents.pyc
+${PYSITELIB}/pelican/contents.pyo
+${PYSITELIB}/pelican/generators.py
+${PYSITELIB}/pelican/generators.pyc
+${PYSITELIB}/pelican/generators.pyo
+${PYSITELIB}/pelican/log.py
+${PYSITELIB}/pelican/log.pyc
+${PYSITELIB}/pelican/log.pyo
+${PYSITELIB}/pelican/paginator.py
+${PYSITELIB}/pelican/paginator.pyc
+${PYSITELIB}/pelican/paginator.pyo
+${PYSITELIB}/pelican/readers.py
+${PYSITELIB}/pelican/readers.pyc
+${PYSITELIB}/pelican/readers.pyo
+${PYSITELIB}/pelican/rstdirectives.py
+${PYSITELIB}/pelican/rstdirectives.pyc
+${PYSITELIB}/pelican/rstdirectives.pyo
+${PYSITELIB}/pelican/server.py
+${PYSITELIB}/pelican/server.pyc
+${PYSITELIB}/pelican/server.pyo
+${PYSITELIB}/pelican/settings.py
+${PYSITELIB}/pelican/settings.pyc
+${PYSITELIB}/pelican/settings.pyo
+${PYSITELIB}/pelican/signals.py
+${PYSITELIB}/pelican/signals.pyc
+${PYSITELIB}/pelican/signals.pyo
+${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/images/icons/aboutme.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/bitbucket.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/delicious.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/facebook.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/github.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/gitorious.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/gittip.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/google-groups.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/google-plus.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/hackernews.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/lastfm.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/linkedin.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/reddit.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/rss.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/slideshare.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/speakerdeck.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/stackoverflow.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/twitter.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/vimeo.png
+${PYSITELIB}/pelican/themes/notmyidea/static/images/icons/youtube.png
+${PYSITELIB}/pelican/themes/notmyidea/templates/analytics.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/archives.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/article.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/article_infos.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/author.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/authors.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/base.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/category.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/comments.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/disqus_script.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/github.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/index.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/page.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/period_archives.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/tag.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/taglist.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/tags.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/translations.html
+${PYSITELIB}/pelican/themes/notmyidea/templates/twitter.html
+${PYSITELIB}/pelican/themes/simple/templates/archives.html
+${PYSITELIB}/pelican/themes/simple/templates/article.html
+${PYSITELIB}/pelican/themes/simple/templates/author.html
+${PYSITELIB}/pelican/themes/simple/templates/authors.html
+${PYSITELIB}/pelican/themes/simple/templates/base.html
+${PYSITELIB}/pelican/themes/simple/templates/categories.html
+${PYSITELIB}/pelican/themes/simple/templates/category.html
+${PYSITELIB}/pelican/themes/simple/templates/gosquared.html
+${PYSITELIB}/pelican/themes/simple/templates/index.html
+${PYSITELIB}/pelican/themes/simple/templates/page.html
+${PYSITELIB}/pelican/themes/simple/templates/pagination.html
+${PYSITELIB}/pelican/themes/simple/templates/period_archives.html
+${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/pelican_import.pyo
+${PYSITELIB}/pelican/tools/pelican_quickstart.py
+${PYSITELIB}/pelican/tools/pelican_quickstart.pyc
+${PYSITELIB}/pelican/tools/pelican_quickstart.pyo
+${PYSITELIB}/pelican/tools/pelican_themes.py
+${PYSITELIB}/pelican/tools/pelican_themes.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/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
+share/doc/pelican/changelog.txt
+share/doc/pelican/content.txt
+share/doc/pelican/contribute.txt
+share/doc/pelican/faq.txt
+share/doc/pelican/importer.txt
+share/doc/pelican/index.txt
+share/doc/pelican/install.txt
+share/doc/pelican/internals.txt
+share/doc/pelican/pelican-themes.txt
+share/doc/pelican/plugins.txt
+share/doc/pelican/publish.txt
+share/doc/pelican/quickstart.txt
+share/doc/pelican/report.txt
+share/doc/pelican/settings.txt
+share/doc/pelican/themes.txt
+share/doc/pelican/tips.txt
diff --git a/www/py-pelican/distinfo b/www/py-pelican/distinfo
new file mode 100644
index 00000000000..db461b68e70
--- /dev/null
+++ b/www/py-pelican/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/11/27 16:56:25 nils Exp $
+
+SHA1 (pelican-3.6.3.tar.gz) = b0e7892a3a5e168317391320abaf392bd50cbd65
+RMD160 (pelican-3.6.3.tar.gz) = 462f92e59d8e3ecb9168a0b23f628478ca89226f
+SHA512 (pelican-3.6.3.tar.gz) = 2494c263ba8dcbe790dda7c0e67e473d7d00326c2f35319b45b424f7fbea21139c70d1174b8363535bf37a1670f0f08c43abca0b5029efc42a57ed2d7de6e6b2
+Size (pelican-3.6.3.tar.gz) = 264389 bytes