summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-03-05 05:11:22 +0100
committerMichał Górny <mgorny@gentoo.org>2026-03-05 05:46:47 +0100
commitcc1bb238f47bfb5c22f071049c71520dfed92ffd (patch)
treec75bdb4ab95a172e5cdb6cea67e74f82ddc0c9fa /dev-python
parent0d0ffd8867601b1941a02c7694e9fe759af27f08 (diff)
downloadgentoo-cc1bb238f47bfb5c22f071049c71520dfed92ffd.tar.gz
gentoo-cc1bb238f47bfb5c22f071049c71520dfed92ffd.tar.bz2
gentoo-cc1bb238f47bfb5c22f071049c71520dfed92ffd.zip
dev-python/pyfakefs: Bump to 6.1.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyfakefs/Manifest1
-rw-r--r--dev-python/pyfakefs/pyfakefs-6.1.4.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index bec37d3845ba..7d33103d2c13 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -3,3 +3,4 @@ DIST pyfakefs-6.1.0.gh.tar.gz 256597 BLAKE2B 9bd8335327bcd4641daddd5d65002849372
DIST pyfakefs-6.1.1.gh.tar.gz 256673 BLAKE2B 649c03eae7f75b579e6f43a110896506bf316ff0222202ec5219106f6cec1e761309c03c9c8514520bf9de97d06cbd4518a39881d46da702acc3bd4a08867dd9 SHA512 e385e5e0b399da169148d40394d98408156717c2f4a9ebdf5f9f3764ffc0d91005286ca974a8e1b01a981be8ecff435fbf78e5d2a0ab34874fc3fd3126afdf2c
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
diff --git a/dev-python/pyfakefs/pyfakefs-6.1.4.ebuild b/dev-python/pyfakefs/pyfakefs-6.1.4.ebuild
new file mode 100644
index 000000000000..a6e8164bf978
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-6.1.4.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
+}