Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/blohg: blohg-0.9.ebuild ChangeLog
Date: Sat, 24 Dec 2011 02:48:53
Message-Id: 20111224024842.E33C12004C@flycatcher.gentoo.org
1 rafaelmartins 11/12/24 02:48:42
2
3 Modified: ChangeLog
4 Added: blohg-0.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha59_p57/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 www-apps/blohg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 17 Dec 2011 03:46:20 -0000 1.12
24 +++ ChangeLog 24 Dec 2011 02:48:42 -0000 1.13
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-apps/blohg
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.12 2011/12/17 03:46:20 rafaelmartins Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.13 2011/12/24 02:48:42 rafaelmartins Exp $
30 +
31 +*blohg-0.9 (24 Dec 2011)
32 +
33 + 24 Dec 2011; Rafael G. Martins <rafaelmartins@g.o> +blohg-0.9.ebuild:
34 + Version bump.
35
36 17 Dec 2011; Rafael G. Martins <rafaelmartins@g.o> blohg-9999.ebuild:
37 live ebuild now supports tests. restrict python dependency to >=2.6.
38
39
40
41 1.1 www-apps/blohg/blohg-0.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-0.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-0.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: blohg-0.9.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-0.9.ebuild,v 1.1 2011/12/24 02:48:42 rafaelmartins Exp $
51
52 EAPI="3"
53
54 PYTHON_DEPEND="2:2.6"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
57 DISTUTILS_SRC_TEST="setup.py"
58
59 inherit distutils
60
61 DESCRIPTION="A Mercurial-based blogging engine."
62 HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64 KEYWORDS="~amd64 ~x86"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 IUSE="doc test"
69
70 DEPEND=">=dev-python/docutils-0.7
71 >=dev-python/flask-0.7
72 >=dev-python/flask-babel-0.6
73 >=dev-python/flask-script-0.3
74 >=dev-python/frozen-flask-0.7
75 >=dev-python/jinja-2.5.2
76 >=dev-vcs/mercurial-1.6
77 dev-python/pyyaml
78 dev-python/setuptools
79 dev-python/pygments
80 doc? ( dev-python/sphinx )"
81
82 RDEPEND="${DEPEND}"
83
84 src_compile() {
85 distutils_src_compile
86
87 if use doc; then
88 einfo 'building documentation'
89 emake -C docs html
90 fi
91 }
92
93 src_install() {
94 distutils_src_install
95
96 if use doc; then
97 einfo 'installing documentation'
98 dohtml -r docs/_build/html/*
99 fi
100 }
101
102 pkg_postinst() {
103 distutils_pkg_postinst
104
105 einfo "If you're upgrading from <=blohg-0.5.1, please read the upgrade notes:"
106 einfo "http://docs.blohg.org/upgrade/#from-0-5-1-to-0-6"
107 }