You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/blohg/blohg-9999.ebuild

56 lines
1.1 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v 1.3 2011/07/10 05:33:05 rafaelmartins Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
EHG_REPO_URI="http://hg.rafaelmartins.eng.br/blohg/"
inherit mercurial distutils
DESCRIPTION="A Mercurial-based blogging engine."
HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
SRC_URI=""
KEYWORDS=""
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
DEPEND=">=dev-python/docutils-0.7
>=dev-python/flask-0.7
>=dev-python/flask-babel-0.6
>=dev-python/flask-script-0.3
>=dev-python/jinja-2.5.2
>=dev-vcs/mercurial-1.6
dev-python/pyyaml
dev-python/setuptools
dev-python/pygments
doc? ( dev-python/sphinx )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_compile() {
distutils_src_compile
if use doc; then
einfo 'building documentation'
emake -C docs html
fi
}
src_install() {
distutils_src_install
if use doc; then
einfo 'installing documentation'
dohtml -r docs/_build/html/*
fi
}