mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pyfakefs: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pyfakefs-5.7.4.gh.tar.gz 248270 BLAKE2B 3690b07f2030dc2428936fa34264c6e43b8145f1cfddade3c95bcebb337e483e9cff3e048f0a9d2d1bd6d542d9dc99a3b489a6fedf44c4ef84f2aaeb42200864 SHA512 305e794a66f3e490a60d1e256133edeef8266739fba73b99314a8e2c71990b9a8d774c5b8575709c0cfff7180ff2c4fcf41736d4f8207998053f87ba45d908be
|
||||
DIST pyfakefs-5.9.0.gh.tar.gz 255473 BLAKE2B bfdf023a19092ca621c37494b68d4c9a2f2ee72e093b9f04e9af33fe0a5040597c0863f40b922811044d9413fc8838204db8fcf2ec5c6d73c632cd79fe2150d4 SHA512 98d3ad5793602d2e9faacc1ae2252d984b5bcf0610f3e3304d35d98b0357d01a8d00a4f6a22a0929ec21de5eead8af335bf036e6f927b4e976ed2045e1f044fd
|
||||
DIST pyfakefs-5.9.1.gh.tar.gz 255569 BLAKE2B 510e04d23eba15fe3b74c973ef8856851a2cc5b9411273456f631b086af6fa72a4444c1cf4fcd0bb1f59ccc3e551144883181897a8d74736f7e1ed9f16efa303 SHA512 4d869897b98c73e73397032513304116ec1f3740f35831df053e9e80a6d50a5b063034c44269b6c8488119845246f7a4201af6d06ea7611ed988a11564fa0c5a
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 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 pypy3_11 )
|
||||
|
||||
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
|
||||
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO: this test messes up everything
|
||||
pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p pyfakefs.pytest_plugin
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
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=(
|
||||
# requires *.dist-info/RECORD file that we're stripping
|
||||
pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata
|
||||
)
|
||||
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
|
||||
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO: this test messes up everything
|
||||
pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning
|
||||
# TODO
|
||||
pyfakefs/tests/fake_pathlib_test.py::SkipPathlibTest::test_exists
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p pyfakefs.pytest_plugin
|
||||
}
|
||||
Reference in New Issue
Block a user