diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-19 11:02:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-19 11:02:19 +0000 |
commit | 8c58ead574346296889d58006e1bf184da00be3a (patch) | |
tree | a7f2072c85179ee02c63febb294a7853dd137de1 /dev-python/pyfakefs | |
parent | f9a583991092848eb54269744b512063a4d59de0 (diff) |
gentoo auto-resync : 19:11:2023 - 11:02:18
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r-- | dev-python/pyfakefs/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-5.3.0.ebuild | 11 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-5.3.1.ebuild | 46 |
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index e8ca967d8118..1e87eaff022a 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1,5 @@ DIST pyfakefs-5.3.0.gh.tar.gz 224241 BLAKE2B de6d1b420bcfe710bef00c4f8d9cd4fa838341a7285d89a02607701f0011ccbe7f1974c5eec502994f787661496f74332bc4d4aa3389023ae02607a968c33be5 SHA512 25d967390f66ba5881429a37b62110ef129aae989efe66740c3a04fccfcbc601476d23427ac23d5df82a1e1a8102d557f0cca39b94fa0c7e69b6dca80d1e435e -EBUILD pyfakefs-5.3.0.ebuild 856 BLAKE2B 4c880b4ea2c173d883f2889f19c101d9326696e14cca0856a21dd7ff3bd1beb900448fc3f658d33285f2bc64fda48db6136a727cd171387734b8ee9360b80b62 SHA512 f6422c21a3301de8c0bad78bc5f6f56e7157a5fdf36f4b811be8f9a0b21d34a259aaee122bddb26ff660afadc4ddd70dd3cafb93f812074c6f6d406d312eb355 +DIST pyfakefs-5.3.1.gh.tar.gz 225234 BLAKE2B 2688a40ce22a112ce80de8795e3c0b0dd7e2cd46b41c442c5e13085ec614e323a5558cfa48e0e5c79c7c418a739b3f0a6202bb007e8c201ac3fbcc3b209a3d9f SHA512 6d2b16327e8f40d98ac84ea8662dc359aa1b590e1de71761d511b084268d44ee2950cd2af1ec4e722fcb6e7dd14b93e01969fa5cc12e178e97ca2ce69073deea +EBUILD pyfakefs-5.3.0.ebuild 1155 BLAKE2B 0833728dc7ae88a62b3889d7ace0ff56b22a88620ebcc5dd64b01955550ab2b787d1b7d86755d59f040543dfa3980e4ec98cda00367c2f4d38a0a442baf95878 SHA512 7e7c44a677f2f986b447b50d729f5c3b6080f818a9dfb2661dec2ab8abc6914c150c9439bde207779fa91f8b1c6d91dc0f2175e6d83c69d96ff6d0cbecd014f6 +EBUILD pyfakefs-5.3.1.ebuild 1163 BLAKE2B 4a9c342c031ef158a8a4e53f37c049117efa09d62480a7cdc289cd28874b8c979c233cad7e4313154e87f067bd605279724f139bb258a35e7f4dbe57224797fa SHA512 853a90288a483d4ea9806417a8b8cb6daabae25e684229335f8cb6f57472b183c6d3ad2cccee8f0b9076cfd26a38e32d0cd3cab898ceb9eeb322861377549f9a MISC metadata.xml 395 BLAKE2B add696dab9f93cad522087325d7cea08bb0d6905a093c0dd721b8ee0cc5f06a97e8b29663920e5131fd1cfaf38a1fb1c22908daa155025713ffbf18d87a2d5ec SHA512 454f9cf42ae315bb9d4b7c9a2a8b9a690163befc8f738b1fe4a145f1f3a9a5f59693e4cd1ebd4c501005cac1ab81c8b57b2316ac50739dfa96919b6de4850b9a diff --git a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild index 10285776eca0..c34b2eaeac96 100644 --- a/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild +++ b/dev-python/pyfakefs/pyfakefs-5.3.0.ebuild @@ -25,11 +25,22 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 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 } 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 +} |