diff options
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r-- | dev-python/pyfakefs/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-5.3.4.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index db0e78d570ba..1fb684665a0a 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1,5 @@ DIST pyfakefs-5.3.2.gh.tar.gz 225929 BLAKE2B 1a84f52e8d85b55d2ebc0dcf9c4b44bd053c0a3a12d6c47c1f8d5aec304e39a83ffb01d4c707929955ca5cd86ae9427332d5bf043cb7f910fe1d17fbcc19e35c SHA512 4cc2c861fa358c06832df6e8a7cfc91e2b9be42f1164378ea6bd0a3a6cc48f36c545b7d61e03591d025ef7bd98fdc812f903973f28a278056961aec22ca88641 +DIST pyfakefs-5.3.4.gh.tar.gz 226538 BLAKE2B b0cac2799c7d9517a1fc89d15cf92222dc5d5438ba4c43bc8796afbf77c2c7a2729bf42e1b57b1fb3777a91aa0fa12e0d6a0a6e0068855fba86bf6e372bac28e SHA512 10c56af0b871b8b8ce483d01234ebba953b038fd030edf4f0fedcb5b23ee897c912d9e9404521ec11f9e8d0d041d4bde4f101a4d99b3b527721c4c291c2a6745 EBUILD pyfakefs-5.3.2.ebuild 883 BLAKE2B 4331afe4e3ca432f01132f3a238fbdeea1e8355c40bf1910dfb42c47c7a7e8b53e9f78e8b064cb0a78f26d33f21ab74962168a1f249d540674ccdffad91566d0 SHA512 16de4a375ae109fcc891ed87a465f1e8713b68a6a89cd604d9da9b7842079d836a403284a84ca327c7f48ba7e60ceb09e6bd4611d86596c890814296458f5ab7 +EBUILD pyfakefs-5.3.4.ebuild 985 BLAKE2B 1f6d7d0b86d2a8df9080fa01b1e9edfebb8396554207a92917233ad1259afb6451d1995bc61706872d0ff28672e662d4147de50273611a37673ce5a14d8cd2ff SHA512 3dce3bbb7780694eb317da7b66deeca0b465c7111df923a187e4d94af11a583590ab062dd615af95bacb4cff538b8b9633aa531bcb46ae643148b5b04f6a6820 MISC metadata.xml 395 BLAKE2B add696dab9f93cad522087325d7cea08bb0d6905a093c0dd721b8ee0cc5f06a97e8b29663920e5131fd1cfaf38a1fb1c22908daa155025713ffbf18d87a2d5ec SHA512 454f9cf42ae315bb9d4b7c9a2a8b9a690163befc8f738b1fe4a145f1f3a9a5f59693e4cd1ebd4c501005cac1ab81c8b57b2316ac50739dfa96919b6de4850b9a diff --git a/dev-python/pyfakefs/pyfakefs-5.3.4.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.4.ebuild new file mode 100644 index 000000000000..754709257053 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.3.4.ebuild @@ -0,0 +1,38 @@ +# 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..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 + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} |