Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/
Date: Mon, 08 Nov 2021 21:04:26
Message-Id: 1636405286.04486aaa97774008fcff897a7cbfa07ed9bc4d0e.mgorny@gentoo
1 commit: 04486aaa97774008fcff897a7cbfa07ed9bc4d0e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 21:01:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 21:01:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04486aaa
7
8 dev-python/pyfakefs: Bump to 4.5.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyfakefs/Manifest | 1 +
13 dev-python/pyfakefs/pyfakefs-4.5.3.ebuild | 23 +++++++++++++++++++++++
14 2 files changed, 24 insertions(+)
15
16 diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
17 index 023c2a15f5a..7bf018888bb 100644
18 --- a/dev-python/pyfakefs/Manifest
19 +++ b/dev-python/pyfakefs/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pyfakefs-4.5.1.tar.gz 203478 BLAKE2B 4f7fdd9a9ee80dc814b854b1e1ab6fca49c398733ea3c61369ed1f88c9e66c3f007e5270f9ea276c9eca4c268036a6cd2f2d05832bea94a0de0d947b5cab63f7 SHA512 2c4b0f4b9cef9866f12bf5d35462ab565f82a7cfb986e78eae07b8e77be67fd523b093ce4f88b34d817f36d04891f128af723be880c8072f6b593ceb31d65367
22 DIST pyfakefs-4.5.2.tar.gz 204495 BLAKE2B 765c62324ed147d6c443f9cd7121b0408403ab84bdf74df502cf50e24f85ead15b8c7c5297b36af69c63c2f479138821639c9ea31ff11eb9a32229717651bdd6 SHA512 2df7a1086cecc4df6db9a9c1f527d64a8ca70f0a4e87fea701f0fa6ffd60e81df495129b254dc7a788530f225e92af75ab56f9bebbf10e284eab4ccf88f881f1
23 +DIST pyfakefs-4.5.3.tar.gz 204661 BLAKE2B 87340d98850cad83b5288d310a5e5d9774247bb71ce7fa314243e38ec3d8e0d42f50f73da2e8c732694c35359e36286c896cb7b2703aa91443d22df95aebbe6b SHA512 0fa42a81acb565292d8a9fde220f033100a4fc07eb8d095e79ed98af415fc285d4db46dd9b891e595f599a9ab48323ff7aad4928b47a6df0d5bbf94c975f605c
24
25 diff --git a/dev-python/pyfakefs/pyfakefs-4.5.3.ebuild b/dev-python/pyfakefs/pyfakefs-4.5.3.ebuild
26 new file mode 100644
27 index 00000000000..1746a5e9e29
28 --- /dev/null
29 +++ b/dev-python/pyfakefs/pyfakefs-4.5.3.ebuild
30 @@ -0,0 +1,23 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +DISTUTILS_IN_SOURCE_BUILD=1
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="a fake file system that mocks the Python file system modules"
42 +HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ https://pypi.org/project/pyfakefs/"
43 +SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
48 +
49 +distutils_enable_tests pytest
50 +
51 +python_test() {
52 + "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under ${EPYTHON}"
53 +}