commit: 4127d2cdf9d1a7e94bfe9dd3dc775bde6e7e223d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 06:32:10 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 07:16:41 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4127d2cd
dev-python/faker: Bump to 35.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/faker/Manifest | 1 +
dev-python/faker/faker-35.0.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 597c21300dc1..60444bfcafc0 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -2,3 +2,4 @@ DIST faker-33.1.0.tar.gz 1850515 BLAKE2B
71ff6e379f195f220af96562daa1876cd0476f3
DIST faker-33.3.0.tar.gz 1854655 BLAKE2B
6a877f7d39b9174285cf406d343a2fbfd204eb0648c9964819c9eb0a4c77b866a846e2c6142221d28ef04097ff9a48971d5ea2ed5f93862a3f4bac77c6345959
SHA512
137082c70e37a863a27f1e0fb5ff807a6b8072fc71c53b1f7ace45f19e98398cfe7a7a419f39bd113755ab50939aa6b5991508015e990f18039d4cd61d397964
DIST faker-33.3.1.tar.gz 1854895 BLAKE2B
15862330622cd257b0d663a67df4141b3673d077858a655def54152878ba290cb0c3480b0dfb40b2c69ac7481b827ac62827545bddd1edc97a1c5e55af35aad4
SHA512
48e1be12bdbcf12b4da44ede6bb0cd3a8937308f50e4145bbaf1fc80a3fb51dc430e03b5c4bf9a99fce66ea5cac9c5a8e806d036e4052588971ed264c8c472aa
DIST faker-34.0.2.tar.gz 1855985 BLAKE2B
f05d6588efad674391fc63d8c11d618193e33029b15d372e1c6ecb626fa39b628e7fcba43070087c824d17d6580b9362c19909560d9e87a989d8876126d6954d
SHA512
dc5b2b135402a1392d9fb671c9c37030f4ea78008e47bed1b9dc02579a2a8251c9a4022263b36c1cf3286945aa14f9a81b0d16494bfca6ff6a41fe9cad5a0d49
+DIST faker-35.0.0.tar.gz 1855098 BLAKE2B
38429e14ccca4e315b562903e218ceb3942818da34229da59adca51afeec837a8877ed902de7624bbf057c2cf7a838edfec78b45cd7157855ab05b5fca868c84
SHA512
8f9744f1e935218ce7a25b93288357fd4767c3079ed2a44e9613a666984e737e1f8ee615680cc9722ba83e448843a581adc0d84cf41085a195c2eefac9eda9c9
diff --git a/dev-python/faker/faker-35.0.0.ebuild
b/dev-python/faker/faker-35.0.0.ebuild
new file mode 100644
index 000000000000..b0c932d87fbe
--- /dev/null
+++ b/dev-python/faker/faker-35.0.0.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
+}