idella4     14/05/21 05:45:44

  Modified:             waitress-0.8.9.ebuild ChangeLog
  Log:
  add IUSE doc, doc build
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/waitress/waitress-0.8.9.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?r1=1.1&r2=1.2

Index: waitress-0.8.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- waitress-0.8.9.ebuild       21 May 2014 03:30:59 -0000      1.1
+++ waitress-0.8.9.ebuild       21 May 2014 05:45:44 -0000      1.2
@@ -1,29 +1,46 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v 
1.1 2014/05/21 03:30:59 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v 
1.2 2014/05/21 05:45:44 idella4 Exp $
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
 
-# doc creation is fatally broken. well not fatally but it's bad
-
 inherit distutils-r1
 
 DESCRIPTION="A pure-Python WSGI server"
 HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ 
https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz \
+               doc? ( 
http://dev.gentoo.org/~idella4/pylons_sphinx_theme.tar.gz )"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd"
-IUSE="test"
+IUSE="doc test"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
        app-arch/unzip
        test? ( dev-python/nose )"
 
+python_prepare_all() {
+       if use doc; then
+               local PATCHES=( "${FILESDIR}"/${P}-doc.patch )
+               einfo "doc patch applied"
+               mv "${WORKDIR}"/_themes ./docs/ || die
+       fi
+       distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+       use doc && emake -C docs html
+}
+
 python_test() {
        nosetests || die "Tests fail with ${EPYTHON}"
 }
+
+python_install_all() {
+       use doc && local HTML_DOCS=( docs/_build/html/. )
+       distutils-r1_python_install_all
+}



1.9                  dev-python/waitress/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?rev=1.9&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?rev=1.9&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog   21 May 2014 03:30:59 -0000      1.8
+++ ChangeLog   21 May 2014 05:45:44 -0000      1.9
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/waitress
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v 1.8 
2014/05/21 03:30:59 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v 1.9 
2014/05/21 05:45:44 idella4 Exp $
+
+  21 May 2014; Ian Delaney <[email protected]> 
+files/waitress-0.8.9-doc.patch,
+  waitress-0.8.9.ebuild:
+  add IUSE doc, doc build
 
 *waitress-0.8.9 (21 May 2014)
 




Reply via email to