summaryrefslogtreecommitdiff
path: root/dev-python/mock
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mock')
-rw-r--r--dev-python/mock/Manifest2
-rw-r--r--dev-python/mock/mock-5.0.0.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest
index e0064d9e9683..9df7357ba07a 100644
--- a/dev-python/mock/Manifest
+++ b/dev-python/mock/Manifest
@@ -1,4 +1,6 @@
AUX mock-4.0.3-py310.patch 2849 BLAKE2B a23047a6a872f7badb845388c3dcfb6c554824e524a094c09762a8749b3f6c292ddd58a1843cc540892a1a850f639af254a74abbfffb70deda4b756dca7dec9f SHA512 ad4448a85267aab11a35c761896779d66b45c2a38b6208226eeddcbbb7b28bac840f11fb9d69b72781383a82334a37b00dfac601fd9fe16f842da93c1b4ee3bb
DIST mock-4.0.3.gh.tar.gz 80318 BLAKE2B bc0dc8b97129eaa2f0f9c89898157ea5de398f59f4e2ebc07318cf745b74d1f1bcc989774600ec88ce1956f9fe16f9464f101ea5df5cd23b3a58b432d19feb8a SHA512 adfdab253eb3bc1b6cb767c58ffa3a8a5c5f88da0f04ea6680e0d87da59177972d2d99bfe0a770ac2ed4f809ca6a090a9d0f789eea8f4365ef2c54f8e8792e89
+DIST mock-5.0.0.gh.tar.gz 83866 BLAKE2B 7c0718f8d43325b293b070f37c39ccf539a80460ac7e7b724674deb02154157a7dd62a81cd439e19589cee66f256f111f0feec9f8790f16c70948fac3745b43b SHA512 acde3099cb8daf49dffc390faffc45f94c9f1dd24f196ef613b0677cd88d1b55b5cbd04604ff540731e919784242c1cc341065fae99c347c6dfbb3d8115fc2fe
EBUILD mock-4.0.3-r1.ebuild 867 BLAKE2B eb394dfe8d34ba9c00879e98c972e802908ba9313d90acf4425fa048236ddaec98db5745360d237e1369e2e5a3c9c6d841860f6b3bd4a6913fb2172ce64355e3 SHA512 ce209606b78052b54f71873b98df4df33055255630d73a454cd3184a021b01d5c32ee4c81dde04a66e1b072fec3d2c30aad12536d9461ea2f32f5a2e70fea8b8
+EBUILD mock-5.0.0.ebuild 811 BLAKE2B 474022746aa38bdb6c0b54f30a8b10ed8928967d96963deaaba2e8133b2a8dd84f9d7f6c6c82cfbc72b0381564fc1966064ff6af629884664eec2b0198624b3e SHA512 b161e1c45ec931f44a4ed0c74f9597abef794b018296b1efa9b53795a60a6cde77f64211341b07078adfad073cf7767bd0ec91233b7af432d157dc64da6bb6c1
MISC metadata.xml 390 BLAKE2B ab0f000e11ee427d56fa28e307764a2c1864ce74bc679a491ab005a70d2bf8502d9a82b5d1941fcc268438880f8f950587aa090de9e611a520f89a49c78c0cbc SHA512 8456ad417374be30c038abce5a232d1075b8685e6432be93f49a74f327239354e14edfddf5e4a473264fb09bc0e4e6059489c1d0d651e8391ab0678d22987aeb
diff --git a/dev-python/mock/mock-5.0.0.ebuild b/dev-python/mock/mock-5.0.0.ebuild
new file mode 100644
index 000000000000..44bde8bc459b
--- /dev/null
+++ b/dev-python/mock/mock-5.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Rolling backport of unittest.mock for all Pythons"
+HOMEPAGE="
+ https://github.com/testing-cabal/mock/
+ https://pypi.org/project/mock/
+"
+SRC_URI="
+ https://github.com/testing-cabal/mock/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ >=dev-python/six-1.9[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ local DOCS=( CHANGELOG.rst README.rst )
+
+ distutils-r1_python_install_all
+}