From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pytest: pytest-2.3.2.ebuild ChangeLog |
Date: | Tue, 30 Oct 2012 08:06:03 |
Message-Id: | 20121030080544.F3FF621600@flycatcher.gentoo.org |
1 | patrick 12/10/30 08:05:44 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pytest-2.3.2.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.38 dev-python/pytest/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.38&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.38&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?r1=1.37&r2=1.38 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v |
20 | retrieving revision 1.37 |
21 | retrieving revision 1.38 |
22 | diff -u -r1.37 -r1.38 |
23 | --- ChangeLog 28 Jun 2012 07:12:18 -0000 1.37 |
24 | +++ ChangeLog 30 Oct 2012 08:05:44 -0000 1.38 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pytest |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.37 2012/06/28 07:12:18 patrick Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.38 2012/10/30 08:05:44 patrick Exp $ |
30 | + |
31 | +*pytest-2.3.2 (30 Oct 2012) |
32 | + |
33 | + 30 Oct 2012; Patrick Lauer <patrick@g.o> +pytest-2.3.2.ebuild: |
34 | + Bump |
35 | |
36 | *pytest-2.2.4 (28 Jun 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pytest/pytest-2.3.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.3.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.3.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pytest-2.3.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.3.2.ebuild,v 1.1 2012/10/30 08:05:44 patrick Exp $ |
51 | |
52 | EAPI="3" |
53 | SUPPORT_PYTHON_ABIS="1" |
54 | |
55 | inherit distutils |
56 | |
57 | DESCRIPTION="py.test: simple powerful testing with Python" |
58 | HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest" |
59 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
60 | |
61 | LICENSE="MIT" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos" |
64 | IUSE="" |
65 | |
66 | RDEPEND=">=dev-python/py-1.4.7" |
67 | DEPEND="${RDEPEND} |
68 | app-arch/unzip |
69 | dev-python/setuptools" |
70 | |
71 | DOCS="CHANGELOG README.txt" |
72 | PYTHON_MODNAME="pytest.py _pytest" |
73 | |
74 | src_prepare() { |
75 | distutils_src_prepare |
76 | |
77 | # Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install(). |
78 | sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" |
79 | } |
80 | |
81 | src_test() { |
82 | testing() { |
83 | PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" "build-${PYTHON_ABI}/lib/pytest.py" |
84 | } |
85 | python_execute_function testing |
86 | } |
87 | |
88 | src_install() { |
89 | distutils_src_install |
90 | python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/py.test" |
91 | |
92 | # Bug 380275: Test suite pre-compiles modules |
93 | python_clean_installation_image -q |
94 | } |