From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9237215823F for ; Sun, 19 Nov 2023 09:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B40D22BC023; Sun, 19 Nov 2023 09:44:39 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9733E2BC023 for ; Sun, 19 Nov 2023 09:44:39 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92465335CD2 for ; Sun, 19 Nov 2023 09:44:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6E7D138F for ; Sun, 19 Nov 2023 09:44:36 +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: <1700387074.dd78c6a3cda00f918dd82f8090a82c2695bb60c6.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.3.1.ebuild X-VCS-Directories: dev-python/pyfakefs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dd78c6a3cda00f918dd82f8090a82c2695bb60c6 X-VCS-Branch: master Date: Sun, 19 Nov 2023 09:44:36 +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: 497d94c6-0453-4f75-891d-d3a656d4ec34 X-Archives-Hash: a76dedd2779b50c200604d7b1ffccc89 commit: dd78c6a3cda00f918dd82f8090a82c2695bb60c6 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 19 09:24:24 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 19 09:44:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd78c6a3 dev-python/pyfakefs: Bump to 5.3.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pyfakefs/Manifest | 1 + dev-python/pyfakefs/pyfakefs-5.3.1.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index f81f5fd28755..fee4178481bd 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-5.3.0.gh.tar.gz 224241 BLAKE2B de6d1b420bcfe710bef00c4f8d9cd4fa838341a7285d89a02607701f0011ccbe7f1974c5eec502994f787661496f74332bc4d4aa3389023ae02607a968c33be5 SHA512 25d967390f66ba5881429a37b62110ef129aae989efe66740c3a04fccfcbc601476d23427ac23d5df82a1e1a8102d557f0cca39b94fa0c7e69b6dca80d1e435e +DIST pyfakefs-5.3.1.gh.tar.gz 225234 BLAKE2B 2688a40ce22a112ce80de8795e3c0b0dd7e2cd46b41c442c5e13085ec614e323a5558cfa48e0e5c79c7c418a739b3f0a6202bb007e8c201ac3fbcc3b209a3d9f SHA512 6d2b16327e8f40d98ac84ea8662dc359aa1b590e1de71761d511b084268d44ee2950cd2af1ec4e722fcb6e7dd14b93e01969fa5cc12e178e97ca2ce69073deea diff --git a/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild new file mode 100644 index 000000000000..d5a9d7aac337 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.3.1.ebuild @@ -0,0 +1,46 @@ +# 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_{10..12} 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 EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + ) + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + # happens with pandas + zstandard [cffi backend] + # https://github.com/pytest-dev/pyfakefs/issues/910 + pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_{csv,table} + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +}