summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-10-10 09:50:00 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-10-10 10:43:23 +0300
commit293cade7fb46938e3e094583361054c1b63db1e6 (patch)
tree5e288247fb37933d389577d1a04cc9b5d7647f0b /dev-python/pyfakefs
parentdev-python/patsy: add github upstream metadata (diff)
downloadgentoo-293cade7fb46938e3e094583361054c1b63db1e6.tar.gz
gentoo-293cade7fb46938e3e094583361054c1b63db1e6.tar.bz2
gentoo-293cade7fb46938e3e094583361054c1b63db1e6.zip
dev-python/pyfakefs: add 5.0.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r--dev-python/pyfakefs/Manifest1
-rw-r--r--dev-python/pyfakefs/pyfakefs-5.0.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index adf358ef7a22..01fdcc25983f 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,2 +1,3 @@
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
+DIST pyfakefs-5.0.0.gh.tar.gz 211213 BLAKE2B 79b83e0a07b094727a0e8d869c99ca64e132f1b7e81202fccad2b4a34871e86630defb87bb5bcfd638a59908c5fdf230aa0cc1e2e3b8393259374a6c5087db90 SHA512 e7125d3b9b186d121bc0b0dba5acf27afe405a6e2a4d8152008450f83a65918b1f612e479ab56c065542dd070b84aeb97cd281123636c062981873d94e4d935a
diff --git a/dev-python/pyfakefs/pyfakefs-5.0.0.ebuild b/dev-python/pyfakefs/pyfakefs-5.0.0.ebuild
new file mode 100644
index 000000000000..54098f2af2c1
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-5.0.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
+}