Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/
Date: Fri, 10 May 2019 12:53:16
Message-Id: 1557492781.47d431a08887c8075cde22af63a82e91457919b6.vdupras@gentoo
1 commit: 47d431a08887c8075cde22af63a82e91457919b6
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 10 12:53:01 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Fri May 10 12:53:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47d431a0
7
8 dev-python/pytest: remove old
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 dev-python/pytest/Manifest | 1 -
14 dev-python/pytest/pytest-3.2.2.ebuild | 75 -----------------------------------
15 2 files changed, 76 deletions(-)
16
17 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest
18 index 7c446304250..b7466c51aab 100644
19 --- a/dev-python/pytest/Manifest
20 +++ b/dev-python/pytest/Manifest
21 @@ -1,4 +1,3 @@
22 DIST pytest-3.10.1.tar.gz 892420 BLAKE2B 38849ae69bf4380bc1a99aa105cac04be078da4460373dfc16fa555238b2830fa2f5ae6c19de8aa2af9ac18d87c5d2705d62f7b2e67e4a62d843f6a28bbd76fd SHA512 30ff79c0fdcbeef68e1191ff400a20428e391717f06957f554b694b94baaaa565dca01346fe989c3e443c4402f3b2bdbd5564f6303a4447f933fb54cba45628f
23 -DIST pytest-3.2.2.tar.gz 786396 BLAKE2B e669da930890e902b0323ec3a6685080ddd889e74655f7b4cb08ec421651f987597021a31471aab5a32d637b99620ce7792cbdf8f85561db3bb10ff06a446ba1 SHA512 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db
24 DIST pytest-3.4.2.tar.gz 812719 BLAKE2B 96623d6cdea4bd79778175c18c949938505f1862010f700f9a8cb85f445910381af391a5b69e664fbbfc254bf46502c798c72026772070236a0a3bca7aeeb3d6 SHA512 787065ab76d4482799bb2da9f024c9c383e68cc1cc01f3b80f6ed9444ca6383d20953615696ed4dd01668777b094cf5002b23c4ce51828879dcf8ebf2170c71b
25 DIST pytest-4.4.1.tar.gz 931385 BLAKE2B 490b7e931282f35a5d0a83d0e34057bd30e2d2188748e1dad5a09261e27e043e59ae21af24ef39345a1d566f35dd30ef0f877dcb26a927da31a79cc88c52dbe5 SHA512 a4bc18fe7d8db5433d4d52c0ced38d3d0e6a785710bdc772e007fb1f0f516db2267e608845e075ce4d69a5e71a5e741cc6d84b04622e0a04bd2ad3b6576a1473
26
27 diff --git a/dev-python/pytest/pytest-3.2.2.ebuild b/dev-python/pytest/pytest-3.2.2.ebuild
28 deleted file mode 100644
29 index 3aead274c8d..00000000000
30 --- a/dev-python/pytest/pytest-3.2.2.ebuild
31 +++ /dev/null
32 @@ -1,75 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Simple powerful testing with Python"
43 -HOMEPAGE="http://pytest.org/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
49 -IUSE="doc test"
50 -
51 -# When bumping, please check setup.py for the proper py version
52 -PY_VER="1.4.33"
53 -COMMON_DEPEND="
54 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 - doc? (
57 - dev-python/pyyaml[${PYTHON_USEDEP}]
58 - dev-python/sphinx[${PYTHON_USEDEP}]
59 - )"
60 -
61 -DEPEND="${COMMON_DEPEND}
62 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
63 - test? (
64 - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
65 - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
66 - dev-python/nose[${PYTHON_USEDEP}]
67 - dev-python/mock[${PYTHON_USEDEP}]
68 - dev-python/requests[${PYTHON_USEDEP}]
69 - )"
70 -
71 -RDEPEND="
72 - ${COMMON_DEPEND}
73 - !<dev-python/logilab-common-1.3.0"
74 -
75 -python_prepare_all() {
76 - chmod o-w *egg*/* || die
77 - # Disable versioning of py.test script to avoid collision with
78 - # versioning performed by the eclass.
79 - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
80 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
81 -
82 - # Something in the ebuild environment causes this to hang/error.
83 - # https://bugs.gentoo.org/598442
84 - rm testing/test_pdb.py || die
85 -
86 - distutils-r1_python_prepare_all
87 -}
88 -
89 -python_test() {
90 - # test_nose.py not written to suit py3.2 in pypy3
91 - if [[ "${EPYTHON}" == pypy3 ]]; then
92 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
93 - --ignore=testing/BUILD_nose.py \
94 - || die "tests failed with ${EPYTHON}"
95 - else
96 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}"
97 - fi
98 -}
99 -
100 -python_compile_all(){
101 - use doc && emake -C doc/en html
102 -}
103 -
104 -python_install_all() {
105 - use doc && HTML_DOCS=( doc/en/_build/html/. )
106 - distutils-r1_python_install_all
107 -}