diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-01 10:33:35 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-01 15:34:31 +0100 |
commit | dc0139d8b2d84ab45a9c147c849afa115d763ac6 (patch) | |
tree | 5e8ca1f6335503ac8c494ad32117cb6a3bf54fb8 | |
parent | net-fs/samba: Stabilize 4.12.9 arm64, #751724 (diff) | |
download | gentoo-dc0139d8b2d84ab45a9c147c849afa115d763ac6.tar.gz gentoo-dc0139d8b2d84ab45a9c147c849afa115d763ac6.tar.bz2 gentoo-dc0139d8b2d84ab45a9c147c849afa115d763ac6.zip |
dev-python/pyfakefs: Bump to 4.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/pyfakefs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-4.2.0.ebuild | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index f150660f36f3..90dadbf00968 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-4.1.0.tar.gz 185920 BLAKE2B ee61e5ecda697150374bef035054038aed29e23958c58a3b135aae8dae7b397a194586ef6fd3ae70db1d136572a23a876d7f2dacb7e5814c1bedc9bb4502c3fe SHA512 946e21e34643db2b84e53d14bd9758c8edaa9e5e40b827fd74b245f018e8084995f55256900bf795c23a5aae29f124d9fcb80caf08442f6292adb80ee59d79b4 +DIST pyfakefs-4.2.0.tar.gz 192826 BLAKE2B b1b337f5845075d8c9f32565dc1169ec2fde7e49a0bcf2f446d09f090c8c46c69690259bfc1d8e76b754477303de049790a69a209c0ed11af465bd5ca2b2ddcd SHA512 d70266bac134eca45af3d2838f9f276217305add719aa1ed3606406b33b2d2f8bda20fbcdd4653e2a5e08baf717dd0f20005aa6f66ea519e52247c88fa8d72b2 diff --git a/dev-python/pyfakefs/pyfakefs-4.2.0.ebuild b/dev-python/pyfakefs/pyfakefs-4.2.0.ebuild new file mode 100644 index 000000000000..a437b0e387d6 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-4.2.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} 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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under ${EPYTHON}" +} |