summaryrefslogtreecommitdiff
path: root/dev-python/faker
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 02:58:50 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 02:58:50 +0000
commit4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717 (patch)
tree12d9d98277485353fbb06ed38e39009f8b0104bc /dev-python/faker
parent41e0438955d0caa8757aa79e0e41040cada3fc18 (diff)
downloadbaldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.gz
baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.xz
baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.zip
Adding metadata
Diffstat (limited to 'dev-python/faker')
-rw-r--r--dev-python/faker/Manifest1
-rw-r--r--dev-python/faker/faker-37.4.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest
index 1cb7e1211423..891628cf15e1 100644
--- a/dev-python/faker/Manifest
+++ b/dev-python/faker/Manifest
@@ -1 +1,2 @@
DIST faker-37.4.0.tar.gz 1901976 BLAKE2B bddd0aca8fc5ac63e07f5df7a57eaa2c660e3bbb14ea7882c7b2854bfb261bcb02e43ee0d03e78c140b187509426be687e84bad4e1aea2afdb8cbc1db2cf3587 SHA512 9210908c5ee7a5c6cd542cb99283ec95ada28fcdecd5a1f476db0492f2ca87503762bc21cf5e5f41a54ab590a0af58fa615869fccf2c04fc664e094cb7b56272
+DIST faker-37.4.2.tar.gz 1902890 BLAKE2B a98587022e393513da85e0f2a21b63af7d763f5e5d9d5eba7bd2c9ffe0cb368f6128e73ebb341c93b41fdeb6f065ca2062ec9bfecf82491f0e401926bf05da4b SHA512 f625c289a2748d4df230a21233b1fd07cc06ab07a391ae6f5fa694792917c91f1de11897a723bb931103dba65e16b111b0a3281f2a2e4a39054de8163cf06a24
diff --git a/dev-python/faker/faker-37.4.2.ebuild b/dev-python/faker/faker-37.4.2.ebuild
new file mode 100644
index 000000000000..07e6ec6efccf
--- /dev/null
+++ b/dev-python/faker/faker-37.4.2.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=( python3_{9,10,11,12,13} pypy3 )
+
+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
+}