idella4     14/08/15 04:45:24

  Modified:             ChangeLog
  Added:                wsgiintercept-0.8.1.ebuild
  Log:
  bump; add IUSE doc, doc build, update test phase
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.12                 dev-python/wsgiintercept/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog   24 Jul 2014 10:56:38 -0000      1.11
+++ ChangeLog   15 Aug 2014 04:45:24 -0000      1.12
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/wsgiintercept
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v 1.11 
2014/07/24 10:56:38 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v 1.12 
2014/08/15 04:45:24 idella4 Exp $
+
+*wsgiintercept-0.8.1 (15 Aug 2014)
+
+  15 Aug 2014; Ian Delaney <[email protected]> +wsgiintercept-0.8.1.ebuild:
+  bump; add IUSE doc, doc build, update test phase
 
 *wsgiintercept-0.7.0 (24 Jul 2014)
 



1.1                  dev-python/wsgiintercept/wsgiintercept-0.8.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.8.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.8.1.ebuild?rev=1.1&content-type=text/plain

Index: wsgiintercept-0.8.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.8.1.ebuild,v 
1.1 2014/08/15 04:45:24 idella4 Exp $

EAPI=5

PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )

inherit distutils-r1

MY_PN="wsgi_intercept"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="WSGI application in place of a real URI for testing"
HOMEPAGE="https://pypi.python.org/pypi/wsgi_intercept 
https://github.com/cdent/python3-wsgi-intercept";
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND=""
DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/httplib2[${PYTHON_USEDEP}]
                >=dev-python/pytest-2.4[${PYTHON_USEDEP}]
                >=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
                $(python_gen_cond_dep 'dev-python/mechanize[${PYTHON_USEDEP}]' 
python2_7 pypy)
        )"
S="${WORKDIR}/${MY_P}"

python_prepare_all() {
        # .pyc files cause failure of tests
        rm -rf test/__pycache__/ || die
        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && emake -C docs html
}

python_test() {
        py.test || die "Tests failed under ${EPYTHON}"
}

python_install_all() {
        use doc && local HTML_DOCS=( docs/_build/html//. )
        distutils-r1_python_install_all
}




Reply via email to