summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/blohg')
-rw-r--r--www-apps/blohg/ChangeLog8
-rw-r--r--www-apps/blohg/blohg-0.5.ebuild51
-rw-r--r--www-apps/blohg/metadata.xml7
3 files changed, 65 insertions, 1 deletions
diff --git a/www-apps/blohg/ChangeLog b/www-apps/blohg/ChangeLog
index c3ec50d88994..cf36997e2ada 100644
--- a/www-apps/blohg/ChangeLog
+++ b/www-apps/blohg/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2011/05/02 00:22:09 rafaelmartins Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.3 2011/06/06 18:33:08 rafaelmartins Exp $
+
+*blohg-0.5 (06 Jun 2011)
+
+ 06 Jun 2011; Rafael G. Martins <rafaelmartins@gentoo.org> +blohg-0.5.ebuild,
+ metadata.xml:
+ Version bump. Added upstream information to metadata.xml
*blohg-0.4 (02 May 2011)
diff --git a/www-apps/blohg/blohg-0.5.ebuild b/www-apps/blohg/blohg-0.5.ebuild
new file mode 100644
index 000000000000..a8bdd43e58c6
--- /dev/null
+++ b/www-apps/blohg/blohg-0.5.ebuild
@@ -0,0 +1,51 @@
+# 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-0.5.ebuild,v 1.1 2011/06/06 18:33:08 rafaelmartins Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit distutils
+
+DESCRIPTION="A Mercurial-based blogging engine."
+HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+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}"
+
+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
+}
diff --git a/www-apps/blohg/metadata.xml b/www-apps/blohg/metadata.xml
index e4d5928b9ded..e585af9fc494 100644
--- a/www-apps/blohg/metadata.xml
+++ b/www-apps/blohg/metadata.xml
@@ -13,5 +13,12 @@
repository history is used for build the posts and pages. blohg uses
Jinja2 as template engine.
</longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <bugs-to>mailto:blohg@librelist.org</bugs-to>
+ </upstream>
</pkgmetadata>