Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/oslotest: oslotest-1.1.0.ebuild
Date: Sat, 27 Sep 2014 08:55:38
Message-Id: 20140927085534.B3D376665@oystercatcher.gentoo.org
1 idella4 14/09/27 08:55:34
2
3 Modified: oslotest-1.1.0.ebuild
4 Log:
5 firther fix to doc install
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.4 dev-python/oslotest/oslotest-1.1.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?r1=1.3&r2=1.4
15
16 Index: oslotest-1.1.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- oslotest-1.1.0.ebuild 27 Sep 2014 08:40:28 -0000 1.3
23 +++ oslotest-1.1.0.ebuild 27 Sep 2014 08:55:34 -0000 1.4
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2014 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 1.3 2014/09/27 08:40:28 idella4 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 1.4 2014/09/27 08:55:34 idella4 Exp $
29
30 EAPI=5
31 PYTHON_COMPAT=( python{2_7,3_3} )
32 @@ -37,8 +37,6 @@
33 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
34 >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]"
35
36 -# This time half the doc files are missing; Do you want them?
37 -
38 python_compile_all() {
39 use doc && esetup.py build_sphinx
40 }
41 @@ -48,8 +46,14 @@
42 }
43
44 python_install_all() {
45 - use doc && HTML_DOCS=( doc/build/html/. )
46 - doman doc/build/man/oslotest.1
47 + if use doc; then
48 + local HTML_DOCS=( doc/build/html/. )
49 + doman doc/build/man/oslotest.1
50 + fi
51
52 distutils-r1_python_install_all
53 }
54 +
55 +pkg_postinst() {
56 + elog; elog "to acquire the man page, re-emerge with USE=doc"
57 +}