summaryrefslogtreecommitdiff
path: root/dev-python/pyfakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-01 11:14:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-01 11:14:56 +0100
commitc952bf4dc186a298c5ef1596e2c52642072db500 (patch)
tree0b0b9cc4cdda7b2f9d62548ba883329cf6c15274 /dev-python/pyfakefs
parent97c0860d9b4db72365710e1b8ed20644d6f5e926 (diff)
gentoo auto-resync : 01:04:2023 - 11:14:56
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r--dev-python/pyfakefs/Manifest2
-rw-r--r--dev-python/pyfakefs/pyfakefs-5.2.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 59c4501b7e6d..6bb11c36d5b6 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,3 +1,5 @@
DIST pyfakefs-5.1.0.gh.tar.gz 212507 BLAKE2B b9607ff2af71d6697bb5ea5ceae0bb1b92b9aa2e91bafdf24d3dab6f5412a6fd8ff590983085079e9a7b1569b839f4fc5b443d5904decf2de5511ab856e8de7d SHA512 40d4e3fb422c2d9515c00bfa9940a8799d5e102a5775ac34d45e99286759451d1287df1e32f45956a84c1052cc02eed98a8f9789a628ac253771042b011ddd3e
+DIST pyfakefs-5.2.0.gh.tar.gz 218488 BLAKE2B b0d2fc01e6fc4b965d5b1099700864c309cb3531b4672fe86db7e1517e4661b64b268f3551eabdd6a20ce2c9b3c4b109bce050962ca7deec6450825292468677 SHA512 d1d7557f5bcf4ae5917f71d74ee942c428f39c9c1bca5cd31e6f7662084a0db044bddaa0e6e95ea7ee410444b46e3cae91f8dbf74050225f94ecd6436a4c5468
EBUILD pyfakefs-5.1.0.ebuild 734 BLAKE2B 0dff21e1a038069b56f9088e97fc85ee5f34d42cd4a63fbb6f8791a15fcb895734c9093e2b2dc131e8927c6121860f278ecea21ee51724d6a19db002e217050e SHA512 c9b6a23913f610c7afaea2d3471043e9598a017c2376e9f48a646c7fe94e3cb2bf4dcd3a57122fa9f272c94ff36c94d735b66d47eef43f1c4d995ae5ba3a9274
+EBUILD pyfakefs-5.2.0.ebuild 742 BLAKE2B 66bf0ebda428800e18ba6b557337045245343b67faf87e360525582e0ec3a0bff8cfb84905b480eb64c5a954bbae0606490cd0a6e303ba29a6314d4826ce9589 SHA512 2e0c58959234755a3ba31430ff0baf84bd997f530df7b6c133761eb8aa37e8ee4d198ece1e89a49a53a88310e94d610148840999c12a6baf13ecfff2fcc3d206
MISC metadata.xml 395 BLAKE2B add696dab9f93cad522087325d7cea08bb0d6905a093c0dd721b8ee0cc5f06a97e8b29663920e5131fd1cfaf38a1fb1c22908daa155025713ffbf18d87a2d5ec SHA512 454f9cf42ae315bb9d4b7c9a2a8b9a690163befc8f738b1fe4a145f1f3a9a5f59693e4cd1ebd4c501005cac1ab81c8b57b2316ac50739dfa96919b6de4850b9a
diff --git a/dev-python/pyfakefs/pyfakefs-5.2.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.2.0.ebuild
new file mode 100644
index 000000000000..876026d4079f
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-5.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A fake file system that mocks the Python file system modules"
+HOMEPAGE="
+ https://github.com/pytest-dev/pyfakefs/
+ https://pypi.org/project/pyfakefs/
+"
+SRC_URI="
+ https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pyfakefs.pytest_plugin
+}