diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-29 07:23:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-29 07:44:42 +0100 |
commit | 32d6a4b8ccb105efff67da75c7ff44cf05641f3a (patch) | |
tree | f86ce8b08c13bcb9c835c21b65b1778cc626ef9e /dev-python/pyfakefs | |
parent | dev-python/importlib_metadata: Bump to 1.5.0 (diff) | |
download | gentoo-32d6a4b8ccb105efff67da75c7ff44cf05641f3a.tar.gz gentoo-32d6a4b8ccb105efff67da75c7ff44cf05641f3a.tar.bz2 gentoo-32d6a4b8ccb105efff67da75c7ff44cf05641f3a.zip |
dev-python/pyfakefs: Bump to 3.7.1, py3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r-- | dev-python/pyfakefs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyfakefs/pyfakefs-3.7.1.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index dd6959cf260c..2cfa22b3f977 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -2,3 +2,4 @@ DIST pyfakefs-3.3.tar.gz 141704 BLAKE2B f805146024d9886ce6cb25b23f6f818bb37cac00 DIST pyfakefs-3.4.1.tar.gz 151662 BLAKE2B cbfdd7ab4c2936d484b5ff1e22852438c5c653e8875b7d363324e0a1aed0bfc5c492c2cd5c64a47052fcb4d043f567819f32067527b870ab42da8cfd92d40be3 SHA512 1be0254455f6046f1d28bf4377d17e0fb943b4b0db09e933c114f587f3d917877b23ee1610cf83a6330b406bb9ae66fe79dea31a6bf75c0b9c2b79a88d07e753 DIST pyfakefs-3.4.3.tar.gz 156896 BLAKE2B 2450cb67dbb25d2029a113dd95c3d51e60ef66c6683a5898ea73800ce1269d628af9f8daa85195d5b473f18b7c3262f2f26fc9c17caf80ce2f5159c247ebea5b SHA512 aafcad5d801f625273239221c56e46229ff8ab622cfb474d92f8555cfff90279ad9a092c20878279454c59033ad23d53cfe877023ac5d20c5a67a610b62ba7f1 DIST pyfakefs-3.5.8.tar.gz 171519 BLAKE2B 18eb784cf62108c3363b3b5fa137ec4ce830583d263dcecc6f007e6cdeb8a8eefcc4f9eecfba4a9b5b485508749f6dc75a47ff67bc8f5e77f2c0abae2cdd1778 SHA512 e72042dc80545d4a8602bf90bc832298184040389c8fd182df1ef33712061b4937623ca98d70e59b4a388677626f861ff096de939b5caa372849ee10fc3dd8bb +DIST pyfakefs-3.7.1.tar.gz 179420 BLAKE2B 46f902527c2c69af1d7d5e296a25d5415b4fba68d4ed76d7bc138e4b2d53dbd4bf7dc6fd75a8e5277eccb9740c67d5fdf5b640fbc577f22690ee32db434c3676 SHA512 910cef89443546c9a5f600cbe06cbdc396ac82d15d852768c06c2f97e764b05ee9fe9bea7687404a9a962924bd33c45d9de2a04b448fe6350d8cc31c4e163dfc diff --git a/dev-python/pyfakefs/pyfakefs-3.7.1.ebuild b/dev-python/pyfakefs/pyfakefs-3.7.1.ebuild new file mode 100644 index 000000000000..0dd1e9d6c5c0 --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-3.7.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +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="~amd64 ~arm ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${COMMON_DEPEND}" +DEPEND="${COMMON_DEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under ${EPYTHON}" +} |