summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-08 09:16:11 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-08 09:25:22 +0100
commitf19e0e81051ec05868eb03189870ee001a13e0a9 (patch)
treed3795497a185ccf519335d53982a8efea2b4defa /dev-python/pyfakefs
parentdev-python/pyparsing: Bump to 3.0.5 (diff)
downloadgentoo-f19e0e81051ec05868eb03189870ee001a13e0a9.tar.gz
gentoo-f19e0e81051ec05868eb03189870ee001a13e0a9.tar.bz2
gentoo-f19e0e81051ec05868eb03189870ee001a13e0a9.zip
dev-python/pyfakefs: Bump to 4.5.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r--dev-python/pyfakefs/Manifest1
-rw-r--r--dev-python/pyfakefs/pyfakefs-4.5.2.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index c3bb66143993..023c2a15f5a9 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1 +1,2 @@
DIST pyfakefs-4.5.1.tar.gz 203478 BLAKE2B 4f7fdd9a9ee80dc814b854b1e1ab6fca49c398733ea3c61369ed1f88c9e66c3f007e5270f9ea276c9eca4c268036a6cd2f2d05832bea94a0de0d947b5cab63f7 SHA512 2c4b0f4b9cef9866f12bf5d35462ab565f82a7cfb986e78eae07b8e77be67fd523b093ce4f88b34d817f36d04891f128af723be880c8072f6b593ceb31d65367
+DIST pyfakefs-4.5.2.tar.gz 204495 BLAKE2B 765c62324ed147d6c443f9cd7121b0408403ab84bdf74df502cf50e24f85ead15b8c7c5297b36af69c63c2f479138821639c9ea31ff11eb9a32229717651bdd6 SHA512 2df7a1086cecc4df6db9a9c1f527d64a8ca70f0a4e87fea701f0fa6ffd60e81df495129b254dc7a788530f225e92af75ab56f9bebbf10e284eab4ccf88f881f1
diff --git a/dev-python/pyfakefs/pyfakefs-4.5.2.ebuild b/dev-python/pyfakefs/pyfakefs-4.5.2.ebuild
new file mode 100644
index 000000000000..1746a5e9e29e
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-4.5.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+DISTUTILS_IN_SOURCE_BUILD=1
+
+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}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+distutils_enable_tests pytest
+
+python_test() {
+ "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under ${EPYTHON}"
+}