summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-17 04:45:28 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-17 04:45:28 +0200
commitf2759a53f348b0b3b43e8b594d28d4538986681a (patch)
treec9971a6e47bd9a01e1ab0b3b03628313cd70134c /dev-python/Faker
parentdev-python/yarl: Bump to 1.15.4 (diff)
downloadgentoo-f2759a53f348b0b3b43e8b594d28d4538986681a.tar.gz
gentoo-f2759a53f348b0b3b43e8b594d28d4538986681a.tar.bz2
gentoo-f2759a53f348b0b3b43e8b594d28d4538986681a.zip
dev-python/Faker: Bump to 30.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Faker')
-rw-r--r--dev-python/Faker/Faker-30.6.0.ebuild42
-rw-r--r--dev-python/Faker/Manifest1
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/Faker/Faker-30.6.0.ebuild b/dev-python/Faker/Faker-30.6.0.ebuild
new file mode 100644
index 000000000000..f552cda2d4a8
--- /dev/null
+++ b/dev-python/Faker/Faker-30.6.0.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 ffb972c8bc42..a47f53a4890a 100644
--- a/dev-python/Faker/Manifest
+++ b/dev-python/Faker/Manifest
@@ -2,3 +2,4 @@ DIST faker-30.0.0.tar.gz 1795010 BLAKE2B 01e93e39bb22db8220400d28f92ad08f4f1f971
DIST faker-30.1.0.tar.gz 1796615 BLAKE2B 448e1361fc397d13898778f32148a0ff6b13dd8ad232a29931ce08a5575986f832adb1167cff5de3a866bfdf5e8b06645bc46643f2b690e82c7d18c721fa84e4 SHA512 53828e30eeff7ffd5ce3b34dbdbe8d0b38b119f58e44dc3f0a5af47df48d8226101fa00dbb08594d03dd0369f7c6067f5f573eaf329133b3a7fdc3846f0e3780
DIST faker-30.3.0.tar.gz 1797350 BLAKE2B 3c8da599ea115637687d168acc299803844ec42d645ea6485f80911becdde4c0e93a1a065f831048651f1c749c74d05f57eb978ddb95f229f58d194710b3fbf8 SHA512 843d7b46ad5585b715a73a831f8f5fb912f545dcec1d12fbf2296278feb8b0838aad613df8f39b1c515657e617737795ce5775eba89d0d4e645325dc2f50b0ad
DIST faker-30.4.0.tar.gz 1799432 BLAKE2B 9037a0551f45c09eb695ecf6ba7749e6af2db8343bf62f8156670f98459d8eab5c0584a1b5a34328dce53f6cb36abd1dd5ba3c1f28185f3172446100680824f6 SHA512 3ae17dd7027f2b39cd40a43c88403a11638244f5f83ad4b227eac5a023ebf6b801fceb72e8a8165106c61abd144dcede28f4c6068db117c50840d5cda683d5ec
+DIST faker-30.6.0.tar.gz 1806340 BLAKE2B e39a41aa46a45d9431908c0c76371fd51d23bcbb110bba8a8d015e150b7a4c5b767c5eca59846de659637af4f182377152b4ed49c1f68c971aee884df819e011 SHA512 e313d128ee8ebc724d63e0f3f42d16b5b8875e499449b67c0ce8b7ffc1613397c675da9f2933833ef112c6ebb669a51140183714015e9fcc3e02dbc097bfd8f6