From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D308E138359 for ; Sun, 20 Sep 2020 14:36:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC5C2E08FF; Sun, 20 Sep 2020 14:36:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2399E08FF for ; Sun, 20 Sep 2020 14:36:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1AB5340FDC for ; Sun, 20 Sep 2020 14:36:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DB5C36A for ; Sun, 20 Sep 2020 14:36:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1600612576.71ff568387b0d7e4c7502791143f110cb6de8311.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-mock/Manifest dev-python/pytest-mock/pytest-mock-2.0.0.ebuild X-VCS-Directories: dev-python/pytest-mock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 71ff568387b0d7e4c7502791143f110cb6de8311 X-VCS-Branch: master Date: Sun, 20 Sep 2020 14:36:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49a30f37-38db-4172-884f-b3f37869870c X-Archives-Hash: bad1a36f22c9909ae0b573d41f70d58b commit: 71ff568387b0d7e4c7502791143f110cb6de8311 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 20 14:34:32 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 20 14:36:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ff5683 dev-python/pytest-mock: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-mock/Manifest | 1 - dev-python/pytest-mock/pytest-mock-2.0.0.ebuild | 42 ------------------------- 2 files changed, 43 deletions(-) diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index 9a36888b97b..c44588580b2 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,2 +1 @@ -DIST pytest-mock-2.0.0.tar.gz 24665 BLAKE2B 31a3464e8bff5a2109716e95492ce1d59f2555769e69cccf4012bc268f88c5eeca99924006bdc78cc5e20cf227860d845bead9656aba1c081da58effb38ea100 SHA512 8bd7f634afebeae628470270c81f0198647bf8cd5b0fac438891d881d9823e40e814d598670bb9c9722b864990958e69d385c7c6a6e2adc81d2adcb303fbe0b0 DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b SHA512 ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421 diff --git a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild b/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild deleted file mode 100644 index 08eb52a8938..00000000000 --- a/dev-python/pytest-mock/pytest-mock-2.0.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" -HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] - $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/pytest-mock-2.0.0-warnings.patch -) - -src_prepare() { - if has_version dev-python/mock; then - # test fails when standalone mock is installed - sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i tests/test_pytest_mock.py || die - fi - distutils-r1_src_prepare -} - -python_test() { - distutils_install_for_testing - pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}" -}