summaryrefslogtreecommitdiff
path: root/dev-python/pyfakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-17 02:02:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-17 02:02:20 +0000
commit2f50f3ca1d346a1f74054f124adb11136068b2b1 (patch)
tree10b9920e8655629b9153b171f314ed189fce6578 /dev-python/pyfakefs
parente07c6f9648d478943b5ecd6f1c42cc91cae0f547 (diff)
gentoo auto-resync : 17:12:2024 - 02:02:19
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r--dev-python/pyfakefs/Manifest2
-rw-r--r--dev-python/pyfakefs/pyfakefs-5.7.3.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index cff4f12c2429..1dadc5660a79 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,5 +1,7 @@
DIST pyfakefs-5.7.1.gh.tar.gz 245977 BLAKE2B 8d675ddeecdf2ebde938509da68e76b67773f490c65f99f67c25e781147fd0743e3ccd2f8083d36e29fd293ffb8a77182055abec4f03a10b64a39787b4b4330a SHA512 78a5e754fbc4a47f4816296cd7045cb9001924f3185297ba166d332e2a938eb3109684cd4b63761c7d56e5461a298405f4d20059a8806d059bc940a7e8443d77
DIST pyfakefs-5.7.2.gh.tar.gz 247345 BLAKE2B 8d7a85b74daf4aeef9628b00916f242b257a8fc9b799ae4a29fc8b56f70320815725490efdda6310350fb3666d67209ca8413e25e1da32c73aa53acf3f2607d2 SHA512 51f4dc345b2222756f40f58caa73e34cfc0fd5dbacd61fb9bfead8f3b1f1bb8afa7178bea4f65f191d0324f5ae507a17dc97c918f80fd39b61678e180af4a22b
+DIST pyfakefs-5.7.3.gh.tar.gz 247632 BLAKE2B c57b90cdb1e054125a55b32ef5bb400295cc18a23496d614ce06daf1e2d99a194fc3fb7c9853112461779b95d6dd7f4f0d92efa8b1769898cd9868cddcec57ad SHA512 a9c41fcb75314a8674b29b678c5af610b4f75a1738da205e6c48c6acaadba537fcd827097130f82262560918a43e45ff0cc86639b1b3b776a57ab3f8d758e692
EBUILD pyfakefs-5.7.1.ebuild 1116 BLAKE2B ca139f17cb86452dde1e687740c9943a2ca83a979b33d23ffab44b7d25c04ca0bc4bd186af918e3c8ed08639ffb958c91ac80f212272fb17d696dee2d32b9b79 SHA512 f1ef24ec7987942fb2896f2f9af9ada8b0e0a609a8060cafba079512d0f090ee8f33c335d1a09506d904098dd69a8326a70c553ad2c05a57508dd910cf5af12d
EBUILD pyfakefs-5.7.2.ebuild 1124 BLAKE2B c3278ee4197ae79305da7c814717ff03bcab6790bb159b11236b8971e19d16d2a65753fda8f30e6a64886d2ea7d2ec75ea77e713831beae51e594366d1cc8880 SHA512 5b419648d06cb12728dacbd0b59350f39082d61b14e7a237a49794dfaf005976beb8e7f53a7331445ce0f03cd6c172dead9e8c4b107dc94a91de43cbe79c3d53
+EBUILD pyfakefs-5.7.3.ebuild 1124 BLAKE2B c3278ee4197ae79305da7c814717ff03bcab6790bb159b11236b8971e19d16d2a65753fda8f30e6a64886d2ea7d2ec75ea77e713831beae51e594366d1cc8880 SHA512 5b419648d06cb12728dacbd0b59350f39082d61b14e7a237a49794dfaf005976beb8e7f53a7331445ce0f03cd6c172dead9e8c4b107dc94a91de43cbe79c3d53
MISC metadata.xml 395 BLAKE2B add696dab9f93cad522087325d7cea08bb0d6905a093c0dd721b8ee0cc5f06a97e8b29663920e5131fd1cfaf38a1fb1c22908daa155025713ffbf18d87a2d5ec SHA512 454f9cf42ae315bb9d4b7c9a2a8b9a690163befc8f738b1fe4a145f1f3a9a5f59693e4cd1ebd4c501005cac1ab81c8b57b2316ac50739dfa96919b6de4850b9a
diff --git a/dev-python/pyfakefs/pyfakefs-5.7.3.ebuild b/dev-python/pyfakefs/pyfakefs-5.7.3.ebuild
new file mode 100644
index 000000000000..20bdeee372a0
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-5.7.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} 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 ~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
+ # 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
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pyfakefs.pytest_plugin
+}