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-mock/
Date: Mon, 04 May 2020 11:45:11
Message-Id: 1588592622.c799f0cfa0e463578ae21dc50cfddd337b44eea3.mgorny@gentoo
1 commit: c799f0cfa0e463578ae21dc50cfddd337b44eea3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 11:43:42 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 11:43:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c799f0cf
7
8 dev-python/pytest-mock: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-mock/Manifest | 1 -
13 dev-python/pytest-mock/pytest-mock-3.0.0.ebuild | 37 -------------------------
14 2 files changed, 38 deletions(-)
15
16 diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest
17 index 8fb3187796e..a460f3795a6 100644
18 --- a/dev-python/pytest-mock/Manifest
19 +++ b/dev-python/pytest-mock/Manifest
20 @@ -1,4 +1,3 @@
21 DIST pytest-mock-1.11.2.tar.gz 22825 BLAKE2B d6843d1cb1afc0d5a242103ec4900d56418198b84fa037faf4b6841d7fbfd388273a819a26bfe051e6030690105e74211a27d2b864448598962b3e03788958fa SHA512 6dc927ce35001d088bddd9d79e024141b9e8163033b07af14b1f63330ef8b93dbf88649702f8fcc4f6ad314212fa5cbd39486b539811ec918450b3f7a716f96c
22 DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100 SHA512 8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0
23 -DIST pytest-mock-3.0.0.tar.gz 24299 BLAKE2B 0d800a37bbc17c5f4033e6cc0e4d0587e82c42ff8097260d766841dd11e4b948d6cb1c9a0a0cbd11cc4e78c247b69475295c82ecb3a20816d59132ff6f99b4e9 SHA512 93046c63b4d7f699f88e0d29a0180e3609417ced97427a60db6427a633584d3a10bb92a7e93ef2cdc12268f4c03d579524dc46e1aad6a1196c02958ae81af8ba
24 DIST pytest-mock-3.1.0.tar.gz 25003 BLAKE2B 5f12bc664c6342912e0326bc4ac20c1e599f13c047964df3943ae5d31b8a3710406bc4d30bc2c2304c0fffefd0f49441644b667fdbf79426809c230e5b2ecc78 SHA512 6e970aeb1d4086df045a355e11969074e761fcdc3c8486e0405a4051cdf7c4425ae264e7005afe7afe5356f73061ad5f4cbad05b3ce2f55681a3e12ce1a6b671
25
26 diff --git a/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
27 deleted file mode 100644
28 index b5ce25c092d..00000000000
29 --- a/dev-python/pytest-mock/pytest-mock-3.0.0.ebuild
30 +++ /dev/null
31 @@ -1,37 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -DISTUTILS_USE_SETUPTOOLS=rdepend
38 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest"
43 -HOMEPAGE="https://github.com/pytest-dev/pytest-mock/"
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 ~ppc ~ppc64 ~sparc ~x86"
49 -IUSE=""
50 -
51 -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
52 -BDEPEND="
53 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
54 -
55 -distutils_enable_tests pytest
56 -
57 -src_prepare() {
58 - if has_version dev-python/mock; then
59 - # test fails when standalone mock is installed
60 - sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i tests/test_pytest_mock.py || die
61 - fi
62 - distutils-r1_src_prepare
63 -}
64 -
65 -python_test() {
66 - distutils_install_for_testing
67 - pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}"
68 -}