summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-12 21:21:10 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-12 22:12:32 +0100
commitfde50bf90964f0a53dd85c37447a3af8640a9ea0 (patch)
treeef6bd75bfb088cd8b6644d66ce1516d141464070 /dev-python/pyfakefs
parentdev-python/notebook: Bump to 6.4.7 (diff)
downloadgentoo-fde50bf90964f0a53dd85c37447a3af8640a9ea0.tar.gz
gentoo-fde50bf90964f0a53dd85c37447a3af8640a9ea0.tar.bz2
gentoo-fde50bf90964f0a53dd85c37447a3af8640a9ea0.zip
dev-python/pyfakefs: Bump to 4.5.4
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.4.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index d3464cfda22c..76107d2d551d 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1 +1,2 @@
DIST pyfakefs-4.5.3.tar.gz 204661 BLAKE2B 87340d98850cad83b5288d310a5e5d9774247bb71ce7fa314243e38ec3d8e0d42f50f73da2e8c732694c35359e36286c896cb7b2703aa91443d22df95aebbe6b SHA512 0fa42a81acb565292d8a9fde220f033100a4fc07eb8d095e79ed98af415fc285d4db46dd9b891e595f599a9ab48323ff7aad4928b47a6df0d5bbf94c975f605c
+DIST pyfakefs-4.5.4.tar.gz 205086 BLAKE2B c8d9273b351ce4db66764e8972afd4d221bba7735ae2796855c1a23825fe9d678b8e8bd8b8185b37779c5fd263a2109867f261157b61db20cb56b9622cf99ae9 SHA512 419452dae9de2c046be269f7d5f5c14e9a4e14ea6d4d1a9df4a3993ef4fd350011875d4b9484f180a760974a0123bcc7460a32a85d39708837261beeee8be93f
diff --git a/dev-python/pyfakefs/pyfakefs-4.5.4.ebuild b/dev-python/pyfakefs/pyfakefs-4.5.4.ebuild
new file mode 100644
index 000000000000..ef40e18432d8
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-4.5.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 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}"
+}