summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-03-25 06:19:27 +0100
committerMichał Górny <mgorny@gentoo.org>2025-03-25 06:33:50 +0100
commitcab8c1bac27db1c85925548c01cb244d99e9080c (patch)
treeedf058b4bf2b3ec4ec64e3cd4dcab957c3824624 /dev-python
parent60c0444a3847c4b22c6c72d07ac67159147fce3e (diff)
downloadgentoo-cab8c1bac27db1c85925548c01cb244d99e9080c.tar.gz
gentoo-cab8c1bac27db1c85925548c01cb244d99e9080c.tar.bz2
gentoo-cab8c1bac27db1c85925548c01cb244d99e9080c.zip
dev-python/faker: Bump to 37.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/faker/Manifest1
-rw-r--r--dev-python/faker/faker-37.1.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 977b15a8cdd2..2a47f6736e1a 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1,2 +1,3 @@
DIST faker-36.2.1.tar.gz 1874849 BLAKE2B 355c3c5c4c0753d57ea7f63d510ebe07dcc1194d000d0a2c2aa81e70de486256999418c780d0f98e281b8a218cd6d68598dc936d05fc48205e07bcbac2036dd9 SHA512 81dca7225e10434f11036ddd4e9c3e88e30d2b9ca61531478b78aca77d7b7e2fb27ca6e5755c68b041e88fdfe805ac9688f5803899e4b895f4980428ed9076aa
DIST faker-37.0.2.tar.gz 1875441 BLAKE2B 9c98f9f19e4c9de4b216644f7173a0278f6d89822901bd5e4c8f2bbd6ccdba520a3182788feb7741753b7893ad8355c74ada8bbd00225366fdecb06aa43454be SHA512 a407c8f28cc31ae60aeb42c1f092d72905ac3f9e7bf35d48997123592aa48aa5ac2390f11f400034096eeb394609196d791fb6a441f12bd23e3fe6927771aa81
+DIST faker-37.1.0.tar.gz 1875707 BLAKE2B 67ae3cecd677fde963a6177ebd56f868487cb872d91e825cbef71c73ec227d0f7f6376e8580e587750cfab7fd35e823b67bf655ae883ef701caacf7c0424f16e SHA512 f7abea076457b8eaf391c600f5f91eed9ec11f48e8d0f48e43c4d3a318a8b40da492c23052d3bd6d84b7472a87459cab75c63872492544423f53aec4b596fbf7
diff --git a/dev-python/faker/faker-37.1.0.ebuild b/dev-python/faker/faker-37.1.0.ebuild
new file mode 100644
index 000000000000..dbb913e22246
--- /dev/null
+++ b/dev-python/faker/faker-37.1.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 pypy3_11 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/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
+}