diff options
author | 2024-08-02 06:42:24 +0200 | |
---|---|---|
committer | 2024-08-02 06:50:39 +0200 | |
commit | 334ea8358a8c1382d90f988e85b2f5bb822c7612 (patch) | |
tree | 496f18ebf80b87a79513c2065b454a96b27c783a /dev-python/Faker | |
parent | dev-python/xdoctest: Bump to 1.1.6 (diff) | |
download | gentoo-334ea8358a8c1382d90f988e85b2f5bb822c7612.tar.gz gentoo-334ea8358a8c1382d90f988e85b2f5bb822c7612.tar.bz2 gentoo-334ea8358a8c1382d90f988e85b2f5bb822c7612.zip |
dev-python/Faker: Bump to 26.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Faker')
-rw-r--r-- | dev-python/Faker/Faker-26.1.0.ebuild | 42 | ||||
-rw-r--r-- | dev-python/Faker/Manifest | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-26.1.0.ebuild b/dev-python/Faker/Faker-26.1.0.ebuild new file mode 100644 index 000000000000..d05cd1263fd7 --- /dev/null +++ b/dev-python/Faker/Faker-26.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index ce3255bf6b90..221ae2b3dae4 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1 +1,2 @@ DIST Faker-26.0.0.tar.gz 1763318 BLAKE2B 63cf76993c3e4fc229d5d80f3cd03d964f5f7f6fc7f9cb1aa272c075360ebec57289139d09d11d181436b30cdb5abc7fe7d7e5cc11d63e12b0e8746605f85d6a SHA512 ea09d4222b258f52e9d9b2c315ee46f42beb624c038f63d4a82baadafbf4a9cc382b92076bb7c421026c1761cadb246364bfc71a05177458a8e23d2eca2fd6e6 +DIST Faker-26.1.0.tar.gz 1763636 BLAKE2B 997d2449c70fd179a7bea5be93e05a916804b552bd7ac19360d99c9ec56f96a28838ccd854aa846842fed7d7cb83c6ed013d73696a551444a0f81a9236403f24 SHA512 8e2df35549c52f86cbca6f75629227bba45026b2174ba3757b9c80350b8e48674bd71412552db9133020f0b93065940fcbefbbc37d391cdddcddc6344fc1431b |