commit:     e4adaf736a5a59f3b64108586fa1259cc2c03a18
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 03:42:08 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 15 04:33:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4adaf73

dev-python/faker: Bump to 37.3.0

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

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

diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 1b3c26fb66c2..4b71250b14c9 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1 +1,2 @@
 DIST faker-37.1.0.tar.gz 1875707 BLAKE2B 
67ae3cecd677fde963a6177ebd56f868487cb872d91e825cbef71c73ec227d0f7f6376e8580e587750cfab7fd35e823b67bf655ae883ef701caacf7c0424f16e
 SHA512 
f7abea076457b8eaf391c600f5f91eed9ec11f48e8d0f48e43c4d3a318a8b40da492c23052d3bd6d84b7472a87459cab75c63872492544423f53aec4b596fbf7
+DIST faker-37.3.0.tar.gz 1901376 BLAKE2B 
bb8506dc82848e26c1eb47e7e237de4c6aa6b9d0b40ff7f3ae7586d700067ac1ffd95f0a4fcb63544523a9f3e99a27ed173fd4c39016989ae9d1c1b1c5cc8fd3
 SHA512 
da0a2fdc6646a581802c47c6bcf66c4c1658d4b72d0b0972c13ac5c1c991d96204bd8efd73c6042dd4785614f115b99c6221e243f6ed86326ab69882c1470a5f

diff --git a/dev-python/faker/faker-37.3.0.ebuild 
b/dev-python/faker/faker-37.3.0.ebuild
new file mode 100644
index 000000000000..4e1028448c20
--- /dev/null
+++ b/dev-python/faker/faker-37.3.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/tzdata[${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
+}

Reply via email to