diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 06:33:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 06:33:48 +0100 |
commit | ed7b29dac0f97dbcf5472b7556b83731a6b6b0d4 (patch) | |
tree | f33c5735088b95071719669ecfc18f0aef491ee9 /dev-python/pyfakefs | |
parent | 3a6d209caa07e3be8e8423251b70c8bbeeedb17f (diff) |
gentoo auto-resync : 12:04:2024 - 06:33:48
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r-- | dev-python/pyfakefs/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-5.4.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 70ad16a7af84..78afee80ac70 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,5 +1,7 @@ DIST pyfakefs-5.3.5.gh.tar.gz 227359 BLAKE2B 635e41cb9892e1707555559769c01d5b575e44c5f1dd412acc05c3bed3b2dad2724ba32341b59cdecdfb658c94008e09396970349d8c1ffdcb90bf89ea82aca0 SHA512 342dc9cc0378af8cd8a9b0783fb6a1415207505ec8d4992f8fdd7e8d2bc4aada26d0803ed3b74d30b42a50dffb793c70acdeb3f28f199c0918783e1ea0a5e0d8 DIST pyfakefs-5.4.0.gh.tar.gz 237951 BLAKE2B c71354c00f9e33248796cf02a0fc85ec53904900deebfd40e5755e23a0fc43012ce0128a8145ec2e9d6b8724f5733634810dc2018aeaaeea9301e91cee71dbf1 SHA512 e8d6bf79cd5381c0b7157741b8b0de068ea19148f48ce0841cff48e05d48dd01090ae73c5c1e633797a479631d2072a6c16350eabe6edcf0590e8e98f2b187a0 +DIST pyfakefs-5.4.1.gh.tar.gz 237928 BLAKE2B 8abea2d884d69717ab754c38666633f86230e981ddb099f8f9493d4d82ff0ff73e644ec793ea5e68edc662fee72dfd833fcab068b73fd5285555d2e5d8445823 SHA512 f27ce662a443623717a91e3fe1895cbbf7a64d009b7846b61c890ebabb0c3bb978b12bb83b68460fc026f4a0cfe846afb6057b72306e822dc8ba75d6e2f1b555 EBUILD pyfakefs-5.3.5.ebuild 977 BLAKE2B ce5257e32cbed948aad610c1c26a5e9554626975c9a0be2f54118b76624ac55a8ed78e5706a7bface3225a17dd0155b9a92f3cf0b39751997b27d1b39ff1508c SHA512 4d3d8af92cce2563ad38f2f82083335e3fbc23d253e3033e490f9978fb67d5d089d74e049c8daf419a8844ad3e02b4b345ccaa1de18cc2480d3663460bc1bab3 EBUILD pyfakefs-5.4.0.ebuild 1130 BLAKE2B 89db069a1d24a89e080d1d466f7cd3820c9198f39ef456b7d13ae1e3e29f146087fcaa01297325a3d2061df75f462286af9bb407c2148ea2090f8505afa1276a SHA512 1424b9759629fff4846193c889f85d25f114c8dff2cbe4515e00bbbe87afd06be3bde4d76a3e5224c258e0d79a005ba33ef0bdbb9bcaef82bece529a02192be5 +EBUILD pyfakefs-5.4.1.ebuild 1130 BLAKE2B 89db069a1d24a89e080d1d466f7cd3820c9198f39ef456b7d13ae1e3e29f146087fcaa01297325a3d2061df75f462286af9bb407c2148ea2090f8505afa1276a SHA512 1424b9759629fff4846193c889f85d25f114c8dff2cbe4515e00bbbe87afd06be3bde4d76a3e5224c258e0d79a005ba33ef0bdbb9bcaef82bece529a02192be5 MISC metadata.xml 395 BLAKE2B add696dab9f93cad522087325d7cea08bb0d6905a093c0dd721b8ee0cc5f06a97e8b29663920e5131fd1cfaf38a1fb1c22908daa155025713ffbf18d87a2d5ec SHA512 454f9cf42ae315bb9d4b7c9a2a8b9a690163befc8f738b1fe4a145f1f3a9a5f59693e4cd1ebd4c501005cac1ab81c8b57b2316ac50739dfa96919b6de4850b9a diff --git a/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild b/dev-python/pyfakefs/pyfakefs-5.4.1.ebuild new file mode 100644 index 000000000000..85eb97cbee97 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.4.1.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..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 + ) + + 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 +} |