commit:     2060b330576359ee0a8ba597cc4a9250f9ea31ec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 06:06:16 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 07:17:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2060b330

dev-python/faker: Bump to 35.2.2

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

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

diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 2c8a22d6ea80..1447cd4c7fef 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1,2 +1,3 @@
 DIST faker-35.0.0.tar.gz 1855098 BLAKE2B 
38429e14ccca4e315b562903e218ceb3942818da34229da59adca51afeec837a8877ed902de7624bbf057c2cf7a838edfec78b45cd7157855ab05b5fca868c84
 SHA512 
8f9744f1e935218ce7a25b93288357fd4767c3079ed2a44e9613a666984e737e1f8ee615680cc9722ba83e448843a581adc0d84cf41085a195c2eefac9eda9c9
 DIST faker-35.2.0.tar.gz 1874908 BLAKE2B 
ded1ef4e9afec3395e78ebcf28c7c5f428a46873f9fc4b75681eb045315c35fcd682c83cf04fa09ad91feacb828e6cea429de51ae53264fb8ec4b9e4ef36b922
 SHA512 
70e5f8165c740596952245b2635c9c88efef894f4e86fa352f7bee08eeaf44c6f0050c9ccd435cdde76f9e24b84957db9d4a1601cc12f1d3f30519c7391975df
+DIST faker-35.2.2.tar.gz 1874955 BLAKE2B 
4ff2e056cd1fbdd7c70af2efbd0757005fbe7aa1f73233bcb2f41fcae6ad5b85ab6732602afe0bf671799d48ae97069a462e3d3a174d17497155c2d5c29b8a57
 SHA512 
91f5dc3e7930b1192fed2d13f98e36eac8698411dda2ff5dc471c273aa415d41959f5d18826b888296ef87d6ca07513ec68b4bee7828e2934ab2ff349055063b

diff --git a/dev-python/faker/faker-35.2.2.ebuild 
b/dev-python/faker/faker-35.2.2.ebuild
new file mode 100644
index 000000000000..b0c932d87fbe
--- /dev/null
+++ b/dev-python/faker/faker-35.2.2.ebuild
@@ -0,0 +1,43 @@
+# 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 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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
+       dev-python/typing-extensions[${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