summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2011-06-26 18:10:08 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2011-06-26 18:10:08 +0000
commitdfdf52042591d81eb865cf6db72b02e385818ed7 (patch)
treec69ad3fd2791055f4ffda28927e659d16e144507 /www-apps
parentbump to rc (diff)
downloadgentoo-2-dfdf52042591d81eb865cf6db72b02e385818ed7.tar.gz
gentoo-2-dfdf52042591d81eb865cf6db72b02e385818ed7.tar.bz2
gentoo-2-dfdf52042591d81eb865cf6db72b02e385818ed7.zip
Added live ebuild.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/blohg/ChangeLog7
-rw-r--r--www-apps/blohg/blohg-9999.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/www-apps/blohg/ChangeLog b/www-apps/blohg/ChangeLog
index a372bd98a4d9..54cf50a30d58 100644
--- a/www-apps/blohg/ChangeLog
+++ b/www-apps/blohg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/blohg
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.5 2011/06/14 02:26:02 rafaelmartins Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.6 2011/06/26 18:10:08 rafaelmartins Exp $
+
+*blohg-9999 (26 Jun 2011)
+
+ 26 Jun 2011; Rafael G. Martins <rafaelmartins@gentoo.org> +blohg-9999.ebuild:
+ Added live ebuild.
*blohg-0.5.1 (14 Jun 2011)
diff --git a/www-apps/blohg/blohg-9999.ebuild b/www-apps/blohg/blohg-9999.ebuild
new file mode 100644
index 000000000000..06547ab87cd9
--- /dev/null
+++ b/www-apps/blohg/blohg-9999.ebuild
@@ -0,0 +1,55 @@
+# 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.1 2011/06/26 18:10:08 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.6
+ >=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
+}