From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80A27158074 for ; Sun, 22 Jun 2025 15:05:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6BB6F340E6C for ; Sun, 22 Jun 2025 15:05:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 70D0C1103E1; Sun, 22 Jun 2025 15:05:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 64E2C1103E1 for ; Sun, 22 Jun 2025 15:05:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A5F8340DCC for ; Sun, 22 Jun 2025 15:05:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0FB61B09 for ; Sun, 22 Jun 2025 15:05:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1750604743.99b658b81435b4799fc241ac2af2fcbe77ed8b2a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyfakefs/Manifest dev-python/pyfakefs/pyfakefs-5.9.0.ebuild X-VCS-Directories: dev-python/pyfakefs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 99b658b81435b4799fc241ac2af2fcbe77ed8b2a X-VCS-Branch: master Date: Sun, 22 Jun 2025 15:05:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b307eba-b863-4c74-9272-5b7ee7c2795e X-Archives-Hash: ecd5dffc259d48ff3333241278f33e07 commit: 99b658b81435b4799fc241ac2af2fcbe77ed8b2a Author: Michał Górny gentoo org> AuthorDate: Sun Jun 22 15:04:13 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 22 15:05:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b658b8 dev-python/pyfakefs: Bump to 5.9.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyfakefs/Manifest | 1 + dev-python/pyfakefs/pyfakefs-5.9.0.ebuild | 58 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index d8e315eb0632..3f7c2e86cfa1 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-5.7.4.gh.tar.gz 248270 BLAKE2B 3690b07f2030dc2428936fa34264c6e43b8145f1cfddade3c95bcebb337e483e9cff3e048f0a9d2d1bd6d542d9dc99a3b489a6fedf44c4ef84f2aaeb42200864 SHA512 305e794a66f3e490a60d1e256133edeef8266739fba73b99314a8e2c71990b9a8d774c5b8575709c0cfff7180ff2c4fcf41736d4f8207998053f87ba45d908be +DIST pyfakefs-5.9.0.gh.tar.gz 255473 BLAKE2B bfdf023a19092ca621c37494b68d4c9a2f2ee72e093b9f04e9af33fe0a5040597c0863f40b922811044d9413fc8838204db8fcf2ec5c6d73c632cd79fe2150d4 SHA512 98d3ad5793602d2e9faacc1ae2252d984b5bcf0610f3e3304d35d98b0357d01a8d00a4f6a22a0929ec21de5eead8af335bf036e6f927b4e976ed2045e1f044fd diff --git a/dev-python/pyfakefs/pyfakefs-5.9.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.9.0.ebuild new file mode 100644 index 000000000000..53cfb2155644 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.9.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} 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" + +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 + ) + 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 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +}