diff options
author | eroen <eroen@falcon.eroen.eu> | 2014-03-13 03:43:36 +0100 |
---|---|---|
committer | eroen <eroen@falcon.eroen.eu> | 2014-03-31 23:10:30 +0200 |
commit | c3f027cab4cb9e94e2a93211ca0db0153f425823 (patch) | |
tree | fedfae2eff8438714a177f600620803262b0a9cf /www-apps | |
parent | opal-3.12.4 - fix for ffmpeg-2 (diff) | |
download | eroen-c3f027cab4cb9e94e2a93211ca0db0153f425823.tar.gz eroen-c3f027cab4cb9e94e2a93211ca0db0153f425823.tar.bz2 eroen-c3f027cab4cb9e94e2a93211ca0db0153f425823.zip |
nikola from gentoo
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nikola/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nikola/metadata.xml | 24 | ||||
-rw-r--r-- | www-apps/nikola/nikola-6.3.0.ebuild | 54 |
3 files changed, 79 insertions, 0 deletions
diff --git a/www-apps/nikola/Manifest b/www-apps/nikola/Manifest new file mode 100644 index 0000000..f0d0455 --- /dev/null +++ b/www-apps/nikola/Manifest @@ -0,0 +1 @@ +DIST nikola-6.3.0.tar.gz 932981 SHA256 92680bf745eefe9778b002d487e32721c35a1b997582981944a0bb64e249a2c6 SHA512 10909f3d615df71b751c96f408ed07c4d8f1000024a12c806b61bc7c931efb60b3e09060cd6b92aa0d613e21e6b0fdd96671bddea84614d586a804749ec3b7b8 WHIRLPOOL 86ccd29abb5f8ca770a043e67be5ab30977329a78821808f3d75917cd7438543f81a2e380d9bec0ac58e0ba07e2934e2a6a3df2b505021496e1a60eef9d19f13 diff --git a/www-apps/nikola/metadata.xml b/www-apps/nikola/metadata.xml new file mode 100644 index 0000000..5fec1d4 --- /dev/null +++ b/www-apps/nikola/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>yngwin@gentoo.org</email> + <name>Ben de Groot</name> + </maintainer> + <use> + <flag name='assets'> + Support web asset management through <pkg>dev-python/assets</pkg> + </flag> + <flag name='charts'> + Support chart generation through <pkg>dev-python/pygal</pkg> + </flag> + <flag name='jinja'> + Add support for <pkg>dev-python/jinja</pkg> as alternative templating + engine to Mako + </flag> + <flag name='markdown'> + Add support for Markdown as alternative markup language to reStructuredText + </flag> + </use> +</pkgmetadata> diff --git a/www-apps/nikola/nikola-6.3.0.ebuild b/www-apps/nikola/nikola-6.3.0.ebuild new file mode 100644 index 0000000..a91dcfe --- /dev/null +++ b/www-apps/nikola/nikola-6.3.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/nikola/nikola-6.3.0.ebuild,v 1.1 2014/02/23 06:50:54 yngwin Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3} ) +inherit distutils-r1 + +DESCRIPTION="A static website and blog generator" +HOMEPAGE="http://getnikola.com/" +MY_PN="Nikola" + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="git://github.com/ralsina/${PN}.git" + KEYWORDS="" +else + SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT-with-advertising" +SLOT="0" +IUSE="assets charts jinja markdown" + +DEPEND="dev-python/docutils" # needs rst2man to build manpage +RDEPEND="${DEPEND} + python_targets_python2_7? ( =dev-python/configparser-3.2.0* ) + >=dev-python/doit-0.23.0 + dev-python/logbook + dev-python/lxml + >=dev-python/mako-0.6 + dev-python/pygments + dev-python/PyRSS2Gen + dev-python/python-dateutil + >=dev-python/pytz-2013d + >=dev-python/requests-1.0 + dev-python/unidecode + >=dev-python/yapsy-1.10.2 + virtual/python-imaging + assets? ( dev-python/assets ) + charts? ( dev-python/pygal ) + jinja? ( >=dev-python/jinja-2.7 ) + markdown? ( dev-python/markdown )" + +src_install() { + distutils-r1_src_install + + # hackish way to remove docs that ended up in the wrong place + rm -rf "${D}"/usr/share/doc/${PN} + + dodoc AUTHORS.txt CHANGES.txt README.rst docs/*.txt + doman docs/man/* +} |