commit:     886b819bbd653b577776682588a214a63f057b52
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  7 04:34:06 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  7 04:34:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=886b819b

dev-python/Faker: Bump to 26.2.0

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

 dev-python/Faker/Faker-26.2.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++
 dev-python/Faker/Manifest            |  1 +
 2 files changed, 43 insertions(+)

diff --git a/dev-python/Faker/Faker-26.2.0.ebuild 
b/dev-python/Faker/Faker-26.2.0.ebuild
new file mode 100644
index 000000000000..d05cd1263fd7
--- /dev/null
+++ b/dev-python/Faker/Faker-26.2.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 221ae2b3dae4..51a939b4ea7e 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -1,2 +1,3 @@
 DIST Faker-26.0.0.tar.gz 1763318 BLAKE2B 
63cf76993c3e4fc229d5d80f3cd03d964f5f7f6fc7f9cb1aa272c075360ebec57289139d09d11d181436b30cdb5abc7fe7d7e5cc11d63e12b0e8746605f85d6a
 SHA512 
ea09d4222b258f52e9d9b2c315ee46f42beb624c038f63d4a82baadafbf4a9cc382b92076bb7c421026c1761cadb246364bfc71a05177458a8e23d2eca2fd6e6
 DIST Faker-26.1.0.tar.gz 1763636 BLAKE2B 
997d2449c70fd179a7bea5be93e05a916804b552bd7ac19360d99c9ec56f96a28838ccd854aa846842fed7d7cb83c6ed013d73696a551444a0f81a9236403f24
 SHA512 
8e2df35549c52f86cbca6f75629227bba45026b2174ba3757b9c80350b8e48674bd71412552db9133020f0b93065940fcbefbbc37d391cdddcddc6344fc1431b
+DIST Faker-26.2.0.tar.gz 1764867 BLAKE2B 
aa1a5bdb5b9867c3fced1b9fdcb53f600d7311b27122d0c7895c419c18e3c04d48ba07897e9052f99583f8319bad4b2262925b54dbe6434ca193c085c2c93bae
 SHA512 
f5d1bb832f3f4e21b694ea77e941b6862066514a2970c665e36b1bfec76b3b05a19d7bfb0a962b08bb39cae53a3ed57b329a7a8f447d9f327ecf1bfd61e99d6d

Reply via email to