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 9F8B31382C5 for ; Sat, 5 Jun 2021 21:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0759E0AEA; Sat, 5 Jun 2021 21:20:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 C5F80E0AE3 for ; Sat, 5 Jun 2021 21:20:25 +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 8FA85335CCD for ; Sat, 5 Jun 2021 21:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5F4C75B for ; Sat, 5 Jun 2021 21:20:22 +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: <1622927906.37cbacf459bbc890a2b06e9356b3f6a62b8588c4.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-3.5.1.ebuild dev-python/pytest-mock/pytest-mock-3.6.0.ebuild X-VCS-Directories: dev-python/pytest-mock/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 37cbacf459bbc890a2b06e9356b3f6a62b8588c4 X-VCS-Branch: master Date: Sat, 5 Jun 2021 21:20:22 +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: 6175b943-119e-4012-b0e9-d2df25e26bb0 X-Archives-Hash: a17d9f011c55df7489eec7c008708bda commit: 37cbacf459bbc890a2b06e9356b3f6a62b8588c4 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 5 21:18:26 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 5 21:18:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cbacf4 dev-python/pytest-mock: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-mock/Manifest | 2 -- dev-python/pytest-mock/pytest-mock-3.5.1.ebuild | 36 ------------------------- dev-python/pytest-mock/pytest-mock-3.6.0.ebuild | 32 ---------------------- 3 files changed, 70 deletions(-) diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index 1244c4ba705..c05c153f905 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,3 +1 @@ -DIST pytest-mock-3.5.1.tar.gz 29135 BLAKE2B f9eb37bff0965772919c359ad56a0cdd0cac24fa763685c42ffaa2dfaea183a9c0be480269cbfc80990baaf406021c541b6dccc09602e98c8f731bbd530e928a SHA512 28ab2f239d3dfee134dd4e4fd467109cf3c76cb60aeb537dbc0c21b9a7619d068d54737e33d98c585e9341588fdafba4737ea5f428af37796f55e61ec30373a7 -DIST pytest-mock-3.6.0.tar.gz 29795 BLAKE2B ac0a9ebf47ceacaa6f1e109571a15509780ca25b67f46a74710fb81e3af4cb90f4bf95e077abd9c5be803fed1a4dfe691f57f4b0d89fbc91cb91ed85fd326f9b SHA512 158614ad655545a95134335b6ca5ab81bfae57a045a6e394c4195d267e2b5cce277302036ad7e23e3c771eaae71575b901ac3e02a734714d63ecb50c11b9df94 DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3 SHA512 50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199 diff --git a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild b/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild deleted file mode 100644 index 17ca5abbe94..00000000000 --- a/dev-python/pytest-mock/pytest-mock-3.5.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{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 ~riscv sparc x86 ~x64-macos" -IUSE="" - -RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -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}" -} diff --git a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild deleted file mode 100644 index 074f1d7ea00..00000000000 --- a/dev-python/pytest-mock/pytest-mock-3.6.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} 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 ~riscv ~sparc ~x86 ~x64-macos" - -RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]" -BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -python_test() { - local deselect=() - if has_version dev-python/mock; then - deselect+=( - tests/test_pytest_mock.py::test_standalone_mock - ) - fi - - distutils_install_for_testing - epytest --assert=plain ${deselect[@]/#/--deselect } -}