Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/
Date: Wed, 03 May 2017 12:18:38
Message-Id: 1493813899.fe5c745cf57013c0fc825a75f8faf470a784dc0c.mgorny@gentoo
1 commit: fe5c745cf57013c0fc825a75f8faf470a784dc0c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 11:48:57 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 12:18:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5c745c
7
8 dev-python/pytest: Clean old versions up
9
10 dev-python/pytest/Manifest | 1 -
11 dev-python/pytest/pytest-3.0.5.ebuild | 70 -----------------------------------
12 2 files changed, 71 deletions(-)
13
14 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest
15 index 96b807809a9..82cce9ec04e 100644
16 --- a/dev-python/pytest/Manifest
17 +++ b/dev-python/pytest/Manifest
18 @@ -1,5 +1,4 @@
19 DIST pytest-2.7.2.tar.gz 532836 SHA256 b30457f735420d0000d10a44bbd478cf03f8bf20e25bd77248f9bab40f4fd6a4 SHA512 5474a4fe58437a4971fb21b1b37dad3c08e18e5d154931ff23e597f881100a3515bf0cf71d06b143465594ad2a91a96f84f4836d84c39691143c8d88ca7a4360 WHIRLPOOL 6ab7371f952109ac476774222883e1381fe5ee6a54d967f2d90765f6c59c90634a16c42e8e2e1661169db6a9cb1327242ff2281cf1caeabd86a4dacd24f4bb06
20 DIST pytest-3.0.2.tar.gz 727551 SHA256 64d8937626dd2a4bc15ef0edd307d26636a72a3f3f9664c424d78e40efb1e339 SHA512 38485c73f9df3c76b7b920b6957ffe4fbfd32ca0c46b73a53375a40586a482d270bf71b4457b68d48815d50ad173824b269ece255692ae0d1b13f0b1885ce54f WHIRLPOOL b6954a95e5f7d9b904c7543a09c2ef237c76c3a35bcd3e24c402a02aec3b35a19cdb952ac38af4ce43ae516cb5ac52023a0d91f2c587343265edd6d493145e8a
21 DIST pytest-3.0.3.tar.gz 731934 SHA256 f213500a356800a483e8a146ff971ae14a8df3f2c0ae4145181aad96996abee7 SHA512 ec0b4a5f0d6673a339c5a70b402c004c23db7001005454329eeaea15d890f53b8f2740f6c6254499d0f915b9058bfdfa535d9f22847bb382a060d65204fce4af WHIRLPOOL 1883909fa23832e674cf912b1d88957dd435143dc124df5454c08ad02c8077473168f749ea94539c2c4b5cf08648a0bce7e90937bbdacd4bb69a4ccf15ecff23
22 -DIST pytest-3.0.5.tar.gz 740656 SHA256 4a003aa956f023ce91aa6e166b555e6f02a4b0aeb459ac61e14f64c0d39037fd SHA512 b01c6272703ec93b7e7eefa584688a3d00cd97ac9cf54bc9501b596d4c370f9f74e06ee2223829b60469ea1a32c3a3c30b29aeacfaab1f23404d5f8345544ca1 WHIRLPOOL 9b044222fc628dd138e9eaaf27a930b6389e74dff09ec25c07392c4d965c30890a79f5fb663db6de4f612dbabd6338049d2ed45679928835f8c7a278530d6c05
23 DIST pytest-3.0.6.tar.gz 748748 SHA256 643434a9f1a188271da35e20064cb8b6c5440976c5bb541dc7b5b0e3cf75d940 SHA512 0e983f1f52c18327537d20be30425f4c74037d1fbf6b4aedf2646cf21d450fa9b2b20625f26f5db759b4fe1fd28c6640cb1df88e667efaeea6642e7f02f01e06 WHIRLPOOL 708e5041135883ba31d9712880672f64bf05c0bf40a544061cb42fed4d2aec111bfdf82b63f10e8a87c2b76870e3ea364b396258f0674d2199e43fe93cf2922e
24
25 diff --git a/dev-python/pytest/pytest-3.0.5.ebuild b/dev-python/pytest/pytest-3.0.5.ebuild
26 deleted file mode 100644
27 index f6688a08676..00000000000
28 --- a/dev-python/pytest/pytest-3.0.5.ebuild
29 +++ /dev/null
30 @@ -1,70 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Simple powerful testing with Python"
41 -HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
47 -IUSE="doc test"
48 -
49 -# When bumping, please check setup.py for the proper py version
50 -PY_VER="1.4.29"
51 -COMMON_DEPEND="
52 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
53 - doc? (
54 - dev-python/pyyaml[${PYTHON_USEDEP}]
55 - dev-python/sphinx[${PYTHON_USEDEP}]
56 - )
57 -"
58 -DEPEND="${COMMON_DEPEND}
59 - dev-python/setuptools[${PYTHON_USEDEP}]
60 - test? (
61 - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
62 - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
63 - dev-python/nose[${PYTHON_USEDEP}]
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/requests[${PYTHON_USEDEP}]
66 - )
67 -"
68 -RDEPEND="${COMMON_DEPEND}
69 - !dev-python/logilab-common
70 -"
71 -
72 -python_prepare_all() {
73 - chmod o-w *egg*/* || die
74 - # Disable versioning of py.test script to avoid collision with
75 - # versioning performed by the eclass.
76 - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
77 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
78 -
79 - distutils-r1_python_prepare_all
80 -}
81 -
82 -python_test() {
83 - # test_nose.py not written to suit py3.2 in pypy3
84 - if [[ "${EPYTHON}" == pypy3 ]]; then
85 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
86 - --ignore=testing/BUILD_nose.py \
87 - || die "tests failed with ${EPYTHON}"
88 - else
89 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}"
90 - fi
91 -}
92 -
93 -python_compile_all(){
94 - use doc && emake -C doc/en html
95 -}
96 -
97 -python_install_all() {
98 - use doc && HTML_DOCS=( doc/en/_build/html/. )
99 - distutils-r1_python_install_all
100 -}