1 |
radhermit 15/06/26 01:35:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pytest-2.7.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.118 dev-python/pytest/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.118&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?rev=1.118&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/ChangeLog?r1=1.117&r2=1.118 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v |
20 |
retrieving revision 1.117 |
21 |
retrieving revision 1.118 |
22 |
diff -u -r1.117 -r1.118 |
23 |
--- ChangeLog 26 May 2015 07:57:05 -0000 1.117 |
24 |
+++ ChangeLog 26 Jun 2015 01:35:44 -0000 1.118 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/pytest |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.117 2015/05/26 07:57:05 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.118 2015/06/26 01:35:44 radhermit Exp $ |
30 |
+ |
31 |
+*pytest-2.7.2 (26 Jun 2015) |
32 |
+ |
33 |
+ 26 Jun 2015; Tim Harder <radhermit@g.o> +pytest-2.7.2.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*pytest-2.7.1 (26 May 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pytest/pytest-2.7.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.7.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytest/pytest-2.7.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pytest-2.7.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.7.2.ebuild,v 1.1 2015/06/26 01:35:44 radhermit Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
54 |
inherit distutils-r1 |
55 |
|
56 |
DESCRIPTION="py.test: simple powerful testing with Python" |
57 |
HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest" |
58 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="MIT" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
63 |
IUSE="doc test" |
64 |
|
65 |
# When bumping, please check setup.py for the proper py version |
66 |
PY_VER="1.4.29" |
67 |
RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]" |
68 |
|
69 |
#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30 |
70 |
DEPEND="${RDEPEND} |
71 |
dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
test? ( dev-python/pexpect[${PYTHON_USEDEP}] ) |
73 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
74 |
|
75 |
python_prepare_all() { |
76 |
# Disable versioning of py.test script to avoid collision with |
77 |
# versioning performed by the eclass. |
78 |
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" |
79 |
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" |
80 |
|
81 |
# Prevent un-needed d'loading |
82 |
sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die |
83 |
distutils-r1_python_prepare_all |
84 |
} |
85 |
|
86 |
python_compile_all() { |
87 |
if use doc; then |
88 |
mkdir doc/en/.build || die |
89 |
emake -C doc/en html |
90 |
fi |
91 |
} |
92 |
|
93 |
python_test() { |
94 |
# test_nose.py not written to suit py3.2 in pypy3 |
95 |
if [[ "${EPYTHON}" == pypy3 ]]; then |
96 |
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ |
97 |
--ignore=testing/test_nose.py \ |
98 |
|| die "tests failed with ${EPYTHON}" |
99 |
else |
100 |
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ |
101 |
|| die "tests failed with ${EPYTHON}" |
102 |
fi |
103 |
} |
104 |
|
105 |
python_install_all() { |
106 |
use doc && dohtml -r doc/en/_build/html/ |
107 |
distutils-r1_python_install_all |
108 |
} |