idella4     14/09/27 08:55:34

  Modified:             oslotest-1.1.0.ebuild
  Log:
  firther fix to doc install
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.4                  dev-python/oslotest/oslotest-1.1.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild?r1=1.3&r2=1.4

Index: oslotest-1.1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- oslotest-1.1.0.ebuild       27 Sep 2014 08:40:28 -0000      1.3
+++ oslotest-1.1.0.ebuild       27 Sep 2014 08:55:34 -0000      1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 
1.3 2014/09/27 08:40:28 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 
1.4 2014/09/27 08:55:34 idella4 Exp $
 
 EAPI=5
 PYTHON_COMPAT=( python{2_7,3_3} )
@@ -37,8 +37,6 @@
                >=dev-python/mock-1.0[${PYTHON_USEDEP}]
                >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]"
 
-# This time half the doc files are missing; Do you want them?
-
 python_compile_all() {
        use doc && esetup.py build_sphinx
 }
@@ -48,8 +46,14 @@
 }
 
 python_install_all() {
-       use doc && HTML_DOCS=( doc/build/html/. )
-       doman doc/build/man/oslotest.1
+       if use doc; then
+               local HTML_DOCS=( doc/build/html/. )
+               doman doc/build/man/oslotest.1
+       fi
 
        distutils-r1_python_install_all
 }
+
+pkg_postinst() {
+       elog; elog "to acquire the man page, re-emerge with USE=doc"
+}




Reply via email to