Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/wsgiintercept: wsgiintercept-0.10.0.ebuild ChangeLog
Date: Fri, 29 May 2015 03:42:46
Message-Id: 20150529034241.149EFA11@oystercatcher.gentoo.org
1 patrick 15/05/29 03:42:41
2
3 Modified: ChangeLog
4 Added: wsgiintercept-0.10.0.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.16 dev-python/wsgiintercept/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 7 Apr 2015 14:20:55 -0000 1.15
24 +++ ChangeLog 29 May 2015 03:42:41 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/wsgiintercept
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v 1.15 2015/04/07 14:20:55 jlec Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/ChangeLog,v 1.16 2015/05/29 03:42:41 patrick Exp $
31 +
32 +*wsgiintercept-0.10.0 (29 May 2015)
33 +
34 + 29 May 2015; Patrick Lauer <patrick@g.o> +wsgiintercept-0.10.0.ebuild:
35 + Bump
36
37 *wsgiintercept-0.9.1 (15 Dec 2014)
38
39
40
41
42 1.1 dev-python/wsgiintercept/wsgiintercept-0.10.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.10.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.10.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wsgiintercept-0.10.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiintercept/wsgiintercept-0.10.0.ebuild,v 1.1 2015/05/29 03:42:41 patrick Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
56
57 inherit distutils-r1
58
59 MY_PN="wsgi_intercept"
60 MY_P="${MY_PN}-${PV}"
61
62 DESCRIPTION="WSGI application in place of a real URI for testing"
63 HOMEPAGE="https://github.com/cdent/python3-wsgi-intercept"
64 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
65
66 SLOT="0"
67 LICENSE="MIT"
68 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
69 IUSE="doc test"
70 RDEPEND=""
71 DEPEND="
72 dev-python/setuptools[${PYTHON_USEDEP}]
73 test? (
74 dev-python/httplib2[${PYTHON_USEDEP}]
75 >=dev-python/pytest-2.4[${PYTHON_USEDEP}]
76 >=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
77 $(python_gen_cond_dep 'dev-python/mechanize[${PYTHON_USEDEP}]' python2_7 pypy)
78 )"
79 S="${WORKDIR}/${MY_P}"
80
81 python_prepare_all() {
82 # .pyc files cause failure of tests
83 rm -rf test/__pycache__/ || die
84 distutils-r1_python_prepare_all
85 }
86
87 python_compile_all() {
88 use doc && emake -C docs html
89 }
90
91 python_test() {
92 py.test || die "Tests failed under ${EPYTHON}"
93 }
94
95 python_install_all() {
96 use doc && local HTML_DOCS=( docs/_build/html//. )
97 distutils-r1_python_install_all
98 }