Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/
Date: Sun, 29 Oct 2017 22:13:15
Message-Id: 1509315185.81eab3df3f1dfad84b1155d7598da8fbf991e3d4.zmedico@gentoo
1 commit: 81eab3df3f1dfad84b1155d7598da8fbf991e3d4
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 21:28:52 2017 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 22:13:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81eab3df
7
8 dev-python/pytest-mock: remove old versions
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 dev-python/pytest-mock/Manifest | 2 --
13 dev-python/pytest-mock/pytest-mock-1.2.ebuild | 32 --------------------
14 dev-python/pytest-mock/pytest-mock-1.5.0.ebuild | 40 -------------------------
15 3 files changed, 74 deletions(-)
16
17 diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
18 index 0b872b14a22..faa9647a12b 100644
19 --- a/dev-python/pytest-mock/Manifest
20 +++ b/dev-python/pytest-mock/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST pytest-mock-1.2.zip 19461 SHA256 f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f SHA512 9b87c72e9895a16d4829229a070ba2b8143be894dfbc804b1e882eb2cc5843d8da9db258b5a2b9f8ae6738d9d612dbf1bec16790c5f99c27d9f7554cb676f852 WHIRLPOOL 470832b4df4a9392b0cfcbba96b2a52379d7111af0236f5dbe4e22f4e303da248bf2f936b3b66ae0ff3a197f3c87b0419c54c115fe5c6543e255f11666d3031d
23 -DIST pytest-mock-1.5.0.tar.gz 17199 SHA256 782f23f227874bac4cee878637c2af8efdd2c34c48fcbf9e79b00a0872056ffb SHA512 5b5acb3ae3040d37768692a5289be269d8e12a6188a2dddefb136bdb99f847bedee525d59ac49886a6a27032b672e442ee256410174777675bf92fc82505f807 WHIRLPOOL 7c9c2617944dbf02cce356d12650d89372db252bdf79b92db304bcb1337858a38ae4b9b640210190338feccf4de0cbd64ad1a2d7ffc411c9184e1cd09dd7ec17
24 DIST pytest-mock-1.6.0.tar.gz 17780 SHA256 83a17cbcd4dbc7c6c9dc885a0d598f9acd11f2d5142e0718ed32e14538670c1f SHA512 c3b897be9156d57d7012e95b620c543500b849d7076224e3328d3783311210c57141dfb82c01bb98e5e419125dce0f68f6631bd610f4909f5ac1798458a7949f WHIRLPOOL 518c8732f722547a0a87f0e1dd4cf8c80272f4a62f238d5bb16766fe0340c8fc022e409f58e6aa8ed7cb17b33fe160574db199197c0466701fa7e7a668fb5116
25 DIST pytest-mock-1.6.3.tar.gz 18482 SHA256 920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c SHA512 6857f373728d3f2c6b152d4f89da3590e2e74795695dc9f4f3704a4e0250e49d705ce0de4121a801ac35c83217678a95a5023338124293ca74db406941f5072a WHIRLPOOL 85fe9ed6bec18eacb5cd9c404c7ff032e88869e38ad744628b236fc5081d48eee7fd161a6fd4066f38815474eefb6b7635a82199a130000cbba17b662c2bd0f0
26
27 diff --git a/dev-python/pytest-mock/pytest-mock-1.2.ebuild b/dev-python/pytest-mock/pytest-mock-1.2.ebuild
28 deleted file mode 100644
29 index 2dc05b0a31c..00000000000
30 --- a/dev-python/pytest-mock/pytest-mock-1.2.ebuild
31 +++ /dev/null
32 @@ -1,32 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy pypy3 )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
42 -HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -
50 -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
51 - python_targets_python2_7? (
52 - dev-python/mock[python_targets_python2_7]
53 - )
54 - python_targets_pypy? (
55 - dev-python/mock[python_targets_pypy]
56 - )"
57 -DEPEND="${RDEPEND}
58 - app-arch/unzip
59 - dev-python/setuptools[${PYTHON_USEDEP}]"
60 -
61 -python_test() {
62 - PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
63 - py.test test_pytest_mock.py || die
64 -}
65
66 diff --git a/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild b/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild
67 deleted file mode 100644
68 index 32941be25b3..00000000000
69 --- a/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild
70 +++ /dev/null
71 @@ -1,40 +0,0 @@
72 -# Copyright 1999-2017 Gentoo Foundation
73 -# Distributed under the terms of the GNU General Public License v2
74 -
75 -EAPI=6
76 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
77 -
78 -inherit distutils-r1
79 -
80 -DESCRIPTION="Thin-wrapper around the mock package for easier use with py.test"
81 -HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
82 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
83 -
84 -LICENSE="MIT"
85 -SLOT="0"
86 -KEYWORDS="~amd64 ~x86"
87 -IUSE=""
88 -
89 -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
90 - python_targets_python2_7? (
91 - dev-python/mock[python_targets_python2_7]
92 - )
93 - python_targets_pypy? (
94 - dev-python/mock[python_targets_pypy]
95 - )"
96 -DEPEND="${RDEPEND}
97 - dev-python/setuptools[${PYTHON_USEDEP}]
98 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
99 -
100 -src_prepare() {
101 - if has_version dev-python/mock; then
102 - # test fails when standalone mock is installed
103 - sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i test_pytest_mock.py || die
104 - fi
105 - distutils-r1_src_prepare
106 -}
107 -
108 -python_test() {
109 - PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
110 - py.test test_pytest_mock.py || die
111 -}