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-9999.ebuild ChangeLog
Date: Mon, 09 Jun 2014 03:33:55
Message-Id: 20140609033350.0415E20036@flycatcher.gentoo.org
1 rafaelmartins 14/06/09 03:33:49
2
3 Modified: blohg-9999.ebuild ChangeLog
4 Log:
5 ported 9999 to distutils-r1, fixed deps
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
8
9 Revision Changes Path
10 1.19 www-apps/blohg/blohg-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/blohg-9999.ebuild?r1=1.18&r2=1.19
15
16 Index: blohg-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- blohg-9999.ebuild 29 Nov 2013 03:54:22 -0000 1.18
23 +++ blohg-9999.ebuild 9 Jun 2014 03:33:49 -0000 1.19
24 @@ -1,13 +1,10 @@
25 -# Copyright 1999-2013 Gentoo Foundation
26 +# Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v 1.18 2013/11/29 03:54:22 rafaelmartins Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/blohg-9999.ebuild,v 1.19 2014/06/09 03:33:49 rafaelmartins Exp $
30
31 EAPI=5
32
33 -PYTHON_DEPEND="2:2.7"
34 -SUPPORT_PYTHON_ABIS="1"
35 -RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
36 -DISTUTILS_SRC_TEST="setup.py"
37 +PYTHON_COMPAT=( python2_7 )
38
39 GIT_ECLASS=""
40 if [[ ${PV} = *9999* ]]; then
41 @@ -16,7 +13,7 @@
42 https://github.com/rafaelmartins/blohg"
43 fi
44
45 -inherit distutils ${GIT_ECLASS}
46 +inherit distutils-r1 ${GIT_ECLASS}
47
48 DESCRIPTION="A Mercurial (or Git) based blogging engine."
49 HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
50 @@ -35,10 +32,11 @@
51 REQUIRED_USE="|| ( git mercurial )
52 test? ( git mercurial )"
53
54 -RDEPEND="=dev-python/docutils-0.10*
55 +RDEPEND="
56 + =dev-python/click-2.0
57 + =dev-python/docutils-0.11*
58 >=dev-python/flask-0.10.1
59 >=dev-python/flask-babel-0.7
60 - >=dev-python/flask-script-0.5.3
61 >=dev-python/frozen-flask-0.7
62 >=dev-python/jinja-2.5.2
63 dev-python/pyyaml
64 @@ -51,7 +49,7 @@
65 doc? ( dev-python/sphinx )
66 test? ( dev-python/mock )"
67
68 -src_prepare() {
69 +python_prepare_all() {
70 if ! use git; then
71 rm -rf blohg/vcs_backends/git || die 'rm failed'
72 fi
73 @@ -60,30 +58,23 @@
74 rm -rf blohg/vcs_backends/hg || die 'rm failed'
75 fi
76
77 - distutils_src_prepare
78 + distutils-r1_python_prepare_all
79 }
80
81 -src_compile() {
82 - distutils_src_compile
83 -
84 - if use doc; then
85 - einfo 'building documentation'
86 - emake -C docs html
87 - fi
88 +python_compile_all() {
89 + use doc && emake -C docs html
90 }
91
92 -src_install() {
93 - distutils_src_install
94 +python_install_all() {
95 + use doc && HTML_DOCS=( docs/_build/html/. )
96 + distutils-r1_python_install_all
97 +}
98
99 - if use doc; then
100 - einfo 'installing documentation'
101 - dohtml -r docs/_build/html/*
102 - fi
103 +python_test() {
104 + esetup.py test
105 }
106
107 pkg_postinst() {
108 - distutils_pkg_postinst
109 -
110 local ver="${PV}"
111 [[ ${PV} = *9999* ]] && ver="latest"
112
113
114
115
116 1.31 www-apps/blohg/ChangeLog
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.31&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?rev=1.31&content-type=text/plain
120 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/ChangeLog?r1=1.30&r2=1.31
121
122 Index: ChangeLog
123 ===================================================================
124 RCS file: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v
125 retrieving revision 1.30
126 retrieving revision 1.31
127 diff -u -r1.30 -r1.31
128 --- ChangeLog 29 Nov 2013 03:54:22 -0000 1.30
129 +++ ChangeLog 9 Jun 2014 03:33:49 -0000 1.31
130 @@ -1,6 +1,9 @@
131 # ChangeLog for www-apps/blohg
132 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
133 -# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.30 2013/11/29 03:54:22 rafaelmartins Exp $
134 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
135 +# $Header: /var/cvsroot/gentoo-x86/www-apps/blohg/ChangeLog,v 1.31 2014/06/09 03:33:49 rafaelmartins Exp $
136 +
137 + 09 Jun 2014; Rafael G. Martins <rafaelmartins@g.o> blohg-9999.ebuild:
138 + ported 9999 to distutils-r1, fixed deps
139
140 29 Nov 2013; Rafael G. Martins <rafaelmartins@g.o> blohg-9999.ebuild,
141 metadata.xml: