1 |
commit: 63c071c399e56077578a29fce729effbba0e774c |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 24 15:21:25 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 15:33:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c071c3 |
7 |
|
8 |
dev-python/pytest: remove 2.7.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7 |
11 |
|
12 |
dev-python/pytest/Manifest | 1 - |
13 |
dev-python/pytest/pytest-2.7.2.ebuild | 62 ----------------------------------- |
14 |
2 files changed, 63 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
17 |
index c0ed6a1dea7..5fd8a3685ed 100644 |
18 |
--- a/dev-python/pytest/Manifest |
19 |
+++ b/dev-python/pytest/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST pytest-2.7.2.tar.gz 532836 BLAKE2B abdb179ca82078ecf081055484d7fc1f1d63f7f3ce58b19ed27e10da25e163a24ad89e4afe8b7e5af0d5fa14ace6eb18c6dbe302845fb6bbf0a545a443fc7847 SHA512 5474a4fe58437a4971fb21b1b37dad3c08e18e5d154931ff23e597f881100a3515bf0cf71d06b143465594ad2a91a96f84f4836d84c39691143c8d88ca7a4360 |
22 |
DIST pytest-3.0.3.tar.gz 731934 BLAKE2B 7fb57d75bd54eb8a31d9701fdf739119715c475eaaacae3cd038057c1d2bf43fa86ccdc45b3c84962708ef606976ab39ad41e0c3690c8b5f4c04d870579a384e SHA512 ec0b4a5f0d6673a339c5a70b402c004c23db7001005454329eeaea15d890f53b8f2740f6c6254499d0f915b9058bfdfa535d9f22847bb382a060d65204fce4af |
23 |
DIST pytest-3.2.2.tar.gz 786396 BLAKE2B e669da930890e902b0323ec3a6685080ddd889e74655f7b4cb08ec421651f987597021a31471aab5a32d637b99620ce7792cbdf8f85561db3bb10ff06a446ba1 SHA512 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db |
24 |
|
25 |
diff --git a/dev-python/pytest/pytest-2.7.2.ebuild b/dev-python/pytest/pytest-2.7.2.ebuild |
26 |
deleted file mode 100644 |
27 |
index ce6683f5f93..00000000000 |
28 |
--- a/dev-python/pytest/pytest-2.7.2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,62 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 ) |
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="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
47 |
-IUSE="doc test" |
48 |
- |
49 |
-# When bumping, please check setup.py for the proper py version |
50 |
-PY_VER="1.4.29" |
51 |
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]" |
52 |
- |
53 |
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30 |
54 |
-DEPEND="${RDEPEND} |
55 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
- test? ( dev-python/pexpect[${PYTHON_USEDEP}] ) |
57 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
58 |
- |
59 |
-python_prepare_all() { |
60 |
- # Disable versioning of py.test script to avoid collision with |
61 |
- # versioning performed by the eclass. |
62 |
- sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" |
63 |
- grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" |
64 |
- |
65 |
- # Prevent un-needed d'loading |
66 |
- sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die |
67 |
- distutils-r1_python_prepare_all |
68 |
-} |
69 |
- |
70 |
-python_compile_all() { |
71 |
- if use doc; then |
72 |
- mkdir doc/en/.build || die |
73 |
- emake -C doc/en html |
74 |
- fi |
75 |
-} |
76 |
- |
77 |
-python_test() { |
78 |
- # test_nose.py not written to suit py3.2 in pypy3 |
79 |
- if [[ "${EPYTHON}" == pypy3 ]]; then |
80 |
- "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ |
81 |
- --ignore=testing/test_nose.py \ |
82 |
- || die "tests failed with ${EPYTHON}" |
83 |
- else |
84 |
- "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \ |
85 |
- || die "tests failed with ${EPYTHON}" |
86 |
- fi |
87 |
-} |
88 |
- |
89 |
-python_install_all() { |
90 |
- use doc && dohtml -r doc/en/_build/html/ |
91 |
- distutils-r1_python_install_all |
92 |
-} |