summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-11-01 07:25:49 +0100
committerMichał Górny <mgorny@gentoo.org>2024-11-01 07:35:23 +0100
commit1cf008f77827cf6dc25fe1e718b9cbb54e544e2d (patch)
tree7ea146c9a9f9163d46d6cc73ad9b7cd7347d0f54 /dev-python
parentdev-python/werkzeug: Bump to 3.1.0 (diff)
downloadgentoo-1cf008f77827cf6dc25fe1e718b9cbb54e544e2d.tar.gz
gentoo-1cf008f77827cf6dc25fe1e718b9cbb54e544e2d.tar.bz2
gentoo-1cf008f77827cf6dc25fe1e718b9cbb54e544e2d.zip
dev-python/Faker: Bump to 30.8.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Faker/Faker-30.8.2.ebuild42
-rw-r--r--dev-python/Faker/Manifest1
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-30.8.2.ebuild b/dev-python/Faker/Faker-30.8.2.ebuild
new file mode 100644
index 000000000000..f552cda2d4a8
--- /dev/null
+++ b/dev-python/Faker/Faker-30.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+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
+}
diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest
index b1659355410b..5cf3dfc5ee5d 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -1,3 +1,4 @@
DIST faker-30.3.0.tar.gz 1797350 BLAKE2B 3c8da599ea115637687d168acc299803844ec42d645ea6485f80911becdde4c0e93a1a065f831048651f1c749c74d05f57eb978ddb95f229f58d194710b3fbf8 SHA512 843d7b46ad5585b715a73a831f8f5fb912f545dcec1d12fbf2296278feb8b0838aad613df8f39b1c515657e617737795ce5775eba89d0d4e645325dc2f50b0ad
DIST faker-30.6.0.tar.gz 1806340 BLAKE2B e39a41aa46a45d9431908c0c76371fd51d23bcbb110bba8a8d015e150b7a4c5b767c5eca59846de659637af4f182377152b4ed49c1f68c971aee884df819e011 SHA512 e313d128ee8ebc724d63e0f3f42d16b5b8875e499449b67c0ce8b7ffc1613397c675da9f2933833ef112c6ebb669a51140183714015e9fcc3e02dbc097bfd8f6
DIST faker-30.8.1.tar.gz 1808667 BLAKE2B 758f452bc7412a7a61f11c99202616c1b63817d7b33eca80d0d87d5181c735d124d68fd81b3c3db0b3c09898ecfd4b36b9cee6d80be8707a5ec79e871a7c4e08 SHA512 cfd628948c0a067c779b5ac830bac0169a92ceea44218db69565bbdac67f053a790541c020c1d3844589455437e36b32d9096993b8f511a06ebc6606c0c998b6
+DIST faker-30.8.2.tar.gz 1808329 BLAKE2B a9788fdf875bf57e76de33478cf6ebb81a6cc94b9261f5226ea9a797e2d8332a0c9035896b03e86f741b630312872c10678b34dee11d92eea00b9b37d719944f SHA512 4db0352155b724890986c5b1ae59783fed7cd6a0aca289f6df2065c028cd0b9e03560faee60f2b75455e51c212819bc85ddf10c13351e774424fce6f553636be