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: ChangeLog blohg-9999.ebuild blohg-0.11.1-r1.ebuild blohg-0.11.1.ebuild
Date: Fri, 23 Nov 2012 03:44:50
Message-Id: 20121123034439.354C820C65@flycatcher.gentoo.org
1 rafaelmartins 12/11/23 03:44:39
2
3 Modified: ChangeLog blohg-9999.ebuild
4 Added: blohg-0.11.1-r1.ebuild
5 Removed: blohg-0.11.1.ebuild
6 Log:
7 Fix bytecode compilation
8
9 (Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.24 www-apps/blohg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.24&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.24&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?r1=1.23&r2=1.24
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v
21 retrieving revision 1.23
22 retrieving revision 1.24
23 diff -u -r1.23 -r1.24
24 --- ChangeLog 24 Sep 2012 00:23:36 -0000 1.23
25 +++ ChangeLog 23 Nov 2012 03:44:38 -0000 1.24
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-apps/blohg
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.23 2012/09/24 00:23:36 rafaelmartins Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.24 2012/11/23 03:44:38 rafaelmartins Exp $
31 +
32 +*blohg-0.11.1-r1 (23 Nov 2012)
33 +
34 + 23 Nov 2012; Rafael G. Martins <rafaelmartins@g.o>
35 + -blohg-0.11.1.ebuild, +blohg-0.11.1-r1.ebuild, blohg-9999.ebuild:
36 + Fix bytecode compilation
37
38 *blohg-0.11.1 (24 Sep 2012)
39
40
41
42
43 1.12 www-apps/blohg/blohg-9999.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?rev=1.12&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?rev=1.12&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?r1=1.11&r2=1.12
48
49 Index: blohg-9999.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v
52 retrieving revision 1.11
53 retrieving revision 1.12
54 diff -u -r1.11 -r1.12
55 --- blohg-9999.ebuild 6 Aug 2012 02:26:20 -0000 1.11
56 +++ blohg-9999.ebuild 23 Nov 2012 03:44:38 -0000 1.12
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2012 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v 1.11 2012/08/06 02:26:20 rafaelmartins Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v 1.12 2012/11/23 03:44:38 rafaelmartins Exp $
62
63 EAPI="3"
64
65 @@ -67,6 +67,8 @@
66 }
67
68 pkg_postinst() {
69 + distutils_pkg_postinst
70 +
71 local ver="${PV}"
72 [[ ${PV} = *9999* ]] && ver="latest"
73
74
75
76
77 1.1 www-apps/blohg/blohg-0.11.1-r1.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-0.11.1-r1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-0.11.1-r1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: blohg-0.11.1-r1.ebuild
83 ===================================================================
84 # Copyright 1999-2012 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-0.11.1-r1.ebuild,v 1.1 2012/11/23 03:44:39 rafaelmartins Exp $
87
88 EAPI="3"
89
90 PYTHON_DEPEND="2:2.6"
91 SUPPORT_PYTHON_ABIS="1"
92 RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
93 DISTUTILS_SRC_TEST="setup.py"
94
95 HG_ECLASS=""
96 if [[ ${PV} = *9999* ]]; then
97 HG_ECLASS="mercurial"
98 EHG_REPO_URI="http://hg.rafaelmartins.eng.br/blohg/"
99 EHG_REVISION="default"
100 fi
101
102 inherit distutils ${HG_ECLASS}
103
104 DESCRIPTION="A Mercurial-based blogging engine."
105 HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
106
107 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
108 KEYWORDS="~amd64 ~x86"
109 if [[ ${PV} = *9999* ]]; then
110 SRC_URI=""
111 KEYWORDS=""
112 fi
113
114 LICENSE="GPL-2"
115 SLOT="0"
116 IUSE="doc test"
117
118 CDEPEND=">=dev-python/docutils-0.8
119 >=dev-python/flask-0.8
120 >=dev-python/flask-babel-0.7
121 >=dev-python/flask-script-0.3
122 >=dev-python/frozen-flask-0.7
123 >=dev-python/jinja-2.5.2
124 >=dev-vcs/mercurial-1.6
125 dev-python/pyyaml
126 dev-python/setuptools
127 dev-python/pygments"
128
129 DEPEND="${CDEPEND}
130 doc? ( dev-python/sphinx )"
131
132 RDEPEND="${CDEPEND}"
133
134 src_compile() {
135 distutils_src_compile
136
137 if use doc; then
138 einfo 'building documentation'
139 emake -C docs html
140 fi
141 }
142
143 src_install() {
144 distutils_src_install
145
146 if use doc; then
147 einfo 'installing documentation'
148 dohtml -r docs/_build/html/*
149 fi
150 }
151
152 pkg_postinst() {
153 distutils_pkg_postinst
154
155 local ver="${PV}"
156 [[ ${PV} = *9999* ]] && ver="latest"
157
158 elog "You may want to check the upgrade notes:"
159 elog "http://docs.blohg.org/en/${ver}/upgrade/"
160 }