idella4     14/05/23 07:33:26

  Modified:             wsgiproxy2-0.4.1.ebuild ChangeLog
  Log:
  drop py2.6, add IUSE doc, doc build, fix everything
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild

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

Index: wsgiproxy2-0.4.1.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wsgiproxy2-0.4.1.ebuild     8 Jan 2014 02:43:01 -0000       1.1
+++ wsgiproxy2-0.4.1.ebuild     23 May 2014 07:33:25 -0000      1.2
@@ -1,13 +1,10 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v 1.1 
2014/01/08 02:43:01 patrick Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v 1.2 
2014/05/23 07:33:25 idella4 Exp $
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-# this looks quite unpossible to run
-RESTRICT="test"
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
 
 inherit distutils-r1
 
@@ -20,19 +17,33 @@
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE="doc test"
 
-RDEPEND="dev-python/urllib3
-       dev-python/socketpool[${PYTHON_USEDEP}]
+RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]
        dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/restkit
        dev-python/webob[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-       test? ( dev-python/webtest[${PYTHON_USEDEP}] )"
+DEPEND="test? ( ${RDEPEND}
+               dev-python/webtest[${PYTHON_USEDEP}]
+               dev-python/socketpool[${PYTHON_USEDEP}]
+               dev-python/restkit[$(python_gen_usedep python2_7)] )"
+# Tests needing restkit are skipped under py3
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
+python_compile_all() {
+       if use doc; then
+               cd docs || die
+               sphinx-build -b html -d _build/doctrees   . _build/html
+       fi
+}
+
+# this was always possible
 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.7                  dev-python/wsgiproxy2/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog   8 Jan 2014 02:43:01 -0000       1.6
+++ ChangeLog   23 May 2014 07:33:25 -0000      1.7
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/wsgiproxy2
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v 1.6 
2014/01/08 02:43:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v 1.7 
2014/05/23 07:33:25 idella4 Exp $
+
+  23 May 2014; Ian Delaney <idel...@gentoo.org> wsgiproxy2-0.4.1.ebuild:
+  drop py2.6, add IUSE doc, doc build, fix everything
 
 *wsgiproxy2-0.4.1 (08 Jan 2014)
 




Reply via email to