diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-16 08:57:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-16 08:57:19 +0100 |
commit | ed30d0ed0f31d67ecc051ad4cbed12a65393578f (patch) | |
tree | 46032fb290d2a0794764767174d66eb6bf495777 /dev-python/pytest-mock | |
parent | dev-python/python-magic: Remove old (diff) | |
download | gentoo-ed30d0ed0f31d67ecc051ad4cbed12a65393578f.tar.gz gentoo-ed30d0ed0f31d67ecc051ad4cbed12a65393578f.tar.bz2 gentoo-ed30d0ed0f31d67ecc051ad4cbed12a65393578f.zip |
dev-python/pytest-mock: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-mock')
-rw-r--r-- | dev-python/pytest-mock/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-mock/pytest-mock-3.6.1.ebuild | 36 |
2 files changed, 0 insertions, 37 deletions
diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index ca407a500dc0..c1a39aec7112 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,2 +1 @@ -DIST pytest-mock-3.6.1.tar.gz 29933 BLAKE2B 6c22d23f3a8e9b5ef26f990325f5a2c2897b60f61f84472716a1f984e72a8c38f6992e439ef581d7772e25a5fe9e76d190697d9c7bc8b5dcbf6375bead4b3dc3 SHA512 50a8ffbac1b20b1962558789b24d50c1e7d8d2e2706ee15a576eb5fd1b40d4523482dce7a1078d532b686ff8d38b6d769d356b04241528a0196e14acae0b6199 DIST pytest-mock-3.7.0.tar.gz 29311 BLAKE2B 27227b66008c70c4016c8e15d0021a67e84730a8b49c5664dc4f29e16d5f163df293269ab332707e44b7a0b182e15e20ab0ebaf4b9d923eb911083377972dad1 SHA512 6ba69e86bac8a430a9f1f1c615ad21f505b87848ac50fc551bc02f81306bf8769fd015615d96085d87d4c695c24b0686a95116721358687b48b64de5d0ae6901 diff --git a/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild b/dev-python/pytest-mock/pytest-mock-3.6.1.ebuild deleted file mode 100644 index 7e9b2eb105f5..000000000000 --- a/dev-python/pytest-mock/pytest-mock-3.6.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_{8..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 ~m68k ~mips 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 - -src_prepare() { - sed -e 's/runpytest_subprocess(/&"-p","no:xprocess",/' -i tests/test_pytest_mock.py || die - distutils-r1_src_prepare -} - -python_test() { - if has_version dev-python/mock; then - local EPYTEST_DESELECT=( - tests/test_pytest_mock.py::test_standalone_mock - ) - fi - - distutils_install_for_testing - epytest --assert=plain -} |