diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index f267185a60cf9..adf358ef7a223 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-4.6.3.gh.tar.gz 209890 BLAKE2B 71f84ca02a8a1f9fa5541e0cac1cddd270a8fc66fe5d1f62e8c7bf017f4992e93a6d1bce83847c3833f841e7935d86d6b59b17ee114c82a9d2c36e9c5fe87d02 SHA512 b34091e4311c69ee3eb46cc631c00ec07804c6d5add42887f850275dc0c22d07a893d5dadf2febcbee15c631b476573e63ae52a9ae5780d83a0ef774cff11a5a +DIST pyfakefs-4.7.0.gh.tar.gz 212406 BLAKE2B e6ed1d28fd45657ae221cbd33b00c46fb0a926b6c7f038c0f34e07223062316b772812d860a39986bd6c8e7f23c3d356f2b484a57e971c160ffb6a0ac19a6089 SHA512 0a1b6cacead6260242f0a1a13753e523f516ed90c0a1cdf92f1caeed24b8dd985f90a216410e3d538f0db087b65b1cc21aae3681250cf7ce393ab7b2e5ac2944 diff --git a/dev-python/pyfakefs/pyfakefs-4.7.0.ebuild b/dev-python/pyfakefs/pyfakefs-4.7.0.ebuild new file mode 100644 index 0000000000000..54098f2af2c1f --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-4.7.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/jmcgeheeiv/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/jmcgeheeiv/${PN}/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 -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +}