summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-03-06 04:09:41 +0100
committerMichał Górny <mgorny@gentoo.org>2025-03-06 04:31:03 +0100
commitddc5466e5a53a668d921b74b5da6ccd512385a73 (patch)
treeb3586d04bc8aa607ebbf20a2b5427615b3cf5c35 /dev-python
parent83c8ec549f0cb6875e371b92c1386c779d5cb202 (diff)
downloadgentoo-ddc5466e5a53a668d921b74b5da6ccd512385a73.tar.gz
gentoo-ddc5466e5a53a668d921b74b5da6ccd512385a73.tar.bz2
gentoo-ddc5466e5a53a668d921b74b5da6ccd512385a73.zip
dev-python/faker: Bump to 36.2.1
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-36.2.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 261b1e718ea0..71b84e4e21b5 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1 +1,2 @@
DIST faker-36.1.1.tar.gz 1874935 BLAKE2B 501926d322a468943f730f7de48a0e68ff9388f39e638170606f5aa3884029aa27a21bdda68cb19224432e1d44f8de63da591688150a62e8b33bea54f44ad083 SHA512 c5afc49c76a97b7326fbc30eeb3c1d6102cdfcc35f52a7db61d1f58b37b812554274e002cac9ff9003a9669ce9c106e02e71e697045920b4ed006e1292de8a93
+DIST faker-36.2.1.tar.gz 1874849 BLAKE2B 355c3c5c4c0753d57ea7f63d510ebe07dcc1194d000d0a2c2aa81e70de486256999418c780d0f98e281b8a218cd6d68598dc936d05fc48205e07bcbac2036dd9 SHA512 81dca7225e10434f11036ddd4e9c3e88e30d2b9ca61531478b78aca77d7b7e2fb27ca6e5755c68b041e88fdfe805ac9688f5803899e4b895f4980428ed9076aa
diff --git a/dev-python/faker/faker-36.2.1.ebuild b/dev-python/faker/faker-36.2.1.ebuild
new file mode 100644
index 000000000000..dbb913e22246
--- /dev/null
+++ b/dev-python/faker/faker-36.2.1.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
+}