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: Sat, 28 Mar 2020 18:49:09
Message-Id: 1585421298.5b9c77f13a06fd9f67111e7813ee0481266adafc.mgorny@gentoo
1 commit: 5b9c77f13a06fd9f67111e7813ee0481266adafc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 18:28:58 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 18:48:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9c77f1
7
8 dev-python/pytest: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest/Manifest | 2 --
13 dev-python/pytest/pytest-5.3.4.ebuild | 65 -----------------------------------
14 dev-python/pytest/pytest-5.3.5.ebuild | 65 -----------------------------------
15 3 files changed, 132 deletions(-)
16
17 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest
18 index 269039c9417..158024ab8f5 100644
19 --- a/dev-python/pytest/Manifest
20 +++ b/dev-python/pytest/Manifest
21 @@ -1,6 +1,4 @@
22 DIST pytest-3.10.1.tar.gz 892420 BLAKE2B 38849ae69bf4380bc1a99aa105cac04be078da4460373dfc16fa555238b2830fa2f5ae6c19de8aa2af9ac18d87c5d2705d62f7b2e67e4a62d843f6a28bbd76fd SHA512 30ff79c0fdcbeef68e1191ff400a20428e391717f06957f554b694b94baaaa565dca01346fe989c3e443c4402f3b2bdbd5564f6303a4447f933fb54cba45628f
23 DIST pytest-4.5.0.tar.gz 943607 BLAKE2B 49a0e91fda7f4231fdd39f90eb2daa344d3034c10faff221330ea0ae7482a2a7d0fb9443a0a264db00f1d92568d5a6005cb73e07d8643b46906f7ecff831adcb SHA512 cbffc6216f83491b1de241058315c116697bfaa5206b5f558192a7f861d43dd036d30d0d689bedae7bdee4f0258dd19ef5827c356e11863dd596a5fabe8249fc
24 DIST pytest-4.6.9.tar.gz 956816 BLAKE2B 7eaeaa0d47c17836a35d9cdc97663f8ef65253099b21d60a7ffc3655d8bd93c6b4e33045caa6c8ab9bb8b920b93e596ba86d8eac4ab07b3b7a5989b38312f4fc SHA512 ab45a8662aa798a6ae224ad2cd68e043c605e4830c76cb6c6aca3cfccef232c024cbbb6c48c9bae19148099c339abfef3270a2208cc7e5c37a10b34b0aa6ba79
25 -DIST pytest-5.3.4.tar.gz 990897 BLAKE2B dd6f0a277352dd72e6348e89813a7df50aabf9ee134afd69412100b87a7898128ec6b17bf29082c88554b66ba5622b7e0b9a1338d6b740795f33055a9279cfdc SHA512 562966d74d2ff12715ececa46acdd49de67f5e792687d52b3f53589f6dc6105aed09bd4c5098989d70b8a69e6bb4cfb9c0b1ee7e9cfc8e8252e3ba6b4d39e4bc
26 -DIST pytest-5.3.5.tar.gz 990935 BLAKE2B 257628ca9bf7b5e17eb54d868f37fc18a6cc43e66e7ec64581aae0faa8c92a9aa102f011e3117f6c669fc3dfa27fb884c2fefea6b0771fa0ed8999364bc4e149 SHA512 14877d67aef83d498c8a2917b9633bda317948fa889100e6d1a00547a71f0bfb32d8a01506e97bab6372bfbae17a03aa21bdad8d81072a163a5c9c042498a3b3
27 DIST pytest-5.4.1.tar.gz 1017924 BLAKE2B 2892b06655384c8453963e8444e7c1659f4ce60410afe6d01c480da4858628f6c8fd8774131c5bfaca3b3baf9936e3e4d607788b390d37f7aee90cb39c4ba15c SHA512 50d94158817561316cfb4c6ad4481858a76cfe44ba964cc7a3bb81d3701eb621ca5cd46c4be24644134417d8bf7e7771f4b3a30af71fde5ea9705c3241fa2878
28
29 diff --git a/dev-python/pytest/pytest-5.3.4.ebuild b/dev-python/pytest/pytest-5.3.4.ebuild
30 deleted file mode 100644
31 index 799268b7475..00000000000
32 --- a/dev-python/pytest/pytest-5.3.4.ebuild
33 +++ /dev/null
34 @@ -1,65 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -DISTUTILS_USE_SETUPTOOLS=rdepend
41 -PYTHON_COMPAT=( python3_{6,7,8} )
42 -
43 -inherit distutils-r1
44 -
45 -DESCRIPTION="Simple powerful testing with Python"
46 -HOMEPAGE="https://pytest.org/"
47 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86"
52 -IUSE="test"
53 -RESTRICT="!test? ( test )"
54 -
55 -# When bumping, please check setup.py for the proper py version
56 -PY_VER="1.5.0"
57 -
58 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
59 -# support, which only came in py3.6.
60 -RDEPEND="
61 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
62 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
63 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
64 - dev-python/packaging[${PYTHON_USEDEP}]
65 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
66 - <dev-python/pluggy-1
67 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
68 - dev-python/six[${PYTHON_USEDEP}]
69 - dev-python/wcwidth[${PYTHON_USEDEP}]"
70 -
71 -# flake cause a number of tests to fail
72 -DEPEND="${RDEPEND}
73 - test? (
74 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
75 - dev-python/nose[${PYTHON_USEDEP}]
76 - dev-python/mock[${PYTHON_USEDEP}]
77 - dev-python/requests[${PYTHON_USEDEP}]
78 - dev-python/xmlschema[${PYTHON_USEDEP}]
79 - !!dev-python/flaky
80 - )"
81 -
82 -PATCHES=(
83 - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch
84 -)
85 -
86 -python_prepare_all() {
87 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
88 -
89 - # Something in the ebuild environment causes this to hang/error.
90 - # https://bugs.gentoo.org/598442
91 - rm testing/test_pdb.py || die
92 -
93 - distutils-r1_python_prepare_all
94 -}
95 -
96 -python_test() {
97 - "${EPYTHON}" -m pytest -vv --lsof -rfsxX \
98 - || die "tests failed with ${EPYTHON}"
99 -}
100
101 diff --git a/dev-python/pytest/pytest-5.3.5.ebuild b/dev-python/pytest/pytest-5.3.5.ebuild
102 deleted file mode 100644
103 index e0c897533ec..00000000000
104 --- a/dev-python/pytest/pytest-5.3.5.ebuild
105 +++ /dev/null
106 @@ -1,65 +0,0 @@
107 -# Copyright 1999-2020 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=7
111 -
112 -DISTUTILS_USE_SETUPTOOLS=rdepend
113 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
114 -
115 -inherit distutils-r1
116 -
117 -DESCRIPTION="Simple powerful testing with Python"
118 -HOMEPAGE="https://pytest.org/"
119 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
120 -
121 -LICENSE="MIT"
122 -SLOT="0"
123 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~x86"
124 -IUSE="test"
125 -RESTRICT="!test? ( test )"
126 -
127 -# When bumping, please check setup.py for the proper py version
128 -PY_VER="1.5.0"
129 -
130 -# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__
131 -# support, which only came in py3.6.
132 -RDEPEND="
133 - >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}]
134 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
135 - >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}]
136 - dev-python/packaging[${PYTHON_USEDEP}]
137 - >=dev-python/pluggy-0.12[${PYTHON_USEDEP}]
138 - <dev-python/pluggy-1
139 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
140 - dev-python/six[${PYTHON_USEDEP}]
141 - dev-python/wcwidth[${PYTHON_USEDEP}]"
142 -
143 -# flake cause a number of tests to fail
144 -DEPEND="${RDEPEND}
145 - test? (
146 - >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
147 - dev-python/nose[${PYTHON_USEDEP}]
148 - dev-python/mock[${PYTHON_USEDEP}]
149 - dev-python/requests[${PYTHON_USEDEP}]
150 - dev-python/xmlschema[${PYTHON_USEDEP}]
151 - !!dev-python/flaky
152 - )"
153 -
154 -PATCHES=(
155 - "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch
156 -)
157 -
158 -python_prepare_all() {
159 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
160 -
161 - # Something in the ebuild environment causes this to hang/error.
162 - # https://bugs.gentoo.org/598442
163 - rm testing/test_pdb.py || die
164 -
165 - distutils-r1_python_prepare_all
166 -}
167 -
168 -python_test() {
169 - "${EPYTHON}" -m pytest -vv --lsof -rfsxX \
170 - || die "tests failed with ${EPYTHON}"
171 -}