commit:     8ad9519d1fdf5aaf946a23a8b59bfe4297572c14
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 07:00:01 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 10 07:08:26 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ad9519d

dev-python/pyfakefs: Bump to 6.1.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyfakefs/Manifest              |  1 +
 dev-python/pyfakefs/pyfakefs-6.1.1.ebuild | 60 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 5c603e7bff80..982ad604365a 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,2 +1,3 @@
 DIST pyfakefs-6.0.0.gh.tar.gz 255364 BLAKE2B 
953b367fa95cbb2dccf3367de4ba6f768387d87bce2f6849b9cba4b269d52ad15f1facc12137be16095944fec9d863f6bb32aa0eeead27c97a4059e7b7d6b60e
 SHA512 
49112c5f89843eace74ab2011b4ee1db1e5e100d3358950f4664ef3fb7f309fcef720e571e66e4b88d0997cb81f02b30c1063ac55a1877651e8aa9c3e7fa3ee4
 DIST pyfakefs-6.1.0.gh.tar.gz 256597 BLAKE2B 
9bd8335327bcd4641daddd5d65002849372462c7e9cc6260a2dbc4e84c3116b5b2423bb0ec60c27f37498cfb44858a1b27ed0f9650239399864a0b34edf54be9
 SHA512 
998ecb17afae46519da9fbca409b7cd0cb6b13c45867ad5c20b6abe1747850e4b9812aee2916f9c20d884adb0e244f87dba74a743e6d98e0e789469f90e2cc5f
+DIST pyfakefs-6.1.1.gh.tar.gz 256673 BLAKE2B 
649c03eae7f75b579e6f43a110896506bf316ff0222202ec5219106f6cec1e761309c03c9c8514520bf9de97d06cbd4518a39881d46da702acc3bd4a08867dd9
 SHA512 
e385e5e0b399da169148d40394d98408156717c2f4a9ebdf5f9f3764ffc0d91005286ca974a8e1b01a981be8ecff435fbf78e5d2a0ab34874fc3fd3126afdf2c

diff --git a/dev-python/pyfakefs/pyfakefs-6.1.1.ebuild 
b/dev-python/pyfakefs/pyfakefs-6.1.1.ebuild
new file mode 100644
index 000000000000..a6e8164bf978
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-6.1.1.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
+}

Reply via email to