commit:     8d1b6e5c9984ac1b4d039709f65423887480d686
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 11 16:31:05 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 11 17:25:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d1b6e5c

dev-python/pyfakefs: Bump to 5.2.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyfakefs/Manifest              |  1 +
 dev-python/pyfakefs/pyfakefs-5.2.1.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index b2dd7fa21064..4a16b7bc47a2 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,2 +1,3 @@
 DIST pyfakefs-5.1.0.gh.tar.gz 212507 BLAKE2B 
b9607ff2af71d6697bb5ea5ceae0bb1b92b9aa2e91bafdf24d3dab6f5412a6fd8ff590983085079e9a7b1569b839f4fc5b443d5904decf2de5511ab856e8de7d
 SHA512 
40d4e3fb422c2d9515c00bfa9940a8799d5e102a5775ac34d45e99286759451d1287df1e32f45956a84c1052cc02eed98a8f9789a628ac253771042b011ddd3e
 DIST pyfakefs-5.2.0.gh.tar.gz 218488 BLAKE2B 
b0d2fc01e6fc4b965d5b1099700864c309cb3531b4672fe86db7e1517e4661b64b268f3551eabdd6a20ce2c9b3c4b109bce050962ca7deec6450825292468677
 SHA512 
d1d7557f5bcf4ae5917f71d74ee942c428f39c9c1bca5cd31e6f7662084a0db044bddaa0e6e95ea7ee410444b46e3cae91f8dbf74050225f94ecd6436a4c5468
+DIST pyfakefs-5.2.1.gh.tar.gz 219084 BLAKE2B 
85769abbff7c0fb8497cd951785d362778178aec28649b873ade35da819fb496d075ebe1b615c7e5965f1bc8469bea59bcd47db0667ee50475d093e3014623e2
 SHA512 
79febb84ca53ccef1d550f40a36fdff0d4b92484e9ea7a616de914c37d1156f56653e60c549c6060b4bdda9a36e40bc4a94e58b762850a31a2a2c2f1b06358fe

diff --git a/dev-python/pyfakefs/pyfakefs-5.2.1.ebuild 
b/dev-python/pyfakefs/pyfakefs-5.2.1.ebuild
new file mode 100644
index 000000000000..876026d4079f
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-5.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+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 ~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
+}

Reply via email to