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/pytest: pytest-2.2.4.ebuild ChangeLog
Date: Thu, 28 Jun 2012 07:12:28
Message-Id: 20120628071218.1ADB62004B@flycatcher.gentoo.org
1 patrick 12/06/28 07:12:18
2
3 Modified: ChangeLog
4 Added: pytest-2.2.4.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 dev-python/pytest/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 12 May 2012 20:13:22 -0000 1.36
24 +++ ChangeLog 28 Jun 2012 07:12:18 -0000 1.37
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.36 2012/05/12 20:13:22 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.37 2012/06/28 07:12:18 patrick Exp $
30 +
31 +*pytest-2.2.4 (28 Jun 2012)
32 +
33 + 28 Jun 2012; Patrick Lauer <patrick@g.o> +pytest-2.2.4.ebuild:
34 + Bump
35
36 12 May 2012; Alexis Ballier <aballier@g.o> pytest-2.2.3.ebuild:
37 keyword ~amd64-fbsd
38 @@ -134,4 +139,3 @@
39 13 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
40 +pytest-2.0.0.ebuild, +metadata.xml:
41 Initial addition. Ebuild written by me.
42 -
43
44
45
46 1.1 dev-python/pytest/pytest-2.2.4.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.2.4.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.2.4.ebuild?rev=1.1&content-type=text/plain
50
51 Index: pytest-2.2.4.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.2.4.ebuild,v 1.1 2012/06/28 07:12:18 patrick Exp $
56
57 EAPI="3"
58 SUPPORT_PYTHON_ABIS="1"
59
60 inherit distutils
61
62 DESCRIPTION="py.test: simple powerful testing with Python"
63 HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest"
64 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
65
66 LICENSE="MIT"
67 SLOT="0"
68 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"
69 IUSE=""
70
71 RDEPEND=">=dev-python/py-1.4.7"
72 DEPEND="${RDEPEND}
73 app-arch/unzip
74 dev-python/setuptools"
75
76 DOCS="CHANGELOG README.txt"
77 PYTHON_MODNAME="pytest.py _pytest"
78
79 src_prepare() {
80 distutils_src_prepare
81
82 # Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install().
83 sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
84 }
85
86 src_test() {
87 testing() {
88 PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" "build-${PYTHON_ABI}/lib/pytest.py"
89 }
90 python_execute_function testing
91 }
92
93 src_install() {
94 distutils_src_install
95 python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/py.test"
96
97 # Bug 380275: Test suite pre-compiles modules
98 python_clean_installation_image -q
99 }