commit: 43dbae2f40371fdac9346cb31dada307a061e37a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 03:58:06 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 03:58:06 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43dbae2f
dev-python/pyfakefs: Bump to 6.1.5
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyfakefs/Manifest | 1 +
dev-python/pyfakefs/pyfakefs-6.1.5.ebuild | 60 +++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 7d33103d2c13..ce24d35a2eb3 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -4,3 +4,4 @@ DIST pyfakefs-6.1.1.gh.tar.gz 256673 BLAKE2B
649c03eae7f75b579e6f43a110896506bf3
DIST pyfakefs-6.1.2.gh.tar.gz 256821 BLAKE2B
a47012f90a25899deccd433261c89b39a43c23bf536aaf4f9ca1babfbffa2949e9f8dae53723d6b0c649d87f673216cc4a63344afe494d98c3cfbe21c6fc083e
SHA512
4d9557559b84c61476e97903392f08d175dda58566bb18823ead5ea8ac0b4d904deb6a48462561985bd7ff2deb9e39bae40b1642cc4dbea8ca5f35bfd349291c
DIST pyfakefs-6.1.3.gh.tar.gz 257134 BLAKE2B
47190e011ce153c3600dfc9f6669bbcc57ab680cc64200a634d90205a915ba460a5a09f5907a0a7bb5d833b48b4f7f1be59217f940a87159e3575d56ff9c986b
SHA512
606e4544bb631643553d23f01d8d63c428dab0c9dbe5f2e780e5ebd2136a7e61f9d74fbdab5f5aa69774040e93694e867de914c4dcdf902f474fdbd2f56595be
DIST pyfakefs-6.1.4.gh.tar.gz 257560 BLAKE2B
784b036d11c902d7788ea85b4bcb84a68b6bc5be30b7ee822cc66791b3cc954940554ba5eb1fef65cc3ab583f9ffd69cd42e613c8c1fda2e27b1b74f97fe8893
SHA512
c51eadb586587dc733ba556d5b18e2c0cbf2250620d2a37f2ad9f57d92f22277050e144dd961cab33f64b25ebd7f1b86104ab2885c14e53f5d57fece942e7245
+DIST pyfakefs-6.1.5.gh.tar.gz 257725 BLAKE2B
844b6a69277c2331f2ef755a5227cb9e13d60bcc7c5f7d8497e4bd48f737eceff96baa5f333e5e27c5520d9e993846b67b0f8742bcee7da82598e7e1630876e6
SHA512
9987dfacf105e76395dfc485e3776253790d6234dc7774e92f035e241d685fcf31101cd10026f1cf21f5cae73021db29b798c2c668f5cec0faa73de47745e667
diff --git a/dev-python/pyfakefs/pyfakefs-6.1.5.ebuild
b/dev-python/pyfakefs/pyfakefs-6.1.5.ebuild
new file mode 100644
index 000000000000..a6e8164bf978
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-6.1.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+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 ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+EPYTEST_PLUGINS=( "${PN}" )
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # requires *.dist-info/RECORD file that we're stripping
+
pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata
+ # wants dev-python/openpyxl
+
pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel
+ )
+ local EPYTEST_IGNORE=(
+ # test for regression with opentimelineio package
+ pyfakefs/pytest_tests/segfault_test.py
+ # test for regression with undefined package
+ pyfakefs/pytest_tests/pytest_fixture_test.py
+ )
+
+ if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
+ EPYTEST_IGNORE+=(
+ pyfakefs/pytest_tests/pytest_reload_pandas_test.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3.11)
+ EPYTEST_DESELECT+=(
+ # TODO: this test messes up everything
+
pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning
+ # TODO
+
pyfakefs/tests/fake_pathlib_test.py::SkipPathlibTest::test_exists
+ )
+ ;;
+ esac
+
+ epytest
+}