From 2b13a9dedc2e77bcb976e0977475931833677704 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Sun, 23 Sep 2012 04:51:59 +0000 Subject: Version bump. (Portage version: 2.2.0_alpha100/cvs/Linux x86_64) --- www-apps/blohg/ChangeLog | 8 ++- www-apps/blohg/blohg-0.10.1.ebuild | 80 ----------------------------- www-apps/blohg/blohg-0.11.ebuild | 75 +++++++++++++++++++++++++++ www-apps/blohg/files/0.10.1_fix-tests.patch | 33 ------------ 4 files changed, 82 insertions(+), 114 deletions(-) delete mode 100644 www-apps/blohg/blohg-0.10.1.ebuild create mode 100644 www-apps/blohg/blohg-0.11.ebuild delete mode 100644 www-apps/blohg/files/0.10.1_fix-tests.patch (limited to 'www-apps/blohg') diff --git a/www-apps/blohg/ChangeLog b/www-apps/blohg/ChangeLog index f191e2eb5f0b..4d2aba99571e 100644 --- a/www-apps/blohg/ChangeLog +++ b/www-apps/blohg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/blohg # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.21 2012/08/06 02:26:20 rafaelmartins Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.22 2012/09/23 04:51:59 rafaelmartins Exp $ + +*blohg-0.11 (23 Sep 2012) + + 23 Sep 2012; Rafael G. Martins + -files/0.10.1_fix-tests.patch, -blohg-0.10.1.ebuild, +blohg-0.11.ebuild: + Version bump. 06 Aug 2012; Rafael G. Martins blohg-9999.ebuild: Fix flask dependency of live ebuild diff --git a/www-apps/blohg/blohg-0.10.1.ebuild b/www-apps/blohg/blohg-0.10.1.ebuild deleted file mode 100644 index 7e69747e517a..000000000000 --- a/www-apps/blohg/blohg-0.10.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-0.10.1.ebuild,v 1.3 2012/08/04 19:58:28 rafaelmartins Exp $ - -EAPI="3" - -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" -DISTUTILS_SRC_TEST="setup.py" - -HG_ECLASS="" -if [[ ${PV} = *9999* ]]; then - HG_ECLASS="mercurial" - EHG_REPO_URI="http://hg.rafaelmartins.eng.br/blohg/" - EHG_REVISION="default" -fi - -inherit eutils distutils ${HG_ECLASS} - -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" -if [[ ${PV} = *9999* ]]; then - SRC_URI="" - KEYWORDS="" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="doc test" - -CDEPEND=">=dev-python/docutils-0.8 - >=dev-python/flask-0.7 - >=dev-python/flask-babel-0.7 - >=dev-python/flask-script-0.3 - >=dev-python/frozen-flask-0.7 - >=dev-python/jinja-2.5.2 - >=dev-vcs/mercurial-1.6 - dev-python/pyyaml - dev-python/setuptools - dev-python/pygments" - -DEPEND="${CDEPEND} - doc? ( dev-python/sphinx )" - -RDEPEND="${CDEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${PV}_fix-tests.patch" - distutils_src_prepare -} - -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 -} - -pkg_postinst() { - local ver="${PV}" - [[ ${PV} = *9999* ]] && ver="latest" - - elog "You may want to check the upgrade notes:" - elog "http://docs.blohg.org/en/${ver}/upgrade/" -} diff --git a/www-apps/blohg/blohg-0.11.ebuild b/www-apps/blohg/blohg-0.11.ebuild new file mode 100644 index 000000000000..e5ec19882d91 --- /dev/null +++ b/www-apps/blohg/blohg-0.11.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-0.11.ebuild,v 1.1 2012/09/23 04:51:59 rafaelmartins Exp $ + +EAPI="3" + +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 2.5 3.*" +DISTUTILS_SRC_TEST="setup.py" + +HG_ECLASS="" +if [[ ${PV} = *9999* ]]; then + HG_ECLASS="mercurial" + EHG_REPO_URI="http://hg.rafaelmartins.eng.br/blohg/" + EHG_REVISION="default" +fi + +inherit distutils ${HG_ECLASS} + +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" +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc test" + +CDEPEND=">=dev-python/docutils-0.8 + >=dev-python/flask-0.8 + >=dev-python/flask-babel-0.7 + >=dev-python/flask-script-0.3 + >=dev-python/frozen-flask-0.7 + >=dev-python/jinja-2.5.2 + >=dev-vcs/mercurial-1.6 + dev-python/pyyaml + dev-python/setuptools + dev-python/pygments" + +DEPEND="${CDEPEND} + doc? ( dev-python/sphinx )" + +RDEPEND="${CDEPEND}" + +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 +} + +pkg_postinst() { + local ver="${PV}" + [[ ${PV} = *9999* ]] && ver="latest" + + elog "You may want to check the upgrade notes:" + elog "http://docs.blohg.org/en/${ver}/upgrade/" +} diff --git a/www-apps/blohg/files/0.10.1_fix-tests.patch b/www-apps/blohg/files/0.10.1_fix-tests.patch deleted file mode 100644 index 3d1578f11800..000000000000 --- a/www-apps/blohg/files/0.10.1_fix-tests.patch +++ /dev/null @@ -1,33 +0,0 @@ -# HG changeset patch -# User Rafael G. Martins -# Date 1344052271 10800 -# Node ID c63455b2d73d91c64e74b0eaad4b621e966c58e0 -# Parent c0b3aee9771d15b265b673ae00f8a2fe6822e635 -Fix tests, broken by a recent change on the Mercurial API. - ---- a/blohg/testsuite.py -+++ b/blohg/testsuite.py -@@ -46,6 +46,7 @@ - self.app = create_app(self.repo_path, hgui=self.ui) - create_repo(self.app) - self.repo = hg.repository(self.ui, self.repo_path) -+ commands.add(self.ui, self.repo) - self.app.hg.reload() - - def tearDown(self): -@@ -118,6 +119,7 @@ - 'foo-bar.rst') - with codecs.open(new_file, 'w', encoding='utf-8') as fp: - fp.write(os.linesep.join(['Foo', '---', '', 'Bar'])) -+ commands.add(self.ui, self.repo) - - self.app.hg.reload() - with self.app.test_request_context(): -@@ -154,6 +156,7 @@ - - with codecs.open(new_file, 'w', encoding='utf-8') as fp: - fp.write('foo') -+ commands.add(self.ui, self.repo) - - self.app.hg.reload() - with self.app.test_request_context(): -- cgit v1.2.3-65-gdbad